user.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  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-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.enroll_status == 2 " style="width: 180rpx;">
  17. <image class="user-shop-icon" src="../../static/img/level.png" mode=""
  18. style="width: 180rpx;"></image>
  19. <view class="user-shopname" style="padding-left: 70rpx;">
  20. 代理
  21. </view>
  22. </view>
  23. <!-- <view class="user-shop-item" >
  24. <image class="user-shop-icon" src="../../static/img/level.png" mode="" style="width: 140rpx;"></image>
  25. <view class="user-shopname">
  26. {{userInfo.identity == 0?'粉丝':(userInfo.identity == 1?'店员':userInfo.identity == 2?'店长':'')}}
  27. </view>
  28. </view> -->
  29. <!-- </view> -->
  30. <!-- <view class="user-uid">UID:{{ userInfo.uid || ''}}</view> -->
  31. <!-- <view class="user-shop" v-if="userInfo.user_rule != 'user'">
  32. <view class="user-shopname">{{ userInfo.identity == 2 ? '店长' : userInfo.identity == 1 ? '店员' : '粉丝' }}</view>
  33. </view> -->
  34. </view>
  35. </view>
  36. </view>
  37. <view class="user-money flex">
  38. <view class="user-money-item" @click="navTo('/pages/user/award')">
  39. <view class="user-money-num">{{ userInfo.brokerage_price*1 || 0 }}</view>
  40. <view class="user-money-font">我的佣金</view>
  41. </view>
  42. <view class="user-xian"></view>
  43. <view class="user-money-item" @click="navTo('/pages/user/yue')">
  44. <view class="user-money-num">{{ userInfo.now_money*1 || 0 }}</view>
  45. <view class="user-money-font">我的钱包</view>
  46. </view>
  47. <view class="user-xian"></view>
  48. <view class="user-money-item" @click="navTo('/pages/user/jf')">
  49. <view class="user-money-num">{{ userInfo.integral*1 || 0 }}</view>
  50. <view class="user-money-font">我的积分</view>
  51. </view>
  52. <!-- <view class="user-money-item" @click="navTo('/pages/user/team')">
  53. <view class="user-money-num">{{ userInfo.spread_count || 0 }}</view>
  54. <view class="user-money-font">我的推广</view>
  55. </view> -->
  56. </view>
  57. <image src="../../static/icon/u-set.png" mode="" class="u-set" @click="navTo('/pages/set/userinfo')">
  58. </image>
  59. </view>
  60. <!-- -->
  61. <image src="../../static/img/sqdl.png" mode="widthFix" class="sqdl" @click="sqdl" v-if="userInfo.enroll_status != 2"></image>
  62. <view class="main-box">
  63. <view class="title flex" @click="navTo('/pages/order/order?state=0')">
  64. <view class="title-left">
  65. <view class="title-font">我的订单</view>
  66. </view>
  67. <image class="title-right" src="../../static/icon/back.png" mode=""></image>
  68. </view>
  69. <view class="main flex">
  70. <view class="oitem" @click="navTo('/pages/order/order?state=0')">
  71. <image class="oitem-image" src="../../static/icon/o1.png" mode=""></image>
  72. <view class="oitem-font">待付款</view>
  73. </view>
  74. <view class="oitem" @click="navTo('/pages/order/order?state=1')">
  75. <image class="oitem-image" src="../../static/icon/o2.png" mode=""></image>
  76. <view class="oitem-font">待发货</view>
  77. </view>
  78. <view class="oitem" @click="navTo('/pages/order/order?state=2')">
  79. <image class="oitem-image" src="../../static/icon/o3.png" mode=""></image>
  80. <view class="oitem-font">待收货</view>
  81. </view>
  82. <view class="oitem" @click="navTo('/pages/order/order?state=3')">
  83. <image class="oitem-image" src="../../static/icon/o4.png" mode=""></image>
  84. <view class="oitem-font">已完成</view>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="user-list flex" @click="navTo('/pages/user/favorites')">
  89. <image src="../../static/icon/u-sc.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="navTo('/pages/user/shareQrCode')">
  96. <image src="../../static/icon/u1.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/user/team')">
  103. <image src="../../static/icon/gn1.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/address')">
  110. <image src="../../static/icon/u2.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="user-list flex" @click="openKf()">
  117. <image src="../../static/icon/u3.png" mode="" class="left-img"></image>
  118. <view class="">
  119. 客服
  120. </view>
  121. <image src="../../static/icon/back.png" mode="" class="right-img"></image>
  122. </view>
  123. <view class="" style="height: 20rpx;">
  124. </view>
  125. <uni-popup ref="popupkf" type="center">
  126. <view class="popup-box">
  127. <view class="img">
  128. <image src="../../static/img/img009.png" mode=""></image>
  129. </view>
  130. <view class="mian">
  131. <view class="delivery">
  132. <view class="title">已经为您定制专属客服</view>
  133. <image src="../../static/img/img010.png" mode=""></image>
  134. </view>
  135. <view class="nocancel">客服VX:{{ text }}</view>
  136. <view class="comfirm-box">
  137. <view class="cancel" @click="cancel">取消</view>
  138. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  139. </view>
  140. </view>
  141. </view>
  142. </uni-popup>
  143. </view>
  144. </template>
  145. <script>
  146. import {
  147. mapState,
  148. mapMutations
  149. } from 'vuex';
  150. import uniList from '@/components/uni-list/uni-list.vue';
  151. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  152. import {
  153. orderData,
  154. getUserInfo,
  155. check
  156. } from '@/api/user.js';
  157. import {
  158. saveUrl,
  159. interceptor
  160. } from '@/utils/loginUtils.js';
  161. let startY = 0,
  162. moveY = 0,
  163. pageAtTop = true;
  164. export default {
  165. components: {
  166. uniList,
  167. uniListItem
  168. },
  169. data() {
  170. return {
  171. current: 2,
  172. id: '', //是否已签到
  173. store_name: '',
  174. achievement: '',
  175. code: '',
  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. getUserInfo({})
  306. .then(({
  307. data
  308. }) => {
  309. console.log(data.nickname)
  310. this.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. .u-set {
  500. position: absolute;
  501. top: 85rpx;
  502. right: 40rpx;
  503. width: 44rpx;
  504. height: 44rpx;
  505. }
  506. .user-info {
  507. justify-content: flex-start;
  508. width: 100%;
  509. padding-left: 40rpx;
  510. .avatar {
  511. border-radius: 50%;
  512. width: 132rpx;
  513. height: 132rpx;
  514. background-color: #eee;
  515. margin-right: 18rpx;
  516. }
  517. .user-uid {
  518. padding-top: 10rpx;
  519. font-size: 24rpx;
  520. font-weight: 500;
  521. color: #666666;
  522. }
  523. }
  524. .user-name {
  525. width: 300rpx;
  526. margin-top: 14rpx;
  527. // font-size: 30rpx;
  528. font-size: $ltl-size-big;
  529. font-family: PingFang SC;
  530. font-weight: bold;
  531. color: #333333;
  532. }
  533. .user-shop {
  534. margin-top: 10rpx;
  535. display: flex;
  536. justify-content: flex-start;
  537. align-items: center;
  538. .user-shop-item {
  539. position: relative;
  540. margin: 0 10rpx;
  541. width: 180rpx;
  542. height: 55rpx;
  543. .user-shop-icon {
  544. position: absolute;
  545. top: 0;
  546. left: 0;
  547. right: 0;
  548. width: 180rpx;
  549. height: 55rpx;
  550. }
  551. .user-shopname {
  552. padding-left:60rpx;
  553. position: relative;
  554. z-index: 2;
  555. font-size: 30rpx;
  556. font-weight: 500;
  557. color: #977843;
  558. line-height: 55rpx;
  559. text-align: left;
  560. }
  561. }
  562. }
  563. // .user-shop {
  564. // margin-top: 10rpx;
  565. // display: flex;
  566. // justify-content: center;
  567. // align-items: center;
  568. // .user-shop-icon {
  569. // width: 22rpx;
  570. // height: 22rpx;
  571. // }
  572. // .user-shopname {
  573. // margin-left: 6rpx;
  574. // font-size: 20rpx;
  575. // font-family: PingFang SC;
  576. // font-weight: 500;
  577. // color: #ff7e3e;
  578. // }
  579. // }
  580. .user-money {
  581. width: 100%;
  582. margin-top: 50rpx;
  583. justify-content: center;
  584. .user-money-item {
  585. width: 50%;
  586. display: flex;
  587. flex-direction: column;
  588. justify-content: center;
  589. align-items: center;
  590. .user-money-num {
  591. font-size: 36rpx;
  592. font-family: PingFang SC;
  593. font-weight: bold;
  594. color: #333333;
  595. }
  596. .user-money-font {
  597. margin-top: 20rpx;
  598. font-size: $ltl-size-lg;
  599. font-weight: 500;
  600. color: #666666;
  601. }
  602. }
  603. .user-xian {
  604. width: 1px;
  605. height: 77rpx;
  606. background: #eeeeee;
  607. }
  608. }
  609. }
  610. .main-box {
  611. margin: 20rpx auto 0;
  612. width: 710rpx;
  613. background: #ffffff;
  614. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  615. border-radius: 20rpx;
  616. .title {
  617. display: flex;
  618. justify-content: space-between;
  619. align-items: center;
  620. padding: 24rpx;
  621. border-bottom: 1px solid #eeeeee;
  622. .title-left {
  623. display: flex;
  624. align-items: center;
  625. .title-icon {
  626. width: 32rpx;
  627. height: 32rpx;
  628. }
  629. .title-font {
  630. margin-left: 20rpx;
  631. font-size:30rpx;
  632. font-family: PingFang SC;
  633. font-weight: bold;
  634. color: #333333;
  635. }
  636. }
  637. .title-right {
  638. width: 14rpx;
  639. height: 24rpx;
  640. }
  641. }
  642. .main {
  643. padding: 50rpx 0 30rpx;
  644. .jg {
  645. width: 1px;
  646. height: 100rpx;
  647. background: #eeeeee;
  648. }
  649. .item {
  650. padding-bottom: 20rpx;
  651. width: 25%;
  652. display: flex;
  653. flex-direction: column;
  654. align-items: center;
  655. .item-num {
  656. font-size: 36rpx;
  657. font-family: PingFang SC;
  658. font-weight: bold;
  659. color: #333333;
  660. }
  661. .item-font {
  662. margin-top: 18rpx;
  663. font-size: 22rpx;
  664. font-family: PingFang SC;
  665. font-weight: 500;
  666. color: #666666;
  667. }
  668. }
  669. .oitem {
  670. width: 33%;
  671. display: flex;
  672. flex-direction: column;
  673. align-items: center;
  674. .oitem-image {
  675. height: 40rpx;
  676. width: 42rpx;
  677. }
  678. .oitem-font {
  679. margin-top: 20rpx;
  680. font-size: 24rpx;
  681. font-family: PingFang SC;
  682. font-weight: 500;
  683. color: #333333;
  684. }
  685. }
  686. }
  687. }
  688. .tool-list {
  689. width: 690rpx;
  690. margin: 20rpx auto 0;
  691. background: #ffffff;
  692. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  693. border-radius: 20rpx;
  694. }
  695. .psw-wrapper {
  696. width: 548rpx;
  697. padding: 20rpx 0;
  698. background-color: #ffffff;
  699. border-radius: 15rpx 15rpx;
  700. .psw-title {
  701. width: 100%;
  702. font-size: 35rpx;
  703. padding: 0 0 40rpx;
  704. text-align: center;
  705. font-weight: 800;
  706. }
  707. .psw-content {
  708. width: 100%;
  709. font-size: 32rpx;
  710. text-align: center;
  711. }
  712. .psw-price {
  713. font-weight: bold;
  714. font-size: 68rpx;
  715. text-align: center;
  716. padding-top: 10rpx;
  717. }
  718. .psw-jg {
  719. height: 1px;
  720. width: 500rpx;
  721. background-color: #eee;
  722. margin: auto;
  723. }
  724. .psw-paytype {
  725. justify-content: space-between;
  726. padding: 10rpx 25rpx 30rpx;
  727. font-size: 26rpx;
  728. }
  729. .psw-ipt {
  730. display: block;
  731. background-color: #dce3ed;
  732. height: 90rpx;
  733. width: 464rpx;
  734. padding-left: 30rpx;
  735. margin: 0 auto;
  736. font-size: 80rpx;
  737. }
  738. .psw-btn text {
  739. display: inline-block;
  740. text-align: center;
  741. width: 50%;
  742. padding-top: 29rpx;
  743. font-size: 35rpx;
  744. }
  745. .psw-qd {
  746. color: #ff4c4c;
  747. }
  748. }
  749. .hx-wrapper {
  750. width: 536rpx;
  751. height: 630rpx;
  752. position: relative;
  753. // background-color: #fff;
  754. .hx-img {
  755. width: 536rpx;
  756. height: 281rpx;
  757. image {
  758. width: 536rpx;
  759. height: 281rpx;
  760. }
  761. }
  762. .hx-close {
  763. position: absolute;
  764. left: 243rpx;
  765. bottom: -80rpx;
  766. width: 52rpx;
  767. height: 52rpx;
  768. image {
  769. width: 52rpx;
  770. height: 52rpx;
  771. }
  772. }
  773. .hx-body {
  774. width: 536rpx;
  775. height: 349rpx;
  776. background-color: #fff;
  777. border-radius: 0 0 10rpx 10rpx;
  778. .hx-title {
  779. width: 536rpx;
  780. font-size: 36rpx;
  781. font-weight: 500;
  782. color: #333333;
  783. line-height: 1;
  784. padding-top: 42rpx;
  785. text-align: center;
  786. }
  787. input {
  788. width: 439rpx;
  789. height: 68rpx;
  790. background: #dbf3e9;
  791. border-radius: 10rpx;
  792. margin: 39rpx auto 0;
  793. padding-left: 26rpx;
  794. .hx-placeholder {
  795. font-size: 26rpx;
  796. font-weight: 500;
  797. color: #ff4c4c;
  798. }
  799. }
  800. .hx-btn {
  801. margin: 44rpx auto 0;
  802. width: 353rpx;
  803. height: 71rpx;
  804. background: #ff4c4c;
  805. border-radius: 34rpx;
  806. font-size: 36rpx;
  807. font-weight: 500;
  808. color: #f8f9f9;
  809. line-height: 71rpx;
  810. text-align: center;
  811. }
  812. }
  813. }
  814. .user-list {
  815. width: 691rpx;
  816. height: 104rpx;
  817. background: #FFFFFF;
  818. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  819. border-radius: 28rpx;
  820. margin: 20rpx auto;
  821. padding: 0 25rpx;
  822. .left-img {
  823. width: 40rpx;
  824. height: 40rpx;
  825. }
  826. view {
  827. padding-left: 20rpx;
  828. flex-grow: 1;
  829. font-size: 29rpx;
  830. font-weight: bold;
  831. color: #5D5D5D;
  832. }
  833. .right-img {
  834. width: 13rpx;
  835. height: 23rpx;
  836. }
  837. }
  838. .sqdl {
  839. display: block;
  840. width: 689rpx;
  841. margin: 20rpx auto 20rpx;
  842. }
  843. </style>