assets.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. <template>
  2. <div class="assets">
  3. <div class="head">
  4. <img @click="back" src="@/assets/images/back.png" class="arrow_img" />
  5. <span>{{ $t('lang36') }}</span>
  6. </div>
  7. <div class="navbar">
  8. <span v-for="(item, index) in navList" :key="index" @click="changeNav(item, index)" :style="{ color: navIndex == index ? '#000' : '' }">{{ item.key }}</span>
  9. </div>
  10. <div class="pd" v-show="navIndex == 0">
  11. <div class="">
  12. <div class="total_box">
  13. <div>
  14. <span class="text">{{ $t('lang80') }}({{ $t('lang174') }})</span>
  15. </div>
  16. <div class="total">
  17. <span>{{ Math.floor(assets * 100) / 100 || 0 }}</span>
  18. </div>
  19. <div class="buy" @click="navigation('recharge')">
  20. <van-button class="buy_btn" type="primary">{{ $t('lang81') }}</van-button>
  21. </div>
  22. </div>
  23. <div class="bare" v-if="coinList.length <= 0">
  24. <span>{{ $t('lang82') }}</span>
  25. </div>
  26. <div v-else>
  27. <div class="list">
  28. <div v-for="(item, index) in coinList" :key="index" class="li">
  29. <div class="li_left">
  30. <!-- <div class="imgbox">
  31. <img :src="require('@/assets/images/wallet/' + item.coin_key + '.png')" class="li_img" />
  32. </div> -->
  33. <span class="title">{{ item.coin_name }}</span>
  34. </div>
  35. <div class="box">
  36. <div class="box_item">
  37. <span class="key">{{ $t('lang83') }}</span>
  38. <span class="num">{{ item.amount || 0 }}</span>
  39. </div>
  40. <div class="box_item">
  41. <span class="key">{{ $t('lang84') }}</span>
  42. <span class="num">{{ item.frozen_amount || 0 }}</span>
  43. </div>
  44. <!-- <div class="box_item">
  45. <span class="key">{{ $t('lang85') }}(CNY)</span>
  46. <span class="num">{{ Math.floor(item.amount * Number(item.convert_rate) * 100) / 100 || 0 }}</span>
  47. </div> -->
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="" v-show="navIndex == 1">
  55. <div class="pd1 goods_box" @scroll="handleScroll" v-if="nft_list.length > 0">
  56. <div class="goods_list jsb" v-for="(item, index) in nft_list" :key="index">
  57. <div class="tags" v-if="item.status == 2">{{ $t('lang141') }}</div>
  58. <div class="tags1" v-if="item.status == 3">{{ $t('lang142') }}</div>
  59. <van-image class="goods_list_img" radius="10" :src="item.img_url.split(',')[0]" />
  60. <div class="right" style="flex: 1">
  61. <span>{{ item.name }}</span>
  62. <div class="green">{{ item.title }}</div>
  63. <div class="cen">
  64. <span class="money">{{ item.price }}<span class="ssm">{{ $t('lang174') }}</span></span>
  65. </div>
  66. <div class="f-sa" v-if="item.status <= 1">
  67. <div class="buy" @click="pickup(item)">
  68. <van-button class="buy_btn btn1" type="primary">{{ $t('lang86') }}</van-button>
  69. </div>
  70. <div class="buy" @click="transfer(item)">
  71. <van-button class="buy_btn" type="primary">{{ $t('lang49') }}</van-button>
  72. </div>
  73. </div>
  74. <div class="f-sa buy1" v-if="item.status == 3">
  75. <div class="buy buy1">
  76. <van-button class="buy_btn btn1" type="primary">{{ $t('lang143') }}</van-button>
  77. </div>
  78. </div>
  79. <div class="f-sa buy1" v-else>
  80. <div class="buy">
  81. <van-button class="buy_btn btn3" type="primary" v-if="item.status == 2" @click="cancel(item)">{{ $t('lang144') }}</van-button>
  82. <van-button class="buy_btn btn3" type="primary" v-if="item.status == 4">{{ $t('lang145') }}</van-button>
  83. <van-button class="buy_btn btn3" type="primary" v-if="item.status == 5">{{ $t('lang146') }}</van-button>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="bare" v-if="nft_list.length <= 0">
  90. <span>{{ $t('lang82') }}</span>
  91. </div>
  92. </div>
  93. <van-popup v-model="transferPopop" round position="bottom">
  94. <!-- <van-cascader v-model="cascaderValue" title="请选择所在地区" :options="options" @close="cascaderShow = false" @finish="onFinish" /> -->
  95. <div class="area">
  96. <div class="title">{{ $t('lang88') }}</div>
  97. <!-- <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad" class="vanlist">
  98. <van-cell class="item" v-for="item in arealist" :key="item.id" :title="item.address" />
  99. </van-list> -->
  100. <div class="box">
  101. <div class="f-r">
  102. <span> {{ $t('lang89') }} </span>
  103. <div class="d">
  104. <van-field v-model="price" :placeholder="$t('lang93')" class="input" />
  105. <span class="s">{{ $t('lang174') }}</span>
  106. </div>
  107. </div>
  108. <div class="f-r">
  109. <span> {{ $t('lang90') }} </span>
  110. <span class="s">{{ Math.floor(price * Number(transfes_fee) * 100) / 100 }} {{ $t('lang174') }}</span>
  111. </div>
  112. <div class="f-r">
  113. <span> {{ $t('lang91') }} </span>
  114. <span class="s">{{ transfes_txt }}</span>
  115. </div>
  116. </div>
  117. <div class="submit" @click="cascaderShow = true">
  118. <van-button class="submit_btn" type="primary" @click="submit">{{ $t('lang71') }}</van-button>
  119. </div>
  120. </div>
  121. </van-popup>
  122. <van-popup v-model="addresPopop" round position="bottom">
  123. <div class="area">
  124. <div class="title">{{ $t('lang157') }}</div>
  125. <van-address-edit :area-list="areaList" show-search-result :save-button-text="$t('lang111')" :area-columns-placeholder="[]" @save="onSave" />
  126. </div>
  127. </van-popup>
  128. </div>
  129. </template>
  130. <script>
  131. import { homeApi } from '@/api/index';
  132. import { dateFormat } from '@/utils/formatTool.js';
  133. import { areaList } from '@vant/area-data';
  134. import { Dialog, Notify, Toast } from 'vant';
  135. export default {
  136. data() {
  137. return {
  138. loading: false,
  139. finished: false,
  140. total: 1,
  141. nickname: '',
  142. assets: 0,
  143. coinList: [],
  144. showPopover: false,
  145. actionType: -1, //-1:全部 0:未知 1:租赁 2:直推奖励 3:团队的算力奖励 4:团队的平级算力奖励
  146. navIndex: 0,
  147. navList: [
  148. {
  149. key: this.$t('lang134'),
  150. value: 0,
  151. },
  152. {
  153. key: 'NFT',
  154. value: 1,
  155. },
  156. ],
  157. nft_list: [],
  158. transferPopop: false,
  159. cascaderShow: true,
  160. price: '', // 转让金额
  161. areaList: areaList,
  162. searchResult: [],
  163. addresPopop: false,
  164. page: 1,
  165. item: {},
  166. transfes_fee: 0, //转让费率
  167. transfes_txt: '', //手续费说明
  168. };
  169. },
  170. mounted() {
  171. this.nickname = JSON.parse(localStorage.getItem('userinfo')).nickname;
  172. this.actionGet();
  173. this.getNftList();
  174. },
  175. methods: {
  176. statusFn(status) {
  177. let result = '';
  178. switch (status) {
  179. case 0:
  180. result = this.$t('lang154');
  181. break;
  182. case 1:
  183. result = this.$t('lang155');
  184. break;
  185. case 2:
  186. result = this.$t('lang141');
  187. break;
  188. case 3:
  189. result = this.$t('lang156');
  190. break;
  191. case 4:
  192. result = this.$t('lang145');
  193. break;
  194. case 5:
  195. result = this.$t('lang146');
  196. break;
  197. default:
  198. break;
  199. }
  200. return result;
  201. },
  202. //返回上一页
  203. back() {
  204. this.$router.back();
  205. },
  206. navigation(name) {
  207. this.$router.push({ name });
  208. },
  209. changeNav(item, index) {
  210. this.navIndex = index;
  211. },
  212. dateFormatFn(date) {
  213. return dateFormat(new Date(date * 1000), 'yyyy-MM-dd hh:mm:ss');
  214. },
  215. getNftList() {
  216. homeApi.getNftList({ page: this.page }).then(res => {
  217. if (res.code == 200) {
  218. this.total = res.data.total;
  219. if (this.nft_list.length >= res.data.total) {
  220. this.page = -1; // 重置为 -1,表示没有更多数据
  221. } else {
  222. this.nft_list = [...this.nft_list, ...res.data.data];
  223. console.log(this.nft_list.length);
  224. if (this.nft_list.length >= res.data.total) {
  225. this.page = -1; // 重置为 -1,表示没有更多数据
  226. }
  227. }
  228. } else {
  229. }
  230. });
  231. },
  232. actionGet() {
  233. homeApi.assets().then(res => {
  234. if (res.code == 200) {
  235. this.assets = res.data.assets;
  236. this.transfes_txt = res.data.transfes_txt;
  237. this.transfes_fee = res.data.transfes_fee;
  238. this.coinList = res.data.coin_list;
  239. }
  240. });
  241. },
  242. pickup(item) {
  243. this.item = item;
  244. this.addresPopop = true;
  245. },
  246. onSave(e) {
  247. console.log(e);
  248. // this.$toast('save');
  249. homeApi.pickupOrder({ order_id: this.item.order_id, name: e.name, phone: e.tel, address: e.province + ' ' + e.city + ' ' + e.county + ' ' + e.addressDetail }).then(res => {
  250. if (res.code == 200) {
  251. this.addresPopop = false;
  252. this.page = 1;
  253. this.nft_list = [];
  254. this.getNftList();
  255. Notify({ type: 'success', message: this.$t('lang152') });
  256. } else {
  257. this.$toast(res.msg);
  258. }
  259. });
  260. },
  261. transfer(item) {
  262. this.transferPopop = true;
  263. this.item = item;
  264. },
  265. submit() {
  266. if (!this.price) {
  267. return this.$toast(this.$t('lang153'));
  268. }
  269. homeApi.transfer({ order_id: this.item.order_id, price: this.price }).then(res => {
  270. if (res.code == 200) {
  271. this.transferPopop = false;
  272. this.page = 1;
  273. this.nft_list = [];
  274. this.getNftList();
  275. Notify({ type: 'success', message: this.$t('lang152') });
  276. } else {
  277. this.$toast(res.msg);
  278. }
  279. });
  280. },
  281. cancel(item) {
  282. let _this = this;
  283. Dialog.confirm({
  284. title: _this.$t('lang136'),
  285. message: _this.$t('lang151'),
  286. confirmButtonText: _this.$t('lang111'),
  287. cancelButtonText: _this.$t('lang135'),
  288. })
  289. .then(() => {
  290. // this.loading = true;
  291. console.log(1111111, item.order_id);
  292. homeApi.cancel({ order_id: item.order_id }).then(res => {
  293. if (res.code == 200) {
  294. _this.page = 1;
  295. _this.nft_list = [];
  296. _this.getNftList();
  297. Notify({ type: 'success', message: _this.$t('lang150') });
  298. } else {
  299. _this.$toast(res.msg);
  300. }
  301. });
  302. })
  303. .catch(() => {
  304. // on cancel
  305. });
  306. },
  307. // getProductAddres() {
  308. // homeApi.getProductAddres({ product_id: id, search: this.search }).then(res => {
  309. // if (res.code == 200) {
  310. // this.arealist = res.data;
  311. // } else {
  312. // }
  313. // });
  314. // },
  315. handleScroll(event) {
  316. const container = event.target;
  317. const scrollTop = container.scrollTop; // 滚动距离
  318. const scrollHeight = container.scrollHeight; // 内容总高度
  319. const clientHeight = container.clientHeight; // 可视区域高度
  320. // 判断是否滑动到底部
  321. if (scrollTop + clientHeight >= scrollHeight - 10) {
  322. console.log(this.page);
  323. if (this.page != -1) {
  324. this.page++; // 页数加 1
  325. this.getNftList(); // 触发加载更多
  326. }
  327. }
  328. },
  329. },
  330. };
  331. </script>
  332. <style lang="less" scoped>
  333. .head {
  334. position: fixed;
  335. top: 0;
  336. left: 0;
  337. width: 100%;
  338. display: flex;
  339. align-items: center;
  340. justify-content: center;
  341. color: rgba(#000, 0.8);
  342. letter-spacing: 1.2px;
  343. font-weight: 550;
  344. background: #fff;
  345. padding: 14px 0;
  346. z-index: 999;
  347. .arrow_img {
  348. position: absolute;
  349. left: 20px;
  350. width: 10px;
  351. height: 16px;
  352. // transform: translate(0, -50%);
  353. }
  354. }
  355. .f-sb {
  356. display: flex;
  357. align-items: center;
  358. justify-content: space-between;
  359. }
  360. .f-sa {
  361. display: flex;
  362. align-items: center;
  363. justify-content: space-around;
  364. }
  365. .f-sb-n {
  366. display: flex;
  367. align-items: flex-end;
  368. justify-content: space-between;
  369. }
  370. .f-col {
  371. display: flex;
  372. flex-direction: column;
  373. }
  374. .f-r {
  375. display: flex;
  376. align-items: center;
  377. }
  378. .assets {
  379. min-height: 100vh;
  380. padding: 50px 0 0;
  381. // background-color: #fafbfc;
  382. .top {
  383. color: #000;
  384. padding-bottom: 16px;
  385. margin: 0 6px;
  386. }
  387. .navbar {
  388. color: #000;
  389. height: 50px;
  390. display: flex;
  391. align-items: center;
  392. justify-content: space-between;
  393. background-color: #fff;
  394. span {
  395. color: #aaaaaa;
  396. width: 50%;
  397. font-size: 14px;
  398. text-align: center;
  399. line-height: 50px;
  400. }
  401. }
  402. .pd {
  403. min-height: 100vh;
  404. padding: 4px;
  405. margin-top: 4px;
  406. background-color: #fff;
  407. }
  408. .total_box {
  409. position: relative;
  410. display: flex;
  411. align-items: center;
  412. flex-direction: column;
  413. justify-content: center;
  414. // position: relative;
  415. font-size: 12px;
  416. color: #fff;
  417. height: 140px;
  418. // border-radius: 16px;
  419. padding: 20px 20px 40px;
  420. box-sizing: border-box;
  421. border-radius: 10px;
  422. margin: 10px;
  423. background: linear-gradient(to right, #1ab986, #25d7bb);
  424. .total {
  425. font-size: 28px;
  426. text-align: center;
  427. padding-top: 10px;
  428. }
  429. .text {
  430. color: rgba(#fff, 0.8);
  431. }
  432. .buy {
  433. position: absolute;
  434. right: 14px;
  435. bottom: 14px;
  436. &_btn {
  437. color: #29b286;
  438. height: 30px;
  439. line-height: 30px;
  440. font-size: 14px;
  441. background-color: #ffffff;
  442. border: none;
  443. padding: 0 16px;
  444. white-space: nowrap;
  445. border-radius: 30px;
  446. }
  447. }
  448. }
  449. .balance_box {
  450. display: flex;
  451. align-items: center;
  452. justify-content: space-between;
  453. padding-top: 16px;
  454. margin: 0 6px;
  455. border-radius: 20px;
  456. background-color: #ffffff;
  457. box-shadow: 4px 4px 15px 0px rgba(180, 212, 212, 0.29);
  458. .balance_li {
  459. color: #510fa8;
  460. display: flex;
  461. align-items: center;
  462. flex-direction: column;
  463. width: 48%;
  464. font-size: 13px;
  465. border-radius: 16px;
  466. padding: 16px 0;
  467. // box-shadow: 4px 4px 15px 0px rgba(180, 212, 212, 0.59);
  468. // background-color: rgba(255, 255, 255, 0.3);
  469. .icon {
  470. width: 20px;
  471. height: 20px;
  472. margin-bottom: 10px;
  473. }
  474. }
  475. }
  476. .bare {
  477. text-align: center;
  478. font-size: 14px;
  479. padding: 60px 14px;
  480. color: #aaa;
  481. }
  482. .list {
  483. border-radius: 20px;
  484. padding: 0 8px;
  485. margin-top: 16px;
  486. background-color: #fff;
  487. margin: 16px 6px;
  488. .li {
  489. // display: flex;
  490. // align-items: center;
  491. // justify-content: space-between;
  492. font-size: 14px;
  493. color: rgba(51, 51, 51, 1);
  494. padding: 14px 0;
  495. .li_left {
  496. // display: flex;
  497. // align-items: center;
  498. .imgbox {
  499. width: 40px;
  500. height: 40px;
  501. border-radius: 15px;
  502. background-color: #f1f1f1;
  503. display: flex;
  504. align-items: center;
  505. justify-content: center;
  506. margin-right: 6px;
  507. }
  508. .li_img {
  509. display: block;
  510. width: 32px;
  511. height: 32px;
  512. border-radius: 50%;
  513. }
  514. .title {
  515. color: #29b286;
  516. font-size: 14px;
  517. font-weight: bold;
  518. }
  519. }
  520. .box {
  521. padding-top: 10px;
  522. display: flex;
  523. align-items: center;
  524. justify-content: space-between;
  525. &_item {
  526. width: 33%;
  527. display: flex;
  528. flex-direction: column;
  529. .key {
  530. color: #aaa;
  531. font-size: 12px;
  532. }
  533. .num {
  534. font-size: 14px;
  535. color: #000;
  536. padding-top: 2px;
  537. }
  538. }
  539. .box_item:last-child {
  540. text-align: right;
  541. }
  542. }
  543. }
  544. }
  545. .goods_box {
  546. // margin: 14px;
  547. height: 100vh;
  548. overflow: auto;
  549. border-radius: 14px;
  550. .good_icon {
  551. width: 16px;
  552. height: 16px;
  553. margin-right: 5px;
  554. }
  555. }
  556. .pd1 {
  557. padding: 14px;
  558. }
  559. .goods_list {
  560. position: relative;
  561. display: flex;
  562. // align-items: center;
  563. // justify-content: space-between;
  564. color: #000;
  565. padding: 14px;
  566. border-radius: 6px;
  567. // box-shadow: 0 4px 16px 0 rgba(53, 73, 93, 0.15);
  568. margin-bottom: 16px;
  569. // box-shadow: 4px 4px 15px 0px rgba(180, 212, 212, 0.29);
  570. background-color: #fff;
  571. // background-image: linear-gradient(90deg, rgba(217, 239, 239, 0.3) 0, rgba(217, 239, 239, 0.3) 0, rgba(225, 240, 242, 0.3) 100%, rgba(225, 240, 242, 0.3) 100%);
  572. .tags {
  573. position: absolute;
  574. left: 0;
  575. top: 0;
  576. font-size: 10px;
  577. color: #fff;
  578. padding: 4px 14px;
  579. z-index: 99;
  580. background-color: #29b2b0;
  581. border-radius: 6px 0 6px 0;
  582. }
  583. .tags1 {
  584. position: absolute;
  585. left: 0;
  586. top: 0;
  587. font-size: 10px;
  588. color: #fff;
  589. padding: 4px 14px;
  590. z-index: 99;
  591. background-color: #f4ab1e;
  592. border-radius: 6px 0 6px 0;
  593. }
  594. &_img {
  595. width: 110px;
  596. height: 120px;
  597. border-radius: 10px;
  598. margin-right: 10px;
  599. }
  600. .right {
  601. width: calc(100% - 100px);
  602. display: flex;
  603. flex-direction: column;
  604. justify-content: space-between;
  605. font-size: 13px;
  606. box-sizing: border-box;
  607. padding: 6px 0;
  608. .time_text {
  609. color: #7f7f7f;
  610. font-weight: normal;
  611. font-size: 10px;
  612. text-decoration: line-through;
  613. }
  614. .cen {
  615. color: #000;
  616. font-size: 12px;
  617. }
  618. .money {
  619. font-size: 15px;
  620. }
  621. .ssm {
  622. font-size: 10px;
  623. font-weight: normal;
  624. }
  625. .mon_t {
  626. color: #3d3d3d;
  627. font-weight: normal;
  628. }
  629. .yel {
  630. background-color: #f9f6e5;
  631. font-weight: normal;
  632. margin-left: 8px;
  633. padding: 0px 8px;
  634. border-radius: 16px;
  635. white-space: nowrap;
  636. .count {
  637. color: #f7c35d;
  638. font-size: 9px;
  639. }
  640. }
  641. .green {
  642. width: fit-content;
  643. color: #29b286;
  644. background-color: #ddf2e7;
  645. font-size: 10px;
  646. font-weight: normal;
  647. padding: 2px 6px;
  648. border-radius: 6px;
  649. }
  650. .t2 {
  651. text-decoration: none;
  652. }
  653. }
  654. .buy {
  655. display: flex;
  656. align-items: flex-end;
  657. &_btn {
  658. height: 32px;
  659. line-height: 32px;
  660. font-size: 12px;
  661. border: none;
  662. padding: 0 26px;
  663. white-space: nowrap;
  664. border-radius: 30px;
  665. border: 1px solid #29b286;
  666. background-color: #29b286;
  667. }
  668. .btn1 {
  669. color: #29b286;
  670. background-color: #fff;
  671. }
  672. .btn3 {
  673. color: #b9b9b9;
  674. padding: 0 20px;
  675. border: 1px solid #b9b9b9;
  676. background-color: #fff;
  677. }
  678. }
  679. .buy1 {
  680. justify-content: flex-end;
  681. }
  682. }
  683. .area {
  684. color: #363636;
  685. font-size: 13px;
  686. padding: 20px 30px;
  687. width: 100%;
  688. box-sizing: border-box;
  689. position: relative;
  690. .title {
  691. color: #000;
  692. font-size: 15px;
  693. text-align: center;
  694. font-weight: bold;
  695. // padding: 0 0 14px;
  696. }
  697. .vanlist {
  698. max-height: 350px;
  699. overflow: auto;
  700. box-sizing: border-box;
  701. margin: 20px 0;
  702. border: none !important;
  703. .item {
  704. padding: 12px 0 !important;
  705. border-bottom: 0.5px solid rgba(190, 190, 190, 0.15);
  706. }
  707. }
  708. .box {
  709. margin: 20px 0;
  710. .f-r {
  711. padding: 6px 0;
  712. }
  713. .f-r span:first-child {
  714. padding-right: 8px;
  715. }
  716. .d {
  717. display: flex;
  718. align-items: flex-end;
  719. }
  720. .input {
  721. // width: 100%;
  722. // border: 1px solid #29b286;
  723. // border-radius: 20px;
  724. width: 100px;
  725. border-bottom: 0.5px solid rgba(27, 27, 27, 0.15);
  726. }
  727. .van-cell {
  728. padding: 0 !important;
  729. }
  730. .s {
  731. font-size: 11px;
  732. color: #999999;
  733. }
  734. }
  735. .submit {
  736. width: 100%;
  737. // position: fixed;
  738. bottom: 30px;
  739. box-sizing: border-box;
  740. &_btn {
  741. width: 100%;
  742. height: 40px;
  743. line-height: 40px;
  744. font-size: 14px;
  745. background-color: #29b286;
  746. border: none;
  747. white-space: nowrap;
  748. border-radius: 30px;
  749. }
  750. }
  751. ::v-deep .van-field__control {
  752. padding: 6px 12px 0;
  753. }
  754. ::v-deep .van-hairline--top-bottom::after,
  755. ::v-deep.van-hairline-unset--top-bottom::after {
  756. border: none;
  757. }
  758. }
  759. }
  760. ::v-deep .van-cell {
  761. padding: 10px 0 !important;
  762. }
  763. ::v-deep .van-button--danger {
  764. background-color: #29b286;
  765. border-color: #29b286;
  766. }
  767. ::v-deep .van-address-edit {
  768. padding: 10px 0;
  769. }
  770. ::v-deep .van-ellipsis {
  771. font-size: 10px !important;
  772. }
  773. ::v-deep .van-overlay {
  774. background-color: rgba(#000, 0.3);
  775. }
  776. </style>