user.vue 19 KB

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