user.vue 19 KB

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