user.vue 18 KB

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