index.vue 20 KB

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