user.vue 20 KB

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