addlocation.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. <template>
  2. <view style="position: relative;">
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view style="height: 180rpx;width: 100%; position: fixed;background-color: #FFFFFF;top: 0;z-index: 8;">
  6. </view>
  7. <view class="menu">
  8. <view class="menu-item" @click="topersoninfo()">
  9. <p>个人资料</p>
  10. </view>
  11. <view class="menu-item">
  12. <p class='lor'>收货地址</p>
  13. </view>
  14. <view class="menu-item" @click="tomyaccount()">
  15. <p>社媒账号</p>
  16. </view>
  17. <view class="menu-item" @click="tomybank()">
  18. <p>提现绑定</p>
  19. </view>
  20. </view>
  21. <view style="padding-top: 260rpx;width: 97%;">
  22. <!-- 修改个人信息完善 -->
  23. <view style="margin: 0 20rpx;">
  24. <uni-forms :rules="rules" :modelValue="formData" ref="form" validate-trigger="bind"
  25. err-show-type="undertext">
  26. <uni-forms-item name="name" required label="收件人">
  27. <uni-easyinput type="text" :inputBorder="true" v-model="formData.name" placeholder="请输入收件人">
  28. </uni-easyinput>
  29. </uni-forms-item>
  30. <uni-forms-item name="phone" required label="联系电话">
  31. <uni-easyinput type="number" maxlength="11" :inputBorder="true" v-model="formData.phone"
  32. placeholder="请输入联系电话">
  33. </uni-easyinput>
  34. </uni-forms-item>
  35. <uni-forms-item name="fregion" required label="所在地区">
  36. <picker class="picker" mode="multiSelector" :range="region" range-key="name"
  37. :value="regionIndex" @change="pickerChange" @columnchange="pickerColumnchange">
  38. <view class="pbox" :class="{'pbox_hover':regionStr != '请选择省市区'}">
  39. <view>{{regionStr}}</view>
  40. <text class="iconfont icon-you"></text>
  41. </view>
  42. </picker>
  43. </uni-forms-item>
  44. <uni-forms-item name="detailregion" required label="详细地址">
  45. <uni-easyinput type="text" :inputBorder="true" v-model="formData.detailregion"
  46. placeholder="请输入详细地址(省/市/县/镇/)">
  47. </uni-easyinput>
  48. </uni-forms-item>
  49. <uni-forms-item name="mail_code" required label="邮政编码">
  50. <uni-easyinput type="text" :inputBorder="true" v-model="formData.mail_code" placeholder="邮政编码">
  51. </uni-easyinput>
  52. </uni-forms-item>
  53. </uni-group>
  54. </uni-forms>
  55. <view class="setdeault" v-if="ismodify == '0'">
  56. <view class="setdeault-text">设为默认收货地址</view>
  57. <switch style='zoom:.8;' @change="setDefault" />
  58. </view>
  59. <button class="btn1" @click="submitForm('form')">保存</button>
  60. </view>
  61. </view>
  62. </view>
  63. </template>
  64. <script>
  65. import region from '@/components/pca-code.json';
  66. import mvBar from "@/components/mys_navBar/mysNavBar";
  67. export default {
  68. components: {
  69. mvBar,
  70. },
  71. data() {
  72. return {
  73. ismodify: '',
  74. // 地区原数组
  75. oldRegion: region,
  76. // 处理后的数组
  77. region: [
  78. [],
  79. [],
  80. []
  81. ],
  82. // 选择省市区的下标Index 传则默认选中传递的
  83. regionIndex: [0, 0, 0],
  84. regionStr: '请选择省市区',
  85. mysNavConfig: {
  86. /* 开启单页显示首页图标 */
  87. isHome: true,
  88. /* 固定导航 */
  89. navFixed: true,
  90. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  91. navTitle: {
  92. text: "我的信息",
  93. color: "",
  94. fontSize: "32rpx", // px upx rpx
  95. fontWeight: "normal", // 100 - 700
  96. },
  97. btnType: "type2",
  98. onLeftClick: '',
  99. /* type2 按钮 */
  100. type2Config: {
  101. // 左图标
  102. leftPath: "/static/img/png2.png",
  103. // 右图标
  104. rightPath: "/static/img/png4.png",
  105. // 圆角
  106. radius: "40rpx",
  107. },
  108. },
  109. formData: {
  110. name: '',
  111. phone: '',
  112. detailregion: '',
  113. fregion: '',
  114. mail_code: '',
  115. setdefault: false,
  116. },
  117. index: 0,
  118. index1: 0,
  119. data: {},
  120. show: false,
  121. rules: {
  122. mail_code: {
  123. rules: [{
  124. required: true,
  125. errorMessage: '请输入邮政编码'
  126. }, ]
  127. },
  128. detailregion: {
  129. rules: [{
  130. required: true,
  131. errorMessage: '请输入详细地址'
  132. }, ]
  133. },
  134. name: {
  135. rules: [{
  136. required: true,
  137. errorMessage: '请输入收件人'
  138. }, ]
  139. },
  140. phone: {
  141. rules: [{
  142. required: true,
  143. errorMessage: '请输入联系电话',
  144. }, ]
  145. },
  146. fregion: {
  147. rules: [{
  148. required: true,
  149. errorMessage: '请选择所在地区'
  150. }, ]
  151. },
  152. },
  153. address_id: '',
  154. };
  155. },
  156. onLoad() {
  157. uni.showLoading()
  158. setTimeout(() => {
  159. this.formData = {
  160. name: '',
  161. phone: '',
  162. detailregion: '',
  163. fregion: '',
  164. }
  165. uni.hideLoading()
  166. }, 500)
  167. },
  168. onReady() {
  169. this.$refs.form.setRules(this.rules)
  170. },
  171. onShow() {
  172. if (this.ismodify == '1')
  173. this.getDetailAddress()
  174. },
  175. onLoad(options) {
  176. console.log(options)
  177. this.ismodify = options.ismodify
  178. // 传过来的id
  179. if (this.ismodify == '1')
  180. this.address_id = options.address_id
  181. },
  182. methods: {
  183. tomybank() {
  184. uni.navigateTo({
  185. url: './mybank'
  186. });
  187. },
  188. topersoninfo() {
  189. uni.navigateTo({
  190. url: './personinfo'
  191. });
  192. },
  193. tomyaccount() {
  194. uni.navigateTo({
  195. url: './myaccount'
  196. });
  197. },
  198. setDefault(e) {
  199. console.log(e.detail.value)
  200. if (e.detail.value)
  201. this.formData.setdefault = 1
  202. else
  203. this.formData.setdefault = 0
  204. },
  205. getDetailAddress() {
  206. this.$https.get('/youngee/c/t/g/get-single-address' +
  207. "?" +
  208. "address_id" +
  209. "=" +
  210. this.address_id)
  211. .then(res => {
  212. console.log(res)
  213. this.formData.name = res.data.data.receiver_name
  214. this.formData.phone = res.data.data.phone_number
  215. this.formData.detailregion = res.data.data.detail_addr
  216. this.formData.fregion = res.data.data.region_code
  217. this.formData.mail_code = res.data.data.mail_code
  218. let a = res.data.data.region_code.toString().slice(0, 2)
  219. let b = res.data.data.region_code.toString().slice(0, 4)
  220. let c = 0
  221. for (var i = 0; i < region.length; i++) {
  222. if (region[i].code == a) {
  223. a = region[i].name
  224. for (var j = 0; j < region[i].children.length; j++) {
  225. if (region[i].children[j].code == b) {
  226. b = region[i].children[j].name
  227. for (var o = 0; o < region[i].children[j].children.length; o++) {
  228. if (region[i].children[j].children[o].code == res.data.data.region_code) {
  229. c = region[i].children[j].children[o].name
  230. }
  231. }
  232. }
  233. }
  234. }
  235. }
  236. this.regionStr = a + ' ' + b + ' ' + c
  237. })
  238. },
  239. /**
  240. * 手动提交
  241. * @param {Object} form
  242. */
  243. submitForm(form) {
  244. // console.log(this.formData);
  245. this.$refs.form.validate().then(res => {
  246. const iphoneReg1 = /^1[0-9]{10}$/
  247. const mailReg = /\d{6}/
  248. if (!iphoneReg1.test(this.formData.phone)) {
  249. uni.showToast({
  250. title: '电话号码格式不正确',
  251. icon: 'none'
  252. })
  253. return
  254. }
  255. if (!mailReg.test(this.formData.mail_code)) {
  256. uni.showToast({
  257. title: '邮政编码格式不正确',
  258. icon: 'none'
  259. })
  260. return
  261. }
  262. uni.showToast({
  263. title: '提交成功'
  264. })
  265. if (this.ismodify == '1') {
  266. this.$https.post('/youngee/c/t/p/update-talent-address', {
  267. address_id: this.address_id,
  268. region_code: this.formData.fregion,
  269. detail_addr: this.formData.detailregion,
  270. phone_number: this.formData.phone,
  271. receiver_name: this.formData.name,
  272. mail_code: this.formData.mail_code,
  273. })
  274. .then(res => {
  275. console.log(res)
  276. uni.navigateBack()
  277. })
  278. } else {
  279. this.$https.post('/youngee/c/t/p/add-talent-address', {
  280. region_code: this.formData.fregion,
  281. detail_addr: this.formData.detailregion,
  282. phone_number: this.formData.phone,
  283. receiver_name: this.formData.name,
  284. mail_code: this.formData.mail_code,
  285. default_tag: this.formData.setdefault
  286. })
  287. .then(res => {
  288. console.log(res)
  289. uni.navigateBack()
  290. })
  291. }
  292. }).catch(err => {
  293. console.error('验证失败:', errors)
  294. uni.showToast({
  295. title: '请填写所有信息',
  296. icon: 'none'
  297. })
  298. })
  299. },
  300. //城市选择
  301. pickerChange(e) {
  302. // console.log(e, '1');
  303. this.regionIndex = e.detail.value;
  304. this.regionStr = this.region[0][this.regionIndex[0]].name + ' ' + this.region[1][this.regionIndex[1]]
  305. .name + ' ' +
  306. this.region[2][this.regionIndex[2]].name;
  307. // 组件传值
  308. this.$emit('region', [this.region[0][this.regionIndex[0]].code, this.region[1][this.regionIndex[1]].code,
  309. this.region[
  310. 2][this.regionIndex[2]].code
  311. ]);
  312. this.formData.fregion = this.region[2][this.regionIndex[2]].code;
  313. console.log(this.formData.fregion)
  314. },
  315. pickerColumnchange(e) {
  316. if (e.detail.column === 0) {
  317. // 声明城市数组
  318. let cityArr = [];
  319. let countyArr = [];
  320. // 设置下标
  321. this.regionIndex = [e.detail.value, 0, 0];
  322. // 改变城市列表
  323. this.region[1] = this.oldRegion[e.detail.value].children.map(item => {
  324. cityArr.push({
  325. name: item.name,
  326. code: item.code
  327. });
  328. })
  329. this.$set(this.region, 1, cityArr);
  330. // 改变县区列表
  331. this.oldRegion[e.detail.value].children[0].children.map(item => {
  332. countyArr.push({
  333. name: item.name,
  334. code: item.code
  335. });
  336. })
  337. this.$set(this.region, 2, countyArr);
  338. }
  339. if (e.detail.column === 1) {
  340. this.regionIndex[1] = e.detail.value;
  341. this.regionIndex[2] = 0;
  342. let countyArr = [];
  343. this.oldRegion[this.regionIndex[0]].children[this.regionIndex[1]].children.map(item => {
  344. countyArr.push({
  345. name: item.name,
  346. code: item.code
  347. });
  348. })
  349. this.$set(this.region, 2, countyArr);
  350. }
  351. if (e.detail.column === 2) {
  352. this.regionIndex[2] = e.detail.value;
  353. }
  354. }
  355. },
  356. created() {
  357. let provinceArr = [];
  358. let cityArr = [];
  359. this.oldRegion.map((item, index) => {
  360. this.region[0].push({
  361. name: item.name,
  362. code: item.code
  363. });
  364. if (this.previnceId == item.code) {
  365. provinceArr = item.children;
  366. this.regionIndex[0] = index;
  367. }
  368. })
  369. // console.log(provinceArr);
  370. provinceArr.map((item, index) => {
  371. this.region[1].push({
  372. name: item.name,
  373. code: item.code
  374. });
  375. if (this.cityId == item.code) {
  376. cityArr = item.children;
  377. this.regionIndex[1] = index;
  378. }
  379. })
  380. cityArr.map((item, index) => {
  381. this.region[2].push({
  382. name: item.name,
  383. code: item.code
  384. });
  385. if (this.countyId == item.code)
  386. this.regionIndex[2] = index;
  387. })
  388. if (this.isRevise)
  389. this.regionStr = this.region[0][this.regionIndex[0]].name + ' ' + this.region[1][this.regionIndex[1]]
  390. .name + ' ' + this.region[2][this.regionIndex[2]].name;
  391. else
  392. this.regionStr = '请选择省市区';
  393. }
  394. };
  395. </script>
  396. <style>
  397. picker {
  398. position: relative;
  399. display: block;
  400. cursor: pointer;
  401. padding-left: 20rpx !important;
  402. padding-top: 14rpx !important;
  403. color: grey !important;
  404. }
  405. /deep/.uni-forms-item__inner {
  406. border-bottom: none !important;
  407. margin-bottom: 0 !important;
  408. }
  409. </style>
  410. <style lang="scss" scoped>
  411. @charset "UTF-8";
  412. /* 头条小程序组件内不能引入字体 */
  413. /* #ifdef MP-TOUTIAO */
  414. @font-face {
  415. font-family: uniicons;
  416. font-weight: normal;
  417. font-style: normal;
  418. src: url("~@/static/uni.ttf") format("truetype");
  419. }
  420. /* #endif */
  421. /* #ifndef APP-NVUE */
  422. page {
  423. display: flex;
  424. flex-direction: column;
  425. box-sizing: border-box;
  426. background-color: #FFFFFF;
  427. min-height: 100%;
  428. height: auto;
  429. }
  430. view {
  431. font-size: 14px;
  432. line-height: inherit;
  433. }
  434. .menu {
  435. position: fixed;
  436. top: 180rpx;
  437. background-color: #FFFFFF;
  438. justify-content: space-around;
  439. height: 5%;
  440. width: 100%;
  441. display: flex;
  442. z-index: 10;
  443. margin-bottom: 10rpx;
  444. }
  445. .menu-item p {
  446. font-weight: 600;
  447. font-size: 90%;
  448. &.lor {
  449. border-bottom: 5rpx solid #F0D232;
  450. color: #F0D232;
  451. padding-bottom: 15rpx;
  452. }
  453. }
  454. .setdeault {
  455. display: flex;
  456. justify-content: space-between;
  457. }
  458. .btn1 {
  459. margin: 30rpx;
  460. font-size: 35rpx;
  461. color: #FFFFFF;
  462. background-color: #F0D232;
  463. border: none;
  464. border-radius: 0;
  465. }
  466. .example {
  467. padding: 0 15px 15px;
  468. }
  469. .example-info {
  470. padding: 15px;
  471. color: #3b4144;
  472. background: #ffffff;
  473. }
  474. .example-body {
  475. /* #ifndef APP-NVUE */
  476. display: flex;
  477. /* #endif */
  478. flex-direction: row;
  479. flex-wrap: wrap;
  480. justify-content: center;
  481. padding: 0;
  482. font-size: 14px;
  483. background-color: #ffffff;
  484. }
  485. /* #endif */
  486. .example {
  487. padding: 0 15px;
  488. }
  489. .example-info {
  490. /* #ifndef APP-NVUE */
  491. display: block;
  492. /* #endif */
  493. padding: 15px;
  494. color: #3b4144;
  495. background-color: #ffffff;
  496. font-size: 14px;
  497. line-height: 20px;
  498. }
  499. .example-info-text {
  500. font-size: 14px;
  501. line-height: 20px;
  502. color: #3b4144;
  503. }
  504. .example-body {
  505. flex-direction: column;
  506. padding: 15px;
  507. background-color: #ffffff;
  508. }
  509. .word-btn-white {
  510. font-size: 18px;
  511. color: #FFFFFF;
  512. }
  513. .word-btn {
  514. /* #ifndef APP-NVUE */
  515. display: flex;
  516. /* #endif */
  517. flex-direction: row;
  518. align-items: center;
  519. justify-content: center;
  520. border-radius: 6px;
  521. height: 48px;
  522. margin: 15px;
  523. background-color: #007AFF;
  524. }
  525. .word-btn--hover {
  526. background-color: #4ca2ff;
  527. }
  528. .example {
  529. padding: 0 10px 10px;
  530. }
  531. .uni-input-border,
  532. .uni-textarea-border {
  533. flex: 1;
  534. font-size: 14px;
  535. color: #666;
  536. border: 1px #FFFFFF solid;
  537. border-radius: 5px;
  538. /* #ifndef APP-NVUE */
  539. box-sizing: border-box;
  540. /* #endif */
  541. }
  542. .uni-input-border {
  543. padding: 0 10px;
  544. height: 35px;
  545. }
  546. .uni-textarea-border {
  547. padding: 10px;
  548. height: 80px;
  549. }
  550. .label-box {
  551. margin-right: 10px;
  552. }
  553. .transform-scale {
  554. transform: scale(0.7);
  555. }
  556. .butto {
  557. text-align: center;
  558. }
  559. .option {
  560. padding: 20rpx;
  561. }
  562. .uni-margin-wrap {
  563. width: 690rpx;
  564. width: 100%;
  565. ;
  566. }
  567. .swiper {
  568. height: 300rpx;
  569. }
  570. .swiper-item {
  571. display: block;
  572. height: 300rpx;
  573. line-height: 300rpx;
  574. text-align: center;
  575. }
  576. .swiper-list {
  577. margin-top: 40rpx;
  578. margin-bottom: 0;
  579. }
  580. .uni-common-mt {
  581. margin-top: 60rpx;
  582. position: relative;
  583. }
  584. .info {
  585. position: absolute;
  586. right: 20rpx;
  587. }
  588. .uni-padding-wrap {
  589. width: 550rpx;
  590. padding: 0 100rpx;
  591. }
  592. .signup {
  593. box-shadow: 0rpx 5rpx 40rpx #ccc;
  594. width: 100%;
  595. position: fixed;
  596. bottom: 0rpx;
  597. display: flex;
  598. height: 90rpx;
  599. padding-top: 2%;
  600. background-color: #FFFFFF;
  601. justify-content: space-around;
  602. }
  603. .signuptext {
  604. text-align: center;
  605. margin-top: 2%;
  606. }
  607. .signuptext p {
  608. font-size: 60%;
  609. color: #333333;
  610. }
  611. .signupbut {
  612. text-align: center;
  613. margin-top: 2%;
  614. }
  615. .but1 {
  616. width: 120%;
  617. text-align: center;
  618. background-color: #FCCF41;
  619. border-radius: 10rpx;
  620. color: #464100;
  621. font-size: 28rpx;
  622. line-height: 156%;
  623. font-weight: 500;
  624. height: 65%;
  625. }
  626. /deep/.uni-searchbar__box {
  627. border-color: #267CFF !important;
  628. border-width: 2rpx !important;
  629. }
  630. /deep/.uni-searchbar__box {
  631. background-color: #FFFFFF !important;
  632. }
  633. /deep/.uni-searchbar__text-placeholder {
  634. font-size: 30rpx !important;
  635. }
  636. /deep/.segmented-control__text {
  637. font-size: 34rpx !important;
  638. }
  639. /deep/.uni-data-checklist {
  640. padding-left: 20upx;
  641. }
  642. uni-picker {
  643. position: relative;
  644. display: block;
  645. cursor: pointer;
  646. padding-left: 20rpx !important;
  647. padding-top: 14rpx !important;
  648. color: grey !important;
  649. }
  650. /deep/.uni-date-x--border {
  651. border: 0px solid #dcdfe6 !important;
  652. }
  653. /deep/.is-input-border {
  654. border: 0px solid #c8c7cc !important;
  655. }
  656. /deep/.uni-progress-info {
  657. font-size: 25rpx !important;
  658. }
  659. /deep/.uni-error-message {
  660. position: absolute;
  661. bottom: -20rpx !important;
  662. left: 20rpx !important;
  663. text-align: left;
  664. }
  665. /deep/.uni-forms-item__inner {
  666. padding-bottom: 0rpx !important;
  667. margin-bottom: 30rpx !important;
  668. border-bottom: 0.5rpx solid #CCCCCC;
  669. }
  670. /deep/.uni-group__title {
  671. background-color: #FFFFFF !important;
  672. }
  673. /deep/.uni-list-item__content-title {
  674. font-size: 30rpx !important;
  675. color: #111111 !important;
  676. }
  677. /deep/.uni-progress-bar {
  678. border-radius: 10rpx !important;
  679. }
  680. /deep/.uni-progress-inner-bar {
  681. border-radius: 10rpx !important;
  682. }
  683. /deep/.is-input-border {
  684. border-radius: 20px !important;
  685. background-color: #fff;
  686. }
  687. .uni-easyinput__content-input {
  688. font-size: 30upx !important;
  689. }
  690. .content-clear-icon {
  691. font-size: 40upx !important;
  692. }
  693. /deep/.input-box {
  694. padding: 50upx;
  695. font-size: 30upx;
  696. .input-item {
  697. display: flex;
  698. border: 1upx solid #F8F8F8;
  699. line-height: 90upx;
  700. height: 90upx;
  701. margin-top: 20upx;
  702. background: #F8F8F8;
  703. border-radius: 48upx;
  704. .input-label {
  705. width: 150upx;
  706. text-align: center;
  707. }
  708. .input-body {
  709. position: relative;
  710. height: 100upx;
  711. width: calc(100% - 150upx);
  712. .input {
  713. line-height: 90upx;
  714. height: 90upx;
  715. position: relative;
  716. font-size: 28upx;
  717. }
  718. .eye {
  719. position: absolute;
  720. height: 50upx;
  721. width: 50upx;
  722. right: 20upx;
  723. top: 50%;
  724. transform: translateY(-50%);
  725. }
  726. .btn-code {
  727. position: absolute;
  728. right: 0upx;
  729. top: 50%;
  730. transform: translateY(-50%);
  731. background: none;
  732. color: #205592;
  733. width: 160upx;
  734. font-size: 24upx;
  735. box-sizing: border-box;
  736. text-align: center;
  737. padding: 0;
  738. height: 100upx;
  739. line-height: 100upx;
  740. }
  741. }
  742. }
  743. .select {
  744. // padding-top: 40upx;
  745. display: flex;
  746. justify-content: space-between;
  747. color: #003B67;
  748. }
  749. }
  750. /deep/.title-left {
  751. width: 3px;
  752. height: 16px;
  753. background: #267CFF;
  754. display: inline-block;
  755. border-radius: 3px;
  756. margin-top: 3px;
  757. vertical-align: top;
  758. margin-right: 10px;
  759. }
  760. </style>