user.vue 19 KB

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