user.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991
  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="" style="height: 150rpx;"></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.phone || ''}}</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" class="" ></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: '' //客服微信
  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. position: absolute;
  514. top: 85rpx;
  515. right: 0rpx;
  516. width: 178rpx;
  517. height: 60rpx;
  518. image {
  519. width: 178rpx;
  520. position: relative;
  521. }
  522. .u-set-tit {
  523. position: absolute;
  524. width: 120rpx;
  525. height: 60rpx;
  526. text-align: center;
  527. top: 0;
  528. right: 0;
  529. font-size: 22rpx;
  530. padding-right: 10rpx;
  531. line-height: 60rpx;
  532. }
  533. }
  534. .user-info {
  535. justify-content: flex-start;
  536. width: 100%;
  537. padding-left: 40rpx;
  538. .avatar {
  539. border-radius: 50%;
  540. width: 132rpx;
  541. height: 132rpx;
  542. background-color: #eee;
  543. margin-right: 18rpx;
  544. }
  545. .user-uid {
  546. padding-top: 10rpx;
  547. font-size: 24rpx;
  548. font-weight: 500;
  549. color: #666666;
  550. }
  551. }
  552. .user-name {
  553. width: 300rpx;
  554. margin-top: 14rpx;
  555. font-size: 30rpx;
  556. font-family: PingFang SC;
  557. font-weight: bold;
  558. color: #333333;
  559. }
  560. .user-shop {
  561. margin-top: 10rpx;
  562. display: flex;
  563. justify-content: flex-start;
  564. align-items: center;
  565. .user-shop-item {
  566. position: relative;
  567. margin: 0 10rpx;
  568. width: 105rpx;
  569. height: 42rpx;
  570. .user-shop-icon {
  571. position: absolute;
  572. top: 0;
  573. left: 0;
  574. right: 0;
  575. width: 105rpx;
  576. height: 42rpx;
  577. }
  578. .user-shopname {
  579. padding-left: 18rpx;
  580. position: relative;
  581. z-index: 2;
  582. font-size: 20rpx;
  583. font-family: PingFang SC;
  584. font-weight: 500;
  585. color: #977843;
  586. line-height: 42rpx;
  587. text-align: center;
  588. }
  589. }
  590. }
  591. // .user-shop {
  592. // margin-top: 10rpx;
  593. // display: flex;
  594. // justify-content: center;
  595. // align-items: center;
  596. // .user-shop-icon {
  597. // width: 22rpx;
  598. // height: 22rpx;
  599. // }
  600. // .user-shopname {
  601. // margin-left: 6rpx;
  602. // font-size: 20rpx;
  603. // font-family: PingFang SC;
  604. // font-weight: 500;
  605. // color: #ff7e3e;
  606. // }
  607. // }
  608. .user-money {
  609. width: 100%;
  610. margin-top: 50rpx;
  611. justify-content: center;
  612. .user-money-item {
  613. width: 50%;
  614. display: flex;
  615. flex-direction: column;
  616. justify-content: center;
  617. align-items: center;
  618. .user-money-num {
  619. font-size: 36rpx;
  620. font-family: PingFang SC;
  621. font-weight: bold;
  622. color: #333333;
  623. }
  624. .user-money-font {
  625. margin-top: 20rpx;
  626. font-size: 22rpx;
  627. font-family: PingFang SC;
  628. font-weight: 500;
  629. color: #666666;
  630. }
  631. }
  632. .user-xian {
  633. width: 1px;
  634. height: 77rpx;
  635. background: #eeeeee;
  636. }
  637. }
  638. }
  639. .main-box {
  640. margin: 20rpx auto 0;
  641. width: 710rpx;
  642. background: #ffffff;
  643. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  644. border-radius: 20rpx;
  645. .title {
  646. display: flex;
  647. justify-content: space-between;
  648. align-items: center;
  649. padding: 24rpx;
  650. // border-bottom: 1px solid #eeeeee;
  651. .title-left {
  652. display: flex;
  653. align-items: center;
  654. image {
  655. width: 35rpx;
  656. }
  657. .title-icon {
  658. width: 32rpx;
  659. height: 32rpx;
  660. }
  661. .title-font {
  662. margin-left: 20rpx;
  663. font-size: 28rpx;
  664. font-family: PingFang SC;
  665. font-weight: bold;
  666. color: #333333;
  667. }
  668. }
  669. .title-right-wrap {
  670. font-size: 26rpx;
  671. font-weight: 400;
  672. color: #666666;
  673. .title-right {
  674. margin-left: 10rpx;
  675. width: 14rpx;
  676. height: 24rpx;
  677. }
  678. }
  679. }
  680. .main {
  681. padding: 50rpx 0 30rpx;
  682. .jg {
  683. width: 1px;
  684. height: 100rpx;
  685. background: #eeeeee;
  686. }
  687. .item {
  688. padding-bottom: 20rpx;
  689. width: 25%;
  690. display: flex;
  691. flex-direction: column;
  692. align-items: center;
  693. .item-num {
  694. font-size: 36rpx;
  695. font-family: PingFang SC;
  696. font-weight: bold;
  697. color: #333333;
  698. }
  699. .item-font {
  700. margin-top: 18rpx;
  701. font-size: 22rpx;
  702. font-family: PingFang SC;
  703. font-weight: 500;
  704. color: #666666;
  705. }
  706. }
  707. .oitem {
  708. width: 33%;
  709. display: flex;
  710. flex-direction: column;
  711. align-items: center;
  712. .oitem-image {
  713. height: 40rpx;
  714. width: 42rpx;
  715. }
  716. .oitem-val {
  717. font-size: 36rpx;
  718. font-weight: bold;
  719. color: #333333;
  720. }
  721. .oitem-font {
  722. margin-top: 20rpx;
  723. font-size: 24rpx;
  724. font-family: PingFang SC;
  725. font-weight: 500;
  726. color: #333333;
  727. }
  728. }
  729. }
  730. }
  731. .tool-list {
  732. width: 690rpx;
  733. margin: 20rpx auto 0;
  734. background: #ffffff;
  735. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  736. border-radius: 20rpx;
  737. }
  738. .psw-wrapper {
  739. width: 548rpx;
  740. padding: 20rpx 0;
  741. background-color: #ffffff;
  742. border-radius: 15rpx 15rpx;
  743. .psw-title {
  744. width: 100%;
  745. font-size: 35rpx;
  746. padding: 0 0 40rpx;
  747. text-align: center;
  748. font-weight: 800;
  749. }
  750. .psw-content {
  751. width: 100%;
  752. font-size: 32rpx;
  753. text-align: center;
  754. }
  755. .psw-price {
  756. font-weight: bold;
  757. font-size: 68rpx;
  758. text-align: center;
  759. padding-top: 10rpx;
  760. }
  761. .psw-jg {
  762. height: 1px;
  763. width: 500rpx;
  764. background-color: #eee;
  765. margin: auto;
  766. }
  767. .psw-paytype {
  768. justify-content: space-between;
  769. padding: 10rpx 25rpx 30rpx;
  770. font-size: 26rpx;
  771. }
  772. .psw-ipt {
  773. display: block;
  774. background-color: #dce3ed;
  775. height: 90rpx;
  776. width: 464rpx;
  777. padding-left: 30rpx;
  778. margin: 0 auto;
  779. font-size: 80rpx;
  780. }
  781. .psw-btn text {
  782. display: inline-block;
  783. text-align: center;
  784. width: 50%;
  785. padding-top: 29rpx;
  786. font-size: 35rpx;
  787. }
  788. .psw-qd {
  789. color: #ff4c4c;
  790. }
  791. }
  792. .hx-wrapper {
  793. width: 536rpx;
  794. height: 630rpx;
  795. position: relative;
  796. // background-color: #fff;
  797. .hx-img {
  798. width: 536rpx;
  799. height: 281rpx;
  800. image {
  801. width: 536rpx;
  802. height: 281rpx;
  803. }
  804. }
  805. .hx-close {
  806. position: absolute;
  807. left: 243rpx;
  808. bottom: -80rpx;
  809. width: 52rpx;
  810. height: 52rpx;
  811. image {
  812. width: 52rpx;
  813. height: 52rpx;
  814. }
  815. }
  816. .hx-body {
  817. width: 536rpx;
  818. height: 349rpx;
  819. background-color: #fff;
  820. border-radius: 0 0 10rpx 10rpx;
  821. .hx-title {
  822. width: 536rpx;
  823. font-size: 36rpx;
  824. font-weight: 500;
  825. color: #333333;
  826. line-height: 1;
  827. padding-top: 42rpx;
  828. text-align: center;
  829. }
  830. input {
  831. width: 439rpx;
  832. height: 68rpx;
  833. background: #dbf3e9;
  834. border-radius: 10rpx;
  835. margin: 39rpx auto 0;
  836. padding-left: 26rpx;
  837. .hx-placeholder {
  838. font-size: 26rpx;
  839. font-weight: 500;
  840. color: #ff4c4c;
  841. }
  842. }
  843. .hx-btn {
  844. margin: 44rpx auto 0;
  845. width: 353rpx;
  846. height: 71rpx;
  847. background: #ff4c4c;
  848. border-radius: 34rpx;
  849. font-size: 36rpx;
  850. font-weight: 500;
  851. color: #f8f9f9;
  852. line-height: 71rpx;
  853. text-align: center;
  854. }
  855. }
  856. }
  857. .user-list {
  858. width: 691rpx;
  859. height: 104rpx;
  860. background: #FFFFFF;
  861. // box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  862. // border-radius: 28rpx;
  863. margin:auto;
  864. padding: 0 25rpx;
  865. .left-img {
  866. width: 40rpx;
  867. height: 40rpx;
  868. }
  869. view {
  870. padding-left: 20rpx;
  871. flex-grow: 1;
  872. font-size: 29rpx;
  873. font-weight: bold;
  874. color: #5D5D5D;
  875. }
  876. .right-img {
  877. width: 13rpx;
  878. height: 23rpx;
  879. }
  880. }
  881. .user-list-wrap {
  882. margin:20rpx auto;
  883. width: 710rpx;
  884. background: #FFFFFF;
  885. box-shadow: 0px 4rpx 13rpx 0px rgba(229,229,229,0.46);
  886. border-radius: 20rpx;
  887. }
  888. .yexq {
  889. margin-top: 20rpx;
  890. width: 100%;
  891. font-size: 28rpx;
  892. font-weight: bold;
  893. color: #333333;
  894. justify-content: space-between;
  895. padding: 0 33rpx;
  896. image {
  897. margin-right: 10rpx;
  898. }
  899. .yexq-item {
  900. width: 50%;
  901. }
  902. .huer {
  903. justify-content: flex-start;
  904. }
  905. .qianger {
  906. justify-content: flex-end;
  907. }
  908. }
  909. </style>