user.vue 21 KB

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