user.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993
  1. <template>
  2. <view class="container">
  3. <view class="userinfo flex">
  4. <view class="avt">
  5. <image src="../../static/error/missing-face.png" mode=""></image>
  6. </view>
  7. <view class="info">
  8. <view class="name clamp">
  9. 李丹丹李丹丹李丹丹李丹丹李丹丹李丹丹李丹丹李丹丹李丹丹
  10. </view>
  11. <view class="id flex">
  12. <view class="xs">
  13. ID
  14. </view>
  15. <view class="val">
  16. 236322
  17. </view>
  18. <image src="../../static/user/copy.png" mode="" class="copy"></image>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="ks flex">
  23. <image src="../../static/user/ks.png" mode=""></image>
  24. <view class="value">
  25. <view class="val">
  26. 7772032.30
  27. </view>
  28. <view class="">
  29. 我的矿石
  30. </view>
  31. </view>
  32. <view class="btn ">
  33. 转赠
  34. </view>
  35. </view>
  36. <view class="friend">
  37. <view class="top flex">
  38. <view class="">
  39. 邀请好友
  40. </view>
  41. <image src="../../static/user/djl.png" mode=""></image>
  42. <view class="tc">
  43. </view>
  44. <view class="xq">
  45. 详情<image src="../../static/user/back.png" mode=""></image>
  46. </view>
  47. </view>
  48. <view class="tit">
  49. 好友会为你贡献一定比例的奖励
  50. </view>
  51. <view class="val-wrap flex">
  52. <view class="item ">
  53. <view class="val">
  54. 72032.30
  55. </view>
  56. <view class="">
  57. 累计收益
  58. </view>
  59. </view>
  60. <view class="item item1">
  61. <view class="val">
  62. 203
  63. </view>
  64. <view class="">
  65. 好友数
  66. </view>
  67. </view>
  68. <view class="btn">
  69. 邀请好友
  70. </view>
  71. </view>
  72. </view>
  73. <view class="main-box">
  74. <view class="title flex">
  75. <view class="title-left">
  76. <view class="title-font">常用功能</view>
  77. </view>
  78. <!-- <image class="title-right" src="../../static/icon/back.png" mode=""></image> -->
  79. </view>
  80. <view class="main flex">
  81. <view class="oitem" @click="navTo('/pages/order/order?state=0')">
  82. <image class="oitem-image" src="../../static/user/u1.png" mode=""></image>
  83. <view class="oitem-font">我的好友</view>
  84. </view>
  85. <view class="oitem" @click="openTc('popupkf')">
  86. <image class="oitem-image" src="../../static/user/u2.png" mode=""></image>
  87. <view class="oitem-font">联系客服</view>
  88. </view>
  89. <view class="oitem" @click="openTc('popuptj')">
  90. <image class="oitem-image" src="../../static/user/u3.png" mode=""></image>
  91. <view class="oitem-font">我的邀请人</view>
  92. </view>
  93. <view class="oitem" @click="openTc('popupcz')">
  94. <image class="oitem-image" src="../../static/user/u5.png" mode=""></image>
  95. <view class="oitem-font">开通联盟</view>
  96. </view>
  97. <view class="oitem" @click="navTo('/pages/order/order?state=3')">
  98. <image class="oitem-image" src="../../static/user/u4.png" mode=""></image>
  99. <view class="oitem-font">设置</view>
  100. </view>
  101. </view>
  102. </view>
  103. <uni-popup ref="popupkf" type="center">
  104. <view class="popup-box">
  105. <view class="tit">
  106. 联系客服
  107. </view>
  108. <image src="../../static/user/kf.png" mode="" class="kf"></image>
  109. <view class="wx">
  110. 客服VX:{{kf}}
  111. </view>
  112. <view class="btn" @click="comfirm(kf)">
  113. 复制微信
  114. </view>
  115. <image src="../../static/user/close.png" mode="" class="close" @click="closeTc('popupkf')"></image>
  116. </view>
  117. </uni-popup>
  118. <uni-popup ref="popuptj" type="center">
  119. <view class="popup-box">
  120. <view class="tit">
  121. 我的推荐人
  122. </view>
  123. <!-- <image src="../../static/user/kf.png" mode=""></image> -->
  124. <image src="../../static/error/missing-face.png" mode="" class="avt"></image>
  125. <view class="wx">
  126. 李丹丹
  127. </view>
  128. <view class="id">
  129. ID号:2363226
  130. </view>
  131. <view class="btn" @click="comfirm(kf)">
  132. 复制ID号
  133. </view>
  134. <image src="../../static/user/close.png" mode="" class="close" @click="closeTc('popuptj')"></image>
  135. </view>
  136. </uni-popup>
  137. <uni-popup ref="popupcz" type="center">
  138. <view class="popup-box popup-box1">
  139. <view class="tit">
  140. 成为城主
  141. </view>
  142. <view class="jj">
  143. 成为城主后可以随时解除城主身份,取消后<br>7个工作日内若无任何经济纠纷,<br>质押的矿石将退回。
  144. </view>
  145. <view class="item flex" v-for="(item,index) in lmList">
  146. <image :src="'../../static/user/lm' + index + '.png'" mode="" class="logo"></image>
  147. <view class="dec">
  148. <text>{{item.level}}</text>{{item.dec}}
  149. </view>
  150. <view class="check">
  151. <image src="../../static/user/select.png" mode="" class="schecked" v-if="item.checked"></image>
  152. <view class="nocheck" v-else>
  153. </view>
  154. </view>
  155. </view>
  156. <view class="yue">
  157. <image src="../../static/index/index/icon01.png" mode=""></image>
  158. <view class="">
  159. 拥有矿石 <text>10000</text> 个,开通需 <text>10000</text> 个
  160. </view>
  161. </view>
  162. <view class="btn">
  163. 确认开通
  164. </view>
  165. <image src="../../static/user/close.png" mode="" class="close" @click="closeTc('popupcz')"></image>
  166. </view>
  167. </uni-popup>
  168. </view>
  169. </template>
  170. <script>
  171. // import {
  172. // tabbar1
  173. // } from '@/utils/tabbar.js';
  174. import {
  175. mapState,
  176. mapMutations
  177. } from 'vuex';
  178. import uniList from '@/components/uni-list/uni-list.vue';
  179. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  180. import uniCopy from '@/components/js_sdk/xb-copy/uni-copy.js';
  181. import {
  182. orderData,
  183. getUserInfo,
  184. rate,
  185. apply_status
  186. } from '@/api/user.js';
  187. import {
  188. signList,
  189. integral,
  190. signUser
  191. } from '@/api/functionalUnit.js';
  192. import {
  193. saveUrl,
  194. interceptor
  195. } from '@/utils/loginUtils.js';
  196. // #ifdef APP-PLUS
  197. import {
  198. getUpApp
  199. } from '@/utils/upApp.js';
  200. // #endif
  201. let startY = 0,
  202. moveY = 0,
  203. pageAtTop = true;
  204. export default {
  205. components: {
  206. uniList,
  207. uniListItem
  208. },
  209. data() {
  210. return {
  211. lmList: [
  212. {
  213. level: '领主',
  214. dec: '(质押 10 万矿石 获得转赠手续费 5%)',
  215. id: 1,
  216. checked: false
  217. },
  218. {
  219. level: '一级城主',
  220. dec: '(质押 3 万矿石 获得转赠手续费 3% , 获得 2 级城主转赠收费 10%)',
  221. id: 1,
  222. checked: false
  223. },
  224. {
  225. level: '二级城主',
  226. dec: '(质押 1万矿石 获得转赠手续费 2%, 由 1 级城主推荐获得 3 级城主转赠手续费收益)',
  227. id: 1,
  228. checked: false
  229. },
  230. {
  231. level: '三级城主',
  232. dec: '(质押 5000矿石 获得转赠手续费 2% , 由 2 级城主推荐)',
  233. id: 1,
  234. checked: false
  235. }
  236. ],
  237. kf: '18967672398',
  238. // #ifdef APP
  239. wgtinfo: {
  240. version: '1.0.0'
  241. }, //版本信息
  242. // #endif
  243. sm: 0, //是否已实名认证
  244. money: '', //保存当前月份
  245. year: '', //保存当前年份
  246. day: '', //保存当前日期
  247. current: 4,
  248. // tabbar: tabbar1,
  249. qded: false, //是否已签到
  250. text: '18967672398', //客服微信
  251. actionDay: 0, //连续签到天数
  252. sum_integral: 0, //累计获得积分
  253. today_integral: '', //签到获得的数值
  254. tom_integral: '', //明天签到获得的数值
  255. tom_type: '', //签到获得的数值单位
  256. userDowm: 0, //卡片升级专属高度
  257. userMaxDowm: 0, //卡片最高高度
  258. toolList: [
  259. // {
  260. // id: 't1',
  261. // name: '新人通道',
  262. // width: '56rpx',
  263. // heigt: '54rpx',
  264. // img: '../../static/icon/tool-1.png',
  265. // path: '/pages/user/xrtd'
  266. // },
  267. {
  268. id: 't2',
  269. name: '邀请好友',
  270. width: '56rpx',
  271. heigt: '57rpx',
  272. img: '../../static/icon/tool-2.png',
  273. path: '/pages/user/shareQrCode'
  274. },
  275. {
  276. id: 't3',
  277. name: '我的粉丝',
  278. width: '68rpx',
  279. heigt: '53rpx',
  280. img: '../../static/icon/tool-3.png',
  281. path: '/pages/user/myfans'
  282. },
  283. {
  284. id: 't4',
  285. name: '我的订单',
  286. width: '55rpx',
  287. heigt: '54rpx',
  288. img: '../../static/icon/tool-4.png',
  289. path: '/pages/order/index'
  290. },
  291. {
  292. id: 't5',
  293. name: '我的商品',
  294. width: '50rpx',
  295. heigt: '58rpx',
  296. img: '../../static/icon/tool-5.png',
  297. path: '/pages/user/myproduct'
  298. },
  299. // #ifndef APP
  300. {
  301. id: 't6',
  302. name: '馆长申请',
  303. width: '59rpx',
  304. heigt: '56rpx',
  305. img: '../../static/icon/tool-6.png',
  306. path: '/pages/user/gzsq'
  307. },
  308. // #endif
  309. {
  310. id: 't7',
  311. name: '我的金豆',
  312. width: '59rpx',
  313. heigt: '56rpx',
  314. img: '../../static/icon/jindou.png',
  315. path: '/pages/user/myyue'
  316. }
  317. ]
  318. };
  319. },
  320. onShow() {
  321. // 判断是否已经登录
  322. if (this.hasLogin) {
  323. this.loadBaseData();
  324. // this.signUser();
  325. // this.loadList();
  326. // this.getData();
  327. // this.isSm();
  328. }
  329. // #ifdef APP
  330. if (this.appversion !== this.wgtinfo.version) {
  331. getUpApp();
  332. }
  333. // #endif
  334. },
  335. onReady() {
  336. const that = this;
  337. // 初始化获取页面宽度
  338. uni.createSelectorQuery()
  339. .select('.container')
  340. .fields({
  341. size: true
  342. },
  343. data => {
  344. // 计算最多下拉的高度
  345. this.userDowm = Math.floor((data.width / 750) * 185);
  346. // 计算最大触发修改高度事件
  347. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  348. }
  349. )
  350. .exec();
  351. // #ifdef APP
  352. plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
  353. that.wgtinfo = wgtinfo;
  354. });
  355. // #endif
  356. },
  357. computed: {
  358. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin']),
  359. ...mapState(["isShowIllegality", "appversion"])
  360. },
  361. methods: {
  362. ...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
  363. getData(current) {
  364. const date = current ? new Date(current) : new Date();
  365. this.year = date.getFullYear(); //保存当前年份
  366. this.month = date.getMonth() + 1; //保存当前月份
  367. this.day = date.getDate(); //保存当前日期
  368. },
  369. isSm() {
  370. rate({}).then(e => {
  371. if (e.data.is_auth == 2) {
  372. this.sm = 1;
  373. }
  374. });
  375. },
  376. comfirm(text) {
  377. let obj = this;
  378. let content = text; //需要复制的内容
  379. console.log('复制的内容:', content);
  380. // content = typeof content === 'string' ? content : content.toString(); // 复制内容,必须字符串,数字需要转换为字符串
  381. const result = uniCopy(content);
  382. if (result === false) {
  383. uni.showToast({
  384. title: '不支持'
  385. });
  386. } else {
  387. uni.showToast({
  388. title: '复制成功',
  389. icon: 'none'
  390. });
  391. }
  392. },
  393. // 获取签到列表
  394. loadList() {
  395. let obj = this;
  396. let present = this.day; //保存当前天数用于后续计算
  397. let actionDay = 0; //用于计算活跃天数
  398. let arr = []; //保存返回数组;
  399. signList({
  400. page: 1,
  401. limit: 31
  402. }).then(e => {
  403. arr = e.data.map((e, ind) => {
  404. let time = e.add_time.split('-');
  405. let day = parseInt(time[2].replace(/^0/i, ''));
  406. let year = time[0];
  407. let month = +time[1];
  408. if (obj.year == year && obj.month == month) {
  409. return day;
  410. }
  411. });
  412. // 判断今天是否已经签到
  413. if (arr[0] == this.day) {
  414. this.qded = true;
  415. }
  416. });
  417. },
  418. //获取签到用户信息
  419. signUser() {
  420. signUser({
  421. all: 1
  422. }).then(({
  423. data
  424. }) => {
  425. this.actionDay = data.sign_num; //连续签到天数
  426. this.sum_integral = data.sum_integral; //累计总积分
  427. });
  428. },
  429. // 加载初始数据
  430. loadBaseData() {
  431. getUserInfo({})
  432. .then(({
  433. data
  434. }) => {
  435. this.setUserInfo(data);
  436. // 获取用户数据完毕后在获取订单数据防止多次跳转到登录页
  437. orderData({})
  438. .then(({
  439. data
  440. }) => {
  441. this.setOrderInfo(data);
  442. })
  443. .catch(e => {
  444. this.setOrderInfo({
  445. complete_count: 0, //完成
  446. received_count: 0, //待收货
  447. unshipped_count: 0, //待发货
  448. order_count: 0, //订单总数
  449. unpaid_count: 0 //待付款
  450. });
  451. });
  452. })
  453. .catch(e => {
  454. console.log(e);
  455. });
  456. },
  457. /**
  458. * 统一跳转接口,拦截未登录路由
  459. * navigator标签现在默认没有转场动画,所以用view
  460. */
  461. navTo(url) {
  462. const obj = this;
  463. if (!this.hasLogin) {
  464. // 保存地址
  465. saveUrl();
  466. // 登录拦截
  467. interceptor();
  468. } else {
  469. if (url == '/pages/user/approve') {
  470. rate({})
  471. .then(e => {
  472. console.log(e);
  473. if (e.data.is_auth == null) {
  474. uni.navigateTo({
  475. url
  476. });
  477. }
  478. if (e.data.is_auth == 0) {
  479. uni.navigateTo({
  480. url
  481. });
  482. }
  483. if (e.data.is_auth == 1) {
  484. // this.$api.msg('正在审核中请耐心等待');
  485. uni.navigateTo({
  486. url
  487. });
  488. }
  489. if (e.data.is_auth == 2) {
  490. this.$api.msg('已通过实名认证,无需再实名认证');
  491. }
  492. if (e.data.is_auth == 3) {
  493. uni.navigateTo({
  494. url
  495. });
  496. // uni.showModal({
  497. // title: '提示',
  498. // content: '申请失败,原因' + e.data.off + '是否重新申请',
  499. // success: function(res) {
  500. // if (res.confirm) {
  501. // uni.navigateTo({
  502. // url
  503. // });
  504. // } else if (res.cancel) {
  505. // console.log('用户点击取消');
  506. // }
  507. // }
  508. // });
  509. }
  510. })
  511. .catch(e => {
  512. return;
  513. });
  514. } else if (url == '/pages/user/gzsq') {
  515. apply_status({})
  516. .then(e => {
  517. if (e.data.status != 0) {
  518. if (e.data.status == 3) {
  519. uni.showModal({
  520. title: '提示',
  521. content: '申请失败是否重新申请',
  522. success: function(res) {
  523. if (res.confirm) {
  524. uni.navigateTo({
  525. url
  526. });
  527. } else if (res.cancel) {
  528. console.log('用户点击取消');
  529. }
  530. }
  531. });
  532. } else {
  533. obj.$api.msg(e.data.str);
  534. }
  535. } else {
  536. uni.navigateTo({
  537. url
  538. });
  539. }
  540. })
  541. .catch(e => {});
  542. } else {
  543. uni.navigateTo({
  544. url,
  545. fail() {
  546. uni.switchTab({
  547. url
  548. });
  549. }
  550. });
  551. }
  552. }
  553. },
  554. useTool(e) {
  555. this.navTo(e.path);
  556. },
  557. // 签到弹窗
  558. goQd() {
  559. integral({})
  560. .then(e => {
  561. this.integral = console.log(e);
  562. // 改为已签到
  563. this.qded = true;
  564. this.today_integral = e.data.integral;
  565. this.actionDay++;
  566. this.sum_integral = +this.sum_integral + +e.data.integral;
  567. this.$refs.popupqd.open();
  568. })
  569. .catch(e => {
  570. console.log(e);
  571. });
  572. },
  573. // 关闭签到弹窗
  574. closeQd() {
  575. this.$refs.popupqd.close();
  576. },
  577. openTc(name) {
  578. this.$refs[name].open()
  579. },
  580. closeTc(name) {
  581. this.$refs[name].close()
  582. }
  583. }
  584. };
  585. </script>
  586. <style lang="scss" scoped>
  587. .container {
  588. background-image: url('../../static/user/user-bg.png');
  589. background-size: 100% 100%;
  590. min-height: 1200rpx;
  591. }
  592. .userinfo {
  593. width: 709rpx;
  594. height: 316rpx;
  595. margin: auto;
  596. justify-content: flex-start;
  597. .avt {
  598. border-radius: 50%;
  599. // border-radius: 2rpx;
  600. border: 2rpx solid #fff;
  601. height: 124rpx;
  602. width: 124rpx;
  603. image {
  604. width: 120rpx;
  605. height: 120rpx;
  606. }
  607. }
  608. .info {
  609. font-weight: 800;
  610. font-size: 31rpx;
  611. color: #212121;
  612. padding-left: 23rpx;
  613. .name {
  614. width: 500rpx;
  615. }
  616. .id {
  617. width: 188rpx;
  618. height: 32rpx;
  619. border-radius: 5rpx;
  620. border: 1px solid #797E96;
  621. padding-right: 10rpx;
  622. margin-top: 20rpx;
  623. .xs {
  624. width: 40rpx;
  625. line-height:30rpx;
  626. background: linear-gradient(0deg, #384054, #707991);
  627. border-radius: 5rpx;
  628. font-size: 25rpx;
  629. color: #FFFFFF;
  630. text-align: center;
  631. }
  632. .copy {
  633. width: 24rpx;
  634. height: 24rpx;
  635. }
  636. .val {
  637. flex-grow: 1;
  638. padding-left: 6rpx;
  639. font-weight: 500;
  640. font-size: 25rpx;
  641. color: #212121;
  642. }
  643. }
  644. }
  645. }
  646. .ks {
  647. width: 709rpx;
  648. height: 162rpx;
  649. background-color: #1b2d59;
  650. margin:auto;
  651. color: #FFFFFF;
  652. position: relative;
  653. padding: 0 30rpx 0 20rpx;
  654. &::before ,&::after {
  655. content: '';
  656. width: 15rpx;
  657. height: 15rpx;
  658. position: absolute;
  659. background-color: #fff;
  660. }
  661. &::after {
  662. right: 15rpx;
  663. top: 0;
  664. }
  665. &::before {
  666. right: 0;
  667. top: 15rpx;
  668. }
  669. image {
  670. width: 107rpx;
  671. height: 84rpx;
  672. }
  673. .value {
  674. font-size: 23rpx;
  675. padding-left: 10rpx;
  676. flex-grow: 1;
  677. .val {
  678. font-size: 44rpx;
  679. }
  680. }
  681. .btn {
  682. width: 89rpx;
  683. // height: 38rpx;
  684. padding: 6rpx 0;
  685. border-radius: 19rpx;
  686. border: 1px solid #DDE1EB;
  687. font-weight: 500;
  688. font-size: 24rpx;
  689. text-align: center;
  690. }
  691. }
  692. .friend {
  693. width: 709rpx;
  694. height: 253rpx;
  695. background: #FFFFFF;
  696. border-radius: 10rpx;
  697. margin: 26rpx auto 30rpx;
  698. padding: 30rpx 20rpx;
  699. .top {
  700. font-weight: bold;
  701. font-size: 29rpx;
  702. color: #212121;
  703. justify-content: flex-start;
  704. image {
  705. width: 89rpx;
  706. height: 35rpx;
  707. }
  708. .tc {
  709. flex-grow: 1;
  710. }
  711. .xq {
  712. font-weight: 400;
  713. font-size: 26rpx;
  714. color: #8B8B8B;
  715. image {
  716. width: 10rpx;
  717. height: 20rpx;
  718. margin-left: 13rpx;
  719. }
  720. }
  721. }
  722. .tit {
  723. font-size: 24rpx;
  724. color: #8B8B8B;
  725. padding-top: 15rpx;
  726. }
  727. .val-wrap {
  728. padding-top: 30rpx;
  729. justify-content: flex-start;
  730. .item {
  731. padding:0 15rpx 0 0rpx;
  732. font-size: 24rpx;
  733. color: #8B8B8B;
  734. .val {
  735. font-size: 41rpx;
  736. color: #222222;
  737. &::after {
  738. content: '个';
  739. font-size: 24rpx;
  740. }
  741. }
  742. }
  743. .item1 {
  744. flex-grow: 1;
  745. border-left: 1px solid #ECECEC;
  746. padding-left: 30rpx;
  747. }
  748. .btn {
  749. width: 211rpx;
  750. line-height: 83rpx;
  751. background: #333333;
  752. border-radius: 8rpx;
  753. font-weight: bold;
  754. font-size: 28rpx;
  755. color: #FFFFFF;
  756. text-align: center;
  757. }
  758. }
  759. }
  760. .main-box {
  761. margin: 20rpx auto 0;
  762. width: 710rpx;
  763. background: #ffffff;
  764. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  765. border-radius: 20rpx;
  766. .title {
  767. display: flex;
  768. justify-content: space-between;
  769. align-items: center;
  770. padding: 24rpx;
  771. .title-left {
  772. display: flex;
  773. align-items: center;
  774. .title-icon {
  775. width: 32rpx;
  776. height: 32rpx;
  777. }
  778. .title-font {
  779. margin-left: 20rpx;
  780. font-size: 30rpx;
  781. font-family: PingFang SC;
  782. font-weight: bold;
  783. color: #333333;
  784. }
  785. }
  786. .title-right {
  787. width: 14rpx;
  788. height: 24rpx;
  789. }
  790. }
  791. .main {
  792. padding: 30rpx 0 30rpx;
  793. flex-wrap: wrap;
  794. justify-content: flex-start;
  795. .jg {
  796. width: 1px;
  797. height: 100rpx;
  798. background: #eeeeee;
  799. }
  800. .item {
  801. padding-bottom: 20rpx;
  802. width: 25%;
  803. display: flex;
  804. flex-direction: column;
  805. align-items: center;
  806. .item-num {
  807. font-size: 36rpx;
  808. font-family: PingFang SC;
  809. font-weight: bold;
  810. color: #333333;
  811. }
  812. .item-font {
  813. margin-top: 18rpx;
  814. font-size: 22rpx;
  815. font-family: PingFang SC;
  816. font-weight: 500;
  817. color: #666666;
  818. }
  819. }
  820. .oitem {
  821. width: 25%;
  822. display: flex;
  823. flex-direction: column;
  824. align-items: center;
  825. margin-bottom: 50rpx;
  826. .oitem-image {
  827. height: 50rpx;
  828. width: 58rpx;
  829. }
  830. .oitem-font {
  831. font-weight: 500;
  832. font-size: 25rpx;
  833. color: #212121;
  834. padding-top: 15rpx;
  835. }
  836. }
  837. }
  838. }
  839. .popup-box {
  840. background-image: url('../../static/user/tc.png');
  841. width: 542rpx;
  842. height: 647rpx;
  843. background-size: 100% 100%;
  844. position: relative;
  845. .tit {
  846. font-weight: bold;
  847. font-size: 44rpx;
  848. color: #222222;
  849. text-align: center;
  850. padding-top: 10rpx;
  851. }
  852. .kf {
  853. width: 249rpx;
  854. height: 245rpx;
  855. display: block;
  856. margin: 42rpx 0 0 178rpx;
  857. }
  858. .avt {
  859. width: 125rpx;
  860. height: 125rpx;
  861. border-radius: 50%;
  862. display: block;
  863. margin:80rpx auto 25rpx;
  864. }
  865. .id {
  866. text-align: center;
  867. font-size: 35rpx;
  868. color: #222222;
  869. margin: 30rpx auto 50rpx;
  870. }
  871. .wx {
  872. text-align: center;
  873. font-weight: bold;
  874. font-size: 32rpx;
  875. color: #222222;
  876. margin: 24rpx auto 30rpx;
  877. }
  878. .btn {
  879. width: 330rpx;
  880. line-height: 77rpx;
  881. background: linear-gradient(268deg, rgba(113,87,185,0.99), #8667C3, #7258B9);
  882. border-radius: 10rpx;
  883. margin:20rpx auto;
  884. text-align: center;
  885. font-weight: bold;
  886. font-size: 35rpx;
  887. color: #FFFFFF;
  888. }
  889. .close {
  890. width: 80rpx;
  891. height: 80rpx;
  892. position: absolute;
  893. left: 0;
  894. right: 0;
  895. bottom: -110rpx;
  896. margin: auto;
  897. }
  898. }
  899. .popup-box1 {
  900. width: 633rpx;
  901. height: 1076rpx;
  902. background-image: url('../../static/user/b-tc.png');
  903. .tit {
  904. letter-spacing: 10rpx;
  905. }
  906. .jj {
  907. padding: 70rpx 60rpx 30rpx 65rpx;
  908. font-weight: bold;
  909. font-size: 22rpx;
  910. color: #000000;
  911. line-height: 31rpx;
  912. text-align: center;
  913. letter-spacing: 5rpx;
  914. }
  915. .yue {
  916. display: flex;
  917. width: 100%;
  918. justify-content: center;
  919. image {
  920. width: 43rpx;
  921. height: 34rpx;
  922. margin: 0;
  923. }
  924. view {
  925. padding-left: 10rpx;
  926. }
  927. font-weight: bold;
  928. font-size: 25rpx;
  929. color: #222222;
  930. text-align: center;
  931. text {
  932. color: #3C4192;
  933. }
  934. }
  935. .item {
  936. width: 536rpx;
  937. height: 114rpx;
  938. background: #FFFFFF;
  939. border-radius: 20rpx;
  940. margin:20rpx auto;
  941. padding: 0 18rpx 0 24rpx;
  942. .logo {
  943. width: 70rpx;
  944. height: 68rpx;
  945. flex-shrink: 0;
  946. }
  947. .dec {
  948. flex-shrink: 0;
  949. width: 335rpx;
  950. text {
  951. font-weight: 800;
  952. font-size: 27rpx;
  953. color: #000000;
  954. }
  955. font-size: 20rpx;
  956. color: #969696;
  957. }
  958. .check {
  959. flex-shrink: 0;
  960. .schecked {
  961. width: 40rpx;
  962. height: 40rpx;
  963. }
  964. .nocheck {
  965. width: 40rpx;
  966. height: 40rpx;
  967. border-radius: 50%;
  968. border: 2px solid #3C4192;
  969. }
  970. }
  971. }
  972. .btn {
  973. margin-top: 35rpx;
  974. }
  975. }
  976. </style>