user.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065
  1. <template>
  2. <view class="container">
  3. <view class="vheigh"></view>
  4. <view class="top-image">
  5. <image src="../../static/img/user-top.png" mode=""></image>
  6. </view>
  7. <view class="user-box">
  8. <view class="user-info flex">
  9. <image class="avatar" :src="userInfo.avatar" mode="" v-if="userInfo.avatar"
  10. @click="navTo('/pages/set/userinfo')"></image>
  11. <image class="avatar" src="../../static/error/missing-face.png" mode="" v-else></image>
  12. <view class="user-name-id">
  13. <view class="user-name clamp2">{{ userInfo.nickname || '游客'}}</view>
  14. <view class="user-uid" v-if="userInfo.uid">ID号:{{ userInfo.uid || ''}}</view>
  15. </view>
  16. </view>
  17. <view class="user-money flex">
  18. <view class="user-money-item" @click="navTo('/pages/user/yue')">
  19. <view class="user-money-num">{{ userInfo.now_money*1 || 0 }}</view>
  20. <view class="user-money-font"> 余额</view>
  21. </view>
  22. <view class="user-xian"></view>
  23. <view class="user-money-item" @click="navTo('/pages/user/award')">
  24. <view class="user-money-num">{{ userInfo.brokerage_price*1 || 0 }}</view>
  25. <view class="user-money-font">奖金</view>
  26. </view>
  27. <view class="user-xian"></view>
  28. <view class="user-money-item" @click="navTo('/pages/user/jf')">
  29. <view class="user-money-num">{{ userInfo.integral*1 || 0 }}</view>
  30. <view class="user-money-font">积分</view>
  31. </view>
  32. <!-- <view class="user-xian"></view> -->
  33. <!-- <view class="user-money-item" >
  34. <view class="user-money-num">{{ userInfo.profit*1 || 0 }}</view>
  35. <view class="user-money-font">可收益额度</view>
  36. </view>
  37. <view class="user-xian"></view>
  38. <view class="user-money-item" @click="navTo('/pages/user/team')">
  39. <view class="user-money-num">{{ userInfo.consumption || 0 }}</view>
  40. <view class="user-money-font">消费余额</view>
  41. </view> -->
  42. </view>
  43. <view class="user-money flex">
  44. <!-- <view class="user-money-item" @click="navTo('/pages/user/yue')">
  45. <view class="user-money-num">{{ userInfo.now_money*1 || 0 }}</view>
  46. <view class="user-money-font"> 余额</view>
  47. </view>
  48. <view class="user-xian"></view>
  49. <view class="user-money-item" @click="navTo('/pages/user/award')">
  50. <view class="user-money-num">{{ userInfo.brokerage_price*1 || 0 }}</view>
  51. <view class="user-money-font">奖金</view>
  52. </view>
  53. <view class="user-xian"></view>
  54. <view class="user-money-item" @click="navTo('/pages/user/jf')">
  55. <view class="user-money-num">{{ userInfo.integral*1 || 0 }}</view>
  56. <view class="user-money-font">积分</view>
  57. </view>
  58. <view class="user-xian"></view> -->
  59. <view class="user-money-item" >
  60. <view class="user-money-num">{{ userInfo.profit*1 || 0 }}</view>
  61. <view class="user-money-font">可收益额度</view>
  62. </view>
  63. <view class="user-xian"></view>
  64. <view class="user-money-item" @click="navTo('/pages/user/team')">
  65. <view class="user-money-num">{{ userInfo.consumption || 0 }}</view>
  66. <view class="user-money-font">消费余额</view>
  67. </view>
  68. </view>
  69. <!-- <image src="../../static/icon/u-set.png" mode="" class="u-set" @click="navTo('/pages/set/userinfo')">
  70. </image> -->
  71. <view class="user-leve" v-if="userInfo.level > 0">
  72. <image src="../../static/icon/gp.png" mode="widthFix"></image>
  73. <view class="">
  74. {{userInfo.level == 1 ? '会员': (userInfo.level == 2?'合伙人':(userInfo.level == 3?'股东': '董事'))}}
  75. </view>
  76. </view>
  77. </view>
  78. <view class="qd-wrap" @click="navTo('/pages/index/sign')">
  79. <image src="../../static/icon/qd.png" mode=""></image>
  80. <view class="qd-info">
  81. <view class="">
  82. 签到领取积分
  83. </view>
  84. <view class="tit">
  85. 已累计签到{{sum_sgin_day}}天
  86. </view>
  87. </view>
  88. <view class="qd-btn" v-if="!is_day_sgin">
  89. 立即签到
  90. </view>
  91. <view class="qd-btn" v-if="is_day_sgin" style="background: #999;">
  92. 已签到
  93. </view>
  94. </view>
  95. <view class="main-box">
  96. <view class="title flex">
  97. <view class="title-left">
  98. <view class="title-font">分红池</view>
  99. </view>
  100. <!-- <image class="title-right" src="../../static/icon/back.png" mode=""></image> -->
  101. </view>
  102. <view class="main flex">
  103. <view class="oitem" @click="navTo('/pages/user/fh?state=1')">
  104. <image class="oitem-image" src="../../static/icon/fh1.png" mode=""></image>
  105. <view class="oitem-font">会员</view>
  106. </view>
  107. <view class="oitem" @click="navTo('/pages/user/fh?state=2')">
  108. <image class="oitem-image" src="../../static/icon/fh2.png" mode=""></image>
  109. <view class="oitem-font">合伙人</view>
  110. </view>
  111. <view class="oitem" @click="navTo('/pages/user/fh?state=3')">
  112. <image class="oitem-image" src="../../static/icon/fh3.png" mode=""></image>
  113. <view class="oitem-font">股东</view>
  114. </view>
  115. <view class="oitem" @click="navTo('/pages/user/fh?state=4')">
  116. <image class="oitem-image" src="../../static/icon/fh4.png" mode=""></image>
  117. <view class="oitem-font">董事</view>
  118. </view>
  119. </view>
  120. </view>
  121. <view class="main-box">
  122. <view class="title flex" @click="navTo('/pages/order/order?state=0')">
  123. <view class="title-left">
  124. <view class="title-font">我的订单</view>
  125. </view>
  126. <image class="title-right" src="../../static/icon/back.png" mode=""></image>
  127. </view>
  128. <view class="main flex">
  129. <view class="oitem" @click="navTo('/pages/order/order?state=0')">
  130. <image class="oitem-image" src="../../static/icon/o1.png" mode=""></image>
  131. <view class="oitem-font">待付款</view>
  132. </view>
  133. <view class="oitem" @click="navTo('/pages/order/order?state=1')">
  134. <image class="oitem-image" src="../../static/icon/o2.png" mode=""></image>
  135. <view class="oitem-font">待发货</view>
  136. </view>
  137. <view class="oitem" @click="navTo('/pages/order/order?state=2')">
  138. <image class="oitem-image" src="../../static/icon/o3.png" mode=""></image>
  139. <view class="oitem-font">待收货</view>
  140. </view>
  141. <view class="oitem" @click="navTo('/pages/order/order?state=3')">
  142. <image class="oitem-image" src="../../static/icon/o4.png" mode=""></image>
  143. <view class="oitem-font">已完成</view>
  144. </view>
  145. </view>
  146. </view>
  147. <view class="user-list flex" @click="navTo('/pages/user/shareQrCode')">
  148. <view class="user-list-image">
  149. <image src="../../static/icon/u1.png" mode="heightFix" class="left-img"></image>
  150. </view>
  151. <view class="user-list-tit">
  152. 邀请海报
  153. </view>
  154. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  155. </view>
  156. <view class="user-list flex" @click="navTo('/pages/user/team')">
  157. <view class="user-list-image">
  158. <image src="../../static/icon/u2.png" mode="heightFix" class="left-img"></image>
  159. </view>
  160. <view class="user-list-tit">
  161. 我的分享
  162. </view>
  163. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  164. </view>
  165. <view class="user-list flex" @click="navTo('/pages/user/favorites')">
  166. <view class="user-list-image">
  167. <image src="../../static/icon/u3.png" mode="heightFix" class="left-img"></image>
  168. </view>
  169. <view class="user-list-tit">
  170. 我的收藏
  171. </view>
  172. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  173. </view>
  174. <view class="user-list flex" @click="openKf()">
  175. <view class="user-list-image flex">
  176. <image src="../../static/icon/u4.png" mode="heightFix" class="left-img"></image>
  177. </view>
  178. <view class="user-list-tit">
  179. 客服中心
  180. </view>
  181. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  182. </view>
  183. <view class="user-list flex" @click="navTo('/pages/set/address')">
  184. <view class="user-list-image">
  185. <image src="../../static/icon/u5.png" mode="heightFix" class="left-img"></image>
  186. </view>
  187. <view class="user-list-tit">
  188. 收货地址
  189. </view>
  190. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  191. </view>
  192. <view class="user-list flex" @click="navTo('/pages/set/userinfo')">
  193. <view class="user-list-image">
  194. <image src="../../static/icon/u6.png" mode="heightFix" class="left-img"></image>
  195. </view>
  196. <view class="user-list-tit">
  197. 设置
  198. </view>
  199. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  200. </view>
  201. <view class="" style="height: 20rpx;">
  202. </view>
  203. <uni-popup ref="popupkf" type="center">
  204. <view class="popup-box">
  205. <view class="img">
  206. <image src="../../static/img/img009.png" mode=""></image>
  207. </view>
  208. <view class="mian">
  209. <view class="delivery">
  210. <view class="title">已经为您定制专属客服</view>
  211. <image src="../../static/img/img010.png" mode=""></image>
  212. </view>
  213. <view class="nocancel">客服VX:{{ text }}</view>
  214. <view class="comfirm-box">
  215. <view class="cancel" @click="cancel">取消</view>
  216. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  217. </view>
  218. </view>
  219. </view>
  220. </uni-popup>
  221. </view>
  222. </template>
  223. <script>
  224. import { signList, integral,signUser,signConfig } from '@/api/functionalUnit.js';
  225. import {
  226. mapState,
  227. mapMutations
  228. } from 'vuex';
  229. import uniList from '@/components/uni-list/uni-list.vue';
  230. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  231. import {
  232. orderData,
  233. getUserInfo,
  234. check
  235. } from '@/api/user.js';
  236. import {
  237. saveUrl,
  238. interceptor
  239. } from '@/utils/loginUtils.js';
  240. let startY = 0,
  241. moveY = 0,
  242. pageAtTop = true;
  243. export default {
  244. components: {
  245. uniList,
  246. uniListItem
  247. },
  248. data() {
  249. return {
  250. current: 2,
  251. id: '', //是否已签到
  252. store_name: '',
  253. achievement: '',
  254. code: '',
  255. text: '' ,//客服微信
  256. is_day_sgin: false,
  257. sum_sgin_day: 0,
  258. };
  259. },
  260. onShow() {
  261. // 判断是否已经登录
  262. // if (this.hasLogin) {
  263. // this.loadBaseData();
  264. // }
  265. this.loadBaseData();
  266. this.signConfig()
  267. },
  268. filters: {
  269. phone(e) {
  270. var subStr1 = e.substr(0, 3);
  271. var subStr2 = e.substr(e.length - 4, 4);
  272. var subStr = subStr1 + '...' + subStr2;
  273. e = subStr;
  274. return e;
  275. }
  276. },
  277. onReady() {
  278. // 初始化获取页面宽度
  279. uni.createSelectorQuery()
  280. .select('.container')
  281. .fields({
  282. size: true
  283. },
  284. data => {
  285. // 计算最多下拉的高度
  286. this.userDowm = Math.floor((data.width / 750) * 185);
  287. // 计算最大触发修改高度事件
  288. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  289. }
  290. )
  291. .exec();
  292. },
  293. computed: {
  294. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin'])
  295. },
  296. methods: {
  297. ...mapMutations('user', ['setUserInfo']),
  298. qhx() {
  299. check({
  300. verify_code: this.code,
  301. is_confirm: 1 //1是核销,0是查看
  302. })
  303. .then(e => {
  304. this.$api.msg('核销成功');
  305. this.close();
  306. })
  307. .catch(e => {
  308. console.log(e);
  309. });
  310. },
  311. sao() {
  312. let obj = this;
  313. // #ifndef H5
  314. uni.scanCode({
  315. success(e) {
  316. obj.code = e.result;
  317. obj.$refs.popuphx.open();
  318. console.log(obj.$refs.popuphx);
  319. }
  320. });
  321. // #endif
  322. },
  323. comfirm(text) {
  324. console.log(text);
  325. const result = this.uniCopy(text);
  326. if (result === false) {
  327. uni.showToast({
  328. title: '不支持'
  329. });
  330. } else {
  331. uni.showToast({
  332. title: '复制成功',
  333. icon: 'none'
  334. });
  335. }
  336. this.$refs.popupkf.close();
  337. },
  338. uniCopy(content) {
  339. /**
  340. * 小程序端 和 app端的复制逻辑
  341. */
  342. //#ifndef H5
  343. uni.setClipboardData({
  344. data: content,
  345. success: function() {
  346. console.log('success');
  347. return true;
  348. }
  349. });
  350. //#endif
  351. /**
  352. * H5端的复制逻辑
  353. */
  354. // #ifdef H5
  355. if (!document.queryCommandSupported('copy')) {
  356. //为了兼容有些浏览器 queryCommandSupported 的判断
  357. // 不支持
  358. return false;
  359. }
  360. let textarea = document.createElement('textarea');
  361. textarea.value = content;
  362. textarea.readOnly = 'readOnly';
  363. document.body.appendChild(textarea);
  364. textarea.select(); // 选择对象
  365. textarea.setSelectionRange(0, content.length); //核心
  366. let result = document.execCommand('copy'); // 执行浏览器复制命令
  367. textarea.remove();
  368. return result;
  369. // #endif
  370. },
  371. // 加载初始数据
  372. loadBaseData() {
  373. getUserInfo({})
  374. .then(({
  375. data
  376. }) => {
  377. console.log(data.nickname)
  378. this.setUserInfo(data);
  379. this.getsignUser()
  380. })
  381. .catch(e => {
  382. console.log(e);
  383. });
  384. },
  385. /**
  386. * 统一跳转接口,拦截未登录路由
  387. * navigator标签现在默认没有转场动画,所以用view
  388. */
  389. navTo(url) {
  390. console.log(url);
  391. if (!this.hasLogin) {
  392. // 保存地址
  393. saveUrl();
  394. // 登录拦截
  395. interceptor();
  396. } else {
  397. uni.navigateTo({
  398. url
  399. });
  400. }
  401. },
  402. close() {
  403. this.$refs.popuphx.close();
  404. this.code = '';
  405. },
  406. // 打开客服
  407. openKf() {
  408. this.$refs.popupkf.open();
  409. },
  410. // 关闭客服
  411. cancel() {
  412. this.$refs.popupkf.close();
  413. },
  414. // 打开绑定
  415. open() {
  416. this.$refs.gspass.open();
  417. },
  418. cast() {
  419. set_waiter({
  420. uid: this.id
  421. })
  422. .then(e => {
  423. this.$api.msg('绑定成功');
  424. this.$refs.gspass.close();
  425. this.id = '';
  426. })
  427. .catch(err => {
  428. this.$refs.gspass.close();
  429. this.id = '';
  430. });
  431. },
  432. cancelpass() {
  433. this.$refs.gspass.close();
  434. this.id = '';
  435. },
  436. getsignUser() {
  437. signUser({
  438. sign: 1
  439. }).then(res => {
  440. console.log('daole')
  441. console.log(res)
  442. this.is_day_sgin = res.data.is_day_sgin
  443. this.sum_sgin_day = res.data.sum_sgin_day
  444. })
  445. },
  446. signConfig() {
  447. signConfig().then(res => {
  448. console.log(res);
  449. })
  450. }
  451. }
  452. };
  453. </script>
  454. <style lang="scss">
  455. %flex-center {
  456. display: flex;
  457. flex-direction: column;
  458. justify-content: center;
  459. align-items: center;
  460. }
  461. %section {
  462. display: flex;
  463. justify-content: space-around;
  464. align-content: center;
  465. background: #fff;
  466. border-radius: 10rpx;
  467. }
  468. .container,
  469. page {
  470. min-height: 100%;
  471. height: auto;
  472. background-color: #fff;
  473. }
  474. .vheigh {
  475. height: var(--status-bar-height);
  476. background-color: $base-color;
  477. }
  478. .top-image {
  479. position: absolute;
  480. top: 0;
  481. left: 0;
  482. right: 0;
  483. height: 529rpx;
  484. image {
  485. width: 100%;
  486. height: 100%;
  487. }
  488. }
  489. .popup-box {
  490. width: 522rpx;
  491. height: 605rpx;
  492. background-color: #ffffff;
  493. border-radius: 20rpx;
  494. position: relative;
  495. .img {
  496. position: relative;
  497. top: -56rpx;
  498. left: 0;
  499. width: 522rpx;
  500. height: 132rpx;
  501. display: flex;
  502. justify-content: center;
  503. image {
  504. border-radius: 20rpx 20rpx 0 0;
  505. width: 450rpx;
  506. height: 132rpx;
  507. }
  508. }
  509. .mian {
  510. margin-top: -44rpx;
  511. display: flex;
  512. flex-direction: column;
  513. align-items: center;
  514. // padding: 32rpx 32rpx;
  515. background-color: #ffffff;
  516. border-radius: 0 0 20rpx 20rpx;
  517. text-align: center;
  518. .delivery {
  519. font-size: 40rpx;
  520. color: #333333;
  521. display: flex;
  522. align-items: center;
  523. flex-direction: column;
  524. image {
  525. margin-top: 48rpx;
  526. width: 172rpx;
  527. height: 160rpx;
  528. }
  529. }
  530. .nocancel {
  531. font-size: 32rpx;
  532. color: #333333;
  533. margin-top: 14rpx;
  534. }
  535. .comfirm-box {
  536. margin-top: 52rpx;
  537. display: flex;
  538. // margin-bottom: 32rpx;
  539. // justify-content: space-around;
  540. .cancel {
  541. display: flex;
  542. align-items: center;
  543. justify-content: center;
  544. width: 197rpx;
  545. height: 74rpx;
  546. border: 1px solid #dcc786;
  547. border-radius: 38rpx;
  548. font-size: 32rpx;
  549. color: #605128;
  550. }
  551. .comfirm {
  552. margin-left: 32rpx;
  553. display: flex;
  554. align-items: center;
  555. justify-content: center;
  556. width: 197rpx;
  557. height: 74rpx;
  558. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  559. border-radius: 38px;
  560. font-size: 32rpx;
  561. color: #605128;
  562. }
  563. }
  564. }
  565. }
  566. .user-box {
  567. position: relative;
  568. z-index: 2;
  569. width: 690rpx;
  570. margin: 0 auto;
  571. /* #ifdef MP-WEIXIN */
  572. margin: -200rpx auto 0;
  573. /* #endif */
  574. border-radius: 20rpx;
  575. display: flex;
  576. flex-direction: column;
  577. align-items: center;
  578. padding: 54rpx 0 30rpx;
  579. line-height: 1;
  580. position: relative;
  581. .u-set {
  582. position: absolute;
  583. top: 85rpx;
  584. right: 40rpx;
  585. width: 44rpx;
  586. height: 44rpx;
  587. }
  588. .user-leve {
  589. width: 161rpx;
  590. height: 51rpx;
  591. background: #FFFFFF;
  592. border-radius: 25rpx;
  593. position: absolute;
  594. top: 85rpx;
  595. right: 40rpx;
  596. display: flex;
  597. justify-content: flex-start;
  598. align-items: center;
  599. padding-left: 20rpx;
  600. image {
  601. width: 25rpx;
  602. margin-right: 10rpx;
  603. }
  604. font-size: 26rpx;
  605. font-weight: 500;
  606. color: #FF4C4C;
  607. }
  608. .user-info {
  609. justify-content: flex-start;
  610. width: 100%;
  611. padding-left: 40rpx;
  612. .avatar {
  613. border-radius: 50%;
  614. width: 132rpx;
  615. height: 132rpx;
  616. background-color: #eee;
  617. margin-right: 18rpx;
  618. }
  619. .user-uid {
  620. padding-top: 10rpx;
  621. font-size: 24rpx;
  622. font-weight: 500;
  623. color: #fff;
  624. }
  625. }
  626. .user-name {
  627. width: 300rpx;
  628. margin-top: 14rpx;
  629. // font-size: 30rpx;
  630. font-size: $ltl-size-big;
  631. font-family: PingFang SC;
  632. font-weight: bold;
  633. color: #fff;
  634. }
  635. .user-shop {
  636. margin-top: 10rpx;
  637. display: flex;
  638. justify-content: flex-start;
  639. align-items: center;
  640. .user-shop-item {
  641. position: relative;
  642. margin: 0 10rpx;
  643. width: 180rpx;
  644. height: 55rpx;
  645. .user-shop-icon {
  646. position: absolute;
  647. top: 0;
  648. left: 0;
  649. right: 0;
  650. width: 180rpx;
  651. height: 55rpx;
  652. }
  653. .user-shopname {
  654. padding-left:60rpx;
  655. position: relative;
  656. z-index: 2;
  657. font-size: 30rpx;
  658. font-weight: 500;
  659. color: #977843;
  660. line-height: 55rpx;
  661. text-align: left;
  662. }
  663. }
  664. }
  665. // .user-shop {
  666. // margin-top: 10rpx;
  667. // display: flex;
  668. // justify-content: center;
  669. // align-items: center;
  670. // .user-shop-icon {
  671. // width: 22rpx;
  672. // height: 22rpx;
  673. // }
  674. // .user-shopname {
  675. // margin-left: 6rpx;
  676. // font-size: 20rpx;
  677. // font-family: PingFang SC;
  678. // font-weight: 500;
  679. // color: #ff7e3e;
  680. // }
  681. // }
  682. .user-money {
  683. width: 100%;
  684. margin-top: 50rpx;
  685. justify-content: center;
  686. .user-money-item {
  687. width: 50%;
  688. display: flex;
  689. flex-direction: column;
  690. justify-content: center;
  691. align-items: center;
  692. .user-money-num {
  693. font-size: 36rpx;
  694. font-family: PingFang SC;
  695. font-weight: bold;
  696. color: #fff;
  697. }
  698. .user-money-font {
  699. margin-top: 20rpx;
  700. font-size: $ltl-size-lg;
  701. font-weight: 500;
  702. color: #fff;
  703. }
  704. }
  705. .user-xian {
  706. width: 1px;
  707. height: 77rpx;
  708. background: #eeeeee;
  709. }
  710. }
  711. }
  712. .main-box {
  713. // position: relative;
  714. margin:-10rpx auto 0;
  715. border-radius: 25rpx 25rpx 0 0;
  716. width: 750rpx;
  717. background: #ffffff;
  718. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  719. .title {
  720. display: flex;
  721. justify-content: space-between;
  722. align-items: center;
  723. padding: 24rpx;
  724. // border-bottom: 1px solid #eeeeee;
  725. .title-left {
  726. display: flex;
  727. align-items: center;
  728. .title-icon {
  729. width: 32rpx;
  730. height: 32rpx;
  731. }
  732. .title-font {
  733. margin-left: 20rpx;
  734. font-size:30rpx;
  735. font-weight: bold;
  736. color: #333333;
  737. }
  738. }
  739. .title-right {
  740. width: 14rpx;
  741. height: 24rpx;
  742. }
  743. }
  744. .main {
  745. padding: 0rpx 0 30rpx;
  746. .jg {
  747. width: 1px;
  748. height: 100rpx;
  749. background: #eeeeee;
  750. }
  751. .item {
  752. padding-bottom: 20rpx;
  753. width: 25%;
  754. display: flex;
  755. flex-direction: column;
  756. align-items: center;
  757. .item-num {
  758. font-size: 36rpx;
  759. font-family: PingFang SC;
  760. font-weight: bold;
  761. color: #333333;
  762. }
  763. .item-font {
  764. margin-top: 18rpx;
  765. font-size: 22rpx;
  766. font-family: PingFang SC;
  767. font-weight: 500;
  768. color: #666666;
  769. }
  770. }
  771. .oitem {
  772. width: 33%;
  773. display: flex;
  774. flex-direction: column;
  775. align-items: center;
  776. .oitem-image {
  777. height: 76rpx;
  778. width: 76rpx;
  779. }
  780. .oitem-font {
  781. margin-top: 20rpx;
  782. font-size: 24rpx;
  783. font-family: PingFang SC;
  784. font-weight: 500;
  785. color: #333333;
  786. }
  787. }
  788. }
  789. }
  790. .tool-list {
  791. width: 690rpx;
  792. margin: 20rpx auto 0;
  793. background: #ffffff;
  794. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  795. border-radius: 20rpx;
  796. }
  797. .psw-wrapper {
  798. width: 548rpx;
  799. padding: 20rpx 0;
  800. background-color: #ffffff;
  801. border-radius: 15rpx 15rpx;
  802. .psw-title {
  803. width: 100%;
  804. font-size: 35rpx;
  805. padding: 0 0 40rpx;
  806. text-align: center;
  807. font-weight: 800;
  808. }
  809. .psw-content {
  810. width: 100%;
  811. font-size: 32rpx;
  812. text-align: center;
  813. }
  814. .psw-price {
  815. font-weight: bold;
  816. font-size: 68rpx;
  817. text-align: center;
  818. padding-top: 10rpx;
  819. }
  820. .psw-jg {
  821. height: 1px;
  822. width: 500rpx;
  823. background-color: #eee;
  824. margin: auto;
  825. }
  826. .psw-paytype {
  827. justify-content: space-between;
  828. padding: 10rpx 25rpx 30rpx;
  829. font-size: 26rpx;
  830. }
  831. .psw-ipt {
  832. display: block;
  833. background-color: #dce3ed;
  834. height: 90rpx;
  835. width: 464rpx;
  836. padding-left: 30rpx;
  837. margin: 0 auto;
  838. font-size: 80rpx;
  839. }
  840. .psw-btn text {
  841. display: inline-block;
  842. text-align: center;
  843. width: 50%;
  844. padding-top: 29rpx;
  845. font-size: 35rpx;
  846. }
  847. .psw-qd {
  848. color: #ff4c4c;
  849. }
  850. }
  851. .hx-wrapper {
  852. width: 536rpx;
  853. height: 630rpx;
  854. position: relative;
  855. // background-color: #fff;
  856. .hx-img {
  857. width: 536rpx;
  858. height: 281rpx;
  859. image {
  860. width: 536rpx;
  861. height: 281rpx;
  862. }
  863. }
  864. .hx-close {
  865. position: absolute;
  866. left: 243rpx;
  867. bottom: -80rpx;
  868. width: 52rpx;
  869. height: 52rpx;
  870. image {
  871. width: 52rpx;
  872. height: 52rpx;
  873. }
  874. }
  875. .hx-body {
  876. width: 536rpx;
  877. height: 349rpx;
  878. background-color: #fff;
  879. border-radius: 0 0 10rpx 10rpx;
  880. .hx-title {
  881. width: 536rpx;
  882. font-size: 36rpx;
  883. font-weight: 500;
  884. color: #333333;
  885. line-height: 1;
  886. padding-top: 42rpx;
  887. text-align: center;
  888. }
  889. input {
  890. width: 439rpx;
  891. height: 68rpx;
  892. background: #dbf3e9;
  893. border-radius: 10rpx;
  894. margin: 39rpx auto 0;
  895. padding-left: 26rpx;
  896. .hx-placeholder {
  897. font-size: 26rpx;
  898. font-weight: 500;
  899. color: #ff4c4c;
  900. }
  901. }
  902. .hx-btn {
  903. margin: 44rpx auto 0;
  904. width: 353rpx;
  905. height: 71rpx;
  906. background: #ff4c4c;
  907. border-radius: 34rpx;
  908. font-size: 36rpx;
  909. font-weight: 500;
  910. color: #f8f9f9;
  911. line-height: 71rpx;
  912. text-align: center;
  913. }
  914. }
  915. }
  916. .user-list {
  917. width: 691rpx;
  918. height: 104rpx;
  919. background: #FFFFFF;
  920. // box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  921. border-radius: 28rpx;
  922. margin: 0 auto;
  923. padding: 0 25rpx;
  924. .user-list-image {
  925. width: 60rpx;
  926. .left-img {
  927. display: block;
  928. height: 40rpx;
  929. }
  930. }
  931. .user-list-tit {
  932. padding-left: 20rpx;
  933. flex-grow: 1;
  934. font-size: 29rpx;
  935. font-weight: bold;
  936. color: #5D5D5D;
  937. }
  938. .right-img {
  939. width: 13rpx;
  940. height: 23rpx;
  941. }
  942. }
  943. .qd-wrap {
  944. position: relative;
  945. margin: auto;
  946. margin-bottom: 10rpx;
  947. width: 690rpx;
  948. height: 115rpx;
  949. background-color: #fff;
  950. border-radius: 20rpx;
  951. box-shadow: 0px 1rpx 10rpx #999;
  952. display: flex;
  953. // justify-content: ;
  954. align-items: center;
  955. padding: 0 40rpx;
  956. image {
  957. width: 68rpx;
  958. height: 70rpx;
  959. flex-shrink: 0;
  960. }
  961. .qd-info {
  962. flex-grow: 1;
  963. padding-left: 30rpx;
  964. font-size:30rpx;
  965. font-weight: bold;
  966. color: #333333;
  967. .tit {
  968. font-size: 28rpx;
  969. color: #999;
  970. font-weight: 500;
  971. }
  972. }
  973. .qd-btn {
  974. flex-shrink: 0;
  975. width: 160rpx;
  976. height: 60rpx;
  977. color: #fff;
  978. font-size: 26rpx;
  979. display: flex;
  980. justify-content: center;
  981. align-items: center;
  982. background-color: #ff4c4d;
  983. border-radius: 30rpx;
  984. }
  985. }
  986. </style>