index.vue 21 KB

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