user.vue 18 KB

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