user.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936
  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-shop flex" v-if="userInfo.uid">
  10. <view class="user-shop-item" v-if="userInfo.level_info" style="width: 180rpx;">
  11. <image class="user-shop-icon" src="../../static/icon/level.png" mode="" style="width: 180rpx;">
  12. </image>
  13. <view class="user-shopname" style="padding-left: 70rpx;">
  14. {{userInfo.level_info.name}}
  15. </view>
  16. </view>
  17. </view>
  18. <image class="avatar" :src="userInfo.avatar" mode="" v-if="userInfo.avatar"
  19. @click="navTo('/pages/set/userinfo')"></image>
  20. <image class="avatar" src="../../static/error/missing-face.png" mode="" v-else></image>
  21. <!-- <view class="dz" v-if="userInfo.is_v1 && userInfo.is_v1 ==1">
  22. <view class="dz-bg">
  23. <image src="../../static/icon/dz.png" mode=""></image>
  24. </view>
  25. <view class="dz-font">
  26. 店长
  27. </view>
  28. </view> -->
  29. <view class="user-name-id">
  30. <view class="user-name clamp1">{{ userInfo.nickname || '游客'}}</view>
  31. <!-- <view class="dl" v-if="userInfo && userInfo.area_admin > 0">
  32. <image class="dl-icon" src="../../static/icon/dl.png" mode=""></image>
  33. <view class="dl-font">
  34. {{userInfo.area_admin == 1?'省代':userInfo.area_admin == 2?'市代':userInfo.area_admin == 3?'区代':'镇代'}}
  35. </view>
  36. </view> -->
  37. </view>
  38. <view class="user-money flex">
  39. <view class="user-money-item" @click="navTo('/pages/user/award')">
  40. <view class="user-money-num">{{ userInfo.brokerage_price*1 || 0 }}</view>
  41. <view class="user-money-font">我的佣金</view>
  42. </view>
  43. <view class="user-xian"></view>
  44. <view class="user-money-item" @click="navTo('/pages/user/yue')">
  45. <view class="user-money-num">{{ userInfo.now_money*1 || 0 }}</view>
  46. <view class="user-money-font">我的余额</view>
  47. </view>
  48. <view class="user-xian"></view>
  49. <view class="user-money-item" @click="navTo('/pages/user/team')">
  50. <view class="user-money-num">{{ userInfo.spread_count || 0 }}</view>
  51. <view class="user-money-font">我的推广</view>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="main-box">
  56. <view class="title flex" @click="navTo('/pages/order/order?state=0')">
  57. <view class="title-left">
  58. <view class="title-font">我的订单</view>
  59. </view>
  60. <image class="title-right" src="../../static/icon/back.png" mode=""></image>
  61. </view>
  62. <view class="main flex">
  63. <view class="oitem" @click="navTo('/pages/order/order?state=0')">
  64. <image class="oitem-image" src="../../static/icon/o1.png" mode=""></image>
  65. <view class="oitem-font">待付款</view>
  66. </view>
  67. <view class="oitem" @click="navTo('/pages/order/order?state=1')">
  68. <image class="oitem-image" src="../../static/icon/o2.png" mode=""></image>
  69. <view class="oitem-font">待发货</view>
  70. </view>
  71. <view class="oitem" @click="navTo('/pages/order/order?state=2')">
  72. <image class="oitem-image" src="../../static/icon/o3.png" mode=""></image>
  73. <view class="oitem-font">待收货</view>
  74. </view>
  75. <view class="oitem" @click="navTo('/pages/order/order?state=3')">
  76. <image class="oitem-image" src="../../static/icon/o4.png" mode=""></image>
  77. <view class="oitem-font">已完成</view>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="user-list flex" @click="navTo('/pages/user/shareQrCode')">
  82. <image src="../../static/icon/u0.png" mode="" class="left-img"></image>
  83. <view class="">
  84. 邀请海报
  85. </view>
  86. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  87. </view>
  88. <view class="user-list flex" @click="navTo('/pages/user/favorites')">
  89. <image src="../../static/icon/u1.png" mode="" class="left-img"></image>
  90. <view class="">
  91. 我的收藏
  92. </view>
  93. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  94. </view>
  95. <view class="user-list flex" @click="openKf()">
  96. <image src="../../static/icon/u2.png" mode="" class="left-img"></image>
  97. <view class="">
  98. 客服中心
  99. </view>
  100. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  101. </view>
  102. <view class="user-list flex" @click="navTo('/pages/set/address')">
  103. <image src="../../static/icon/u3.png" mode="" class="left-img"></image>
  104. <view class="">
  105. 收货地址
  106. </view>
  107. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  108. </view>
  109. <view class="user-list flex" @click="navTo('/pages/set/userinfo')">
  110. <image src="../../static/icon/u4.png" mode="" class="left-img"></image>
  111. <view class="">
  112. 设置
  113. </view>
  114. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  115. </view>
  116. <view class="" style="height: 20rpx;">
  117. </view>
  118. <uni-popup ref="popupkf" type="center">
  119. <view class="popup-box">
  120. <view class="img">
  121. <image src="../../static/img/img009.png" mode=""></image>
  122. </view>
  123. <view class="mian">
  124. <view class="delivery">
  125. <view class="title">已经为您定制专属客服</view>
  126. <image src="../../static/img/img010.png" mode=""></image>
  127. </view>
  128. <view class="nocancel">客服1VX:{{ text1 }}</view>
  129. <view class="nocancel">客服2VX:{{ text2 }}</view>
  130. <view class="comfirm-box">
  131. <view class="cancel" @click="comfirm(text1)">复制客服1</view>
  132. <view class="comfirm" @click="comfirm(text2)">复制客服2</view>
  133. </view>
  134. </view>
  135. </view>
  136. </uni-popup>
  137. </view>
  138. </template>
  139. <script>
  140. import {
  141. mapState,
  142. mapMutations
  143. } from 'vuex';
  144. import uniList from '@/components/uni-list/uni-list.vue';
  145. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  146. import {
  147. orderData,
  148. getUserInfo,
  149. check,
  150. getLevelList
  151. } from '@/api/user.js';
  152. import {
  153. saveUrl,
  154. interceptor
  155. } from '@/utils/loginUtils.js';
  156. let startY = 0,
  157. moveY = 0,
  158. pageAtTop = true;
  159. export default {
  160. components: {
  161. uniList,
  162. uniListItem
  163. },
  164. data() {
  165. return {
  166. current: 2,
  167. id: '', //是否已签到
  168. store_name: '',
  169. achievement: '',
  170. code: '',
  171. levelList: [],
  172. text1: 'yangqianqian131419', //客服1微信
  173. text2: 'AHFM134', //客服2微信
  174. };
  175. },
  176. onShow() {
  177. // 判断是否已经登录
  178. // if (this.hasLogin) {
  179. // this.loadBaseData();
  180. // }
  181. this.loadBaseData();
  182. },
  183. filters: {
  184. phone(e) {
  185. var subStr1 = e.substr(0, 3);
  186. var subStr2 = e.substr(e.length - 4, 4);
  187. var subStr = subStr1 + '...' + subStr2;
  188. e = subStr;
  189. return e;
  190. }
  191. },
  192. onReady() {
  193. // 初始化获取页面宽度
  194. uni.createSelectorQuery()
  195. .select('.container')
  196. .fields({
  197. size: true
  198. },
  199. data => {
  200. // 计算最多下拉的高度
  201. this.userDowm = Math.floor((data.width / 750) * 185);
  202. // 计算最大触发修改高度事件
  203. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  204. }
  205. )
  206. .exec();
  207. },
  208. computed: {
  209. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin'])
  210. },
  211. methods: {
  212. ...mapMutations('user', ['setUserInfo']),
  213. sqdl() {
  214. if (this.hasLogin) {
  215. if (this.userInfo.enroll_status == 1) {
  216. uni.showModal({
  217. title: "提示",
  218. content: '您提交的申请正在审核中,请耐心等待审核'
  219. })
  220. } else {
  221. this.navTo('/pages/user/sqdl')
  222. }
  223. } else {
  224. this.navTo('/pages/user/sqdl')
  225. }
  226. },
  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. const obj = this
  303. getUserInfo({})
  304. .then(({
  305. data
  306. }) => {
  307. obj.setUserInfo(data);
  308. })
  309. .catch(e => {
  310. console.log(e);
  311. });
  312. },
  313. /**
  314. * 统一跳转接口,拦截未登录路由
  315. * navigator标签现在默认没有转场动画,所以用view
  316. */
  317. navTo(url) {
  318. console.log(url);
  319. if (!this.hasLogin) {
  320. // 保存地址
  321. saveUrl();
  322. // 登录拦截
  323. interceptor();
  324. } else {
  325. uni.navigateTo({
  326. url
  327. });
  328. }
  329. },
  330. close() {
  331. this.$refs.popuphx.close();
  332. this.code = '';
  333. },
  334. // 打开客服
  335. openKf() {
  336. this.$refs.popupkf.open();
  337. },
  338. // 关闭客服
  339. cancel() {
  340. this.$refs.popupkf.close();
  341. },
  342. // 打开绑定
  343. open() {
  344. this.$refs.gspass.open();
  345. },
  346. cast() {
  347. set_waiter({
  348. uid: this.id
  349. })
  350. .then(e => {
  351. this.$api.msg('绑定成功');
  352. this.$refs.gspass.close();
  353. this.id = '';
  354. })
  355. .catch(err => {
  356. this.$refs.gspass.close();
  357. this.id = '';
  358. });
  359. },
  360. cancelpass() {
  361. this.$refs.gspass.close();
  362. this.id = '';
  363. }
  364. }
  365. };
  366. </script>
  367. <style lang="scss">
  368. %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: $page-color-base;
  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: 228rpx;
  397. image {
  398. width: 100%;
  399. height: 100%;
  400. }
  401. }
  402. .popup-box {
  403. width: 522rpx;
  404. height: 625rpx;
  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. background: #ffffff;
  488. box-shadow: 0px 4rpx 13rpx 0px rgba(229, 229, 229, 0.46);
  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. .avatar {
  497. border-radius: 50%;
  498. width: 132rpx;
  499. height: 132rpx;
  500. background-color: #eee;
  501. position: relative;
  502. }
  503. .dz {
  504. position: relative;
  505. z-index: 2;
  506. margin-top: -30rpx;
  507. width: 120rpx;
  508. height: 40rpx;
  509. .dz-bg {
  510. position: absolute;
  511. top: 0;
  512. left: 0;
  513. right: 0;
  514. width: 120rpx;
  515. height: 40rpx;
  516. image {
  517. width: 100%;
  518. height: 100%;
  519. }
  520. }
  521. .dz-font {
  522. padding-left: 20rpx;
  523. text-align: center;
  524. position: relative;
  525. z-index: 3;
  526. line-height: 40rpx;
  527. color: #f1e2b3;
  528. font-family: PingFang SC;
  529. font-weight: bold;
  530. font-size: 24rpx;
  531. }
  532. }
  533. .user-name {
  534. text-align: center;
  535. margin-top: 14rpx;
  536. // font-size: 30rpx;
  537. font-size: $ltl-size-big;
  538. font-family: PingFang SC;
  539. font-weight: bold;
  540. color: #333333;
  541. }
  542. .dl {
  543. margin-top: 20rpx;
  544. display: flex;
  545. justify-content: center;
  546. align-items: center;
  547. .dl-icon {
  548. width: 30rpx;
  549. height: 30rpx;
  550. }
  551. .dl-font {
  552. margin-left: 10rpx;
  553. font-family: PingFang SC;
  554. font-weight: bold;
  555. color: #ff7523;
  556. font-size: 26rpx;
  557. }
  558. }
  559. .user-shop {
  560. position: absolute;
  561. right: 0;
  562. display: flex;
  563. justify-content: flex-start;
  564. align-items: center;
  565. .user-shop-item {
  566. margin: 10rpx auto 0;
  567. position: relative;
  568. width: 150rpx;
  569. height: 55rpx;
  570. .user-shop-icon {
  571. position: absolute;
  572. top: 0;
  573. left: 0;
  574. right: 0;
  575. width: 150rpx;
  576. height: 55rpx;
  577. }
  578. .user-shopname {
  579. padding-left: 60rpx;
  580. position: relative;
  581. z-index: 2;
  582. font-size: 30rpx;
  583. font-weight: 500;
  584. color: #977843;
  585. line-height: 55rpx;
  586. text-align: left;
  587. }
  588. }
  589. }
  590. .user-money {
  591. width: 100%;
  592. margin-top: 50rpx;
  593. justify-content: center;
  594. .user-money-item {
  595. width: 50%;
  596. display: flex;
  597. flex-direction: column;
  598. justify-content: center;
  599. align-items: center;
  600. .user-money-num {
  601. font-size: 36rpx;
  602. font-family: PingFang SC;
  603. font-weight: bold;
  604. color: #333333;
  605. }
  606. .user-money-font {
  607. margin-top: 20rpx;
  608. font-size: $ltl-size-lg;
  609. font-weight: 500;
  610. color: #666666;
  611. }
  612. }
  613. .user-xian {
  614. width: 1px;
  615. height: 77rpx;
  616. background: #eeeeee;
  617. }
  618. }
  619. }
  620. .main-box {
  621. margin: 20rpx auto 0;
  622. width: 710rpx;
  623. background: #ffffff;
  624. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  625. border-radius: 20rpx;
  626. .title {
  627. display: flex;
  628. justify-content: space-between;
  629. align-items: center;
  630. padding: 24rpx;
  631. border-bottom: 1px solid #eeeeee;
  632. .title-left {
  633. display: flex;
  634. align-items: center;
  635. .title-icon {
  636. width: 32rpx;
  637. height: 32rpx;
  638. }
  639. .title-font {
  640. margin-left: 20rpx;
  641. font-size: 30rpx;
  642. font-family: PingFang SC;
  643. font-weight: bold;
  644. color: #333333;
  645. }
  646. }
  647. .title-right {
  648. width: 14rpx;
  649. height: 24rpx;
  650. }
  651. }
  652. .main {
  653. padding: 50rpx 0 30rpx;
  654. .jg {
  655. width: 1px;
  656. height: 100rpx;
  657. background: #eeeeee;
  658. }
  659. .item {
  660. padding-bottom: 20rpx;
  661. width: 25%;
  662. display: flex;
  663. flex-direction: column;
  664. align-items: center;
  665. .item-num {
  666. font-size: 36rpx;
  667. font-family: PingFang SC;
  668. font-weight: bold;
  669. color: #333333;
  670. }
  671. .item-font {
  672. margin-top: 18rpx;
  673. font-size: 22rpx;
  674. font-family: PingFang SC;
  675. font-weight: 500;
  676. color: #666666;
  677. }
  678. }
  679. .oitem {
  680. width: 33%;
  681. display: flex;
  682. flex-direction: column;
  683. align-items: center;
  684. .oitem-image {
  685. height: 40rpx;
  686. width: 42rpx;
  687. }
  688. .oitem-font {
  689. margin-top: 20rpx;
  690. font-size: 24rpx;
  691. font-family: PingFang SC;
  692. font-weight: 500;
  693. color: #333333;
  694. }
  695. }
  696. }
  697. }
  698. .tool-list {
  699. width: 690rpx;
  700. margin: 20rpx auto 0;
  701. background: #ffffff;
  702. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  703. border-radius: 20rpx;
  704. }
  705. .psw-wrapper {
  706. width: 548rpx;
  707. padding: 20rpx 0;
  708. background-color: #ffffff;
  709. border-radius: 15rpx 15rpx;
  710. .psw-title {
  711. width: 100%;
  712. font-size: 35rpx;
  713. padding: 0 0 40rpx;
  714. text-align: center;
  715. font-weight: 800;
  716. }
  717. .psw-content {
  718. width: 100%;
  719. font-size: 32rpx;
  720. text-align: center;
  721. }
  722. .psw-price {
  723. font-weight: bold;
  724. font-size: 68rpx;
  725. text-align: center;
  726. padding-top: 10rpx;
  727. }
  728. .psw-jg {
  729. height: 1px;
  730. width: 500rpx;
  731. background-color: #eee;
  732. margin: auto;
  733. }
  734. .psw-paytype {
  735. justify-content: space-between;
  736. padding: 10rpx 25rpx 30rpx;
  737. font-size: 26rpx;
  738. }
  739. .psw-ipt {
  740. display: block;
  741. background-color: #dce3ed;
  742. height: 90rpx;
  743. width: 464rpx;
  744. padding-left: 30rpx;
  745. margin: 0 auto;
  746. font-size: 80rpx;
  747. }
  748. .psw-btn text {
  749. display: inline-block;
  750. text-align: center;
  751. width: 50%;
  752. padding-top: 29rpx;
  753. font-size: 35rpx;
  754. }
  755. .psw-qd {
  756. color: #ff4c4c;
  757. }
  758. }
  759. .hx-wrapper {
  760. width: 536rpx;
  761. height: 630rpx;
  762. position: relative;
  763. // background-color: #fff;
  764. .hx-img {
  765. width: 536rpx;
  766. height: 281rpx;
  767. image {
  768. width: 536rpx;
  769. height: 281rpx;
  770. }
  771. }
  772. .hx-close {
  773. position: absolute;
  774. left: 243rpx;
  775. bottom: -80rpx;
  776. width: 52rpx;
  777. height: 52rpx;
  778. image {
  779. width: 52rpx;
  780. height: 52rpx;
  781. }
  782. }
  783. .hx-body {
  784. width: 536rpx;
  785. height: 349rpx;
  786. background-color: #fff;
  787. border-radius: 0 0 10rpx 10rpx;
  788. .hx-title {
  789. width: 536rpx;
  790. font-size: 36rpx;
  791. font-weight: 500;
  792. color: #333333;
  793. line-height: 1;
  794. padding-top: 42rpx;
  795. text-align: center;
  796. }
  797. input {
  798. width: 439rpx;
  799. height: 68rpx;
  800. background: #dbf3e9;
  801. border-radius: 10rpx;
  802. margin: 39rpx auto 0;
  803. padding-left: 26rpx;
  804. .hx-placeholder {
  805. font-size: 26rpx;
  806. font-weight: 500;
  807. color: #ff4c4c;
  808. }
  809. }
  810. .hx-btn {
  811. margin: 44rpx auto 0;
  812. width: 353rpx;
  813. height: 71rpx;
  814. background: #ff4c4c;
  815. border-radius: 34rpx;
  816. font-size: 36rpx;
  817. font-weight: 500;
  818. color: #f8f9f9;
  819. line-height: 71rpx;
  820. text-align: center;
  821. }
  822. }
  823. }
  824. .user-list {
  825. width: 691rpx;
  826. height: 104rpx;
  827. background: #FFFFFF;
  828. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  829. border-radius: 28rpx;
  830. margin: 20rpx auto;
  831. padding: 0 25rpx;
  832. .left-img {
  833. width: 40rpx;
  834. height: 40rpx;
  835. }
  836. view {
  837. padding-left: 20rpx;
  838. flex-grow: 1;
  839. font-size: 29rpx;
  840. font-weight: bold;
  841. color: #5D5D5D;
  842. }
  843. .right-img {
  844. width: 13rpx;
  845. height: 23rpx;
  846. }
  847. }
  848. .sqdl {
  849. display: block;
  850. width: 689rpx;
  851. margin: 20rpx auto 20rpx;
  852. }
  853. </style>