user.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902
  1. <template>
  2. <view class="container">
  3. <!-- #ifdef APP-PLUS -->
  4. <view class="bar-height"></view>
  5. <!-- #endif -->
  6. <view class="user-section">
  7. <view class="bg">
  8. <image src="../../static/user/图层 536.png" mode=""></image>
  9. </view>
  10. <!-- top -->
  11. <view class="user-box">
  12. <view class="detail" @click="navTo('/pages/userinfo/userinfo')">
  13. <image class="portrait" :src="userInfo.avatar || '/static/error/missing-face.png'"></image>
  14. <view class="username">{{ userInfo.nickname || '游客' }}</view>
  15. <view class="uservip">
  16. {{userInfo.vip ? userInfo.vip_name: '粉丝'}}
  17. </view>
  18. <view class="font-size-sm" style="color: #5dbc7c;" v-if="userInfo.uid">
  19. {{'我的推荐人:' + userInfo.spread_uid|| '无'}} {{'资产:' + userInfo.stock*1 || 0}}
  20. </view>
  21. </view>
  22. <view class="sy-box flex">
  23. <view class="sy-item" @click="navTo('/pages/wallet/wallet')">
  24. <view class="sy-item-val">{{userInfo.now_money|| 0}}</view>
  25. <view class="sy-item-name">我的余额</view>
  26. </view>
  27. <view class="jg"></view>
  28. <view class="sy-item" @click="navTo('/pages/award/award')">
  29. <view class="sy-item-val">{{userInfo.award_integral || 0}}</view>
  30. <view class="sy-item-name">固定积分</view>
  31. </view>
  32. <view class="jg"></view>
  33. <view class="sy-item" @click="navTo('/pages/scoreAccumulate/scoreAccumulate')">
  34. <view class="sy-item-val">{{userInfo.brokerage_price||0}}</view>
  35. <view class="sy-item-name">流动积分</view>
  36. </view>
  37. <view class="jg"></view>
  38. </view>
  39. </view>
  40. <!-- 会员卡功能 -->
  41. </view>
  42. <view class="my-order">
  43. <view class="box-title flex borde-b">
  44. <view class="title"><text>我的订单</text></view>
  45. <view class="link" @click="navTo('/pages/order/order?state=5')" hover-class="common-hover">全部<text
  46. class="iconfont iconenter"></text></view>
  47. </view>
  48. <view class="order-section">
  49. <!-- 后添加 -->
  50. <view class="order-item" @click="navTo('/pages/order/refundOrder?state=0')" hover-class="common-hover"
  51. :hover-stay-time="50">
  52. <view class=" icon1 position-relative">
  53. <image class="icon-img" src="/static/user/a.png" mode="aspectFit"></image>
  54. </view>
  55. <text>待付款</text>
  56. </view>
  57. <view class="order-item" @click="navTo('/pages/order/order?state=1')" hover-class="common-hover"
  58. :hover-stay-time="50">
  59. <view class=" icon1 position-relative">
  60. <image class="icon-img" src="/static/user/b.png" mode="aspectFit"></image>
  61. <view class="corner" v-if="orderInfo.unshipped_count > 0">
  62. <text>{{ orderInfo.unshipped_count }}</text>
  63. </view>
  64. </view>
  65. <text>待发货</text>
  66. </view>
  67. <view class="order-item" @click="navTo('/pages/order/order?state=2')" hover-class="common-hover"
  68. :hover-stay-time="50">
  69. <view class="icon1 position-relative">
  70. <image class="icon-img" src="/static/user/c.png" mode="aspectFit"></image>
  71. <view class="corner" v-if="orderInfo.received_count > 0">
  72. <text>{{ orderInfo.received_count }}</text>
  73. </view>
  74. </view>
  75. <text>待收货</text>
  76. </view>
  77. <view class="order-item" @click="navTo('/pages/order/order?state=3')" hover-class="common-hover"
  78. :hover-stay-time="50">
  79. <view class="icon1 position-relative">
  80. <image class="icon-img" src="/static/user/d.png" mode="aspectFit"></image>
  81. <view class="corner" v-if="orderInfo.evaluated_count > 0">
  82. <text>{{ orderInfo.evaluated_count }}</text>
  83. </view>
  84. </view>
  85. <text>已完成</text>
  86. </view>
  87. <!-- <view class="order-item" @click="navTo('/pages/order/refundOrder?state=0')" hover-class="common-hover"
  88. :hover-stay-time="50">
  89. <view class=" icon1 position-relative">
  90. <image class="icon-img" src="/static/icon/d.png" mode="aspectFit"></image>
  91. </view>
  92. <text>退款</text>
  93. </view> -->
  94. </view>
  95. </view>
  96. <view class="list-box" v-if="isShowIllegality">
  97. <view class="user-list flex" @click="navTo('/pages/myteam/myteam')">
  98. <image src="../../static/user/图层 97.png" mode="widthFix" class="left-img"></image>
  99. <view class="">我的推广</view>
  100. <image src="../../static/user/right.png" mode="" class="right-img"></image>
  101. </view>
  102. <view class="user-list flex" @click="navTo('/pages/shareQrCode/index')">
  103. <image src="../../static/user/图层 97(1).png" mode="" class="left-img"></image>
  104. <view class="">邀请海报</view>
  105. <image src="../../static/user/right.png" mode="" class="right-img"></image>
  106. </view>
  107. <view class="user-list flex" @click="navTo('/pages/favorites/favorites')">
  108. <image src="../../static/user/u4.png" mode="widthFix" class="left-img"></image>
  109. <view class="">我的收藏</view>
  110. <image src="../../static/user/right.png" mode="" class="right-img"></image>
  111. </view>
  112. <view class="user-list flex" @click="openKf()">
  113. <image src="../../static/user/u5.png" mode="widthFix" class="left-img"></image>
  114. <view class="">客服中心</view>
  115. <image src="../../static/user/right.png" mode="" class="right-img"></image>
  116. </view>
  117. <view class="user-list flex" @click="navTo('/pages/address/address')">
  118. <image src="../../static/user/u6.png" mode="widthFix" class="left-img"></image>
  119. <view class="">收货地址</view>
  120. <image src="../../static/user/right.png" mode="" class="right-img"></image>
  121. </view>
  122. <view class="user-list flex" @click="navTo('/pages/userinfo/userinfo')">
  123. <image src="../../static/user/图层 50(2).png" mode="widthFix" class="left-img"></image>
  124. <view class="">设置</view>
  125. <image src="../../static/user/right.png" mode="" class="right-img"></image>
  126. </view>
  127. </view>
  128. <uni-popup ref="popupkf" type="center">
  129. <view class="popup-box">
  130. <view class="img">
  131. <image src="../../static/img/img009.png" mode=""></image>
  132. </view>
  133. <view class="mian">
  134. <view class="delivery">
  135. <view class="title">已经为您定制专属客服</view>
  136. <image src="../../static/img/img010.png" mode=""></image>
  137. </view>
  138. <view class="nocancel">客服VX:{{ text }}</view>
  139. <view class="comfirm-box">
  140. <view class="cancel" @click="cancel">取消</view>
  141. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  142. </view>
  143. </view>
  144. </view>
  145. </uni-popup>
  146. <uni-popup ref="ewm" type="center">
  147. <view class="hym-wrap">
  148. <view class="hym-tit">
  149. 收款码地址
  150. </view>
  151. <view class="hym-val">
  152. <tki-qrcode :key="hym" cid="tki-qrcode-canvas" ref="qrcode" :val="hym" :size="300" unit="upx"
  153. background="#ffffff" foreground="#333333" pdground="#333333" icon="" :iconSize="0" :lv="3"
  154. :onval="true" :loadMake="true" :usingComponents="true" />
  155. </view>
  156. </view>
  157. </uni-popup>
  158. </view>
  159. </template>
  160. <script>
  161. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  162. import {
  163. mapState,
  164. mapMutations
  165. } from 'vuex';
  166. import uniList from '@/components/uni-list/uni-list.vue';
  167. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  168. import {
  169. orderData, gdjf
  170. } from '@/api/user.js';
  171. import {
  172. getUserInfo,getUser
  173. } from '@/api/login.js';
  174. import tkiQrcodes from '@/components/tki-qrcode/tki-qrcode.vue';
  175. let startY = 0,
  176. moveY = 0,
  177. pageAtTop = true;
  178. export default {
  179. components: {
  180. uniList,
  181. uniListItem,
  182. uniPopup,
  183. tkiQrcodes
  184. },
  185. data() {
  186. return {
  187. type: -1, //-1无事发生0审核中1成功2失败
  188. hym: '', //会员编号
  189. orderinfo: {
  190. complete_count: 0,
  191. received_count: 0,
  192. unshipped_count: 0,
  193. order_count: 0
  194. },
  195. // 判断是否已经点击过一次取消关注公众号
  196. watchful: true,
  197. card: '',
  198. pwd: '',
  199. text: '111',
  200. qrsize: 80, // 二维码大小
  201. cid: 'tki-qrcode-canvas', //canvasId,页面存在多个二维码组件时需设置不同的ID
  202. size: 500, //生成的二维码大小
  203. unit: 'upx', //大小单位尺寸
  204. // show: true,//默认使用组件中的image标签显示二维码
  205. val: '', //要生成的内容
  206. background: '#ffffff', //二维码背景色
  207. foreground: '#333333', //二维码前景色
  208. pdground: '#333333', //二维码角标色
  209. icon: '', //二维码图标URL(必须是本地图片,网络图需要先下载至本地)
  210. iconSize: 40, //二维码图标大小
  211. lv: 3, //容错级别
  212. onval: true, //监听val值变化自动重新生成二维码
  213. loadMake: false, //组件初始化完成后自动生成二维码,val需要有值
  214. usingComponents: false, //是否使用了自定义组件模式(主要是为了修复非自定义组件模式时 v-if 无法生成二维码的问题)
  215. showLoading: true, //是否显示loading
  216. loadingText: '二维码生成中', //loading文字
  217. src: '', // 二维码生成后的图片地址或base64
  218. ratio: 1, //页面比例用于计算
  219. ctxSrc: '', //要显示的图片
  220. loading: true, //是否载入图片中
  221. list:[],
  222. sum: '',
  223. };
  224. },
  225. onLoad(options) {
  226. this.gdjf()
  227. },
  228. onShow() {
  229. // 判断是否已经登录
  230. if (this.hasLogin) {
  231. this.loadBaseData();
  232. }
  233. },
  234. onReady() {
  235. // 初始化获取页面宽度
  236. uni.createSelectorQuery()
  237. .select('.container')
  238. .fields({
  239. size: true
  240. },
  241. data => {
  242. // 计算最多下拉的高度
  243. this.userDowm = Math.floor((data.width / 750) * 200);
  244. // 计算最大触发修改高度事件
  245. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  246. }
  247. )
  248. .exec();
  249. },
  250. computed: {
  251. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin']),
  252. jcdj() {
  253. if (this.userInfo.award_level_info != null) {
  254. if (this.userInfo.group_level_info != null) {
  255. return this.userInfo.award_level_info.id < this.userInfo.group_level_info.id ? this.userInfo
  256. .award_level_info.name : this.userInfo.group_level_info.name
  257. } else {
  258. return this.userInfo.award_level_info.name
  259. }
  260. } else {
  261. if (this.userInfo.group_level_info != null) {
  262. return this.userInfo.group_level_info.name
  263. } else {
  264. return '无'
  265. }
  266. }
  267. },
  268. // #ifdef H5
  269. ...mapState(['weichatObj']),
  270. // #endif
  271. ...mapState(['isShowIllegality', 'canChange', 'storeInfo', 'baseURL'])
  272. },
  273. methods: {
  274. ...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
  275. // 加载初始数据
  276. loadBaseData() {
  277. let obj = this;
  278. getUser({})
  279. .then(({
  280. data
  281. }) => {
  282. orderData({})
  283. .then(({
  284. data
  285. }) => {
  286. obj.setOrderInfo(data);
  287. })
  288. .catch(e => {
  289. obj.setOrderInfo({
  290. complete_count: 0, //完成
  291. received_count: 0, //待收货
  292. unshipped_count: 0, //待发货
  293. order_count: 0, //订单总数
  294. unpaid_count: 0 //待付款
  295. });
  296. });
  297. obj.setUserInfo(data);
  298. // 判断是否已经关注公众号
  299. if (data.wechat.subscribe == 0 && obj.watchful) {
  300. uni.showModal({
  301. title: '温馨提醒',
  302. content: '为提供更好的服务,请关注公众号。',
  303. success: res => {
  304. obj.watchful = false;
  305. // 判断是否点击了确认
  306. if (res.confirm) {
  307. uni.navigateTo({
  308. url: '/pages/shareQrCode/wechatQr'
  309. });
  310. }
  311. }
  312. });
  313. }
  314. })
  315. .catch(e => {
  316. console.log(e);
  317. });
  318. },
  319. openKf() {
  320. this.$refs.popupkf.open();
  321. },
  322. openewm() {
  323. this.hym = this.baseURL + '/index/pages/received/ipad?token=' + uni.getStorageSync('token');
  324. this.$refs.ewm.open();
  325. },
  326. // 固定积分获取记录
  327. async gdjf() {
  328. const res = await gdjf()
  329. console.log('gdjf',res);
  330. this.list = res.data.list;
  331. this.send = res.data.send;
  332. this.sum = res.data.sum
  333. // console.log('11111111', this.list)
  334. },
  335. // 关闭客服
  336. cancel() {
  337. this.$refs.popupkf.close();
  338. },
  339. comfirm(text) {
  340. console.log(text);
  341. const result = this.uniCopy(text);
  342. if (result === false) {
  343. uni.showToast({
  344. title: '不支持'
  345. });
  346. } else {
  347. uni.showToast({
  348. title: '复制成功',
  349. icon: 'none'
  350. });
  351. }
  352. this.$refs.popupkf.close();
  353. },
  354. uniCopy(content) {
  355. /**
  356. * 小程序端 和 app端的复制逻辑
  357. */
  358. //#ifndef H5
  359. uni.setClipboardData({
  360. data: content,
  361. success: function() {
  362. console.log('success');
  363. return true;
  364. }
  365. });
  366. //#endif
  367. /**
  368. * H5端的复制逻辑
  369. */
  370. // #ifdef H5
  371. if (!document.queryCommandSupported('copy')) {
  372. //为了兼容有些浏览器 queryCommandSupported 的判断
  373. // 不支持
  374. return false;
  375. }
  376. let textarea = document.createElement('textarea');
  377. textarea.value = content;
  378. textarea.readOnly = 'readOnly';
  379. document.body.appendChild(textarea);
  380. textarea.select(); // 选择对象
  381. textarea.setSelectionRange(0, content.length); //核心
  382. let result = document.execCommand('copy'); // 执行浏览器复制命令
  383. textarea.remove();
  384. return result;
  385. // #endif
  386. },
  387. /**
  388. * 统一跳转接口,拦截未登录路由
  389. * navigator标签现在默认没有转场动画,所以用view
  390. */
  391. navTo(url) {
  392. if (!this.hasLogin) {
  393. url = '/pages/public/login';
  394. // #ifdef H5
  395. let weichatBrowser = uni.getStorageSync('weichatBrowser');
  396. // 判断是否为微信浏览器
  397. if (weichatBrowser) {
  398. url = '/pages/public/wxLogin';
  399. }
  400. // #endif
  401. // #ifdef MP-WEIXIN
  402. url = '/pages/public/wxLogin';
  403. // #endif
  404. }
  405. uni.navigateTo({
  406. url
  407. });
  408. },
  409. }
  410. };
  411. </script>
  412. <style lang="scss">
  413. %flex-center {
  414. display: flex;
  415. flex-direction: column;
  416. justify-content: center;
  417. align-items: center;
  418. }
  419. %section {
  420. display: flex;
  421. justify-content: space-around;
  422. align-content: center;
  423. background: #fff;
  424. border-radius: 10rpx;
  425. }
  426. .container {
  427. height: 100%;
  428. background-color: #f8f8f8;
  429. /* #ifdef APP-PLUS */
  430. .bar-height {
  431. height: var(--status-bar-height);
  432. background-color: $base-color;
  433. }
  434. /* #endif */
  435. }
  436. .content-box {
  437. height: 100%;
  438. }
  439. .user-section {
  440. padding: 60rpx 0 0 0;
  441. position: relative;
  442. .bg {
  443. position: absolute;
  444. height: 228rpx;
  445. width: 100%;
  446. left: 0;
  447. top: 0;
  448. image {
  449. width: 100%;
  450. height: 100%;
  451. }
  452. // background-color: $base-color;
  453. }
  454. }
  455. .sy-box {
  456. height: 148rpx;
  457. background-color: #ffffff;
  458. .sy-item {
  459. width: 30%;
  460. flex-grow: 1;
  461. text-align: center;
  462. font-size: 24rpx;
  463. font-family: PingFang SC;
  464. font-weight: 500;
  465. color: #3bbc88;
  466. .sy-item-val {
  467. margin-top: 6rpx;
  468. font-size: 28rpx;
  469. }
  470. .sy-item-name {
  471. color: #000000;
  472. }
  473. }
  474. .jg {
  475. width: 2rpx;
  476. height: 40rpx;
  477. background-color: #d4ded8;
  478. }
  479. }
  480. .user-box {
  481. padding: 54rpx 0 40rpx;
  482. position: relative;
  483. z-index: 0;
  484. margin: 0 auto;
  485. width: 90%;
  486. background-color: #ffffff;
  487. border-radius: 20rpx;
  488. }
  489. .detail {
  490. display: flex;
  491. flex-direction: column;
  492. align-items: center;
  493. justify-content: center;
  494. .portrait {
  495. width: 130rpx;
  496. height: 130rpx;
  497. border-radius: 50%;
  498. }
  499. .username {
  500. color: black;
  501. margin-top: 20rpx;
  502. font-size: $font-lg + 6rpx;
  503. height: 100%;
  504. }
  505. .uservip {
  506. display: flex;
  507. align-items: center;
  508. justify-content: center;
  509. margin-top: 10rpx;
  510. background: url('../../static/img/vip-bg.png') 100%/contain no-repeat;
  511. padding: 6rpx 72rpx;
  512. font-size: 20rpx;
  513. font-family: PingFang SC;
  514. font-weight: 500;
  515. color: #93794B;
  516. }
  517. }
  518. .cover-container {
  519. display: flex;
  520. flex-direction: column;
  521. background: $page-color-base;
  522. padding: 0 30rpx;
  523. position: relative;
  524. background: #f5f5f5;
  525. padding-bottom: 20rpx;
  526. margin-top: -110rpx;
  527. }
  528. .tj-sction {
  529. @extend %section;
  530. .tj-item {
  531. @extend %flex-center;
  532. flex-direction: column;
  533. height: 140rpx;
  534. font-size: $font-sm;
  535. color: #75787d;
  536. }
  537. .num {
  538. font-size: $font-lg;
  539. color: $font-color-dark;
  540. margin-bottom: 8rpx;
  541. }
  542. }
  543. .my-order {
  544. width: 690rpx;
  545. margin: 20rpx auto 0;
  546. border-radius: 20rpx;
  547. }
  548. .box-title {
  549. line-height: 1;
  550. padding: 30rpx;
  551. background: #ffffff;
  552. .title {
  553. font-size: $font-lg;
  554. font-weight: bold;
  555. }
  556. .link {
  557. font-size: $font-base - 2rpx;
  558. color: $font-color-light;
  559. // width: 51rpx;
  560. // height: 25rpx;
  561. // font-size: 26rpx;
  562. // font-family: SourceHanSansCN;
  563. // font-weight: 400;
  564. // color: #666666;
  565. // line-height: 54rpx;
  566. // display: inline-block
  567. }
  568. }
  569. // .order{
  570. // margin-top: 70rpx;
  571. // }
  572. .order-section {
  573. @extend %section;
  574. padding: 40rpx 0;
  575. align-items: center;
  576. .order-item {
  577. @extend %flex-center;
  578. // width: 120rpx;
  579. width: 25%;
  580. border-radius: 10rpx;
  581. font-size: $font-sm;
  582. color: $font-color-dark;
  583. }
  584. .xian {
  585. height: 30rpx;
  586. width: 1rpx;
  587. background: #000000;
  588. }
  589. .order-num {
  590. font-size: $font-sm + 10rpx;
  591. margin-bottom: 10rpx;
  592. }
  593. .iconfont {
  594. font-size: 48rpx;
  595. margin-bottom: 18rpx;
  596. color: #fa436a;
  597. }
  598. .icon-shouhoutuikuan {
  599. font-size: 44rpx;
  600. }
  601. .icon {
  602. height: 88rpx;
  603. width: 90rpx;
  604. margin-bottom: 18rpx;
  605. background-size: 100%;
  606. background-repeat: no-repeat;
  607. background-position: center;
  608. .icon-img {
  609. width: 100%;
  610. height: 100%;
  611. }
  612. }
  613. .icon1 {
  614. height: 50rpx;
  615. width: 48rpx;
  616. margin-bottom: 18rpx;
  617. background-size: 100%;
  618. background-repeat: no-repeat;
  619. background-position: center;
  620. .icon-img {
  621. width: 100%;
  622. height: 100%;
  623. }
  624. }
  625. }
  626. .history-section {
  627. // padding: 30rpx 0 0;
  628. margin-top: 20rpx;
  629. background: #fff;
  630. border-radius: 10rpx;
  631. .sec-header {
  632. display: flex;
  633. align-items: center;
  634. font-size: $font-base;
  635. color: $font-color-dark;
  636. line-height: 40rpx;
  637. margin-left: 30rpx;
  638. padding-top: 30rpx;
  639. .iconfont {
  640. font-size: 44rpx;
  641. color: $color-red;
  642. margin-right: 16rpx;
  643. line-height: 40rpx;
  644. }
  645. }
  646. .h-list {
  647. white-space: nowrap;
  648. padding: 30rpx 30rpx 0;
  649. image {
  650. display: inline-block;
  651. width: 160rpx;
  652. height: 160rpx;
  653. margin-right: 20rpx;
  654. border-radius: 10rpx;
  655. }
  656. }
  657. }
  658. .sy-box {
  659. padding: 30rpx 0 40rpx;
  660. line-height: 1;
  661. .sy-item {
  662. width: 30%;
  663. flex-grow: 1;
  664. text-align: center;
  665. font-size: 24rpx;
  666. font-family: PingFang SC;
  667. font-weight: 500;
  668. color: #3bbc88;
  669. .sy-item-val {
  670. font-size: 36rpx;
  671. font-family: PingFang SC;
  672. font-weight: bold;
  673. color: #333333;
  674. }
  675. .sy-item-name {
  676. font-size: 24rpx;
  677. font-family: PingFang SC;
  678. font-weight: 500;
  679. color: #666666;
  680. margin-top: 16rpx;
  681. }
  682. }
  683. .jg {
  684. width: 1rpx;
  685. height: 58rpx;
  686. background: #EEEEEE;
  687. }
  688. }
  689. .list-box {
  690. width: 690rpx;
  691. margin: 20rpx auto 0;
  692. padding: 8rpx;
  693. }
  694. .user-list {
  695. border-radius: 28rpx;
  696. background: #ffffff;
  697. margin: 20rpx 0 0;
  698. width: 100%;
  699. background: #ffffff;
  700. padding: 30rpx 25rpx;
  701. .left-img {
  702. width: 40rpx;
  703. height: 40rpx;
  704. }
  705. view {
  706. padding-left: 20rpx;
  707. flex-grow: 1;
  708. font-size: 29rpx;
  709. font-weight: bold;
  710. color: #5d5d5d;
  711. }
  712. .right-img {
  713. width: 13rpx;
  714. height: 23rpx;
  715. }
  716. }
  717. .popup-box {
  718. width: 522rpx;
  719. height: 605rpx;
  720. background-color: #ffffff;
  721. border-radius: 20rpx;
  722. position: relative;
  723. .img {
  724. position: relative;
  725. top: -56rpx;
  726. left: 0;
  727. width: 522rpx;
  728. height: 132rpx;
  729. display: flex;
  730. justify-content: center;
  731. image {
  732. border-radius: 20rpx 20rpx 0 0;
  733. width: 450rpx;
  734. height: 132rpx;
  735. }
  736. }
  737. .mian {
  738. margin-top: -44rpx;
  739. display: flex;
  740. flex-direction: column;
  741. align-items: center;
  742. // padding: 32rpx 32rpx;
  743. background-color: #ffffff;
  744. border-radius: 0 0 20rpx 20rpx;
  745. text-align: center;
  746. .delivery {
  747. font-size: 40rpx;
  748. color: #333333;
  749. display: flex;
  750. align-items: center;
  751. flex-direction: column;
  752. image {
  753. margin-top: 48rpx;
  754. width: 172rpx;
  755. height: 160rpx;
  756. }
  757. }
  758. .nocancel {
  759. font-size: 32rpx;
  760. color: #333333;
  761. margin-top: 14rpx;
  762. }
  763. .comfirm-box {
  764. margin-top: 52rpx;
  765. display: flex;
  766. // margin-bottom: 32rpx;
  767. // justify-content: space-around;
  768. .cancel {
  769. display: flex;
  770. align-items: center;
  771. justify-content: center;
  772. width: 197rpx;
  773. height: 74rpx;
  774. border: 1px solid #dcc786;
  775. border-radius: 38rpx;
  776. font-size: 32rpx;
  777. color: #605128;
  778. }
  779. .comfirm {
  780. margin-left: 32rpx;
  781. display: flex;
  782. align-items: center;
  783. justify-content: center;
  784. width: 197rpx;
  785. height: 74rpx;
  786. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  787. border-radius: 38px;
  788. font-size: 32rpx;
  789. color: #605128;
  790. }
  791. }
  792. }
  793. }
  794. .hym-wrap {
  795. width: 500rpx;
  796. height: 500rpx;
  797. background-color: #fff;
  798. text-align: center;
  799. border-radius: 20rpx;
  800. .hym-tit {
  801. color: $base-color;
  802. padding: 20rpx 0;
  803. font-size: 48rpx;
  804. }
  805. .hym-val {
  806. width: 300rpx;
  807. height: 300rpx;
  808. margin: auto;
  809. }
  810. .hym-num {
  811. font-size: 28rpx;
  812. font-weight: bold;
  813. padding-top: 20rpx;
  814. }
  815. }
  816. </style>