user.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933
  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: 120rpx;"></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. @click="navTo('/pages/set/userinfo')"></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.phone || '游客'}}</view>
  15. <!-- <view class="user-uid" v-if="userInfo.uid">ID号:{{ userInfo.uid || ''}}</view> -->
  16. </view>
  17. </view>
  18. <view class="user-money flex">
  19. <view class="user-money-item" @click="navTo('/pages/user/yue')">
  20. <view class="user-money-num">{{ userInfo.now_money*1 || 0 }}</view>
  21. <view class="user-money-font"> 佣金</view>
  22. </view>
  23. <view class="user-xian"></view>
  24. <view class="user-money-item" @click="navTo('/pages/user/award')">
  25. <view class="user-money-num">{{ userInfo.brokerage_price*1 || 0 }}</view>
  26. <view class="user-money-font">奖金</view>
  27. </view>
  28. <view class="user-xian"></view>
  29. <view class="user-money-item" @click="navTo('/pages/user/jf')">
  30. <view class="user-money-num">{{ userInfo.money*1 || 0 }}</view>
  31. <view class="user-money-font">余额</view>
  32. </view>
  33. <view class="user-xian"></view>
  34. <view class="user-money-item" >
  35. <view class="user-money-num">{{ userInfo.profit*1 || 0 }}</view>
  36. <view class="user-money-font">可收益额度</view>
  37. </view>
  38. <!-- <view class="user-money-item" @click="navTo('/pages/user/team')">
  39. <view class="user-money-num">{{ userInfo.spread_count || 0 }}</view>
  40. <view class="user-money-font">我的推广</view>
  41. </view> -->
  42. </view>
  43. <!-- <image src="../../static/icon/u-set.png" mode="" class="u-set" @click="navTo('/pages/set/userinfo')">
  44. </image> -->
  45. <view class="user-leve" v-if="userInfo.level > 0">
  46. <image src="../../static/icon/gp.png" mode="widthFix"></image>
  47. <view class="">
  48. {{userInfo.level == 1 ? '会员': (userInfo.level == 2?'合伙人':(userInfo.level == 3?'股东': '董事'))}}
  49. </view>
  50. </view>
  51. </view>
  52. <view class="main-box">
  53. <view class="title flex" @click="navTo('/pages/order/order?state=0')">
  54. <view class="title-left">
  55. <view class="title-font">我的订单</view>
  56. </view>
  57. <image class="title-right" src="../../static/icon/back.png" mode=""></image>
  58. </view>
  59. <view class="main flex">
  60. <view class="oitem" @click="navTo('/pages/order/order?state=0')">
  61. <image class="oitem-image" src="../../static/icon/o1.png" mode=""></image>
  62. <view class="oitem-font">待付款</view>
  63. </view>
  64. <view class="oitem" @click="navTo('/pages/order/order?state=1')">
  65. <image class="oitem-image" src="../../static/icon/o2.png" mode=""></image>
  66. <view class="oitem-font">待发货</view>
  67. </view>
  68. <view class="oitem" @click="navTo('/pages/order/order?state=2')">
  69. <image class="oitem-image" src="../../static/icon/o3.png" mode=""></image>
  70. <view class="oitem-font">待收货</view>
  71. </view>
  72. <view class="oitem" @click="navTo('/pages/order/order?state=3')">
  73. <image class="oitem-image" src="../../static/icon/o4.png" mode=""></image>
  74. <view class="oitem-font">已完成</view>
  75. </view>
  76. </view>
  77. </view>
  78. <view class="user-list flex" @click="navTo('/pages/set/password')">
  79. <view class="user-list-image">
  80. <image src="../../static/icon/img06.png" mode="heightFix" class="left-img"></image>
  81. </view>
  82. <view class="user-list-tit">
  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/team')">
  88. <view class="user-list-image">
  89. <image src="../../static/icon/u2.png" mode="heightFix" class="left-img"></image>
  90. </view>
  91. <view class="user-list-tit">
  92. 我的分享
  93. </view>
  94. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  95. </view>
  96. <view class="user-list flex" @click="navTo('/pages/user/favorites')">
  97. <view class="user-list-image">
  98. <image src="../../static/icon/u3.png" mode="heightFix" class="left-img"></image>
  99. </view>
  100. <view class="user-list-tit">
  101. 我的收藏
  102. </view>
  103. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  104. </view>
  105. <view class="user-list flex" @click="openKf()">
  106. <view class="user-list-image flex">
  107. <image src="../../static/icon/u4.png" mode="heightFix" class="left-img"></image>
  108. </view>
  109. <view class="user-list-tit">
  110. 客服中心
  111. </view>
  112. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  113. </view>
  114. <view class="user-list flex" @click="navTo('/pages/set/address')">
  115. <view class="user-list-image">
  116. <image src="../../static/icon/u5.png" mode="heightFix" class="left-img"></image>
  117. </view>
  118. <view class="user-list-tit">
  119. 收货地址
  120. </view>
  121. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  122. </view>
  123. <view class="user-list flex" @click="navTo('/pages/set/userinfo')">
  124. <view class="user-list-image">
  125. <image src="../../static/icon/u6.png" mode="heightFix" class="left-img"></image>
  126. </view>
  127. <view class="user-list-tit">
  128. 设置
  129. </view>
  130. <image src="../../static/icon/back.png" mode="heightFix" class="right-img"></image>
  131. </view>
  132. <view class="" style="height: 20rpx;">
  133. </view>
  134. <uni-popup ref="popupkf" type="center">
  135. <view class="popup-box">
  136. <view class="img">
  137. <image src="../../static/img/img009.png" mode=""></image>
  138. </view>
  139. <view class="mian">
  140. <view class="delivery">
  141. <view class="title">已经为您定制专属客服</view>
  142. <image src="../../static/img/img010.png" mode=""></image>
  143. </view>
  144. <view class="nocancel">客服VX:{{ text }}</view>
  145. <view class="comfirm-box">
  146. <view class="cancel" @click="cancel">取消</view>
  147. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  148. </view>
  149. </view>
  150. </view>
  151. </uni-popup>
  152. </view>
  153. </template>
  154. <script>
  155. import {
  156. mapState,
  157. mapMutations
  158. } from 'vuex';
  159. import uniList from '@/components/uni-list/uni-list.vue';
  160. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  161. import {
  162. orderData,
  163. getUserInfo,
  164. check
  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','login']),
  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. sao() {
  239. let obj = this;
  240. // #ifndef H5
  241. uni.scanCode({
  242. success(e) {
  243. obj.code = e.result;
  244. obj.$refs.popuphx.open();
  245. console.log(obj.$refs.popuphx);
  246. }
  247. });
  248. // #endif
  249. },
  250. comfirm(text) {
  251. console.log(text);
  252. const result = this.uniCopy(text);
  253. if (result === false) {
  254. uni.showToast({
  255. title: '不支持'
  256. });
  257. } else {
  258. uni.showToast({
  259. title: '复制成功',
  260. icon: 'none'
  261. });
  262. }
  263. this.$refs.popupkf.close();
  264. },
  265. uniCopy(content) {
  266. /**
  267. * 小程序端 和 app端的复制逻辑
  268. */
  269. //#ifndef H5
  270. uni.setClipboardData({
  271. data: content,
  272. success: function() {
  273. console.log('success');
  274. return true;
  275. }
  276. });
  277. //#endif
  278. /**
  279. * H5端的复制逻辑
  280. */
  281. // #ifdef H5
  282. if (!document.queryCommandSupported('copy')) {
  283. //为了兼容有些浏览器 queryCommandSupported 的判断
  284. // 不支持
  285. return false;
  286. }
  287. let textarea = document.createElement('textarea');
  288. textarea.value = content;
  289. textarea.readOnly = 'readOnly';
  290. document.body.appendChild(textarea);
  291. textarea.select(); // 选择对象
  292. textarea.setSelectionRange(0, content.length); //核心
  293. let result = document.execCommand('copy'); // 执行浏览器复制命令
  294. textarea.remove();
  295. return result;
  296. // #endif
  297. },
  298. // 加载初始数据
  299. loadBaseData() {
  300. getUserInfo({})
  301. .then(({
  302. data
  303. }) => {
  304. console.log(data.nickname)
  305. this.login()
  306. this.setUserInfo(data);
  307. })
  308. .catch(e => {
  309. console.log(e);
  310. });
  311. },
  312. /**
  313. * 统一跳转接口,拦截未登录路由
  314. * navigator标签现在默认没有转场动画,所以用view
  315. */
  316. navTo(url) {
  317. console.log(url);
  318. console.log(this.hasLogin,'haslogin')
  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. %flex-center {
  369. display: flex;
  370. flex-direction: column;
  371. justify-content: center;
  372. align-items: center;
  373. }
  374. %section {
  375. display: flex;
  376. justify-content: space-around;
  377. align-content: center;
  378. background: #fff;
  379. border-radius: 10rpx;
  380. }
  381. .container,
  382. page {
  383. min-height: 100%;
  384. height: auto;
  385. background-color: #fff;
  386. }
  387. .vheigh {
  388. height: var(--status-bar-height);
  389. background-color: $base-color;
  390. }
  391. .top-image {
  392. position: absolute;
  393. top: 0;
  394. left: 0;
  395. right: 0;
  396. height: 529rpx;
  397. image {
  398. width: 100%;
  399. height: 100%;
  400. }
  401. }
  402. .popup-box {
  403. width: 522rpx;
  404. height: 605rpx;
  405. background-color: #ffffff;
  406. border-radius: 20rpx;
  407. position: relative;
  408. .img {
  409. position: relative;
  410. top: -56rpx;
  411. left: 0;
  412. width: 522rpx;
  413. height: 132rpx;
  414. display: flex;
  415. justify-content: center;
  416. image {
  417. border-radius: 20rpx 20rpx 0 0;
  418. width: 450rpx;
  419. height: 132rpx;
  420. }
  421. }
  422. .mian {
  423. margin-top: -44rpx;
  424. display: flex;
  425. flex-direction: column;
  426. align-items: center;
  427. // padding: 32rpx 32rpx;
  428. background-color: #ffffff;
  429. border-radius: 0 0 20rpx 20rpx;
  430. text-align: center;
  431. .delivery {
  432. font-size: 40rpx;
  433. color: #333333;
  434. display: flex;
  435. align-items: center;
  436. flex-direction: column;
  437. image {
  438. margin-top: 48rpx;
  439. width: 172rpx;
  440. height: 160rpx;
  441. }
  442. }
  443. .nocancel {
  444. font-size: 32rpx;
  445. color: #333333;
  446. margin-top: 14rpx;
  447. }
  448. .comfirm-box {
  449. margin-top: 52rpx;
  450. display: flex;
  451. // margin-bottom: 32rpx;
  452. // justify-content: space-around;
  453. .cancel {
  454. display: flex;
  455. align-items: center;
  456. justify-content: center;
  457. width: 197rpx;
  458. height: 74rpx;
  459. border: 1px solid #dcc786;
  460. border-radius: 38rpx;
  461. font-size: 32rpx;
  462. color: #605128;
  463. }
  464. .comfirm {
  465. margin-left: 32rpx;
  466. display: flex;
  467. align-items: center;
  468. justify-content: center;
  469. width: 197rpx;
  470. height: 74rpx;
  471. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  472. border-radius: 38px;
  473. font-size: 32rpx;
  474. color: #605128;
  475. }
  476. }
  477. }
  478. }
  479. .user-box {
  480. position: relative;
  481. z-index: 2;
  482. width: 690rpx;
  483. margin: 0 auto;
  484. /* #ifdef MP-WEIXIN */
  485. margin: -100rpx auto 0;
  486. /* #endif */
  487. border-radius: 20rpx;
  488. display: flex;
  489. flex-direction: column;
  490. align-items: center;
  491. padding: 54rpx 0 30rpx;
  492. line-height: 1;
  493. position: relative;
  494. .u-set {
  495. position: absolute;
  496. top: 85rpx;
  497. right: 40rpx;
  498. width: 44rpx;
  499. height: 44rpx;
  500. }
  501. .user-leve {
  502. width: 161rpx;
  503. height: 51rpx;
  504. background: #FFFFFF;
  505. border-radius: 25rpx;
  506. position: absolute;
  507. top: 85rpx;
  508. right: 40rpx;
  509. display: flex;
  510. justify-content: flex-start;
  511. align-items: center;
  512. padding-left: 20rpx;
  513. image {
  514. width: 25rpx;
  515. margin-right: 10rpx;
  516. }
  517. font-size: 26rpx;
  518. font-weight: 500;
  519. color: #FF4C4C;
  520. }
  521. .user-info {
  522. justify-content: flex-start;
  523. width: 100%;
  524. padding-left: 40rpx;
  525. .avatar {
  526. border-radius: 50%;
  527. width: 132rpx;
  528. height: 132rpx;
  529. background-color: #eee;
  530. margin-right: 18rpx;
  531. }
  532. .user-uid {
  533. padding-top: 10rpx;
  534. font-size: 24rpx;
  535. font-weight: 500;
  536. color: #fff;
  537. }
  538. }
  539. .user-name {
  540. width: 300rpx;
  541. margin-top: 14rpx;
  542. // font-size: 30rpx;
  543. font-size: $ltl-size-big;
  544. font-family: PingFang SC;
  545. font-weight: bold;
  546. color: #fff;
  547. }
  548. .user-shop {
  549. margin-top: 10rpx;
  550. display: flex;
  551. justify-content: flex-start;
  552. align-items: center;
  553. .user-shop-item {
  554. position: relative;
  555. margin: 0 10rpx;
  556. width: 180rpx;
  557. height: 55rpx;
  558. .user-shop-icon {
  559. position: absolute;
  560. top: 0;
  561. left: 0;
  562. right: 0;
  563. width: 180rpx;
  564. height: 55rpx;
  565. }
  566. .user-shopname {
  567. padding-left:60rpx;
  568. position: relative;
  569. z-index: 2;
  570. font-size: 30rpx;
  571. font-weight: 500;
  572. color: #977843;
  573. line-height: 55rpx;
  574. text-align: left;
  575. }
  576. }
  577. }
  578. // .user-shop {
  579. // margin-top: 10rpx;
  580. // display: flex;
  581. // justify-content: center;
  582. // align-items: center;
  583. // .user-shop-icon {
  584. // width: 22rpx;
  585. // height: 22rpx;
  586. // }
  587. // .user-shopname {
  588. // margin-left: 6rpx;
  589. // font-size: 20rpx;
  590. // font-family: PingFang SC;
  591. // font-weight: 500;
  592. // color: #ff7e3e;
  593. // }
  594. // }
  595. .user-money {
  596. width: 100%;
  597. margin-top: 50rpx;
  598. justify-content: center;
  599. .user-money-item {
  600. width: 50%;
  601. display: flex;
  602. flex-direction: column;
  603. justify-content: center;
  604. align-items: center;
  605. .user-money-num {
  606. font-size: 36rpx;
  607. font-family: PingFang SC;
  608. font-weight: bold;
  609. color: #fff;
  610. }
  611. .user-money-font {
  612. margin-top: 20rpx;
  613. font-size: $ltl-size-lg;
  614. font-weight: 500;
  615. color: #fff;
  616. }
  617. }
  618. .user-xian {
  619. width: 1px;
  620. height: 77rpx;
  621. background: #eeeeee;
  622. }
  623. }
  624. }
  625. .main-box {
  626. position: relative;
  627. margin:-10rpx auto 0;
  628. border-radius: 25rpx 25rpx 0 0;
  629. width: 750rpx;
  630. background: #ffffff;
  631. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  632. .title {
  633. display: flex;
  634. justify-content: space-between;
  635. align-items: center;
  636. padding: 24rpx;
  637. // border-bottom: 1px solid #eeeeee;
  638. .title-left {
  639. display: flex;
  640. align-items: center;
  641. .title-icon {
  642. width: 32rpx;
  643. height: 32rpx;
  644. }
  645. .title-font {
  646. margin-left: 20rpx;
  647. font-size:30rpx;
  648. font-family: PingFang SC;
  649. font-weight: bold;
  650. color: #333333;
  651. }
  652. }
  653. .title-right {
  654. width: 14rpx;
  655. height: 24rpx;
  656. }
  657. }
  658. .main {
  659. padding: 0rpx 0 30rpx;
  660. .jg {
  661. width: 1px;
  662. height: 100rpx;
  663. background: #eeeeee;
  664. }
  665. .item {
  666. padding-bottom: 20rpx;
  667. width: 25%;
  668. display: flex;
  669. flex-direction: column;
  670. align-items: center;
  671. .item-num {
  672. font-size: 36rpx;
  673. font-family: PingFang SC;
  674. font-weight: bold;
  675. color: #333333;
  676. }
  677. .item-font {
  678. margin-top: 18rpx;
  679. font-size: 22rpx;
  680. font-family: PingFang SC;
  681. font-weight: 500;
  682. color: #666666;
  683. }
  684. }
  685. .oitem {
  686. width: 33%;
  687. display: flex;
  688. flex-direction: column;
  689. align-items: center;
  690. .oitem-image {
  691. height: 76rpx;
  692. width: 76rpx;
  693. }
  694. .oitem-font {
  695. margin-top: 20rpx;
  696. font-size: 24rpx;
  697. font-family: PingFang SC;
  698. font-weight: 500;
  699. color: #333333;
  700. }
  701. }
  702. }
  703. }
  704. .tool-list {
  705. width: 690rpx;
  706. margin: 20rpx auto 0;
  707. background: #ffffff;
  708. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  709. border-radius: 20rpx;
  710. }
  711. .psw-wrapper {
  712. width: 548rpx;
  713. padding: 20rpx 0;
  714. background-color: #ffffff;
  715. border-radius: 15rpx 15rpx;
  716. .psw-title {
  717. width: 100%;
  718. font-size: 35rpx;
  719. padding: 0 0 40rpx;
  720. text-align: center;
  721. font-weight: 800;
  722. }
  723. .psw-content {
  724. width: 100%;
  725. font-size: 32rpx;
  726. text-align: center;
  727. }
  728. .psw-price {
  729. font-weight: bold;
  730. font-size: 68rpx;
  731. text-align: center;
  732. padding-top: 10rpx;
  733. }
  734. .psw-jg {
  735. height: 1px;
  736. width: 500rpx;
  737. background-color: #eee;
  738. margin: auto;
  739. }
  740. .psw-paytype {
  741. justify-content: space-between;
  742. padding: 10rpx 25rpx 30rpx;
  743. font-size: 26rpx;
  744. }
  745. .psw-ipt {
  746. display: block;
  747. background-color: #dce3ed;
  748. height: 90rpx;
  749. width: 464rpx;
  750. padding-left: 30rpx;
  751. margin: 0 auto;
  752. font-size: 80rpx;
  753. }
  754. .psw-btn text {
  755. display: inline-block;
  756. text-align: center;
  757. width: 50%;
  758. padding-top: 29rpx;
  759. font-size: 35rpx;
  760. }
  761. .psw-qd {
  762. color: #ff4c4c;
  763. }
  764. }
  765. .hx-wrapper {
  766. width: 536rpx;
  767. height: 630rpx;
  768. position: relative;
  769. // background-color: #fff;
  770. .hx-img {
  771. width: 536rpx;
  772. height: 281rpx;
  773. image {
  774. width: 536rpx;
  775. height: 281rpx;
  776. }
  777. }
  778. .hx-close {
  779. position: absolute;
  780. left: 243rpx;
  781. bottom: -80rpx;
  782. width: 52rpx;
  783. height: 52rpx;
  784. image {
  785. width: 52rpx;
  786. height: 52rpx;
  787. }
  788. }
  789. .hx-body {
  790. width: 536rpx;
  791. height: 349rpx;
  792. background-color: #fff;
  793. border-radius: 0 0 10rpx 10rpx;
  794. .hx-title {
  795. width: 536rpx;
  796. font-size: 36rpx;
  797. font-weight: 500;
  798. color: #333333;
  799. line-height: 1;
  800. padding-top: 42rpx;
  801. text-align: center;
  802. }
  803. input {
  804. width: 439rpx;
  805. height: 68rpx;
  806. background: #dbf3e9;
  807. border-radius: 10rpx;
  808. margin: 39rpx auto 0;
  809. padding-left: 26rpx;
  810. .hx-placeholder {
  811. font-size: 26rpx;
  812. font-weight: 500;
  813. color: #ff4c4c;
  814. }
  815. }
  816. .hx-btn {
  817. margin: 44rpx auto 0;
  818. width: 353rpx;
  819. height: 71rpx;
  820. background: #ff4c4c;
  821. border-radius: 34rpx;
  822. font-size: 36rpx;
  823. font-weight: 500;
  824. color: #f8f9f9;
  825. line-height: 71rpx;
  826. text-align: center;
  827. }
  828. }
  829. }
  830. .user-list {
  831. width: 691rpx;
  832. height: 104rpx;
  833. background: #FFFFFF;
  834. // box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  835. border-radius: 28rpx;
  836. margin: 0 auto;
  837. padding: 0 25rpx;
  838. .user-list-image {
  839. width: 60rpx;
  840. .left-img {
  841. display: block;
  842. height: 40rpx;
  843. }
  844. }
  845. .user-list-tit {
  846. padding-left: 20rpx;
  847. flex-grow: 1;
  848. font-size: 29rpx;
  849. font-weight: bold;
  850. color: #5D5D5D;
  851. }
  852. .right-img {
  853. width: 13rpx;
  854. height: 23rpx;
  855. }
  856. }
  857. </style>