user.vue 20 KB

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