user.vue 20 KB

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