user.vue 19 KB

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