user.vue 21 KB

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