user.vue 19 KB

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