user.vue 20 KB

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