index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  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 v-if="!userinfo.head_pic" class="image" src="/static/my/head.png" @click="toLogin"></image>
  8. <image v-else @click="upheadimg" class="image" :src="userinfo.head_pic"></image>
  9. <view class="coupon_info flex_r flex_ac" @tap="goToAutonym" v-if="isShiMing">
  10. 完成实名认证,享受更多权益
  11. <image src="/static/my/f_close.png" mode="widthFix" class="close_icon" @tap.stop="closeAuto" />
  12. </view>
  13. </view>
  14. <block v-if="userinfo.mobile">
  15. <view class="user_con flex_c flex_as flex_jc">
  16. <view class="user_name flex_r flex_ae ellipsis">
  17. <view class="flex_r flex_ac">
  18. <view @click="goto('/pages/my/userinfo')" :style="{'color':localInfo.is_consume > 0?'#18bb88' : ''}">{{ userinfo.nickname }}</view>
  19. <image v-for="i in localInfo.is_consume" :key="i" class="consume" src="https://teaclub.oss-cn-chengdu.aliyuncs.com/static/icon/consume.png" />
  20. <image v-if="localInfo.bounty_hunter == 1" class="consume" src="https://teaclub.oss-cn-chengdu.aliyuncs.com/CloudShop/logo/202402/hunter.png" />
  21. </view>
  22. <text v-if="isAuthentication">({{ userinfo.is_authentication == 0 ? "未实名" : "已实名" }})</text>
  23. </view>
  24. <view class="live_name flex_r flex_ac flex_jc">
  25. <!-- <image src="/static/my/huangguan.png" class="live_ico" /> -->
  26. <span>{{ typeto(localInfo.level_id) }}</span>
  27. </view>
  28. <view class="user_account flex_r flex_ac mar_t16">
  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. <navigator class="flex_c flex_ac" @tap="getImgPage" hover-class="none">
  35. <image class="fun_img" src="/static/my/f_img_code.png"></image>
  36. <view class="fun_text">分享海报</view>
  37. </navigator>
  38. </view> -->
  39. </block>
  40. <block v-else>
  41. <view class="user_con flex_c flex_as flex_jc" @click="toLogin">
  42. <view class="user_name flex_r flex_ae ellipsis">点此处登录</view>
  43. </view>
  44. </block>
  45. </view>
  46. <!-- 用户信息-end -->
  47. <!-- 节点 -->
  48. <!-- 节点-end -->
  49. <!-- 账户信息 -->
  50. <view class="acc_info flex_r flex_jb acc_box">
  51. <!-- <div class="flex_r flex_jb"> -->
  52. <div class="i_num flex_c flex_ac">
  53. <!-- <div class="i_num flex_c flex_ac" @click="goto('/pagesB/my/shuZhiWallet')"> -->
  54. <p class="flex_r flex_ac flex_jc">
  55. <image src="/static/wallet/6.png" class="ico" /><span>付宝</span></p>
  56. <p class="dinB tc">{{localInfo.property||0}}</p>
  57. </div>
  58. <div class="i_num flex_c flex_ac" @click="goto('/pagesB/accountDetails/ConsumptionCharge')">
  59. <p class="flex_r flex_ac flex_jc">
  60. <image src="/static/wallet/3.png" class="ico" /><span>消费券</span></p>
  61. <p class="dinB tc">{{localInfo.integral||0}}</p>
  62. </div>
  63. </view>
  64. <!-- 账户信息-end -->
  65. </view>
  66. <!-- 功能列表 -->
  67. <view class="fun_container">
  68. <view class="fun mar_t30" v-if="isBusinessCenter">
  69. <view class="fun_title">商家中心</view>
  70. <view class="fun_con mar_t50 flex_r flex_ac">
  71. <navigator v-if="merchantSetlet.shop" class="fun_list flex_c flex_ac" url="/pagesC/settledMerchant/myShop" hover-class="none">
  72. <image class="fun_img" src="/static/my/store.png"></image>
  73. <view class="fun_text">我的店铺</view>
  74. </navigator>
  75. <navigator v-if="merchantSetlet.settled" class="fun_list flex_c flex_ac" url="/pagesC/settledMerchant/addShop" hover-class="none">
  76. <image class="fun_img" src="/static/my/merchant.png"></image>
  77. <view class="fun_text">商家入驻</view>
  78. </navigator>
  79. <navigator v-if="merchantSetlet.settled" class="fun_list flex_c flex_ac" url="/pagesC/settledMerchant/myBusiness" hover-class="none">
  80. <image class="fun_img" src="/static/my/merchant2.png"></image>
  81. <view class="fun_text">我的商家</view>
  82. </navigator>
  83. <navigator v-if="merchantSetlet.region" class="fun_list flex_c flex_ac" url="/pagesC/settledMerchant/business" hover-class="none">
  84. <image class="fun_img" src="/static/my/merchant3.png"></image>
  85. <view class="fun_text">区域商家</view>
  86. </navigator>
  87. <navigator v-if="false" class="fun_list flex_c flex_ac" hover-class="none">
  88. <image class="fun_img" src="/static/my/operator.png"></image>
  89. <view class="fun_text">申请运营商</view>
  90. </navigator>
  91. </view>
  92. </view>
  93. <view class="fun mar_t30">
  94. <view class="fun_title">我的服务</view>
  95. <view class="fun_con mar_t50 flex_r flex_ac">
  96. <navigator class="fun_list flex_c flex_ac" url="/pagesB/my/myWallet" hover-class="none">
  97. <image class="fun_img" src="/static/my/9.png"></image>
  98. <view class="fun_text">我的积分</view>
  99. </navigator>
  100. <navigator class="fun_list flex_c flex_ac" url="/pagesB/orderingfood/orderlist" hover-class="none">
  101. <image class="fun_img" src="/static/my/10.png"></image>
  102. <view class="fun_text">本地订单</view>
  103. </navigator>
  104. <navigator class="fun_list flex_c flex_ac" url="/pages/szw-order-list/index" hover-class="none">
  105. <image class="fun_img" src="/static/my/15.png"></image>
  106. <view class="fun_text">电商订单</view>
  107. </navigator>
  108. <navigator class="fun_list flex_c flex_ac" url="/pagesC/shoppingMallType/order/list" hover-class="none">
  109. <image class="fun_img" src="/static/my/15.png"></image>
  110. <view class="fun_text">商城订单</view>
  111. </navigator>
  112. </view>
  113. <view class="fun_con mar_t50 flex_r flex_ac">
  114. <navigator class="fun_list flex_c flex_ac" url="/pagesB/address/list" hover-class="none">
  115. <image class="fun_img" src="/static/my/dizhi.png"></image>
  116. <view class="fun_text">地址管理</view>
  117. </navigator>
  118. <navigator class="fun_list flex_c flex_ac" url="/pagesB/my/assistant" hover-class="none">
  119. <image class="fun_img" src="/static/my/assistant.png"></image>
  120. <view class="fun_text">开票助手</view>
  121. </navigator>
  122. <navigator class="fun_list flex_c flex_ac" url="/pagesB/invoice/invoiceList" hover-class="none">
  123. <image class="fun_img" src="/static/my/assistantHistory.png"></image>
  124. <view class="fun_text">开票历史</view>
  125. </navigator>
  126. <navigator class="fun_list flex_c flex_ac" @click="goto('/pages/agreement/index',{tit:'新手教程',type:1})" hover-class="none">
  127. <image class="fun_img" src="/static/my/green.png"></image>
  128. <view class="fun_text">新手教程</view>
  129. </navigator>
  130. </view>
  131. <view class="fun_con mar_t50 flex_r flex_ac">
  132. <navigator class="fun_list flex_c flex_ac" @click="goto('/pages/agreement/index',{tit:'关于我们',type:7})" hover-class="none">
  133. <image class="fun_img" src="/static/my/about.png"></image>
  134. <view class="fun_text">关于我们</view>
  135. </navigator>
  136. <navigator class="fun_list flex_c flex_ac" @click="goto('/pages/agreement/index',{tit:'用户须知',type:8})" hover-class="none">
  137. <image class="fun_img" src="/static/my/feedback.png"></image>
  138. <view class="fun_text">用户须知</view>
  139. </navigator>
  140. <navigator class="fun_list flex_c flex_ac" @click="goto('/pages/my/userinfo')" hover-class="none">
  141. <image class="fun_img" src="/static/my/h_n.png"></image>
  142. <view class="fun_text">头像昵称</view>
  143. </navigator>
  144. <view class="fun_list flex_c flex_ac">
  145. <button open-type="contact" style="background: #fff; border: 0; line-height: 1; padding: 0">
  146. <image class="fun_img" src="/static/my/service.png"></image>
  147. <view class="fun_text">在线客服</view>
  148. </button>
  149. </view>
  150. </view>
  151. <view class="fun_con mar_t50 flex_r flex_ac">
  152. <navigator class="fun_list flex_c flex_ac" @click="getImgPage" hover-class="none">
  153. <image class="fun_img" src="https://teaclub.oss-cn-chengdu.aliyuncs.com/CloudShop/icon/share2.png"></image>
  154. <view class="fun_text">分享海报</view>
  155. </navigator>
  156. <navigator class="fun_list flex_c flex_ac" @click="copy" hover-class="none">
  157. <image class="fun_img" src="/static/my/14.png"></image>
  158. <view class="fun_text">APP下载</view>
  159. </navigator>
  160. </view>
  161. </view>
  162. </view>
  163. <!-- #ifdef APP-PLUS || H5 -->
  164. <view class="confim flex_r flex_ac flex_jc" @tap="loginOut">退出登录</view>
  165. <!-- #endif -->
  166. <view class="fz_w_text">
  167. <view>好生活,茶付宝!</view>
  168. <view class="fz_w_text">茶付宝公司 版权所有 Copyright@2020-2025</view>
  169. <!-- #ifdef MP-WEIXIN -->
  170. <view v-if="app.globalData.version">{{ app.globalData.version }}</view>
  171. <!-- #endif -->
  172. </view>
  173. <!-- 授权 -->
  174. <!-- <authorize-module ref="autho" :shopInfo="shopInfo" @authGetTelSuccess="onauthGetTelSuccess" /> -->
  175. <!-- 激活升级 -->
  176. <activation ref="activation" tit="激活" />
  177. </view>
  178. </template>
  179. <script>
  180. // #ifdef MP-WEIXIN
  181. let app = getApp();
  182. // #endif
  183. import uniCopy from "@/utils/copy";
  184. import authorizeModule from "@/components/authorize-module/index";
  185. import activation from "@/components/activation/activation.vue"
  186. import { post } from "@/request/api.js";
  187. export default {
  188. components: {
  189. authorizeModule,
  190. activation
  191. },
  192. data() {
  193. return {
  194. shopInfo: {}, // 商铺信息
  195. isShiMing: true, //未实名提示弹窗
  196. userinfo: {}, // 获取用户信息
  197. unid: "",
  198. invited: "",
  199. isAuthentication: uni.getStorageSync("isAuthentication"), //是否开启实名模块
  200. localInfo: {
  201. regional:[],
  202. operate:[]
  203. }, //数智生活信息
  204. merchantSetlet: {},
  205. isBusinessCenter: false,
  206. teacCountCny: 0,
  207. equityCountCny: 0
  208. };
  209. },
  210. onLoad(options) {
  211. uni.setTabBarStyle({
  212. color: '#999',
  213. selectedColor: '#3EAEF0',
  214. })
  215. //推荐人邀请码|受邀码
  216. this.invited = uni.getStorageSync("inviteCode") || ""
  217. this.closeAuto(); //关闭实名功能
  218. },
  219. onShow() {
  220. uni.setTabBarStyle({
  221. color: '#999',
  222. selectedColor: '#3EAEF0',
  223. })
  224. let token = uni.getStorageSync("token");
  225. if (!token) this.login()
  226. else {
  227. this.getuserInfo();
  228. }
  229. },
  230. methods: {
  231. login() {
  232. const deviceInfo = wx.getDeviceInfo()
  233. let that = this;
  234. // #ifdef MP-WEIXIN
  235. wx.login({
  236. success(res) {
  237. if (res.code) {
  238. post("v1/appletLogin", {
  239. code: res.code,
  240. phone_model: deviceInfo.model,//设备型号
  241. phone_brand: deviceInfo.brand,//设备品牌
  242. invite: that.invited,
  243. }).then((res) => {
  244. if (res.code === 0) {
  245. if (res.data.token) {
  246. uni.setStorageSync("token", res.data.token);
  247. that.getuserInfo();
  248. } else {
  249. that.unid = res.data.unid;
  250. uni.setStorageSync("unid", res.data.unid);
  251. that.shopInfo = app.globalData.shopInfo;
  252. // that.SoHAuth(); //调取授权弹窗
  253. }
  254. }
  255. });
  256. }
  257. },
  258. });
  259. // #endif
  260. },
  261. toLogin(){
  262. // #ifdef MP-WEIXIN
  263. this.goto("/pages/my/wxLogin");
  264. // #endif
  265. // #ifdef H5 || APP-PLUS
  266. this.goto("/pages/my/login");
  267. // #endif
  268. },
  269. // 获取userinfo
  270. async getuserInfo() {
  271. let res = await uni.userfun();
  272. if (res.user_id) {
  273. if (this.isAuthentication) this.isShiMing = res.is_authentication == 0;
  274. else this.isShiMing = false;
  275. this.userinfo = res;
  276. } else this.login();
  277. this.localInfo = await uni.Luserfun()
  278. this.merchantSet();
  279. this.getConvertCny()
  280. },
  281. // 跳转到实名页面
  282. goToAutonym() {
  283. this.goto("/pages/autonym-submit/index")
  284. },
  285. // 关闭实名信息提示
  286. closeAuto() {
  287. this.isShiMing = false;
  288. },
  289. // 跳转到分享页面
  290. getImgPage() {
  291. if (this.isAuthentication) {
  292. if (this.userinfo.is_authentication == 1) {
  293. this.goto("/pages/invi-img/index")
  294. } else {
  295. this.$toast("您还未实名");
  296. this.goToAutonym();
  297. }
  298. } else {
  299. this.goto("/pages/invi-img/index")
  300. }
  301. },
  302. // 复制账号
  303. copyText(e) {
  304. uniCopy({
  305. content: e,
  306. success: (res) => {
  307. uni.showToast({
  308. title: "已复制到剪贴板",
  309. icon: "none",
  310. duration: 2000,
  311. });
  312. },
  313. error: (e) => {},
  314. });
  315. },
  316. copy(){
  317. // this.$toast("敬请期待")
  318. uniCopy({
  319. content: "https://app.chafubao.cn",
  320. success: (res) => {
  321. uni.showToast({
  322. title: "APP下载链接已复制,请转到浏览器下载",
  323. icon: "none",
  324. duration: 1000,
  325. });
  326. },
  327. error: (e) => {},
  328. });
  329. },
  330. // 点击头像
  331. upheadimg() {
  332. let that = this;
  333. uni.previewImage({
  334. urls: [that.userinfo.head_pic],
  335. current: 0,
  336. });
  337. },
  338. activation() {
  339. this.$refs.activation.open()
  340. },
  341. typeto(va) {
  342. switch (va) {
  343. // case 1: return "消费商";
  344. // case 2: return "链接大使";
  345. // case 3: return "合伙人";
  346. // case 4: return "联合创始人";
  347. // case 5: return "联合发起人";
  348. case 1: return "💎";
  349. case 2: return "💎💎";
  350. case 3: return "💎💎💎";
  351. case 4: return "💎💎💎💎";
  352. case 5: return "💎💎💎💎💎";
  353. default:
  354. return ""
  355. }
  356. },
  357. // teaC价值
  358. getConvertCny(){
  359. post("v1/getConvertCny").then((res) => {
  360. if (res.code === 0) {
  361. this.teacCountCny = Math.floor(Number(res.data.data.teac) * Number(this.userinfo.teac))
  362. this.equityCountCny = Math.floor(Number(res.data.data.equity) * Number(this.localInfo.original_equity))
  363. }
  364. });
  365. },
  366. // 商家中心权限
  367. merchantSet(){
  368. post("v1/merchant/settled").then((res) => {
  369. if (res.code === 0) {
  370. this.merchantSetlet = res.data
  371. for (const i in res.data) {
  372. if(res.data[i]) {
  373. this.isBusinessCenter = true
  374. return
  375. }
  376. }
  377. }
  378. });
  379. },
  380. loginOut(){
  381. post("v1/logout").then((res) => {
  382. });
  383. uni.clearStorageSync();
  384. uni.reLaunch({
  385. url:'/pages/my/login'
  386. })
  387. }
  388. },
  389. };
  390. </script>
  391. <style lang="scss">
  392. // 页面配置
  393. page {
  394. background: #f5f5f5;
  395. }
  396. .container {
  397. box-sizing: border-box;
  398. }
  399. .content {
  400. padding: 66rpx 30rpx 0;
  401. box-sizing: border-box;
  402. width: 100%;
  403. overflow: hidden;
  404. background-image: linear-gradient(to bottom, #fff, #f5f5f5);
  405. }
  406. // 页面配置-end
  407. // 用户信息
  408. .close_icon {
  409. margin-left: 24rpx;
  410. width: 26rpx;
  411. }
  412. .coupon_info {
  413. position: absolute;
  414. top: -70rpx;
  415. left: 0;
  416. border-radius: 12rpx;
  417. background-color: rgba(0, 0, 0, 0.8);
  418. color: #fff;
  419. font-size: 28rpx;
  420. font-weight: 500;
  421. padding: 10rpx 24rpx;
  422. transition: all 0.6s ease;
  423. width: 420rpx;
  424. }
  425. .uerInfo {
  426. width: 100%;
  427. }
  428. .code_img:nth-child(1) {
  429. margin-left: 20rpx;
  430. }
  431. .code_img {
  432. width: 42rpx;
  433. height: 44rpx;
  434. margin-left: 36rpx;
  435. }
  436. .account {
  437. font-size: 26rpx;
  438. color: #121212;
  439. margin-right: 20rpx;
  440. }
  441. .user_img .image {
  442. width: 100%;
  443. height: 100%;
  444. border-radius: 50%;
  445. }
  446. .user_con {
  447. width: calc(100% - 136rpx - 140rpx - 20rpx);
  448. overflow: hidden;
  449. }
  450. .user_img {
  451. width: 136rpx;
  452. height: 136rpx;
  453. margin-right: 20rpx;
  454. border-radius: 50%;
  455. position: relative;
  456. }
  457. .user_name text {
  458. font-size: 26rpx;
  459. font-family: "SourceHanSansSC-Medium";
  460. color: #121212;
  461. font-weight: 500;
  462. }
  463. .user_name .consume{
  464. width: 30rpx;
  465. height: 30rpx;
  466. margin-left: 8rpx;
  467. }
  468. .copy_account {
  469. width: 60rpx;
  470. height: 32rpx;
  471. background: #f1d3a8;
  472. font-size: 22rpx;
  473. color: #6b2909;
  474. border-radius: 6rpx;
  475. }
  476. .user_name {
  477. width: 100%;
  478. overflow: hidden;
  479. font-size: 40rpx;
  480. color: #121212;
  481. font-weight: 500;
  482. line-height: 1;
  483. }
  484. .user_option {
  485. width: 140rpx;
  486. text-align: right;
  487. padding-right: 24rpx;
  488. .fun_img {
  489. width: 84rpx;
  490. height: 84rpx;
  491. margin-bottom: 10rpx;
  492. }
  493. .fun_text {
  494. font-size: 22rpx;
  495. }
  496. }
  497. .live_name {
  498. background-color: #f1d3a8;
  499. padding: 2rpx 8rpx;
  500. margin-top: 10rpx;
  501. border-radius: 8rpx;
  502. .live_ico {
  503. width: 26rpx;
  504. height: 26rpx;
  505. margin-right: 6rpx;
  506. }
  507. span {
  508. font-size: 22rpx;
  509. }
  510. }
  511. // 用户信息-end
  512. .regional {
  513. padding: 0 10rpx;
  514. margin-top: 16rpx;
  515. .ico {
  516. width: 32rpx;
  517. height: 32rpx;
  518. margin-right: 12rpx;
  519. }
  520. .txtinfo {
  521. color: #000;
  522. font-size: 25rpx;
  523. white-space: nowrap;
  524. }
  525. .ico,
  526. .txtinfo {
  527. vertical-align: middle;
  528. }
  529. &.top10{
  530. margin-top: -2rpx;
  531. }
  532. }
  533. // 账户信息
  534. .acc_info {
  535. width: 100%;
  536. overflow: hidden;
  537. background: url("http://teaclub.oss-cn-chengdu.aliyuncs.com/img/31.png");
  538. background-size: 100% 100%;
  539. border-radius: 16rpx;
  540. padding: 36rpx 0;
  541. box-sizing: border-box;
  542. margin-top: 38rpx;
  543. .i_num {
  544. text-align: center;
  545. font-size: 32rpx;
  546. width: 50%;
  547. p {
  548. color: #BE7329;
  549. }
  550. .ico {
  551. width: 42rpx;
  552. height: 42rpx;
  553. margin-right: 12rpx;
  554. }
  555. .dinB {
  556. margin-top: 14rpx;
  557. font-size: 40rpx;
  558. }
  559. .tc {
  560. text-align: center;
  561. }
  562. }
  563. }
  564. .acc_box{
  565. padding: 36rpx;
  566. }
  567. .acc_info_next{
  568. &_item{
  569. width: 49%;
  570. color: #276727;
  571. font-weight: 550;
  572. box-sizing: border-box;
  573. padding: 20rpx;
  574. background: url("http://teaclub.oss-cn-chengdu.aliyuncs.com/img/11.png");
  575. background-size: 100% 100%;
  576. .ico {
  577. width: 42rpx;
  578. height: 42rpx;
  579. // margin-right: 12rpx;
  580. }
  581. &_bottom{
  582. font-size: 30rpx;
  583. font-weight: 600;
  584. }
  585. }
  586. &_item:last-child{
  587. color: #0B414D;
  588. background: url("http://teaclub.oss-cn-chengdu.aliyuncs.com/img/12.png");
  589. background-size: 100% 100%;
  590. // .acc_info_next_item_bottom{
  591. // font-size: 30rpx;
  592. // font-weight: 600;
  593. // }
  594. }
  595. }
  596. // 账户信息-end
  597. // 功能列表
  598. .more {
  599. font-size: 24rpx;
  600. color: #999999;
  601. }
  602. .fun_con {
  603. width: 100%;
  604. overflow: hidden;
  605. }
  606. .fun_text {
  607. font-size: 24rpx;
  608. color: #333333;
  609. }
  610. .fun_list {
  611. width: 25%;
  612. }
  613. .fun_list button::after {
  614. border: 0 !important;
  615. }
  616. .more_img {
  617. width: 12rpx;
  618. height: 20rpx;
  619. margin-left: 11rpx;
  620. }
  621. .fun_img {
  622. width: 50rpx;
  623. height: 50rpx;
  624. margin-bottom: 10rpx;
  625. }
  626. .fun_container {
  627. width: 100%;
  628. overflow: hidden;
  629. padding: 0 30rpx;
  630. box-sizing: border-box;
  631. }
  632. .fun_title {
  633. padding: 0 30rpx;
  634. font-size: 32rpx;
  635. color: #333;
  636. font-weight: bold;
  637. }
  638. .fun_tit {
  639. font-size: 28rpx;
  640. color: #666;
  641. font-weight: bold;
  642. padding-left: 36rpx;
  643. padding-right: 30rpx;
  644. }
  645. .fun {
  646. width: 100%;
  647. overflow: hidden;
  648. border-radius: 16rpx;
  649. background: #fff;
  650. padding: 30rpx 0;
  651. box-sizing: border-box;
  652. }
  653. .user_level {
  654. margin-top: 10rpx;
  655. background: linear-gradient(to right, #ffeabd, #ffc479);
  656. padding: 6rpx 20rpx;
  657. border-radius: 6rpx;
  658. overflow: hidden;
  659. .level_img {
  660. width: 38rpx;
  661. height: 30rpx;
  662. z-index: 30;
  663. }
  664. .level_text {
  665. color: #6b2909;
  666. font-size: 28rpx;
  667. margin-left: 12rpx;
  668. display: inline-block;
  669. height: 30rpx;
  670. line-height: 30rpx;
  671. }
  672. .level_img,
  673. .level_text {
  674. float: left;
  675. }
  676. }
  677. .moarbtn {
  678. font-size: 22rpx;
  679. color: #999;
  680. .iconfont {
  681. text-decoration-skip: 20rpx;
  682. margin-left: 6rpx;
  683. color: #999;
  684. }
  685. text {
  686. vertical-align: middle;
  687. }
  688. }
  689. // 功能列表-end
  690. .notice_swiper {
  691. height: 40rpx;
  692. // padding-left: 20rpx;
  693. font-size: 28rpx;
  694. float: left;
  695. box-sizing: border-box;
  696. min-width: 430rpx;
  697. .not_list {
  698. min-width: 430rpx;
  699. }
  700. .not_ico {
  701. width: 30rpx;
  702. font-size: 28rpx;
  703. color: #999;
  704. }
  705. .not_list,
  706. .not_ico {
  707. display: inline-block;
  708. vertical-align: middle;
  709. height: 40rpx;
  710. line-height: 40rpx;
  711. }
  712. }
  713. .confim {
  714. width: 90%;
  715. height: 80rpx;
  716. border-radius: 40rpx;
  717. background: #2db389;
  718. color: #fff;
  719. font-size: 26rpx;
  720. margin: 44rpx auto 0;
  721. }
  722. </style>