user.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  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: 150rpx;"></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 class="user-shop flex" v-if="userInfo.uid">
  16. <view class="user-shop-item" v-if="userInfo.level > 0" style="width: 150rpx;">
  17. <image class="user-shop-icon" src="../../static/img/level.png" mode=""
  18. style="width: 150rpx;"></image>
  19. <view class="user-shopname" style="padding-left: 30rpx;">
  20. {{userInfo.level == 1?'微店':(userInfo.level == 2?'区代':(userInfo.level == 3 ? '市代':(userInfo.level == 4 ? '省代': '总代')))}}
  21. </view>
  22. </view>
  23. </view>
  24. <!-- <view class="user-uid">UID:{{ userInfo.uid || ''}}</view> -->
  25. <!-- <view class="user-shop" v-if="userInfo.user_rule != 'user'">
  26. <view class="user-shopname">{{ userInfo.identity == 2 ? '店长' : userInfo.identity == 1 ? '店员' : '粉丝' }}</view>
  27. </view> -->
  28. </view>
  29. </view>
  30. <view class="user-money flex">
  31. <view class="user-money-item" @click="navTo('/pages/user/award')">
  32. <view class="user-money-num">{{ userInfo.brokerage_price*1 || 0 }}</view>
  33. <view class="user-money-font">我的佣金</view>
  34. </view>
  35. <view class="user-xian"></view>
  36. <view class="user-money-item" @click="navTo('/pages/user/yue')">
  37. <view class="user-money-num">{{ userInfo.now_money*1 || 0 }}</view>
  38. <view class="user-money-font">我的钱包</view>
  39. </view>
  40. <view class="user-xian"></view>
  41. <!-- <view class="user-money-item" @click="navTo('/pages/user/jf')">
  42. <view class="user-money-num">{{ userInfo.integral*1 || 0 }}</view>
  43. <view class="user-money-font">我的积分</view>
  44. </view> -->
  45. <view class="user-money-item" @click="navTo('/pages/user/jf')">
  46. <view class="user-money-num">{{ userInfo.integral*1 || 0 }}</view>
  47. <view class="user-money-font">我的积分</view>
  48. </view>
  49. </view>
  50. <image src="../../static/icon/u-set.png" mode="" class="u-set" @click="navTo('/pages/set/userinfo')">
  51. </image>
  52. </view>
  53. <view class="main-box">
  54. <view class="title flex" @click="navTo('/pages/order/order?state=0')">
  55. <view class="title-left">
  56. <view class="title-font">我的订单</view>
  57. </view>
  58. <image class="title-right" src="../../static/icon/back.png" mode=""></image>
  59. </view>
  60. <view class="main flex">
  61. <view class="oitem" @click="navTo('/pages/order/order?state=0')">
  62. <image class="oitem-image" src="../../static/icon/o1.png" mode=""></image>
  63. <view class="oitem-font">待付款</view>
  64. </view>
  65. <view class="oitem" @click="navTo('/pages/order/order?state=1')">
  66. <image class="oitem-image" src="../../static/icon/o2.png" mode=""></image>
  67. <view class="oitem-font">待发货</view>
  68. </view>
  69. <view class="oitem" @click="navTo('/pages/order/order?state=2')">
  70. <image class="oitem-image" src="../../static/icon/o3.png" mode=""></image>
  71. <view class="oitem-font">待收货</view>
  72. </view>
  73. <view class="oitem" @click="navTo('/pages/order/order?state=3')">
  74. <image class="oitem-image" src="../../static/icon/o4.png" mode=""></image>
  75. <view class="oitem-font">已完成</view>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="user-list flex" @click="navTo('/pages/user/favorites')">
  80. <image src="../../static/icon/u-sc.png" mode="" class="left-img"></image>
  81. <view class="">
  82. 我的收藏
  83. </view>
  84. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  85. </view>
  86. <view class="user-list flex" @click="navTo('/pages/user/shareQrCode')">
  87. <image src="../../static/icon/u1.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/team')">
  94. <image src="../../static/icon/gn1.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="navTo('/pages/set/address')">
  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="openKf()">
  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="" style="height: 20rpx;">
  115. </view>
  116. <uni-popup ref="popupkf" type="center">
  117. <view class="popup-box">
  118. <view class="img">
  119. <image src="../../static/img/img009.png" mode=""></image>
  120. </view>
  121. <view class="mian">
  122. <view class="delivery">
  123. <view class="title">已经为您定制专属客服</view>
  124. <image src="../../static/img/img010.png" mode=""></image>
  125. </view>
  126. <view class="nocancel">客服VX:{{ text }}</view>
  127. <view class="comfirm-box">
  128. <view class="cancel" @click="cancel">取消</view>
  129. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  130. </view>
  131. </view>
  132. </view>
  133. </uni-popup>
  134. </view>
  135. </template>
  136. <script>
  137. import {
  138. mapState,
  139. mapMutations
  140. } from 'vuex';
  141. import uniList from '@/components/uni-list/uni-list.vue';
  142. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  143. import {
  144. orderData,
  145. getUserInfo,
  146. check
  147. } from '@/api/user.js';
  148. import {
  149. saveUrl,
  150. interceptor
  151. } from '@/utils/loginUtils.js';
  152. let startY = 0,
  153. moveY = 0,
  154. pageAtTop = true;
  155. export default {
  156. components: {
  157. uniList,
  158. uniListItem
  159. },
  160. data() {
  161. return {
  162. current: 2,
  163. id: '', //是否已签到
  164. store_name: '',
  165. achievement: '',
  166. code: '',
  167. text: '' //客服微信
  168. };
  169. },
  170. onShow() {
  171. // 判断是否已经登录
  172. // if (this.hasLogin) {
  173. // this.loadBaseData();
  174. // }
  175. this.loadBaseData();
  176. // uni.getS
  177. let a = uni.getStorageSync(
  178. 'jynickname'
  179. )
  180. if (a == 1 && this.userInfo.nickname == '微信用户') {
  181. uni.setStorageSync('jynickname', 2)
  182. uni.showModal({
  183. title: '提示',
  184. content: '您的昵称为默认昵称“微信用户”,是否立即修改?',
  185. complete(res) {
  186. if (res.confirm) {
  187. uni.navigateTo({
  188. url: '/pages/set/userinfo'
  189. })
  190. }
  191. }
  192. })
  193. }
  194. },
  195. filters: {
  196. phone(e) {
  197. var subStr1 = e.substr(0, 3);
  198. var subStr2 = e.substr(e.length - 4, 4);
  199. var subStr = subStr1 + '...' + subStr2;
  200. e = subStr;
  201. return e;
  202. }
  203. },
  204. onReady() {
  205. // 初始化获取页面宽度
  206. uni.createSelectorQuery()
  207. .select('.container')
  208. .fields({
  209. size: true
  210. },
  211. data => {
  212. // 计算最多下拉的高度
  213. this.userDowm = Math.floor((data.width / 750) * 185);
  214. // 计算最大触发修改高度事件
  215. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  216. }
  217. )
  218. .exec();
  219. },
  220. computed: {
  221. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin'])
  222. },
  223. methods: {
  224. ...mapMutations('user', ['setUserInfo']),
  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. getUserInfo({})
  301. .then(({
  302. data
  303. }) => {
  304. console.log(data.nickname)
  305. this.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. shaoma() {
  363. uni.scanCode({
  364. success(e) {
  365. console.log(e,'e++++++++++++')
  366. }
  367. });
  368. }
  369. }
  370. };
  371. </script>
  372. <style lang="scss">
  373. %flex-center {
  374. display: flex;
  375. flex-direction: column;
  376. justify-content: center;
  377. align-items: center;
  378. }
  379. %section {
  380. display: flex;
  381. justify-content: space-around;
  382. align-content: center;
  383. background: #fff;
  384. border-radius: 10rpx;
  385. }
  386. .container,
  387. page {
  388. min-height: 100%;
  389. height: auto;
  390. background-color: $page-color-base;
  391. }
  392. .vheigh {
  393. height: var(--status-bar-height);
  394. background-color: $base-color;
  395. }
  396. .top-image {
  397. position: absolute;
  398. top: 0;
  399. left: 0;
  400. right: 0;
  401. height: 230rpx;
  402. image {
  403. width: 100%;
  404. height: 100%;
  405. }
  406. }
  407. .popup-box {
  408. width: 522rpx;
  409. height: 605rpx;
  410. background-color: #ffffff;
  411. border-radius: 20rpx;
  412. position: relative;
  413. .img {
  414. position: relative;
  415. top: -56rpx;
  416. left: 0;
  417. width: 522rpx;
  418. height: 132rpx;
  419. display: flex;
  420. justify-content: center;
  421. image {
  422. border-radius: 20rpx 20rpx 0 0;
  423. width: 450rpx;
  424. height: 132rpx;
  425. }
  426. }
  427. .mian {
  428. margin-top: -44rpx;
  429. display: flex;
  430. flex-direction: column;
  431. align-items: center;
  432. // padding: 32rpx 32rpx;
  433. background-color: #ffffff;
  434. border-radius: 0 0 20rpx 20rpx;
  435. text-align: center;
  436. .delivery {
  437. font-size: 40rpx;
  438. color: #333333;
  439. display: flex;
  440. align-items: center;
  441. flex-direction: column;
  442. image {
  443. margin-top: 48rpx;
  444. width: 172rpx;
  445. height: 160rpx;
  446. }
  447. }
  448. .nocancel {
  449. font-size: 32rpx;
  450. color: #333333;
  451. margin-top: 14rpx;
  452. }
  453. .comfirm-box {
  454. margin-top: 52rpx;
  455. display: flex;
  456. // margin-bottom: 32rpx;
  457. // justify-content: space-around;
  458. .cancel {
  459. display: flex;
  460. align-items: center;
  461. justify-content: center;
  462. width: 197rpx;
  463. height: 74rpx;
  464. border: 1px solid #dcc786;
  465. border-radius: 38rpx;
  466. font-size: 32rpx;
  467. color: #605128;
  468. }
  469. .comfirm {
  470. margin-left: 32rpx;
  471. display: flex;
  472. align-items: center;
  473. justify-content: center;
  474. width: 197rpx;
  475. height: 74rpx;
  476. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  477. border-radius: 38px;
  478. font-size: 32rpx;
  479. color: #605128;
  480. }
  481. }
  482. }
  483. }
  484. .user-box {
  485. position: relative;
  486. z-index: 2;
  487. width: 690rpx;
  488. margin: 0 auto;
  489. /* #ifdef MP-WEIXIN */
  490. margin: -100rpx auto 0;
  491. /* #endif */
  492. background: #ffffff;
  493. box-shadow: 0px 4rpx 13rpx 0px rgba(229, 229, 229, 0.46);
  494. border-radius: 20rpx;
  495. display: flex;
  496. flex-direction: column;
  497. align-items: center;
  498. padding: 54rpx 0 30rpx;
  499. line-height: 1;
  500. position: relative;
  501. .u-set {
  502. position: absolute;
  503. top: 85rpx;
  504. right: 40rpx;
  505. width: 44rpx;
  506. height: 44rpx;
  507. }
  508. .user-info {
  509. justify-content: flex-start;
  510. width: 100%;
  511. padding-left: 40rpx;
  512. .avatar {
  513. border-radius: 50%;
  514. width: 132rpx;
  515. height: 132rpx;
  516. background-color: #eee;
  517. margin-right: 18rpx;
  518. }
  519. .user-uid {
  520. padding-top: 10rpx;
  521. font-size: 24rpx;
  522. font-weight: 500;
  523. color: #666666;
  524. }
  525. }
  526. .user-name {
  527. width: 300rpx;
  528. margin-top: 14rpx;
  529. font-size: 30rpx;
  530. font-family: PingFang SC;
  531. font-weight: bold;
  532. color: #333333;
  533. }
  534. .user-shop {
  535. margin-top: 10rpx;
  536. display: flex;
  537. justify-content: flex-start;
  538. align-items: center;
  539. .user-shop-item {
  540. position: relative;
  541. margin: 0 10rpx;
  542. width: 105rpx;
  543. height: 42rpx;
  544. .user-shop-icon {
  545. position: absolute;
  546. top: 0;
  547. left: 0;
  548. right: 0;
  549. width: 105rpx;
  550. height: 42rpx;
  551. }
  552. .user-shopname {
  553. padding-left: 18rpx;
  554. position: relative;
  555. z-index: 2;
  556. font-size: 20rpx;
  557. font-family: PingFang SC;
  558. font-weight: 500;
  559. color: #977843;
  560. line-height: 42rpx;
  561. text-align: center;
  562. }
  563. }
  564. }
  565. // .user-shop {
  566. // margin-top: 10rpx;
  567. // display: flex;
  568. // justify-content: center;
  569. // align-items: center;
  570. // .user-shop-icon {
  571. // width: 22rpx;
  572. // height: 22rpx;
  573. // }
  574. // .user-shopname {
  575. // margin-left: 6rpx;
  576. // font-size: 20rpx;
  577. // font-family: PingFang SC;
  578. // font-weight: 500;
  579. // color: #ff7e3e;
  580. // }
  581. // }
  582. .user-money {
  583. width: 100%;
  584. margin-top: 50rpx;
  585. justify-content: center;
  586. .user-money-item {
  587. width: 50%;
  588. display: flex;
  589. flex-direction: column;
  590. justify-content: center;
  591. align-items: center;
  592. .user-money-num {
  593. font-size: 36rpx;
  594. font-family: PingFang SC;
  595. font-weight: bold;
  596. color: #333333;
  597. }
  598. .user-money-font {
  599. margin-top: 20rpx;
  600. font-size: 30rpx;
  601. font-weight: 500;
  602. color: #666666;
  603. }
  604. }
  605. .user-xian {
  606. width: 1px;
  607. height: 77rpx;
  608. background: #eeeeee;
  609. }
  610. }
  611. }
  612. .main-box {
  613. margin: 20rpx auto 0;
  614. width: 710rpx;
  615. background: #ffffff;
  616. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  617. border-radius: 20rpx;
  618. .title {
  619. display: flex;
  620. justify-content: space-between;
  621. align-items: center;
  622. padding: 24rpx;
  623. border-bottom: 1px solid #eeeeee;
  624. .title-left {
  625. display: flex;
  626. align-items: center;
  627. .title-icon {
  628. width: 32rpx;
  629. height: 32rpx;
  630. }
  631. .title-font {
  632. margin-left: 20rpx;
  633. font-size: 28rpx;
  634. font-family: PingFang SC;
  635. font-weight: bold;
  636. color: #333333;
  637. }
  638. }
  639. .title-right {
  640. width: 14rpx;
  641. height: 24rpx;
  642. }
  643. }
  644. .main {
  645. padding: 50rpx 0 30rpx;
  646. .jg {
  647. width: 1px;
  648. height: 100rpx;
  649. background: #eeeeee;
  650. }
  651. .item {
  652. padding-bottom: 20rpx;
  653. width: 25%;
  654. display: flex;
  655. flex-direction: column;
  656. align-items: center;
  657. .item-num {
  658. font-size: 36rpx;
  659. font-family: PingFang SC;
  660. font-weight: bold;
  661. color: #333333;
  662. }
  663. .item-font {
  664. margin-top: 18rpx;
  665. font-size: 22rpx;
  666. font-family: PingFang SC;
  667. font-weight: 500;
  668. color: #666666;
  669. }
  670. }
  671. .oitem {
  672. width: 33%;
  673. display: flex;
  674. flex-direction: column;
  675. align-items: center;
  676. .oitem-image {
  677. height: 40rpx;
  678. width: 42rpx;
  679. }
  680. .oitem-font {
  681. margin-top: 20rpx;
  682. font-size: 30rpx;
  683. font-weight: 500;
  684. color: #333333;
  685. }
  686. }
  687. }
  688. }
  689. .tool-list {
  690. width: 690rpx;
  691. margin: 20rpx auto 0;
  692. background: #ffffff;
  693. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  694. border-radius: 20rpx;
  695. }
  696. .psw-wrapper {
  697. width: 548rpx;
  698. padding: 20rpx 0;
  699. background-color: #ffffff;
  700. border-radius: 15rpx 15rpx;
  701. .psw-title {
  702. width: 100%;
  703. font-size: 35rpx;
  704. padding: 0 0 40rpx;
  705. text-align: center;
  706. font-weight: 800;
  707. }
  708. .psw-content {
  709. width: 100%;
  710. font-size: 32rpx;
  711. text-align: center;
  712. }
  713. .psw-price {
  714. font-weight: bold;
  715. font-size: 68rpx;
  716. text-align: center;
  717. padding-top: 10rpx;
  718. }
  719. .psw-jg {
  720. height: 1px;
  721. width: 500rpx;
  722. background-color: #eee;
  723. margin: auto;
  724. }
  725. .psw-paytype {
  726. justify-content: space-between;
  727. padding: 10rpx 25rpx 30rpx;
  728. font-size: 26rpx;
  729. }
  730. .psw-ipt {
  731. display: block;
  732. background-color: #dce3ed;
  733. height: 90rpx;
  734. width: 464rpx;
  735. padding-left: 30rpx;
  736. margin: 0 auto;
  737. font-size: 80rpx;
  738. }
  739. .psw-btn text {
  740. display: inline-block;
  741. text-align: center;
  742. width: 50%;
  743. padding-top: 29rpx;
  744. font-size: 35rpx;
  745. }
  746. .psw-qd {
  747. color: #ff4c4c;
  748. }
  749. }
  750. .hx-wrapper {
  751. width: 536rpx;
  752. height: 630rpx;
  753. position: relative;
  754. // background-color: #fff;
  755. .hx-img {
  756. width: 536rpx;
  757. height: 281rpx;
  758. image {
  759. width: 536rpx;
  760. height: 281rpx;
  761. }
  762. }
  763. .hx-close {
  764. position: absolute;
  765. left: 243rpx;
  766. bottom: -80rpx;
  767. width: 52rpx;
  768. height: 52rpx;
  769. image {
  770. width: 52rpx;
  771. height: 52rpx;
  772. }
  773. }
  774. .hx-body {
  775. width: 536rpx;
  776. height: 349rpx;
  777. background-color: #fff;
  778. border-radius: 0 0 10rpx 10rpx;
  779. .hx-title {
  780. width: 536rpx;
  781. font-size: 36rpx;
  782. font-weight: 500;
  783. color: #333333;
  784. line-height: 1;
  785. padding-top: 42rpx;
  786. text-align: center;
  787. }
  788. input {
  789. width: 439rpx;
  790. height: 68rpx;
  791. background: #dbf3e9;
  792. border-radius: 10rpx;
  793. margin: 39rpx auto 0;
  794. padding-left: 26rpx;
  795. .hx-placeholder {
  796. font-size: 26rpx;
  797. font-weight: 500;
  798. color: #ff4c4c;
  799. }
  800. }
  801. .hx-btn {
  802. margin: 44rpx auto 0;
  803. width: 353rpx;
  804. height: 71rpx;
  805. background: #ff4c4c;
  806. border-radius: 34rpx;
  807. font-size: 36rpx;
  808. font-weight: 500;
  809. color: #f8f9f9;
  810. line-height: 71rpx;
  811. text-align: center;
  812. }
  813. }
  814. }
  815. .user-list {
  816. width: 691rpx;
  817. height: 104rpx;
  818. background: #FFFFFF;
  819. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  820. border-radius: 28rpx;
  821. margin: 20rpx auto;
  822. padding: 0 25rpx;
  823. .left-img {
  824. width: 40rpx;
  825. height: 40rpx;
  826. }
  827. view {
  828. padding-left: 20rpx;
  829. flex-grow: 1;
  830. font-size: 32rpx;
  831. font-weight: bold;
  832. color: #5D5D5D;
  833. }
  834. .right-img {
  835. width: 13rpx;
  836. height: 23rpx;
  837. }
  838. }
  839. </style>