user.vue 19 KB

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