index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864
  1. <template>
  2. <view class="container">
  3. <view
  4. class="content"
  5. :style="userinfo.is_authentication == 1 ? 'padding-top:30rpx;' : ''"
  6. >
  7. <!-- 用户信息 -->
  8. <view class="uerInfo mar_t16 flex_r">
  9. <view class="user_img">
  10. <image
  11. class="image"
  12. :src="
  13. userinfo && userinfo.head_pic != ''
  14. ? userinfo.head_pic
  15. : 'https://tea.soowin.com/mnt/image/m_avar.jpg'
  16. "
  17. mode=""
  18. ></image>
  19. <view
  20. class="coupon_info flex_r flex_ac"
  21. v-if="isShiMing"
  22. @tap="goToAutonym"
  23. >
  24. 完成实名认证,享受更多权益
  25. <image
  26. src="/static/my/f_close.png"
  27. mode="widthFix"
  28. class="close_icon"
  29. @tap.stop="closeAuto"
  30. ></image>
  31. <view class="sj_icon"></view>
  32. </view>
  33. </view>
  34. <block v-if="userinfo && userinfo != ''">
  35. <view class="user_con flex_c">
  36. <view class="user_name flex_r flex_ae ellipsis"
  37. >{{ userinfo.nickname
  38. }}<text
  39. >({{
  40. userinfo.is_authentication == 0 ? "未实名" : "已实名"
  41. }})</text
  42. ></view
  43. >
  44. <view class="flex_r flex_ac">
  45. <view class="user_level flex_r mar_t10">
  46. <image
  47. class="level_img"
  48. src="/static/my/huangguan.png"
  49. mode=""
  50. ></image>
  51. <view class="level_text">{{ userinfo.level_name }}</view>
  52. </view>
  53. </view>
  54. <view class="user_account flex_r flex_ac mar_t10">
  55. <view class="account">账号:{{ userinfo.mobile }}</view>
  56. <view
  57. class="copy_account flex_r flex_ac flex_jc"
  58. @tap="copyText(userinfo.mobile)"
  59. >复制</view
  60. >
  61. </view>
  62. </view>
  63. <view class="user_option flex_r flex_ac">
  64. <image
  65. class="code_img"
  66. src="/static/my/f_img_code.png"
  67. @tap="getImgPage"
  68. mode=""
  69. ></image>
  70. <image
  71. class="code_img"
  72. src="/static/my/setting.png"
  73. @tap="getToSetting"
  74. mode=""
  75. ></image>
  76. </view>
  77. </block>
  78. <block v-else>
  79. <view class="user_con flex_c flex_jb">
  80. <view class="user_name flex_r flex_ae ellipsis">点此处登录</view>
  81. </view>
  82. </block>
  83. </view>
  84. <!-- 用户信息-end -->
  85. <!-- 账户信息 -->
  86. <view class="acc_info">
  87. <view class="acc_head flex_r flex_ac flex_jb">
  88. <view class="acc_price"
  89. >账号余额¥<text>{{ userinfo.user_money }}</text></view
  90. >
  91. <view class="C flex_r flex_ac">
  92. <navigator
  93. class="recharge flex_r flex_ac flex_jc"
  94. url="/pages/top-up/index"
  95. hover-class="none"
  96. >充值</navigator
  97. >
  98. <view class="withdraw flex_r flex_ac flex_jc" @tap="getToCash"
  99. >提现</view
  100. >
  101. </view>
  102. </view>
  103. <view class="info_con flex_r flex_jb">
  104. <view class="info_list flex_c flex_jb">
  105. <view class="list_name">昨日收益(元)</view>
  106. <view class="list_text">{{ userinfo.yesterdayProfit || 0 }}</view>
  107. </view>
  108. <view class="info_list flex_c flex_jb" @tap="getToAccMoney">
  109. <view class="list_name">积分</view>
  110. <view class="list_text">{{ userinfo.integral || 0 }}</view>
  111. </view>
  112. <!-- <view class="info_list flex_c flex_jb" @tap="getToBean">
  113. <view class="list_name">拼豆</view>
  114. <view class="list_text">{{userInfoAccount.accountBean}}</view>
  115. </view> -->
  116. <view class="info_list flex_c flex_jb" @tap="getToTeaList">
  117. <view class="list_name">茶友(人)</view>
  118. <view class="list_text">{{ userinfo.friends || 0 }}</view>
  119. </view>
  120. </view>
  121. <view class="acc_hint mar_t50" @tap="SetHint"
  122. >如何快速晋升茶友等级?看这里>></view
  123. >
  124. </view>
  125. <!-- 账户信息-end -->
  126. </view>
  127. <!-- 功能列表 -->
  128. <view class="fun_container">
  129. <view class="fun mar_t30">
  130. <view class="fun_title">我的账户</view>
  131. <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
  132. <navigator
  133. class="fun_list flex_c flex_ac"
  134. url="/pages/top-up/index"
  135. hover-class="none"
  136. >
  137. <image
  138. class="fun_img"
  139. src="/static/my/recharge.png"
  140. mode=""
  141. ></image>
  142. <view class="fun_text">充值</view>
  143. </navigator>
  144. <navigator
  145. class="fun_list flex_c flex_ac"
  146. url="/pages/account/wealth"
  147. hover-class="none"
  148. >
  149. <image class="fun_img" src="/static/my/wealth.png" mode=""></image>
  150. <view class="fun_text">财富</view>
  151. </navigator>
  152. <navigator
  153. class="fun_list flex_c flex_ac"
  154. url="/pages/account/consignment"
  155. hover-class="none"
  156. >
  157. <image class="fun_img" src="/static/my/consign.png" mode=""></image>
  158. <view class="fun_text">寄售</view>
  159. </navigator>
  160. <navigator
  161. class="fun_list flex_c flex_ac"
  162. url="/pages/account/giveAsPresent"
  163. hover-class="none"
  164. >
  165. <image class="fun_img" src="/static/my/give.png" mode=""></image>
  166. <view class="fun_text">赠送</view>
  167. </navigator>
  168. </view>
  169. </view>
  170. <view class="fun mar_t30">
  171. <view class="fun_title">拼团管理</view>
  172. <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
  173. <navigator
  174. class="fun_list flex_c flex_ac"
  175. url="/pages/my-pintuan/index"
  176. hover-class="none"
  177. >
  178. <image
  179. class="fun_img"
  180. src="/static/my/pintaun_icon.png"
  181. mode=""
  182. ></image>
  183. <view class="fun_text">我的拼团</view>
  184. </navigator>
  185. <navigator
  186. class="fun_list flex_c flex_ac"
  187. url="/pages/group-list/index"
  188. hover-class="none"
  189. >
  190. <image
  191. class="fun_img"
  192. src="/static/my/my_pintuan.png"
  193. mode=""
  194. ></image>
  195. <view class="fun_text">发起拼团</view>
  196. </navigator>
  197. <navigator
  198. class="fun_list flex_c flex_ac"
  199. url="/pages/group-order/index"
  200. hover-class="none"
  201. >
  202. <image
  203. class="fun_img"
  204. src="/static/my/dingdan_icon.png"
  205. mode=""
  206. ></image>
  207. <view class="fun_text">拼团订单</view>
  208. </navigator>
  209. <navigator
  210. class="fun_list flex_c flex_ac"
  211. url="/pages/acc-money-list/index"
  212. hover-class="none"
  213. >
  214. <image
  215. class="fun_img"
  216. src="/static/my/pintaunjin_icon.png"
  217. mode=""
  218. ></image>
  219. <view class="fun_text">拼团金明细</view>
  220. </navigator>
  221. </view>
  222. </view>
  223. <view class="fun mar_t30">
  224. <view class="fun_title">账户明细</view>
  225. <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
  226. <navigator
  227. class="fun_list flex_c flex_ac"
  228. url="/pages/accountDetails/running"
  229. hover-class="none"
  230. >
  231. <image class="fun_img" src="/static/my/fund.png" mode=""></image>
  232. <view class="fun_text">流水明细</view>
  233. </navigator>
  234. <navigator
  235. class="fun_list flex_c flex_ac"
  236. url="/pages/accountDetails/withdraw"
  237. hover-class="none"
  238. >
  239. <image
  240. class="fun_img"
  241. src="/static/my/withdraw.png"
  242. mode=""
  243. ></image>
  244. <view class="fun_text">提现明细</view>
  245. </navigator>
  246. <navigator
  247. class="fun_list flex_c flex_ac"
  248. url="/pages/accountDetails/topup"
  249. hover-class="none"
  250. >
  251. <image class="fun_img" src="/static/my/topup.png" mode=""></image>
  252. <view class="fun_text">充值明细</view>
  253. </navigator>
  254. <navigator
  255. class="fun_list flex_c flex_ac"
  256. url="/pages/accountDetails/integral"
  257. hover-class="none"
  258. >
  259. <image
  260. class="fun_img"
  261. src="/static/my/inte-list.png"
  262. mode=""
  263. ></image>
  264. <view class="fun_text">积分明细</view>
  265. </navigator>
  266. </view>
  267. </view>
  268. <view class="fun mar_t30">
  269. <view class="fun_title flex_r flex_ac flex_jb"
  270. >我的订单
  271. <navigator
  272. class="more flexr flex_ac"
  273. url="/pages/szw-order-list/index?status=1"
  274. hover-class="none"
  275. >全部订单
  276. <image class="more_img" src="/static/my/more.png" mode=""></image>
  277. </navigator>
  278. </view>
  279. <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
  280. <navigator
  281. class="fun_list flex_c flex_ac"
  282. url="/pages/szw-order-list/index?status=2"
  283. hover-class="none"
  284. >
  285. <image class="fun_img" src="/static/my/payment.png" mode=""></image>
  286. <view class="fun_text">待付款</view>
  287. </navigator>
  288. <navigator
  289. class="fun_list flex_c flex_ac"
  290. url="/pages/szw-order-list/index?status=3"
  291. hover-class="none"
  292. >
  293. <image class="fun_img" src="/static/my/deliver.png" mode=""></image>
  294. <view class="fun_text">待发货</view>
  295. </navigator>
  296. <navigator
  297. class="fun_list flex_c flex_ac"
  298. url="/pages/szw-order-list/index?status=4"
  299. hover-class="none"
  300. >
  301. <image class="fun_img" src="/static/my/take.png" mode=""></image>
  302. <view class="fun_text">待收货</view>
  303. </navigator>
  304. <navigator
  305. class="fun_list flex_c flex_ac"
  306. url="/pages/szw-order-list/index?status=5"
  307. hover-class="none"
  308. >
  309. <image
  310. class="fun_img"
  311. src="/static/my/evaluate.png"
  312. mode=""
  313. ></image>
  314. <view class="fun_text">待评价</view>
  315. </navigator>
  316. <navigator
  317. class="fun_list flex_c flex_ac"
  318. url="/pages/order-refund-list/index?status=5"
  319. hover-class="none"
  320. >
  321. <image class="fun_img" src="/static/my/refund.png" mode=""></image>
  322. <view class="fun_text">退换货</view>
  323. </navigator>
  324. </view>
  325. </view>
  326. <view class="fun mar_t30">
  327. <view class="fun_title">我的服务</view>
  328. <view class="fun_con mar_t50 flex_r flex_ac flex_jb">
  329. <navigator
  330. class="fun_list flex_c flex_ac"
  331. url="/pages/about/index"
  332. hover-class="none"
  333. >
  334. <image class="fun_img" src="/static/my/about.png" mode=""></image>
  335. <view class="fun_text">关于我们</view>
  336. </navigator>
  337. <navigator
  338. class="fun_list flex_c flex_ac"
  339. url="/pages/notice/index"
  340. hover-class="none"
  341. >
  342. <image
  343. class="fun_img"
  344. src="/static/my/feedback.png"
  345. mode=""
  346. ></image>
  347. <view class="fun_text">用户须知</view>
  348. </navigator>
  349. <navigator
  350. class="fun_list flex_c flex_ac"
  351. url="/pages/course/index"
  352. hover-class="none"
  353. >
  354. <image class="fun_img" src="/static/my/green.png" mode=""></image>
  355. <view class="fun_text">新手教程</view>
  356. </navigator>
  357. <view class="fun_list flex_c flex_ac">
  358. <button
  359. open-type="contact"
  360. style="background: #fff; border: 0; line-height: 1; padding: 0"
  361. >
  362. <image
  363. class="fun_img"
  364. src="/static/my/service.png"
  365. mode=""
  366. ></image>
  367. <view class="fun_text">在线客服</view>
  368. </button>
  369. </view>
  370. </view>
  371. </view>
  372. </view>
  373. <view class="fz_w_text mar_t20 mar_b20">茶,让生活更美好!</view>
  374. <!-- 功能列表-end -->
  375. <!-- 授权 -->
  376. <authorize-module
  377. v-if="showAuth"
  378. :shopInfo="shopInfo"
  379. @authGetTelSuccess="onauthGetTelSuccess"
  380. ></authorize-module>
  381. <!-- 授权-end -->
  382. <newauthorize ref="newauthorize"/>
  383. </view>
  384. </template>
  385. <script>
  386. let page = 1;
  387. let app = getApp();
  388. var appEv = app.$vm.$options;
  389. // let reqApi = new ReqApi();
  390. // import { ReqApi } from "@/utils/reqTools.js";
  391. import authorizeModule from "@/components/authorize-module/index";
  392. // import newauthorize from "@/components/authorize-module/new";
  393. import uniCopy from "../../utils/copy";
  394. import { get, post, u_post } from "@/request/api.js";
  395. export default {
  396. components: {
  397. authorizeModule,
  398. // newauthorize
  399. },
  400. data() {
  401. return {
  402. showAuth: false,
  403. shopInfo: {}, // 商铺信息
  404. userInfoAccount: {}, // 账户数据
  405. customerServiceWeiXin: "", // 客服微信
  406. isShiMing: true,
  407. agentName: "", // 缘起
  408. user_id: undefined,
  409. userinfo: undefined, // 获取用户信息
  410. unid: '',
  411. };
  412. },
  413. onLoad: function (options) {
  414. //推荐人ID
  415. if (options.agentId) {
  416. app.globalData.agentId = options.agentId;
  417. }
  418. if (options && options.scene) {
  419. var scene = decodeURIComponent(options.scene).split("&");
  420. if (scene.length > 0) {
  421. var agentId = scene[0].split(":");
  422. app.globalData.agentId =
  423. agentId[1] && agentId[1] != "" ? agentId[1] : app.globalData.agentId;
  424. }
  425. }
  426. },
  427. onShow: function () {
  428. this.userinfo = uni.getStorageSync("userinfo");
  429. this.isShiMing = this.userinfo.is_authentication == 0 ? true : false;
  430. let token = uni.getStorageSync("token");
  431. if (!token) {
  432. this.login();
  433. }
  434. },
  435. methods: {
  436. login() {
  437. let that = this
  438. // #ifdef MP-WEIXIN
  439. wx.login({
  440. success(res) {
  441. if (res.code) {
  442. post("appletLogin", { code: res.code }).then(res => {
  443. if(res.code === 0){
  444. if(res.data.token){
  445. uni.setStorageSync('token', res.data.token);
  446. that.getuserInfo();
  447. }else{
  448. that.unid = res.data.unid
  449. // setTimeout(() => {
  450. that.showAuth = true
  451. that.shopInfo = app.globalData.shopInfo
  452. // }, 500);
  453. }
  454. }
  455. });
  456. }
  457. },
  458. });
  459. // #endif
  460. // #ifdef H5 || APP-PLUS
  461. this.goto("/pages/my/login");
  462. // #endif
  463. },
  464. onauthGetTelSuccess(da){
  465. this.showAuth = false;
  466. post("getMobile", {unid:this.unid, ...da.detail}).then(res => {
  467. if (res.code === 0) {
  468. uni.setStorageSync('token', res.data.token);
  469. this.getuserInfo();
  470. }
  471. })
  472. },
  473. getuserInfo() {
  474. post("/user/userinfo").then((res) => {
  475. if (res.code === 0) {
  476. uni.setStorageSync('userinfo', res.data.data);
  477. this.userinfo = res.data.data
  478. }
  479. });
  480. },
  481. //授权并登录
  482. onAuthSuccess: function () {
  483. var that = this;
  484. uni.showLoading({ mask: true });
  485. appEv.setData((res) => {
  486. uni.hideLoading();
  487. that.showAuth = false;
  488. });
  489. },
  490. // 跳转到实名页面
  491. goToAutonym() {
  492. // post('/user/isPayAuth').then(res => {
  493. // if(res.code === 0){
  494. // if(res.data.)
  495. // }
  496. // })
  497. // return
  498. uni.navigateTo({
  499. url: "/pages/autonym-submit/index",
  500. });
  501. },
  502. // 关闭实名信息
  503. closeAuto() {
  504. this.isShiMing = false;
  505. },
  506. // 未开放提示信息
  507. SetHint: function () {
  508. appEv.errTips("此功能暂未开放");
  509. },
  510. //是否实名
  511. async isrealName() {
  512. let n = await u_post("ShuZiTeaYW/userInfo/realName");
  513. return n.status == 200;
  514. },
  515. // 跳转到分享页面
  516. getImgPage: function () {
  517. let that = this;
  518. if (this.isrealName()) {
  519. uni.navigateTo({
  520. url: "/pages/invi-img/index",
  521. });
  522. } else {
  523. appEv.errTips("您还未实名");
  524. const infor = reqApi.identifyUserPayment();
  525. if (infor) {
  526. infor.then((rea) => {
  527. if (rea.data.status == 200) {
  528. uni.navigateTo({
  529. url: "/pages/autonym-submit/index",
  530. });
  531. } else if (rea.data.status == 999) {
  532. uni.navigateTo({
  533. url: "/pages/autonym-pay/index",
  534. });
  535. } else {
  536. appEv.errTip(rea.data.msg);
  537. }
  538. });
  539. }
  540. }
  541. },
  542. // 跳转到提现页面
  543. getToCash: function () {
  544. let that = this;
  545. if (this.isrealName()) {
  546. uni.navigateTo({
  547. url: "/pages/cash/index",
  548. });
  549. } else {
  550. appEv.errTips("您还未实名");
  551. const infor = reqApi.identifyUserPayment();
  552. if (infor) {
  553. infor.then((rea) => {
  554. if (rea.data.status == 200) {
  555. uni.navigateTo({
  556. url: "/pages/autonym-submit/index",
  557. });
  558. } else if (rea.data.status == 999) {
  559. uni.navigateTo({
  560. url: "/pages/autonym-pay/index",
  561. });
  562. } else {
  563. appEv.errTip(rea.data.msg);
  564. }
  565. });
  566. }
  567. }
  568. },
  569. // 复制账号
  570. copyText(e) {
  571. uniCopy({
  572. content: e,
  573. success: (res) => {},
  574. error: (e) => {},
  575. });
  576. },
  577. // 跳转到用户设置页面
  578. getToSetting: function () {
  579. uni.navigateTo({
  580. url: "/pages/setting/index",
  581. });
  582. },
  583. // 跳转到我的茶友页面
  584. getToTeaList: function () {
  585. uni.navigateTo({
  586. url: "/pages/my-tea-list/index",
  587. });
  588. },
  589. // 跳转到拼豆页面
  590. getToBean: function () {
  591. uni.navigateTo({
  592. url: "/pages/bean-info/index",
  593. });
  594. },
  595. // 跳转到拼团金页面
  596. getToAccMoney: function () {
  597. uni.navigateTo({
  598. url: "/pages/my-acc-money/my-acc-money",
  599. });
  600. },
  601. },
  602. };
  603. </script>
  604. <style lang="scss">
  605. // 页面配置
  606. page {
  607. background: #f5f5f5;
  608. }
  609. .container {
  610. padding: 0 0 30rpx;
  611. box-sizing: border-box;
  612. }
  613. .content {
  614. padding: 66rpx 30rpx 0;
  615. box-sizing: border-box;
  616. width: 100%;
  617. overflow: hidden;
  618. background-image: linear-gradient(to bottom, #fff, #f5f5f5);
  619. }
  620. // 页面配置-end
  621. // 用户信息
  622. .close_icon {
  623. margin-left: 24rpx;
  624. width: 26rpx;
  625. }
  626. .sj_icon {
  627. position: absolute;
  628. top: 100%;
  629. left: 60rpx;
  630. border-top: 16rpx solid rgba(0, 0, 0, 0.8);
  631. border-right: 16rpx solid transparent;
  632. border-left: 16rpx solid transparent;
  633. border-bottom: 0;
  634. }
  635. .coupon_info {
  636. position: absolute;
  637. top: -70rpx;
  638. left: 0;
  639. border-radius: 12rpx;
  640. background-color: rgba(0, 0, 0, 0.8);
  641. color: #fff;
  642. font-size: 28rpx;
  643. font-weight: 500;
  644. padding: 10rpx 24rpx;
  645. transition: all 0.6s ease;
  646. width: 420rpx;
  647. }
  648. .uerInfo {
  649. width: 100%;
  650. }
  651. .code_img:nth-child(1) {
  652. margin-left: 20rpx;
  653. }
  654. .level_img {
  655. width: 42rpx;
  656. height: 35rpx;
  657. z-index: 30;
  658. }
  659. .code_img {
  660. width: 42rpx;
  661. height: 44rpx;
  662. margin-left: 36rpx;
  663. }
  664. .account {
  665. font-size: 26rpx;
  666. color: #121212;
  667. margin-right: 20rpx;
  668. }
  669. .user_img .image {
  670. width: 100%;
  671. height: 100%;
  672. border-radius: 50%;
  673. }
  674. .user_con {
  675. width: calc(100% - 136rpx - 140rpx - 20rpx);
  676. overflow: hidden;
  677. }
  678. .user_img {
  679. width: 136rpx;
  680. height: 136rpx;
  681. margin-right: 20rpx;
  682. border-radius: 50%;
  683. position: relative;
  684. }
  685. .user_name text {
  686. font-size: 26rpx;
  687. font-family: "SourceHanSansSC-Medium";
  688. color: #121212;
  689. font-weight: 500;
  690. }
  691. .copy_account {
  692. width: 60rpx;
  693. height: 32rpx;
  694. background: #f1d3a8;
  695. font-size: 22rpx;
  696. color: #6b2909;
  697. border-radius: 6rpx;
  698. }
  699. .level_text {
  700. padding: 0 16rpx;
  701. border-radius: 13rpx;
  702. font-size: 20rpx;
  703. color: #6b2909;
  704. margin-left: -14rpx;
  705. margin-top: 6rpx;
  706. }
  707. .user_name {
  708. width: 100%;
  709. overflow: hidden;
  710. font-size: 46rpx;
  711. color: #121212;
  712. font-family: "SourceHanSansSC-Medium";
  713. font-weight: 500;
  714. line-height: 1;
  715. }
  716. // 用户信息-end
  717. // 账户信息
  718. .acc_head {
  719. width: 100%;
  720. overflow: hidden;
  721. }
  722. .acc_price {
  723. font-size: 24rpx;
  724. color: #fff;
  725. }
  726. .info_list:nth-child(1) {
  727. padding-left: 0;
  728. }
  729. .list_name {
  730. font-size: 24rpx;
  731. color: #ffffff;
  732. }
  733. .info_list:nth-last-child(1) {
  734. border-right: 0;
  735. }
  736. .info_con {
  737. width: 100%;
  738. overflow: hidden;
  739. margin-top: 60rpx;
  740. }
  741. .acc_hint {
  742. width: 100%;
  743. overflow: hidden;
  744. font-size: 20rpx;
  745. color: #fff;
  746. }
  747. .acc_price text {
  748. font-size: 46rpx;
  749. font-family: "SourceHanSansSC-Bold";
  750. color: #fff;
  751. }
  752. .list_text {
  753. font-size: 34rpx;
  754. font-size: 34rpx;
  755. font-family: "SourceHanSansSC-Bold";
  756. font-weight: bold;
  757. color: #fff;
  758. }
  759. .info_list {
  760. width: calc(100% / 3);
  761. height: 78rpx;
  762. align-items: inherit;
  763. box-sizing: border-box;
  764. padding-left: 30rpx;
  765. }
  766. .withdraw {
  767. width: 100rpx;
  768. height: 54rpx;
  769. background: #fff;
  770. border-radius: 27rpx;
  771. font-size: 26rpx;
  772. color: #11a375;
  773. font-family: "SourceHanSansSC-Medium";
  774. margin-left: 20rpx;
  775. }
  776. .recharge {
  777. width: 100rpx;
  778. height: 54rpx;
  779. box-sizing: border-box;
  780. border: 3rpx solid #fff;
  781. color: #fff;
  782. font-family: "SourceHanSansSC-Medium";
  783. border-radius: 27rpx;
  784. font-size: 26rpx;
  785. }
  786. .acc_info {
  787. width: 100%;
  788. overflow: hidden;
  789. background: url("~@/static/my/myBack.png") no-repeat;
  790. border-radius: 16rpx;
  791. padding: 30rpx;
  792. box-sizing: border-box;
  793. margin-top: 50rpx;
  794. background-size: 100% 100%;
  795. }
  796. // 账户信息-end
  797. // 功能列表
  798. .more {
  799. font-size: 24rpx;
  800. color: #999999;
  801. }
  802. .fun_con {
  803. width: 100%;
  804. overflow: hidden;
  805. }
  806. .fun_text {
  807. font-size: 24rpx;
  808. color: #333333;
  809. }
  810. .fun_list button::after {
  811. border: 0 !important;
  812. }
  813. .more_img {
  814. width: 12rpx;
  815. height: 20rpx;
  816. margin-left: 11rpx;
  817. }
  818. .fun_img {
  819. width: 50rpx;
  820. height: 50rpx;
  821. margin-bottom: 20rpx;
  822. }
  823. .fun_container {
  824. width: 100%;
  825. overflow: hidden;
  826. padding: 0 30rpx;
  827. box-sizing: border-box;
  828. }
  829. .fun_title {
  830. font-size: 32rpx;
  831. color: #232323;
  832. font-family: "SourceHanSansSC-Bold";
  833. font-weight: bold;
  834. }
  835. .fun {
  836. width: 100%;
  837. overflow: hidden;
  838. border-radius: 16rpx;
  839. background: #fff;
  840. padding: 30rpx;
  841. box-sizing: border-box;
  842. }
  843. .user_level {
  844. background: linear-gradient(to right, #ffeabd, #ffc479);
  845. padding: 10rpx 20rpx;
  846. box-sizing: border-box;
  847. border-radius: 6rpx;
  848. overflow: hidden;
  849. }
  850. // 功能列表-end
  851. </style>