user.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927
  1. <template>
  2. <view class="container">
  3. <view class="vheigh"></view>
  4. <view class="user-top">
  5. <image src="../../static/img/user-bg.png" mode="" class="user-top-bg"></image>
  6. <view class="user-info" @click="navTo('/pages/set/set')">
  7. <image class="avtar" :src="userInfo.avatar" mode=""></image>
  8. <view class="name">{{ userInfo.nickname }}</view>
  9. <view class="phone">{{ userInfo.phone }}</view>
  10. <view class="vip">
  11. <image class="vip-bg" src="../../static/img/vip.png" mode=""></image>
  12. <view class="vip-title">草民</view>
  13. </view>
  14. </view>
  15. <view class="sy-box flex">
  16. <view class="sy-item">
  17. <view class="sy-item-val">
  18. 0
  19. </view>
  20. <view class="sy-item-name">
  21. 挂售收益
  22. </view>
  23. </view>
  24. <view class="jg"></view>
  25. <view class="sy-item">
  26. <view class="sy-item-val">
  27. 0
  28. </view>
  29. <view class="sy-item-name">
  30. 我的奖金
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="qd-box flex">
  36. <image src="../../static/icon/uqd.png" mode=""></image>
  37. <view class="qd-info">
  38. <view class="" style="font-weight: bold;color: #0C1732;">签到领取积分</view>
  39. <view class="">已连续签到0天</view>
  40. <view class="">今日签到奖励0积分</view>
  41. </view>
  42. <view class="qd-btn" :class="{'qded': qded}" @click="qded?'':goQd()">
  43. {{qded?'已签到': '立即签到'}}
  44. </view>
  45. </view>
  46. <view class="tool-box flex">
  47. <view class="tool-item flex" v-for="itemt in toolList" :key="itemt.id" @click="useTool(itemt)">
  48. <view class="tool-item-img">
  49. <image :src="itemt.img" mode="widthFix" :style="{'width':itemt.width,'height': itemt.height}"
  50. class="tool-logo"></image>
  51. </view>
  52. <view class="tool-item-name">
  53. {{itemt.name}}
  54. </view>
  55. </view>
  56. </view>
  57. <uni-list class="tool-list">
  58. <uni-list-item title="收款信息" @click="navTo('/pages/money/wallet')" thumb="/static/icon/skxx.png">
  59. </uni-list-item>
  60. <uni-list-item title="实名认证" @click="navTo('/pages/user/coupon')" thumb="/static/icon/bdsj.png">
  61. </uni-list-item>
  62. <uni-list-item title="收货地址" @click="navTo('/pages/user/favorites')" thumb="/static/icon/shdz.png">
  63. </uni-list-item>
  64. <uni-list-item title="客服" @click="openKf()" thumb="/static/icon/kf.png">
  65. </uni-list-item>
  66. <uni-list-item title="设置" @click="navTo('/pages/user/shareQrCode')" thumb="/static/icon/uset.png">
  67. </uni-list-item>
  68. <!-- <uni-list-item title="关于我们" @click="navTo('/pages/shareQrCode/index')" thumb="/static/icon/img09.png"> -->
  69. </uni-list-item>
  70. </uni-list>
  71. <uni-popup ref="popupkf" type="center">
  72. <view class="popup-box">
  73. <view class="img">
  74. <image src="../../static/img/img009.png" mode=""></image>
  75. </view>
  76. <view class="mian">
  77. <view class="delivery">
  78. <view class="title">已经为您定制专属客服</view>
  79. <image src="../../static/img/img010.png" mode=""></image>
  80. </view>
  81. <view class="nocancel">客服VX:{{ text }}</view>
  82. <view class="comfirm-box">
  83. <view class="cancel" @click="cancel">取消</view>
  84. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  85. </view>
  86. </view>
  87. </view>
  88. </uni-popup>
  89. <uni-popup ref="popupqd" type="center">
  90. <view class="popup">
  91. <view class="popup-dox">
  92. <image class="popup-logo" src="../../static/img/sign-popup.png"></image>
  93. </view>
  94. <view class="popup-title">
  95. 获得
  96. <text>{{ today_integral }}</text>
  97. {{today_type}}
  98. </view>
  99. <view class="popup-tip">
  100. 明天签到可得
  101. <text>{{ tom_integral }}</text>
  102. {{tom_type}}
  103. </view>
  104. <view class="popup-btn" @click="closeQd">知道了</view>
  105. </view>
  106. <!-- <view class="close_icon" @click="close">
  107. <image src="../../static/img/Close.png"></image>
  108. </view> -->
  109. </uni-popup>
  110. <u-tabbar activeColor="#375AFE" v-model="current" :list="tabbar" :mid-button="true"></u-tabbar>
  111. </view>
  112. </template>
  113. <script>
  114. import {
  115. mapState,
  116. mapMutations
  117. } from 'vuex';
  118. import uniList from '@/components/uni-list/uni-list.vue';
  119. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  120. import {
  121. orderData,
  122. getUserInfo
  123. } from '@/api/user.js';
  124. import {
  125. saveUrl,
  126. interceptor
  127. } from '@/utils/loginUtils.js';
  128. import {
  129. tabbar
  130. } from '@/utils/tabbar.js'
  131. let startY = 0,
  132. moveY = 0,
  133. pageAtTop = true;
  134. export default {
  135. components: {
  136. uniList,
  137. uniListItem
  138. },
  139. data() {
  140. return {
  141. qded: false, //是否已签到
  142. tabbar: tabbar,
  143. current: 4,
  144. text:'',//客服微信
  145. today_integral:'',//签到获得的数值
  146. today_type:'',//签到获得的数值单位
  147. tom_integral: '',//明天签到获得的数值
  148. tom_type: '',//签到获得的数值单位
  149. userDowm: 0, //卡片升级专属高度
  150. userMaxDowm: 0, //卡片最高高度
  151. toolList: [{
  152. id: 't1',
  153. name: '新人通道',
  154. width: '56rpx',
  155. heigt: '54rpx',
  156. img: '../../static/icon/tool-1.png',
  157. path: '/pages/user/xrtd'
  158. },
  159. {
  160. id: 't2',
  161. name: '邀请好友',
  162. width: '56rpx',
  163. heigt: '57rpx',
  164. img: '../../static/icon/tool-2.png',
  165. path: '/pages/user/shareQrCode'
  166. },
  167. {
  168. id: 't3',
  169. name: '我的粉丝',
  170. width: '68rpx',
  171. heigt: '53rpx',
  172. img: '../../static/icon/tool-3.png',
  173. path: ''
  174. },
  175. {
  176. id: 't4',
  177. name: '我的订单',
  178. width: '55rpx',
  179. heigt: '54rpx',
  180. img: '../../static/icon/tool-4.png',
  181. path: '/pages/order/order'
  182. },
  183. {
  184. id: 't5',
  185. name: '我的商品',
  186. width: '50rpx',
  187. heigt: '58rpx',
  188. img: '../../static/icon/tool-5.png',
  189. path: ''
  190. },
  191. {
  192. id: 't6',
  193. name: '馆长申请',
  194. width: '59rpx',
  195. heigt: '56rpx',
  196. img: '../../static/icon/tool-6.png',
  197. path: ''
  198. }
  199. ]
  200. };
  201. },
  202. onShow() {
  203. // 判断是否已经登录
  204. if (this.hasLogin) {
  205. this.loadBaseData();
  206. }
  207. },
  208. onReady() {
  209. // 初始化获取页面宽度
  210. uni.createSelectorQuery()
  211. .select('.container')
  212. .fields({
  213. size: true
  214. },
  215. data => {
  216. // 计算最多下拉的高度
  217. this.userDowm = Math.floor((data.width / 750) * 185);
  218. // 计算最大触发修改高度事件
  219. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  220. }
  221. )
  222. .exec();
  223. },
  224. // #ifndef MP
  225. // onNavigationBarButtonTap(e) {
  226. // const index = e.index;
  227. // if (index === 0) {
  228. // this.navTo('/pages/set/set');
  229. // } else if (index === 1) {
  230. // // #ifdef APP-PLUS
  231. // const pages = getCurrentPages();
  232. // const page = pages[pages.length - 1];
  233. // const currentWebview = page.$getAppWebview();
  234. // currentWebview.hideTitleNViewButtonRedDot({
  235. // index
  236. // });
  237. // // #endif
  238. // uni.navigateTo({
  239. // url: '/pages/user/notice'
  240. // });
  241. // }
  242. // },
  243. // #endif
  244. computed: {
  245. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin'])
  246. },
  247. methods: {
  248. ...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
  249. // 加载初始数据
  250. loadBaseData() {
  251. getUserInfo({})
  252. .then(({
  253. data
  254. }) => {
  255. this.setUserInfo(data);
  256. // 获取用户数据完毕后在获取订单数据防止多次跳转到登录页
  257. orderData({})
  258. .then(({
  259. data
  260. }) => {
  261. this.setOrderInfo(data);
  262. })
  263. .catch(e => {
  264. this.setOrderInfo({
  265. complete_count: 0, //完成
  266. received_count: 0, //待收货
  267. unshipped_count: 0, //待发货
  268. order_count: 0, //订单总数
  269. unpaid_count: 0 //待付款
  270. });
  271. });
  272. })
  273. .catch(e => {
  274. console.log(e);
  275. });
  276. },
  277. /**
  278. * 统一跳转接口,拦截未登录路由
  279. * navigator标签现在默认没有转场动画,所以用view
  280. */
  281. navTo(url) {
  282. // if (!this.hasLogin) {
  283. // // 保存地址
  284. // saveUrl();
  285. // // 登录拦截
  286. // interceptor();
  287. // } else {
  288. uni.navigateTo({
  289. url
  290. });
  291. // }
  292. },
  293. useTool(e) {
  294. this.navTo(e.path)
  295. },
  296. // 签到弹窗
  297. goQd() {
  298. this.$refs.popupqd.open()
  299. this.qded = true
  300. },
  301. // 关闭签到弹窗
  302. closeQd() {
  303. this.$refs.popupqd.close()
  304. },
  305. // 打开客服
  306. openKf() {
  307. this.$refs.popupkf.open()
  308. },
  309. // 关闭客服
  310. cancel() {
  311. this.$refs.popupkf.close()
  312. },
  313. }
  314. };
  315. </script>
  316. <style lang="scss">
  317. page {
  318. height: 100%;
  319. }
  320. %flex-center {
  321. display: flex;
  322. flex-direction: column;
  323. justify-content: center;
  324. align-items: center;
  325. }
  326. %section {
  327. display: flex;
  328. justify-content: space-around;
  329. align-content: center;
  330. background: #fff;
  331. border-radius: 10rpx;
  332. }
  333. .container {
  334. height: 100%;
  335. background-color: $page-color-base;
  336. }
  337. .content-box {
  338. height: 100%;
  339. }
  340. .vheigh {
  341. height: var(--status-bar-height);
  342. background-color: $base-color;
  343. }
  344. .user-section {
  345. height: 435rpx;
  346. padding: 15rpx 30rpx 0;
  347. position: relative;
  348. .bg {
  349. position: absolute;
  350. left: 0;
  351. top: 0;
  352. width: 100%;
  353. height: 100%;
  354. background-color: $base-color;
  355. }
  356. }
  357. .user-info-box {
  358. height: 180rpx;
  359. color: white;
  360. display: flex;
  361. align-items: center;
  362. justify-content: space-between;
  363. position: relative;
  364. z-index: 1;
  365. .detail {
  366. height: 130rpx;
  367. .portrait-box {
  368. height: 100%;
  369. .portrait {
  370. width: 130rpx;
  371. height: 100%;
  372. border: 5rpx solid #fff;
  373. border-radius: 50%;
  374. }
  375. }
  376. .info-box {
  377. margin-left: 20rpx;
  378. line-height: 1.5;
  379. .username {
  380. font-size: $font-lg + 6rpx;
  381. height: 100%;
  382. }
  383. }
  384. }
  385. .config {
  386. font-size: 48rpx;
  387. height: 130rpx;
  388. .setting {
  389. margin-right: 51rpx;
  390. }
  391. }
  392. }
  393. .vip-card-box {
  394. display: flex;
  395. flex-direction: column;
  396. color: #f7d680;
  397. height: 240rpx;
  398. background: linear-gradient(left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
  399. border-radius: 16rpx 16rpx 0 0;
  400. overflow: hidden;
  401. position: relative;
  402. padding: 20rpx 24rpx;
  403. .card-bg {
  404. position: absolute;
  405. top: 20rpx;
  406. right: 0;
  407. width: 380rpx;
  408. height: 260rpx;
  409. }
  410. .b-btn {
  411. position: absolute;
  412. right: 20rpx;
  413. top: 16rpx;
  414. width: 132rpx;
  415. height: 40rpx;
  416. text-align: center;
  417. line-height: 40rpx;
  418. font-size: 22rpx;
  419. color: #36343c;
  420. border-radius: 20px;
  421. background: linear-gradient(left, #f9e6af, #ffd465);
  422. z-index: 1;
  423. }
  424. .tit {
  425. font-size: $font-base + 2rpx;
  426. color: #f7d680;
  427. margin-bottom: 28rpx;
  428. .iconfont {
  429. color: #f6e5a3;
  430. margin-right: 16rpx;
  431. }
  432. }
  433. .e-b {
  434. font-size: $font-sm;
  435. color: #d8cba9;
  436. margin-top: 10rpx;
  437. }
  438. }
  439. .cover-container {
  440. background: $page-color-base;
  441. margin-top: -150rpx;
  442. padding: 0 30rpx;
  443. position: relative;
  444. background: #f5f5f5;
  445. padding-bottom: 20rpx;
  446. .arc {
  447. position: absolute;
  448. left: 0;
  449. top: -34rpx;
  450. width: 100%;
  451. height: 36rpx;
  452. }
  453. }
  454. .tj-sction {
  455. @extend %section;
  456. .tj-item {
  457. @extend %flex-center;
  458. flex-direction: column;
  459. height: 140rpx;
  460. font-size: $font-sm;
  461. color: #75787d;
  462. }
  463. .num {
  464. font-size: $font-lg;
  465. color: $font-color-dark;
  466. margin-bottom: 8rpx;
  467. }
  468. }
  469. .item-box {
  470. border-radius: 10rpx;
  471. background-color: white;
  472. margin-top: 20rpx;
  473. .box-title {
  474. line-height: 1;
  475. padding: 30rpx;
  476. .title {
  477. font-size: $font-lg;
  478. font-weight: bold;
  479. }
  480. .link {
  481. font-size: $font-base - 2rpx;
  482. color: $font-color-light;
  483. }
  484. }
  485. .order-section {
  486. @extend %section;
  487. padding: 28rpx 0;
  488. .order-item {
  489. @extend %flex-center;
  490. width: 120rpx;
  491. height: 120rpx;
  492. border-radius: 10rpx;
  493. font-size: $font-sm;
  494. color: $font-color-dark;
  495. }
  496. .iconfont {
  497. font-size: 48rpx;
  498. margin-bottom: 18rpx;
  499. color: #fa436a;
  500. }
  501. .icon-shouhoutuikuan {
  502. font-size: 44rpx;
  503. }
  504. .icon {
  505. height: 50rpx;
  506. width: 48rpx;
  507. margin-bottom: 18rpx;
  508. background-size: 100%;
  509. background-repeat: no-repeat;
  510. background-position: center;
  511. .icon-img {
  512. width: 100%;
  513. height: 100%;
  514. }
  515. }
  516. }
  517. }
  518. .history-section {
  519. // padding: 30rpx 0 0;
  520. margin-top: 20rpx;
  521. background: #fff;
  522. border-radius: 10rpx;
  523. .sec-header {
  524. display: flex;
  525. align-items: center;
  526. font-size: $font-base;
  527. color: $font-color-dark;
  528. line-height: 40rpx;
  529. margin-left: 30rpx;
  530. padding-top: 30rpx;
  531. .iconfont {
  532. font-size: 44rpx;
  533. color: $color-red;
  534. margin-right: 16rpx;
  535. line-height: 40rpx;
  536. }
  537. }
  538. .h-list {
  539. white-space: nowrap;
  540. padding: 30rpx 30rpx 0;
  541. .h-list-image {
  542. display: inline-block;
  543. width: 160rpx;
  544. height: 160rpx;
  545. margin-right: 20rpx;
  546. border-radius: 10rpx;
  547. }
  548. }
  549. }
  550. .user-top {
  551. height: 660rpx;
  552. position: relative;
  553. .user-top-bg {
  554. width: 750rpx;
  555. height: 660rpx;
  556. // width: 100%;
  557. // position: absolute;
  558. }
  559. .user-info {
  560. width: 750rpx;
  561. position: absolute;
  562. top: 66rpx;
  563. display: flex;
  564. flex-direction: column;
  565. justify-content: center;
  566. align-items: center;
  567. .avtar {
  568. width: 134rpx;
  569. height: 134rpx;
  570. border-radius: 50%;
  571. }
  572. .name {
  573. margin-top: 20rpx;
  574. font-size: 32rpx;
  575. font-family: PingFang SC;
  576. font-weight: bold;
  577. color: #FFFFFF;
  578. }
  579. .phone {
  580. margin-top: 13rpx;
  581. font-size: 30rpx;
  582. font-family: PingFang SC;
  583. font-weight: 500;
  584. color: #FFFFFF;
  585. }
  586. .vip {
  587. margin-top: 20rpx;
  588. position: relative;
  589. width: 120rpx;
  590. height: 40rpx;
  591. .vip-bg {
  592. position: absolute;
  593. top: 0;
  594. left: 0;
  595. right: 0;
  596. width: 100%;
  597. height: 100%;
  598. }
  599. .vip-title {
  600. width: 120rpx;
  601. line-height: 40rpx;
  602. text-align: center;
  603. position: relative;
  604. z-index: 10;
  605. font-size: 20rpx;
  606. font-family: PingFang SC;
  607. font-weight: 500;
  608. color: #93794b;
  609. }
  610. }
  611. }
  612. .sy-box {
  613. position: absolute;
  614. bottom: 105rpx;
  615. height: 148rpx;
  616. width: 750rpx;
  617. // background-color: #bfa;
  618. .sy-item {
  619. flex-grow: 1;
  620. text-align: center;
  621. font-size: 28rpx;
  622. font-family: PingFang SC;
  623. font-weight: 500;
  624. color: #FFFFFF;
  625. .sy-item-val {
  626. }
  627. }
  628. .jg {
  629. width: 2rpx;
  630. height: 68rpx;
  631. background-color: #fff;
  632. }
  633. }
  634. }
  635. .qd-box {
  636. width: 690rpx;
  637. height: 210rpx;
  638. background: #FFFFFF;
  639. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  640. border-radius: 20rpx;
  641. margin: -105rpx auto 30rpx;
  642. position: relative;
  643. padding: 0 40rpx;
  644. font-size: 26rpx;
  645. font-family: PingFang SC;
  646. font-weight: 500;
  647. color: #666666;
  648. image {
  649. flex-shrink: 0;
  650. width: 65rpx;
  651. height: 68rpx;
  652. }
  653. .qd-info {
  654. flex-grow: 1;
  655. padding-left: 24rpx;
  656. line-height: 46rpx;
  657. }
  658. .qd-btn {
  659. width: 190rpx;
  660. height: 80rpx;
  661. line-height: 80rpx;
  662. border-radius: 20px;
  663. background: #DC262B;
  664. border-radius: 20rpx;
  665. text-align: center;
  666. font-size: 32rpx;
  667. font-family: PingFang SC;
  668. font-weight: 500;
  669. color: #FFFFFF;
  670. }
  671. .qded {
  672. background: #E8E8E8;
  673. color: #999999;
  674. }
  675. }
  676. .tool-box {
  677. padding: 60rpx 0 0;
  678. width: 690rpx;
  679. background: #FFFFFF;
  680. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  681. border-radius: 20rpx;
  682. margin: 30rpx auto;
  683. flex-wrap: wrap;
  684. justify-content: flex-start;
  685. align-content: space-around;
  686. .tool-item {
  687. width: 25%;
  688. height: 120rpx;
  689. flex-shrink: 0;
  690. margin-bottom: 60rpx;
  691. flex-direction: column;
  692. align-content: space-between;
  693. justify-content: center;
  694. font-size: 28rpx;
  695. font-family: PingFang SC;
  696. font-weight: 500;
  697. color: #0C1732;
  698. .tool-item-img {
  699. width: 68rpx;
  700. height: 90rpx;
  701. position: relative;
  702. flex-shrink: 0;
  703. .tool-logo {
  704. position: absolute;
  705. top: 0;
  706. left: 0;
  707. bottom: 0;
  708. right: 0;
  709. margin: auto;
  710. }
  711. }
  712. .tool-item-name {
  713. display: inline-block;
  714. }
  715. }
  716. }
  717. .tool-list {
  718. width: 690rpx;
  719. margin: auto;
  720. background: #FFFFFF;
  721. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  722. border-radius: 20rpx;
  723. }
  724. .popup-box {
  725. width: 522rpx;
  726. height: 605rpx;
  727. background-color: #ffffff;
  728. border-radius: 20rpx;
  729. position: relative;
  730. .img {
  731. position: relative;
  732. top: -56rpx;
  733. left: 0;
  734. width: 522rpx;
  735. height: 132rpx;
  736. display: flex;
  737. justify-content: center;
  738. image {
  739. border-radius: 20rpx 20rpx 0 0;
  740. width: 450rpx;
  741. height: 132rpx;
  742. }
  743. }
  744. .mian {
  745. margin-top: -44rpx;
  746. display: flex;
  747. flex-direction: column;
  748. align-items: center;
  749. // padding: 32rpx 32rpx;
  750. background-color: #ffffff;
  751. border-radius: 0 0 20rpx 20rpx;
  752. text-align: center;
  753. .delivery {
  754. font-size: 40rpx;
  755. color: #333333;
  756. display: flex;
  757. align-items: center;
  758. flex-direction: column;
  759. .title {}
  760. image {
  761. margin-top: 48rpx;
  762. width: 172rpx;
  763. height: 160rpx;
  764. }
  765. }
  766. .nocancel {
  767. font-size: 32rpx;
  768. color: #333333;
  769. margin-top: 14rpx;
  770. }
  771. .comfirm-box {
  772. margin-top: 52rpx;
  773. display: flex;
  774. // margin-bottom: 32rpx;
  775. // justify-content: space-around;
  776. .cancel {
  777. display: flex;
  778. align-items: center;
  779. justify-content: center;
  780. width: 197rpx;
  781. height: 74rpx;
  782. border: 1px solid #dcc786;
  783. border-radius: 38rpx;
  784. font-size: 32rpx;
  785. color: #605128;
  786. }
  787. .comfirm {
  788. margin-left: 32rpx;
  789. display: flex;
  790. align-items: center;
  791. justify-content: center;
  792. width: 197rpx;
  793. height: 74rpx;
  794. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  795. border-radius: 38px;
  796. font-size: 32rpx;
  797. color: #605128;
  798. }
  799. }
  800. }
  801. }
  802. .popup {
  803. width: 560rpx;
  804. padding-bottom: 45rpx;
  805. background-color: #ffffff;
  806. border-radius: 15rpx;
  807. text-align: center;
  808. line-height: 1;
  809. .popup-dox {
  810. position: relative;
  811. .popup-logo {
  812. margin: -160rpx auto 0;
  813. width: 400rpx;
  814. height: 200rpx;
  815. }
  816. }
  817. .popup-title {
  818. margin-top: 85rpx;
  819. font-size: 40rpx;
  820. font-family: PingFang SC;
  821. font-weight: bold;
  822. color: #2a2a2a;
  823. text {
  824. font-size: 56rpx;
  825. color: #e83f30;
  826. }
  827. }
  828. .popup-tip {
  829. margin-top: 20rpx;
  830. font-size: 28rpx;
  831. font-family: PingFang SC;
  832. font-weight: 500;
  833. color: #8c8c8c;
  834. text {
  835. color: #e83f30;
  836. }
  837. }
  838. .popup-btn {
  839. margin: 58rpx auto 0;
  840. width: 270rpx;
  841. height: 66rpx;
  842. background: #f0c838;
  843. border-radius: 34rpx;
  844. text-align: center;
  845. line-height: 66rpx;
  846. font-size: 36rpx;
  847. font-family: Source Han Sans CN;
  848. font-weight: 500;
  849. color: #ffffff;
  850. }
  851. }
  852. </style>