user.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864
  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="openKf()">
  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="opentj()">
  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="navTo('/pages/order/order?state=3')">
  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=""></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="cancel"></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="closetj()"></image>
  135. </view>
  136. </uni-popup>
  137. </view>
  138. </template>
  139. <script>
  140. // import {
  141. // tabbar1
  142. // } from '@/utils/tabbar.js';
  143. import {
  144. mapState,
  145. mapMutations
  146. } from 'vuex';
  147. import uniList from '@/components/uni-list/uni-list.vue';
  148. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  149. import uniCopy from '@/components/js_sdk/xb-copy/uni-copy.js';
  150. import {
  151. orderData,
  152. getUserInfo,
  153. rate,
  154. apply_status
  155. } from '@/api/user.js';
  156. import {
  157. signList,
  158. integral,
  159. signUser
  160. } from '@/api/functionalUnit.js';
  161. import {
  162. saveUrl,
  163. interceptor
  164. } from '@/utils/loginUtils.js';
  165. // #ifdef APP-PLUS
  166. import {
  167. getUpApp
  168. } from '@/utils/upApp.js';
  169. // #endif
  170. let startY = 0,
  171. moveY = 0,
  172. pageAtTop = true;
  173. export default {
  174. components: {
  175. uniList,
  176. uniListItem
  177. },
  178. data() {
  179. return {
  180. kf: '18967672398',
  181. // #ifdef APP
  182. wgtinfo: {
  183. version: '1.0.0'
  184. }, //版本信息
  185. // #endif
  186. sm: 0, //是否已实名认证
  187. money: '', //保存当前月份
  188. year: '', //保存当前年份
  189. day: '', //保存当前日期
  190. current: 4,
  191. // tabbar: tabbar1,
  192. qded: false, //是否已签到
  193. text: '18967672398', //客服微信
  194. actionDay: 0, //连续签到天数
  195. sum_integral: 0, //累计获得积分
  196. today_integral: '', //签到获得的数值
  197. tom_integral: '', //明天签到获得的数值
  198. tom_type: '', //签到获得的数值单位
  199. userDowm: 0, //卡片升级专属高度
  200. userMaxDowm: 0, //卡片最高高度
  201. toolList: [
  202. // {
  203. // id: 't1',
  204. // name: '新人通道',
  205. // width: '56rpx',
  206. // heigt: '54rpx',
  207. // img: '../../static/icon/tool-1.png',
  208. // path: '/pages/user/xrtd'
  209. // },
  210. {
  211. id: 't2',
  212. name: '邀请好友',
  213. width: '56rpx',
  214. heigt: '57rpx',
  215. img: '../../static/icon/tool-2.png',
  216. path: '/pages/user/shareQrCode'
  217. },
  218. {
  219. id: 't3',
  220. name: '我的粉丝',
  221. width: '68rpx',
  222. heigt: '53rpx',
  223. img: '../../static/icon/tool-3.png',
  224. path: '/pages/user/myfans'
  225. },
  226. {
  227. id: 't4',
  228. name: '我的订单',
  229. width: '55rpx',
  230. heigt: '54rpx',
  231. img: '../../static/icon/tool-4.png',
  232. path: '/pages/order/index'
  233. },
  234. {
  235. id: 't5',
  236. name: '我的商品',
  237. width: '50rpx',
  238. heigt: '58rpx',
  239. img: '../../static/icon/tool-5.png',
  240. path: '/pages/user/myproduct'
  241. },
  242. // #ifndef APP
  243. {
  244. id: 't6',
  245. name: '馆长申请',
  246. width: '59rpx',
  247. heigt: '56rpx',
  248. img: '../../static/icon/tool-6.png',
  249. path: '/pages/user/gzsq'
  250. },
  251. // #endif
  252. {
  253. id: 't7',
  254. name: '我的金豆',
  255. width: '59rpx',
  256. heigt: '56rpx',
  257. img: '../../static/icon/jindou.png',
  258. path: '/pages/user/myyue'
  259. }
  260. ]
  261. };
  262. },
  263. onShow() {
  264. // 判断是否已经登录
  265. if (this.hasLogin) {
  266. this.loadBaseData();
  267. // this.signUser();
  268. // this.loadList();
  269. // this.getData();
  270. // this.isSm();
  271. }
  272. // #ifdef APP
  273. if (this.appversion !== this.wgtinfo.version) {
  274. getUpApp();
  275. }
  276. // #endif
  277. },
  278. onReady() {
  279. const that = this;
  280. // 初始化获取页面宽度
  281. uni.createSelectorQuery()
  282. .select('.container')
  283. .fields({
  284. size: true
  285. },
  286. data => {
  287. // 计算最多下拉的高度
  288. this.userDowm = Math.floor((data.width / 750) * 185);
  289. // 计算最大触发修改高度事件
  290. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  291. }
  292. )
  293. .exec();
  294. // #ifdef APP
  295. plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
  296. that.wgtinfo = wgtinfo;
  297. });
  298. // #endif
  299. },
  300. computed: {
  301. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin']),
  302. ...mapState(["isShowIllegality", "appversion"])
  303. },
  304. methods: {
  305. ...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
  306. getData(current) {
  307. const date = current ? new Date(current) : new Date();
  308. this.year = date.getFullYear(); //保存当前年份
  309. this.month = date.getMonth() + 1; //保存当前月份
  310. this.day = date.getDate(); //保存当前日期
  311. },
  312. isSm() {
  313. rate({}).then(e => {
  314. if (e.data.is_auth == 2) {
  315. this.sm = 1;
  316. }
  317. });
  318. },
  319. comfirm(text) {
  320. let obj = this;
  321. let content = text; //需要复制的内容
  322. console.log('复制的内容:', content);
  323. // content = typeof content === 'string' ? content : content.toString(); // 复制内容,必须字符串,数字需要转换为字符串
  324. const result = uniCopy(content);
  325. if (result === false) {
  326. uni.showToast({
  327. title: '不支持'
  328. });
  329. } else {
  330. uni.showToast({
  331. title: '复制成功',
  332. icon: 'none'
  333. });
  334. }
  335. },
  336. // 获取签到列表
  337. loadList() {
  338. let obj = this;
  339. let present = this.day; //保存当前天数用于后续计算
  340. let actionDay = 0; //用于计算活跃天数
  341. let arr = []; //保存返回数组;
  342. signList({
  343. page: 1,
  344. limit: 31
  345. }).then(e => {
  346. arr = e.data.map((e, ind) => {
  347. let time = e.add_time.split('-');
  348. let day = parseInt(time[2].replace(/^0/i, ''));
  349. let year = time[0];
  350. let month = +time[1];
  351. if (obj.year == year && obj.month == month) {
  352. return day;
  353. }
  354. });
  355. // 判断今天是否已经签到
  356. if (arr[0] == this.day) {
  357. this.qded = true;
  358. }
  359. });
  360. },
  361. //获取签到用户信息
  362. signUser() {
  363. signUser({
  364. all: 1
  365. }).then(({
  366. data
  367. }) => {
  368. this.actionDay = data.sign_num; //连续签到天数
  369. this.sum_integral = data.sum_integral; //累计总积分
  370. });
  371. },
  372. // 加载初始数据
  373. loadBaseData() {
  374. getUserInfo({})
  375. .then(({
  376. data
  377. }) => {
  378. this.setUserInfo(data);
  379. // 获取用户数据完毕后在获取订单数据防止多次跳转到登录页
  380. orderData({})
  381. .then(({
  382. data
  383. }) => {
  384. this.setOrderInfo(data);
  385. })
  386. .catch(e => {
  387. this.setOrderInfo({
  388. complete_count: 0, //完成
  389. received_count: 0, //待收货
  390. unshipped_count: 0, //待发货
  391. order_count: 0, //订单总数
  392. unpaid_count: 0 //待付款
  393. });
  394. });
  395. })
  396. .catch(e => {
  397. console.log(e);
  398. });
  399. },
  400. /**
  401. * 统一跳转接口,拦截未登录路由
  402. * navigator标签现在默认没有转场动画,所以用view
  403. */
  404. navTo(url) {
  405. const obj = this;
  406. if (!this.hasLogin) {
  407. // 保存地址
  408. saveUrl();
  409. // 登录拦截
  410. interceptor();
  411. } else {
  412. if (url == '/pages/user/approve') {
  413. rate({})
  414. .then(e => {
  415. console.log(e);
  416. if (e.data.is_auth == null) {
  417. uni.navigateTo({
  418. url
  419. });
  420. }
  421. if (e.data.is_auth == 0) {
  422. uni.navigateTo({
  423. url
  424. });
  425. }
  426. if (e.data.is_auth == 1) {
  427. // this.$api.msg('正在审核中请耐心等待');
  428. uni.navigateTo({
  429. url
  430. });
  431. }
  432. if (e.data.is_auth == 2) {
  433. this.$api.msg('已通过实名认证,无需再实名认证');
  434. }
  435. if (e.data.is_auth == 3) {
  436. uni.navigateTo({
  437. url
  438. });
  439. // uni.showModal({
  440. // title: '提示',
  441. // content: '申请失败,原因' + e.data.off + '是否重新申请',
  442. // success: function(res) {
  443. // if (res.confirm) {
  444. // uni.navigateTo({
  445. // url
  446. // });
  447. // } else if (res.cancel) {
  448. // console.log('用户点击取消');
  449. // }
  450. // }
  451. // });
  452. }
  453. })
  454. .catch(e => {
  455. return;
  456. });
  457. } else if (url == '/pages/user/gzsq') {
  458. apply_status({})
  459. .then(e => {
  460. if (e.data.status != 0) {
  461. if (e.data.status == 3) {
  462. uni.showModal({
  463. title: '提示',
  464. content: '申请失败是否重新申请',
  465. success: function(res) {
  466. if (res.confirm) {
  467. uni.navigateTo({
  468. url
  469. });
  470. } else if (res.cancel) {
  471. console.log('用户点击取消');
  472. }
  473. }
  474. });
  475. } else {
  476. obj.$api.msg(e.data.str);
  477. }
  478. } else {
  479. uni.navigateTo({
  480. url
  481. });
  482. }
  483. })
  484. .catch(e => {});
  485. } else {
  486. uni.navigateTo({
  487. url,
  488. fail() {
  489. uni.switchTab({
  490. url
  491. });
  492. }
  493. });
  494. }
  495. }
  496. },
  497. useTool(e) {
  498. this.navTo(e.path);
  499. },
  500. // 签到弹窗
  501. goQd() {
  502. integral({})
  503. .then(e => {
  504. this.integral = console.log(e);
  505. // 改为已签到
  506. this.qded = true;
  507. this.today_integral = e.data.integral;
  508. this.actionDay++;
  509. this.sum_integral = +this.sum_integral + +e.data.integral;
  510. this.$refs.popupqd.open();
  511. })
  512. .catch(e => {
  513. console.log(e);
  514. });
  515. },
  516. // 关闭签到弹窗
  517. closeQd() {
  518. this.$refs.popupqd.close();
  519. },
  520. // 打开客服
  521. openKf() {
  522. this.$refs.popupkf.open();
  523. },
  524. // 关闭客服
  525. cancel() {
  526. this.$refs.popupkf.close();
  527. },
  528. opentj() {
  529. this.$refs.popuptj.open()
  530. },
  531. closetj() {
  532. this.$refs.popuptj.close()
  533. }
  534. }
  535. };
  536. </script>
  537. <style lang="scss">
  538. .container {
  539. background-image: url('../../static/user/user-bg.png');
  540. background-size: 100% 100%;
  541. min-height: 1200rpx;
  542. }
  543. .userinfo {
  544. width: 709rpx;
  545. height: 316rpx;
  546. margin: auto;
  547. justify-content: flex-start;
  548. .avt {
  549. border-radius: 50%;
  550. // border-radius: 2rpx;
  551. border: 2rpx solid #fff;
  552. height: 124rpx;
  553. width: 124rpx;
  554. image {
  555. width: 120rpx;
  556. height: 120rpx;
  557. }
  558. }
  559. .info {
  560. font-weight: 800;
  561. font-size: 31rpx;
  562. color: #212121;
  563. padding-left: 23rpx;
  564. .name {
  565. width: 500rpx;
  566. }
  567. .id {
  568. width: 188rpx;
  569. height: 32rpx;
  570. border-radius: 5rpx;
  571. border: 1px solid #797E96;
  572. padding-right: 10rpx;
  573. margin-top: 20rpx;
  574. .xs {
  575. width: 40rpx;
  576. line-height:30rpx;
  577. background: linear-gradient(0deg, #384054, #707991);
  578. border-radius: 5rpx;
  579. font-size: 25rpx;
  580. color: #FFFFFF;
  581. text-align: center;
  582. }
  583. .copy {
  584. width: 24rpx;
  585. height: 24rpx;
  586. }
  587. .val {
  588. flex-grow: 1;
  589. padding-left: 6rpx;
  590. font-weight: 500;
  591. font-size: 25rpx;
  592. color: #212121;
  593. }
  594. }
  595. }
  596. }
  597. .ks {
  598. width: 709rpx;
  599. height: 162rpx;
  600. background-color: #1b2d59;
  601. margin:auto;
  602. color: #FFFFFF;
  603. position: relative;
  604. padding: 0 30rpx 0 20rpx;
  605. &::before ,&::after {
  606. content: '';
  607. width: 15rpx;
  608. height: 15rpx;
  609. position: absolute;
  610. background-color: #fff;
  611. }
  612. &::after {
  613. right: 15rpx;
  614. top: 0;
  615. }
  616. &::before {
  617. right: 0;
  618. top: 15rpx;
  619. }
  620. image {
  621. width: 107rpx;
  622. height: 84rpx;
  623. }
  624. .value {
  625. font-size: 23rpx;
  626. padding-left: 10rpx;
  627. flex-grow: 1;
  628. .val {
  629. font-size: 44rpx;
  630. }
  631. }
  632. .btn {
  633. width: 89rpx;
  634. // height: 38rpx;
  635. padding: 6rpx 0;
  636. border-radius: 19rpx;
  637. border: 1px solid #DDE1EB;
  638. font-weight: 500;
  639. font-size: 24rpx;
  640. text-align: center;
  641. }
  642. }
  643. .friend {
  644. width: 709rpx;
  645. height: 253rpx;
  646. background: #FFFFFF;
  647. border-radius: 10rpx;
  648. margin: 26rpx auto 30rpx;
  649. padding: 30rpx 20rpx;
  650. .top {
  651. font-weight: bold;
  652. font-size: 29rpx;
  653. color: #212121;
  654. justify-content: flex-start;
  655. image {
  656. width: 89rpx;
  657. height: 35rpx;
  658. }
  659. .tc {
  660. flex-grow: 1;
  661. }
  662. .xq {
  663. font-weight: 400;
  664. font-size: 26rpx;
  665. color: #8B8B8B;
  666. image {
  667. width: 10rpx;
  668. height: 20rpx;
  669. margin-left: 13rpx;
  670. }
  671. }
  672. }
  673. .tit {
  674. font-size: 24rpx;
  675. color: #8B8B8B;
  676. padding-top: 15rpx;
  677. }
  678. .val-wrap {
  679. padding-top: 30rpx;
  680. justify-content: flex-start;
  681. .item {
  682. padding:0 15rpx 0 0rpx;
  683. font-size: 24rpx;
  684. color: #8B8B8B;
  685. .val {
  686. font-size: 41rpx;
  687. color: #222222;
  688. &::after {
  689. content: '个';
  690. font-size: 24rpx;
  691. }
  692. }
  693. }
  694. .item1 {
  695. flex-grow: 1;
  696. border-left: 1px solid #ECECEC;
  697. padding-left: 30rpx;
  698. }
  699. .btn {
  700. width: 211rpx;
  701. line-height: 83rpx;
  702. background: #333333;
  703. border-radius: 8rpx;
  704. font-weight: bold;
  705. font-size: 28rpx;
  706. color: #FFFFFF;
  707. text-align: center;
  708. }
  709. }
  710. }
  711. .main-box {
  712. margin: 20rpx auto 0;
  713. width: 710rpx;
  714. background: #ffffff;
  715. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  716. border-radius: 20rpx;
  717. .title {
  718. display: flex;
  719. justify-content: space-between;
  720. align-items: center;
  721. padding: 24rpx;
  722. .title-left {
  723. display: flex;
  724. align-items: center;
  725. .title-icon {
  726. width: 32rpx;
  727. height: 32rpx;
  728. }
  729. .title-font {
  730. margin-left: 20rpx;
  731. font-size: 30rpx;
  732. font-family: PingFang SC;
  733. font-weight: bold;
  734. color: #333333;
  735. }
  736. }
  737. .title-right {
  738. width: 14rpx;
  739. height: 24rpx;
  740. }
  741. }
  742. .main {
  743. padding: 30rpx 0 30rpx;
  744. flex-wrap: wrap;
  745. justify-content: flex-start;
  746. .jg {
  747. width: 1px;
  748. height: 100rpx;
  749. background: #eeeeee;
  750. }
  751. .item {
  752. padding-bottom: 20rpx;
  753. width: 25%;
  754. display: flex;
  755. flex-direction: column;
  756. align-items: center;
  757. .item-num {
  758. font-size: 36rpx;
  759. font-family: PingFang SC;
  760. font-weight: bold;
  761. color: #333333;
  762. }
  763. .item-font {
  764. margin-top: 18rpx;
  765. font-size: 22rpx;
  766. font-family: PingFang SC;
  767. font-weight: 500;
  768. color: #666666;
  769. }
  770. }
  771. .oitem {
  772. width: 25%;
  773. display: flex;
  774. flex-direction: column;
  775. align-items: center;
  776. margin-bottom: 50rpx;
  777. .oitem-image {
  778. height: 50rpx;
  779. width: 58rpx;
  780. }
  781. .oitem-font {
  782. font-weight: 500;
  783. font-size: 25rpx;
  784. color: #212121;
  785. padding-top: 15rpx;
  786. }
  787. }
  788. }
  789. }
  790. .popup-box {
  791. background-image: url('../../static/user/tc.png');
  792. width: 542rpx;
  793. height: 647rpx;
  794. background-size: 100% 100%;
  795. position: relative;
  796. .tit {
  797. font-weight: bold;
  798. font-size: 44rpx;
  799. color: #222222;
  800. text-align: center;
  801. padding-top: 10rpx;
  802. }
  803. image {
  804. width: 249rpx;
  805. height: 245rpx;
  806. display: block;
  807. margin: 42rpx 0 0 178rpx;
  808. }
  809. .avt {
  810. width: 125rpx;
  811. height: 125rpx;
  812. border-radius: 50%;
  813. margin:80rpx auto 25rpx;
  814. }
  815. .id {
  816. text-align: center;
  817. font-size: 35rpx;
  818. color: #222222;
  819. margin: 30rpx auto 50rpx;
  820. }
  821. .wx {
  822. text-align: center;
  823. font-weight: bold;
  824. font-size: 32rpx;
  825. color: #222222;
  826. margin: 24rpx auto 30rpx;
  827. }
  828. .btn {
  829. width: 330rpx;
  830. line-height: 77rpx;
  831. background: linear-gradient(268deg, rgba(113,87,185,0.99), #8667C3, #7258B9);
  832. border-radius: 10rpx;
  833. margin:20rpx auto;
  834. text-align: center;
  835. font-weight: bold;
  836. font-size: 35rpx;
  837. color: #FFFFFF;
  838. }
  839. .close {
  840. width: 80rpx;
  841. height: 80rpx;
  842. position: absolute;
  843. left: 0;
  844. right: 0;
  845. bottom: -110rpx;
  846. margin: auto;
  847. }
  848. }
  849. </style>