user.vue 19 KB

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