user.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <template>
  2. <view class="container">
  3. <scroll-view class="content-box" scroll-y="true">
  4. <view class="user-section">
  5. <view class="bg"><image src="/static/img/user-bg.png" mode=""></image></view>
  6. <!-- #ifdef APP-PLUS -->
  7. <view class="top">
  8. </view>
  9. <!-- #endif -->
  10. <view class="user-info-box ">
  11. <view class="detail flex">
  12. <view class="portrait-box" @click="navTo('/pages/set/userinfo')">
  13. <image class="portrait" :src="userInfo.avatar || '/static/error/missing-face.png'"></image>
  14. </view>
  15. <view class="info-box">
  16. <view class="info-top flex">
  17. <view class="username clamp">{{ userInfo.nickname || '游客' }}</view>
  18. <view class="vip" v-if="userInfo.level > 0">
  19. <image class="vip-bg" src="../../static/img/vip.png" mode=""></image>
  20. <view class="vip-title">{{ userInfo.level_info.name }}</view>
  21. </view>
  22. </view>
  23. <view class="font-size-sm">{{ userInfo.account }}</view>
  24. </view>
  25. </view>
  26. <view class="my-info flex" @click="navTo('/pages/set/userinfo')" v-if="hasLogin">
  27. <image src="../../static/icon/i6.png" mode=""></image>
  28. <view class="title">设置</view>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="box">
  33. <view class="sweets-box">
  34. <view class="sweets" @click="navTo('/pages/money/xfIntegral')">
  35. <view class="limit">{{ userInfo.point*1 || 0 }}</view>
  36. <view class="sweets-name">消费补贴券</view>
  37. </view>
  38. <view class="jiange"></view>
  39. <view class="sweets" @click="navTo('/pages/user/award')">
  40. <view class="limit">{{ money * 1 || 0 }}</view>
  41. <view class="sweets-name">余额</view>
  42. </view>
  43. <view class="jiange"></view>
  44. <view class="sweets" @click="navTo('/pages/money/wallet')">
  45. <view class="limit">{{ userInfo.brokerage_price*1 }}</view>
  46. <view class="sweets-name">佣金</view>
  47. </view>
  48. <view class="jiange"></view>
  49. <view class="sweets" @click="navTo('/pages/money/integral')">
  50. <view class="limit">{{ userInfo.integral * 1 || 0 }}</view>
  51. <view class="sweets-name">消费补贴券</view>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="my-order">
  56. <view class="box-title flex ">
  57. <view class="title1"><text>商城订单</text></view>
  58. <view class="link" @click="navTo('/pages/order/order?state=0')" hover-class="common-hover"><text class="iconfont iconenter"></text></view>
  59. </view>
  60. <view class="order-section">
  61. <view class="order-item" @click="navTo('/pages/order/order?state=0')" hover-class="common-hover" :hover-stay-time="50">
  62. <view class=" icon1 position-relative"><image class="icon-img" src="/static/user/order1.png" mode="aspectFit"></image></view>
  63. <text>待付款</text>
  64. </view>
  65. <view class="order-item" @click="navTo('/pages/order/order?state=1')" hover-class="common-hover" :hover-stay-time="50">
  66. <view class="icon1 position-relative"><image class="icon-img" src="/static/user/order2.png" mode="aspectFit"></image></view>
  67. <text>待发货</text>
  68. </view>
  69. <view class="order-item" @click="navTo('/pages/order/order?state=2')" hover-class="common-hover" :hover-stay-time="50">
  70. <view class="icon1 position-relative"><image class="icon-img" src="/static/user/order3.png" mode="aspectFit"></image></view>
  71. <text>待收货</text>
  72. </view>
  73. <view class="order-item" @click="navTo('/pages/order/order?state=4')" hover-class="common-hover" :hover-stay-time="50">
  74. <view class=" icon1 position-relative"><image class="icon-img" src="/static/user/order4.png" mode="aspectFit"></image></view>
  75. <text>已完成</text>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="history-section icon">
  80. <uni-list>
  81. <uni-list-item title="分享任务" @click="navTo('/pages/user/share')" thumb="/static/img/share02.png"></uni-list-item>
  82. <uni-list-item title="我的收藏" @click="navTo('/pages/user/favorites')" thumb="/static/user/shoucang.png"></uni-list-item>
  83. <uni-list-item title="收货地址" @click="navTo('/pages/set/address')" thumb="/static/user/dizhi.png"></uni-list-item>
  84. <!-- <uni-list-item title="联系客服" @click="showPopup" thumb="/static/user/kefu.png"></uni-list-item> -->
  85. <uni-list-item title="绑定手机号" @click="navTo('/pages/set/phone')" thumb="/static/user/setphone.png"></uni-list-item>
  86. <uni-list-item title="分享海报" @click="navTo('/pages/user/shareQrCode')" thumb="/static/user/share.png"></uni-list-item>
  87. <uni-list-item title="我的推广" @click="navTo('/pages/user/team')" thumb="/static/user/team.png"></uni-list-item>
  88. <uni-list-item title="会员协议" @click="navTo('/pages/contract/agreement')" thumb="/static/user/vipxy.png"></uni-list-item>
  89. <uni-list-item title="隐私政策" @click="navTo('/pages/contract/privacy')" thumb="/static/user/yszc.png"></uni-list-item>
  90. <uni-list-item title="关于我们" @click="navTo('/pages/user/about')" thumb="/static/user/about.png"></uni-list-item>
  91. </uni-list>
  92. </view>
  93. </scroll-view>
  94. <uni-popup ref="popup" type="center">
  95. <view class="popup-box">
  96. <view class="img"><image src="../../static/img/img009.png" mode=""></image></view>
  97. <view class="mian">
  98. <view class="delivery">
  99. <view class="title">已经为您定制专属客服</view>
  100. <image src="../../static/img/img010.png" mode=""></image>
  101. </view>
  102. <view class="nocancel">客服VX:{{ weixin }}</view>
  103. <view class="comfirm-box">
  104. <view class="cancel" @click="close">取消</view>
  105. <view class="comfirm" @click="copy()">复制微信</view>
  106. </view>
  107. </view>
  108. </view>
  109. </uni-popup>
  110. </view>
  111. </template>
  112. <script>
  113. import { mapState, mapMutations } from 'vuex';
  114. import { spreadCommission, userBalance } from '@/api/wallet.js';
  115. import uniList from '@/components/uni-list/uni-list.vue';
  116. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  117. import { orderData, getUserInfo, service,setShare,share } from '@/api/user.js';
  118. import { saveUrl, interceptor } from '@/utils/loginUtils.js';
  119. import { logout } from '@/api/set.js';
  120. // import uniCopy from '@/js_sdk/xb-copy/uni-copy.js';
  121. let startY = 0,
  122. moveY = 0,
  123. pageAtTop = true;
  124. export default {
  125. components: {
  126. uniList,
  127. uniListItem
  128. },
  129. data() {
  130. return {
  131. coverTransform: 'translateY(0px)',
  132. coverTransition: '0s',
  133. moving: false,
  134. erweima: '',
  135. weixin: 'lzmycd0408',
  136. money:'',
  137. };
  138. },
  139. onShow() {
  140. setShare().then(res=>{
  141. console.log(res,'分享数据2');
  142. })
  143. // 判断是否已经登录
  144. if (this.hasLogin) {
  145. this.loadBaseData();
  146. userBalance({}).then(({ data }) => {
  147. this.money = data.now_money;
  148. });
  149. }
  150. },
  151. onReady() {
  152. // 初始化获取页面宽度
  153. uni.createSelectorQuery()
  154. .select('.container')
  155. .fields(
  156. {
  157. size: true
  158. },
  159. data => {
  160. // 计算最多下拉的高度
  161. this.userDowm = Math.floor((data.width / 750) * 185);
  162. // 计算最大触发修改高度事件
  163. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  164. }
  165. )
  166. .exec();
  167. },
  168. // #ifndef MP
  169. // onNavigationBarButtonTap(e) {
  170. // const index = e.index;
  171. // if (index === 0) {
  172. // this.navTo('/pages/set/set');
  173. // } else if (index === 1) {
  174. // // #ifdef APP-PLUS
  175. // const pages = getCurrentPages();
  176. // const page = pages[pages.length - 1];
  177. // const currentWebview = page.$getAppWebview();
  178. // currentWebview.hideTitleNViewButtonRedDot({
  179. // index
  180. // });
  181. // // #endif
  182. // uni.navigateTo({
  183. // url: '/pages/user/notice'
  184. // });
  185. // }
  186. // },
  187. // #endif
  188. computed: {
  189. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin'])
  190. },
  191. methods: {
  192. ...mapMutations('user', ['setUserInfo', 'logout','setOrderInfo']),
  193. copy() {
  194. let content = this.weixin
  195. /**
  196. * 小程序端 和 app端的复制逻辑
  197. */
  198. //#ifndef H5
  199. uni.setClipboardData({
  200. data: content,
  201. success: function() {
  202. console.log('success');
  203. return true;
  204. }
  205. });
  206. //#endif
  207. /**
  208. * H5端的复制逻辑
  209. */
  210. // #ifdef H5
  211. if (!document.queryCommandSupported('copy')) {
  212. //为了兼容有些浏览器 queryCommandSupported 的判断
  213. // 不支持
  214. return false;
  215. }
  216. let textarea = document.createElement('textarea');
  217. textarea.value = content;
  218. textarea.readOnly = 'readOnly';
  219. document.body.appendChild(textarea);
  220. textarea.select(); // 选择对象
  221. textarea.setSelectionRange(0, content.length); //核心
  222. let result = document.execCommand('copy'); // 执行浏览器复制命令
  223. textarea.remove();
  224. return result;
  225. // #endif
  226. },
  227. bc_code() {
  228. let that = this;
  229. console.log('保存二维码', this.erweima);
  230. uni.downloadFile({
  231. //获得二维码的临时地址
  232. url: this.erweima,
  233. success: res => {
  234. //console.log('获取url',res)
  235. if (res.statusCode == 200) {
  236. uni.saveImageToPhotosAlbum({
  237. filePath: res.tempFilePath, //传入临时地址
  238. success() {
  239. that.$api.msg('保存成功'); //封装的提示
  240. },
  241. fail() {
  242. that.$api.msg('保存失败');
  243. }
  244. });
  245. }
  246. }
  247. });
  248. },
  249. showPopup() {
  250. this.$refs.popup.open();
  251. },
  252. close() {
  253. this.$refs.popup.close();
  254. },
  255. comfirm(text) {
  256. console.log(text);
  257. const result = this.uniCopy(text);
  258. if (result === false) {
  259. uni.showToast({
  260. title: '不支持'
  261. });
  262. } else {
  263. uni.showToast({
  264. title: '复制成功',
  265. icon: 'none'
  266. });
  267. }
  268. this.$refs.popup.close();
  269. },
  270. // 加载初始数据
  271. loadBaseData() {
  272. getUserInfo({})
  273. .then(({ data }) => {
  274. console.log(data, 'userInfo+++++++++++++++++++');
  275. this.setUserInfo(data);
  276. // 获取用户数据完毕后在获取订单数据防止多次跳转到登录页
  277. orderData({})
  278. .then(({ data }) => {
  279. this.setOrderInfo(data);
  280. })
  281. .catch(e => {
  282. this.setOrderInfo({
  283. complete_count: 0, //完成
  284. received_count: 0, //待收货
  285. unshipped_count: 0, //待发货
  286. order_count: 0, //订单总数
  287. unpaid_count: 0 //待付款
  288. });
  289. });
  290. })
  291. .catch(e => {
  292. console.log(e);
  293. });
  294. },
  295. /**
  296. * 统一跳转接口,拦截未登录路由
  297. * navigator标签现在默认没有转场动画,所以用view
  298. */
  299. navTo(url) {
  300. if (!this.hasLogin) {
  301. // 保存地址
  302. saveUrl();
  303. // 登录拦截
  304. interceptor();
  305. } else {
  306. uni.navigateTo({
  307. url
  308. });
  309. }
  310. },
  311. }
  312. };
  313. </script>
  314. <style lang="scss">
  315. page {
  316. height: 100%;
  317. background-color: $page-color-base;
  318. }
  319. %flex-center {
  320. display: flex;
  321. flex-direction: column;
  322. justify-content: center;
  323. align-items: center;
  324. }
  325. %section {
  326. display: flex;
  327. justify-content: space-around;
  328. align-content: center;
  329. background: #fff;
  330. border-radius: 10rpx;
  331. }
  332. .container {
  333. height: 100%;
  334. background-color: #fff;
  335. }
  336. .content-box {
  337. height: 100%;
  338. }
  339. .user-section {
  340. height: 420rpx;
  341. padding: 50rpx 0rpx 0 30rpx;
  342. position: relative;
  343. .bg {
  344. position: absolute;
  345. left: 0;
  346. top: 0;
  347. width: 100%;
  348. height: 100%;
  349. background: linear-gradient(180deg, #08c4e6, #50ead2);
  350. // z-index: 1;
  351. // background-color: $base-color;
  352. image {
  353. width: 100%;
  354. height: 100%;
  355. }
  356. }
  357. }
  358. .top {
  359. height: 50rpx;
  360. }
  361. .user-info-box {
  362. height: 180rpx;
  363. color: white;
  364. display: flex;
  365. align-items: center;
  366. justify-content: space-between;
  367. position: relative;
  368. z-index: 1;
  369. .detail {
  370. height: 130rpx;
  371. .portrait-box {
  372. height: 100%;
  373. .portrait {
  374. width: 130rpx;
  375. height: 100%;
  376. border: 5rpx solid #fff;
  377. border-radius: 50%;
  378. }
  379. }
  380. .info-box {
  381. margin-left: 20rpx;
  382. line-height: 1.5;
  383. .username {
  384. font-size: $font-lg + 2rpx;
  385. height: 100%;
  386. max-width: 200rpx;
  387. }
  388. .vip {
  389. position: relative;
  390. margin-left: 12rpx;
  391. width: 120rpx;
  392. height: 40rpx;
  393. .vip-bg {
  394. position: absolute;
  395. top: 0;
  396. left: 0;
  397. right: 0;
  398. width: 100%;
  399. height: 100%;
  400. }
  401. .vip-title {
  402. position: relative;
  403. z-index: 10;
  404. font-size: 20rpx;
  405. font-family: PingFang SC;
  406. font-weight: 500;
  407. color: #93794b;
  408. padding-left: 36rpx;
  409. line-height: 40rpx;
  410. }
  411. }
  412. .username-t {
  413. font-size: $font-lg + 6rpx;
  414. // height: 32rpx;
  415. display: flex;
  416. align-items: center;
  417. image {
  418. display: inline-block;
  419. margin-left: 10rpx;
  420. width: 147rpx;
  421. height: 32rpx;
  422. }
  423. }
  424. .user-get {
  425. font-size: $font-lg;
  426. text {
  427. font-size: $font-lg + 6rpx;
  428. }
  429. }
  430. }
  431. }
  432. .config {
  433. font-size: 48rpx;
  434. height: 130rpx;
  435. .setting {
  436. margin-right: 51rpx;
  437. }
  438. }
  439. .my-info {
  440. margin-right: 30rpx;
  441. width: 130rpx;
  442. height: 50rpx;
  443. border: 1px solid #ffffff;
  444. border-radius: 26rpx;
  445. justify-content: center;
  446. image {
  447. width: 30rpx;
  448. height: 30rpx;
  449. }
  450. .title {
  451. padding-left: 9rpx;
  452. font-size: 24rpx;
  453. font-family: PingFang SC;
  454. font-weight: 500;
  455. color: #ffffff;
  456. }
  457. }
  458. }
  459. .box {
  460. display: flex;
  461. flex-direction: column;
  462. width: 710rpx;
  463. position: relative;
  464. margin: -80rpx 20rpx;
  465. color: #fefefe;
  466. }
  467. .my-order {
  468. margin: 100rpx auto 0;
  469. display: flex;
  470. justify-content: space-between;
  471. flex-direction: column;
  472. width: 710rpx;
  473. background: #ffffff;
  474. box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
  475. border-radius: 20rpx;
  476. }
  477. .box-title {
  478. border-top-left-radius: 20rpx;
  479. border-top-right-radius: 20rpx;
  480. background-color: #ffffff;
  481. line-height: 1;
  482. padding: 26rpx 34rpx 20rpx;
  483. border-bottom: 1px solid #f5f5f5;
  484. .title1 {
  485. font-size: 30rpx;
  486. font-family: PingFang SC;
  487. font-weight: bold;
  488. color: #333333;
  489. }
  490. .link {
  491. font-size: $font-base - 2rpx;
  492. color: $font-color-light;
  493. }
  494. }
  495. .order-section {
  496. display: flex;
  497. flex-wrap: wrap;
  498. align-items: center;
  499. text-align: center;
  500. padding: 34rpx 0 10rpx;
  501. .order-item {
  502. display: flex;
  503. flex-direction: column;
  504. width: 25%;
  505. align-items: center;
  506. height: 140rpx;
  507. font-size: $font-sm;
  508. color: $font-color-dark;
  509. }
  510. .iconfont {
  511. font-size: 48rpx;
  512. margin-bottom: 18rpx;
  513. color: #fa436a;
  514. }
  515. .icon-shouhoutuikuan {
  516. font-size: 44rpx;
  517. }
  518. .icon {
  519. height: 88rpx;
  520. width: 90rpx;
  521. margin-bottom: 18rpx;
  522. background-size: 100%;
  523. background-repeat: no-repeat;
  524. background-position: center;
  525. .icon-img {
  526. width: 100%;
  527. height: 100%;
  528. }
  529. }
  530. .icon1 {
  531. height: 50rpx;
  532. width: 48rpx;
  533. margin-bottom: 18rpx;
  534. background-size: 100%;
  535. background-repeat: no-repeat;
  536. background-position: center;
  537. .icon-img {
  538. width: 100%;
  539. height: 100%;
  540. }
  541. }
  542. }
  543. .sweets-box {
  544. display: flex;
  545. align-items: center;
  546. width: 710rpx;
  547. padding: 48rpx 0;
  548. background: #ffffff;
  549. box-shadow: 0px 0px 20px 0px rgba(50, 50, 52, 0.06);
  550. border-radius: 20rpx;
  551. .jiange {
  552. width: 1rpx;
  553. height: 36rpx;
  554. background: #999999;
  555. }
  556. .sweets {
  557. width: 25%;
  558. display: flex;
  559. flex-direction: column;
  560. align-items: center;
  561. font-size: 28rpx;
  562. font-family: PingFang SC;
  563. font-weight: 500;
  564. .limit {
  565. font-size: 36rpx;
  566. font-family: PingFang SC;
  567. font-weight: bold;
  568. color: #ff0000;
  569. }
  570. .sweets-name {
  571. font-size: 28rpx;
  572. font-family: PingFang SC;
  573. font-weight: 500;
  574. color: #666666;
  575. }
  576. }
  577. }
  578. .cover-container {
  579. background: $page-color-base;
  580. margin-top: -150rpx;
  581. padding: 0 30rpx;
  582. position: relative;
  583. background: #f5f5f5;
  584. padding-bottom: 20rpx;
  585. .arc {
  586. position: absolute;
  587. left: 0;
  588. top: -34rpx;
  589. width: 100%;
  590. height: 36rpx;
  591. }
  592. }
  593. .tj-sction {
  594. @extend %section;
  595. .tj-item {
  596. @extend %flex-center;
  597. flex-direction: column;
  598. height: 140rpx;
  599. font-size: $font-sm;
  600. color: #75787d;
  601. }
  602. .num {
  603. font-size: $font-lg;
  604. color: $font-color-dark;
  605. margin-bottom: 8rpx;
  606. }
  607. }
  608. .history-section {
  609. // padding: 30rpx 0 0;
  610. margin-top: 20rpx;
  611. background: #fff;
  612. border-radius: 10rpx;
  613. .sec-header {
  614. display: flex;
  615. align-items: center;
  616. font-size: $font-base;
  617. color: $font-color-dark;
  618. line-height: 40rpx;
  619. margin-left: 30rpx;
  620. padding-top: 30rpx;
  621. .iconfont {
  622. font-size: 44rpx;
  623. color: $color-red;
  624. margin-right: 16rpx;
  625. line-height: 40rpx;
  626. }
  627. }
  628. .h-list {
  629. white-space: nowrap;
  630. padding: 30rpx 30rpx 0;
  631. .h-list-image {
  632. display: inline-block;
  633. width: 160rpx;
  634. height: 160rpx;
  635. margin-right: 20rpx;
  636. border-radius: 10rpx;
  637. }
  638. }
  639. }
  640. .up-box {
  641. margin: 21rpx auto;
  642. width: 710rpx;
  643. height: 90rpx;
  644. background: linear-gradient(73deg, #ffffff 0%, #fffbeb 0%, #fff1da 0%, #fed591 100%);
  645. border-radius: 20rpx;
  646. image {
  647. width: 100%;
  648. height: 100%;
  649. border-radius: 20rpx;
  650. }
  651. }
  652. .item-box-b {
  653. width: 710rpx;
  654. height: 221rpx;
  655. background: #ffffff;
  656. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.5);
  657. border-radius: 20rpx;
  658. position: relative;
  659. top: -150rpx;
  660. left: 0;
  661. right: 0;
  662. margin: 0 auto -150rpx;
  663. }
  664. .popup-box {
  665. width: 522rpx;
  666. height: 605rpx;
  667. background-color: #ffffff;
  668. border-radius: 20rpx;
  669. position: relative;
  670. .img {
  671. position: relative;
  672. top: -56rpx;
  673. left: 0;
  674. width: 522rpx;
  675. height: 132rpx;
  676. display: flex;
  677. justify-content: center;
  678. image {
  679. border-radius: 20rpx 20rpx 0 0;
  680. width: 450rpx;
  681. height: 132rpx;
  682. }
  683. }
  684. .mian {
  685. margin-top: -44rpx;
  686. display: flex;
  687. flex-direction: column;
  688. align-items: center;
  689. // padding: 32rpx 32rpx;
  690. background-color: #ffffff;
  691. border-radius: 0 0 20rpx 20rpx;
  692. text-align: center;
  693. .delivery {
  694. font-size: 40rpx;
  695. color: #333333;
  696. display: flex;
  697. align-items: center;
  698. flex-direction: column;
  699. .title {
  700. }
  701. image {
  702. margin-top: 48rpx;
  703. width: 172rpx;
  704. height: 160rpx;
  705. }
  706. }
  707. .nocancel {
  708. font-size: 32rpx;
  709. color: #333333;
  710. margin-top: 14rpx;
  711. }
  712. .comfirm-box {
  713. margin-top: 52rpx;
  714. display: flex;
  715. // margin-bottom: 32rpx;
  716. // justify-content: space-around;
  717. .cancel {
  718. display: flex;
  719. align-items: center;
  720. justify-content: center;
  721. width: 197rpx;
  722. height: 74rpx;
  723. border: 1px solid #dcc786;
  724. border-radius: 38rpx;
  725. font-size: 32rpx;
  726. color: #605128;
  727. }
  728. .comfirm {
  729. margin-left: 32rpx;
  730. display: flex;
  731. align-items: center;
  732. justify-content: center;
  733. width: 197rpx;
  734. height: 74rpx;
  735. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  736. border-radius: 38px;
  737. font-size: 32rpx;
  738. color: #605128;
  739. }
  740. }
  741. }
  742. }
  743. </style>