user.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830
  1. <template>
  2. <view class="container">
  3. <view class="vheigh"></view>
  4. <view class="top-image">
  5. <image src="../../static/user/user-top.png" mode=""></image>
  6. </view>
  7. <view class="user-set flex">
  8. <!-- <view class="set-logo" @click="navTo('/pages/set/userinfo')"><image src="../../static/user/user08.png" mode=""></image></view> -->
  9. <!-- <view class="xx-logo"><image src="../../static/user/user2.png" mode=""></image></view> -->
  10. </view>
  11. <view class="user-wrap">
  12. <view class="info-left flex">
  13. <view class="user-name">
  14. <image :src="userInfo.avatar || '../../static/error/missing-face.png'" mode=""></image>
  15. <view class="user-font">
  16. <view class="name clamp">{{ userInfo.nickname }}</view>
  17. <view class="phone" v-if="isPhone=true">{{ getPhone }}</view>
  18. <view class="phone">{{getFh}}</view>
  19. </view>
  20. </view>
  21. <view class="kpi" v-show="userInfo.level!=0">
  22. <image style="width: 34rpx; height: 34rpx; margin-right: 8rpx;" src="../../static/icon/vip.png"
  23. mode=""></image> <span v-if="userInfo.is_bonus==1">联合创始人</span><span
  24. v-else><span>{{userInfo.is_vip==1?'钻石':''}}</span>VIP</span>
  25. </view>
  26. </view>
  27. <view class="info-right">
  28. <view class="item-item" @click="navTo('/pages/money/wallet')">
  29. <view class="item-num">{{ userInfo.now_money || 0}}</view>
  30. <view class="item-font">我的钱包</view>
  31. </view>
  32. <view class="" style="width: 1rpx;height: 100rpx;background: #EEEEEE;">
  33. </view>
  34. <view class="item-item" @click="navTo('/pages/user/cash')">
  35. <view class="item-num">{{userInfo.brokerage_price || 0}}</view>
  36. <view class="item-font">我的佣金</view>
  37. </view>
  38. <view class="" style="width: 1rpx;height: 100rpx;background: #EEEEEE;">
  39. </view>
  40. <view class="item-item" @click="navTo('/pages/user/team')">
  41. <view class="item-num">{{all || 0}}</view>
  42. <view class="item-font">我的推广</view>
  43. </view>
  44. <view class="item-item">
  45. <view class="item-num">{{(userInfo.ordsum).toFixed(2) || 0}}</view>
  46. <view class="item-font">消费金额</view>
  47. </view>
  48. </view>
  49. </view>
  50. <view class="haoyue-box">
  51. <view class="vip-box">
  52. <view class="box-top">
  53. vip积分
  54. </view>
  55. <view class="box-bottom">
  56. {{userInfo.vip_point}}
  57. </view>
  58. </view>
  59. <view class="" style="width: 2rpx; height: 100rpx; background-color: #EEEEEE;">
  60. </view>
  61. <view class="vip-box">
  62. <view class="box-top">
  63. 普通积分
  64. </view>
  65. <view class="box-bottom">
  66. {{userInfo.normal_point}}
  67. </view>
  68. </view>
  69. </view>
  70. <view class="main-box">
  71. <view class="title flex" @click="navTo('/pages/order/order?state=0')">
  72. <view class="title-left">
  73. <image class="title-icon" src="../../static/user/user10.png" mode=""></image>
  74. <view class="title-font">我的订单</view>
  75. </view>
  76. <image class="title-right" src="../../static/user/user04.png" mode=""></image>
  77. </view>
  78. <view class="main flex">
  79. <view class="oitem" @click="navTo('/pages/order/order?state=0')">
  80. <image class="oitem-image" src="../../static/user/user01.png" mode=""></image>
  81. <view class="oitem-font">待付款</view>
  82. </view>
  83. <view class="oitem" @click="navTo('/pages/order/order?state=1')">
  84. <image class="oitem-image" src="../../static/user/user03.png" mode=""></image>
  85. <view class="oitem-font">待发货</view>
  86. </view>
  87. <view class="oitem" @click="navTo('/pages/order/order?state=2')">
  88. <image class="oitem-image" src="../../static/user/user02.png" mode=""></image>
  89. <view class="oitem-font">待收货</view>
  90. </view>
  91. <view class="oitem" @click="navTo('/pages/order/order?state=3')">
  92. <image class="oitem-image" src="../../static/user/user07.png" mode=""></image>
  93. <view class="oitem-font">已完成</view>
  94. </view>
  95. </view>
  96. </view>
  97. <view class="main-box yulan" v-if="liulan.length>0">
  98. <view class="title flex">
  99. <view class="title-left">
  100. <image class="title-icon" src="../../static/user/user10.png" mode=""></image>
  101. <view class="title-font">我的销售</view>
  102. </view>
  103. <image class="title-right" mode=""></image>
  104. </view>
  105. <view class="main flex">
  106. <mosowe-swiper
  107. :lists="liulan"
  108. :touchable="true"
  109. vertical
  110. imageKey="avatar"
  111. textKey="nickname"
  112. imageshop="image"
  113. name="pname"
  114. time='add_time'
  115. swiperType="imageTextLine"
  116. :height="80"></mosowe-swiper>
  117. </view>
  118. </view>
  119. <uni-list class="tool-list">
  120. <uni-list-item title="vip积分充值" @click="navTo('/pages/money/vipRecharge')" thumb="/static/user/user18.png">
  121. </uni-list-item>
  122. <uni-list-item title="推广中心" @click="navToo('/pages/user/user_promotion')" thumb="/static/user/user08.png">
  123. </uni-list-item>
  124. <uni-list-item title="我的收藏" @click="navTo('/pages/user/favorites')" thumb="/static/user/user11.png">
  125. </uni-list-item>
  126. <uni-list-item title="客服中心" @click="openKf()" thumb="/static/user/user09.png"></uni-list-item>
  127. <uni-list-item title="设置" @click="navTo('/pages/set/userinfo')" thumb="/static/user/user13.png">
  128. </uni-list-item>
  129. </uni-list>
  130. <uni-popup ref="popupkf" type="center">
  131. <view class="popup-box">
  132. <view class="img">
  133. <image src="../../static/img/img009.png" mode=""></image>
  134. </view>
  135. <view class="mian">
  136. <view class="delivery">
  137. <view class="title">已经为您定制专属客服</view>
  138. <image src="../../static/img/img010.png" mode=""></image>
  139. </view>
  140. <view class="nocancel">客服VX:{{userInfo.wxid}}</view>
  141. <view class="comfirm-box">
  142. <view class="cancel" @click="cancel">取消</view>
  143. <view class="comfirm" @click="comfirm(userInfo.wxid)">复制微信</view>
  144. </view>
  145. </view>
  146. </view>
  147. </uni-popup>
  148. </view>
  149. </template>
  150. <script>
  151. import {
  152. tabbar1
  153. } from '@/utils/tabbar.js';
  154. import {
  155. mapState,
  156. mapMutations
  157. } from 'vuex';
  158. import uniList from '@/components/uni-list/uni-list.vue';
  159. import uniListItem from '@/components/uni-list-item/uni-list-item.vue';
  160. import mosoweSwiper from '@/components/mosowe-swiper/mosowe-swiper.vue'
  161. import {
  162. getbrowse,
  163. orderData,
  164. getUserInfo,
  165. myspread
  166. } from '@/api/user.js';
  167. import {
  168. saveUrl,
  169. interceptor
  170. } from '@/utils/loginUtils.js';
  171. let startY = 0,
  172. moveY = 0,
  173. pageAtTop = true;
  174. export default {
  175. components: {
  176. mosoweSwiper,
  177. uniList,
  178. uniListItem
  179. },
  180. data() {
  181. return {
  182. liulan:[],
  183. isPhone: false,
  184. all: 0, //推荐人数
  185. current: 4,
  186. tabbar: tabbar1,
  187. qded: false, //是否已签到
  188. text: '', //客服微信
  189. today_integral: '', //签到获得的数值
  190. today_type: '', //签到获得的数值单位
  191. tom_integral: '', //明天签到获得的数值
  192. tom_type: '', //签到获得的数值单位
  193. userDowm: 0, //卡片升级专属高度
  194. userMaxDowm: 0, //卡片最高高度
  195. toolList: [{
  196. id: 't1',
  197. name: '新人通道',
  198. width: '56rpx',
  199. heigt: '54rpx',
  200. img: '../../static/icon/tool-1.png',
  201. path: '/pages/user/xrtd'
  202. },
  203. {
  204. id: 't2',
  205. name: '邀请好友',
  206. width: '56rpx',
  207. heigt: '57rpx',
  208. img: '../../static/icon/tool-2.png',
  209. path: '/pages/user/shareQrCode'
  210. },
  211. {
  212. id: 't3',
  213. name: '我的粉丝',
  214. width: '68rpx',
  215. heigt: '53rpx',
  216. img: '../../static/icon/tool-3.png',
  217. path: '/pages/user/myfans'
  218. },
  219. {
  220. id: 't4',
  221. name: '我的订单',
  222. width: '55rpx',
  223. heigt: '54rpx',
  224. img: '../../static/icon/tool-4.png',
  225. path: '/pages/order/order'
  226. },
  227. {
  228. id: 't5',
  229. name: '我的商品',
  230. width: '50rpx',
  231. heigt: '58rpx',
  232. img: '../../static/icon/tool-5.png',
  233. path: '/pages/order/order'
  234. },
  235. {
  236. id: 't6',
  237. name: '馆长申请',
  238. width: '59rpx',
  239. heigt: '56rpx',
  240. img: '../../static/icon/tool-6.png',
  241. path: '/pages/user/gzsq'
  242. }
  243. ]
  244. };
  245. },
  246. onShow() {
  247. // 判断是否已经登录
  248. if (this.hasLogin) {
  249. this.loadBaseData();
  250. myspread({}).then(({
  251. data
  252. }) => {
  253. console.log(data, '推荐人');
  254. this.all = data.total;
  255. })
  256. }
  257. getbrowse().then(e=>{
  258. console.log(e,'888888888888888888888888')
  259. this.liulan=e.data
  260. console.log(e)
  261. })
  262. this.loadBaseData();
  263. },
  264. onReady() {
  265. // 初始化获取页面宽度
  266. uni.createSelectorQuery()
  267. .select('.container')
  268. .fields({
  269. size: true
  270. },
  271. data => {
  272. // 计算最多下拉的高度
  273. this.userDowm = Math.floor((data.width / 750) * 185);
  274. // 计算最大触发修改高度事件
  275. this.userMaxDowm = Math.floor((data.width / 750) * 250);
  276. }
  277. )
  278. .exec();
  279. },
  280. // #ifndef MP
  281. // onNavigationBarButtonTap(e) {
  282. // const index = e.index;
  283. // if (index === 0) {
  284. // this.navTo('/pages/set/set');
  285. // } else if (index === 1) {
  286. // // #ifdef APP-PLUS
  287. // const pages = getCurrentPages();
  288. // const page = pages[pages.length - 1];
  289. // const currentWebview = page.$getAppWebview();
  290. // currentWebview.hideTitleNViewButtonRedDot({
  291. // index
  292. // });
  293. // // #endif
  294. // uni.navigateTo({
  295. // url: '/pages/user/notice'
  296. // });
  297. // }
  298. // },
  299. // #endif
  300. computed: {
  301. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin']),
  302. getPhone() {
  303. if (this.userInfo.phone) {
  304. this.isPhone = true
  305. let reg = /^(\d{3})\d{4}(\d{4})$/;
  306. return this.userInfo.phone.replace(reg, '$1****$2')
  307. } else {
  308. this.isPhone = false
  309. }
  310. },
  311. getFh() {
  312. //具体分红权益
  313. return this.userInfo.vipsum
  314. }
  315. },
  316. methods: {
  317. // chongzhi(){
  318. // uni.navigateTo({
  319. // url:''
  320. // })
  321. // },
  322. ...mapMutations('user', ['setUserInfo', 'setOrderInfo']),
  323. // 加载初始数据
  324. loadBaseData() {
  325. console.log(this.userInfo, 'info');
  326. getUserInfo({})
  327. .then(({
  328. data
  329. }) => {
  330. this.setUserInfo(data);
  331. // 获取用户数据完毕后在获取订单数据防止多次跳转到登录页
  332. orderData({})
  333. .then(({
  334. data
  335. }) => {
  336. this.setOrderInfo(data);
  337. })
  338. .catch(e => {
  339. this.setOrderInfo({
  340. complete_count: 0, //完成
  341. received_count: 0, //待收货
  342. unshipped_count: 0, //待发货
  343. order_count: 0, //订单总数
  344. unpaid_count: 0 //待付款
  345. });
  346. });
  347. })
  348. .catch(e => {
  349. console.log(e);
  350. });
  351. },
  352. /**
  353. * 统一跳转接口,拦截未登录路由
  354. * navigator标签现在默认没有转场动画,所以用view
  355. */
  356. navTo(url) {
  357. console.log(url);
  358. let pages = getCurrentPages();
  359. console.log(pages, 'pages');
  360. let prevPage = pages[pages.length - 2]
  361. console.log(prevPage, 'pages2');
  362. // if (!this.hasLogin) {
  363. // // 保存地址
  364. // saveUrl();
  365. // // 登录拦截
  366. // interceptor();
  367. // } else {
  368. uni.navigateTo({
  369. url
  370. });
  371. // }
  372. },
  373. navToo(url) {
  374. // let pages = getCurrentPages();
  375. // console.log(pages, 'pages');
  376. // let prevPage = pages[pages.length - 2]
  377. // console.log(prevPage, 'pages2');
  378. if (this.userInfo.is_promoter != 0) {
  379. uni.navigateTo({
  380. url
  381. });
  382. } else {
  383. this.$api.msg('需下单后成为推广员方可推广!')
  384. }
  385. },
  386. useTool(e) {
  387. this.navTo(e.path);
  388. },
  389. // 签到弹窗
  390. goQd() {
  391. this.$refs.popupqd.open();
  392. this.qded = true;
  393. },
  394. // 关闭签到弹窗
  395. closeQd() {
  396. this.$refs.popupqd.close();
  397. },
  398. // 打开客服
  399. openKf() {
  400. this.$refs.popupkf.open();
  401. },
  402. // 关闭客服
  403. cancel() {
  404. this.$refs.popupkf.close();
  405. },
  406. comfirm(e) {
  407. console.log(e)
  408. uni.setClipboardData({
  409. data: e,
  410. success: function() {
  411. console.log('复制成功');
  412. }
  413. });
  414. }
  415. }
  416. };
  417. </script>
  418. <style lang="scss">
  419. .mosowe-swiper{
  420. height: 240rpx;
  421. }
  422. .yulan{
  423. overflow: hidden;
  424. height: 240rpx;
  425. }
  426. %flex-center {
  427. display: flex;
  428. flex-direction: column;
  429. justify-content: center;
  430. align-items: center;
  431. }
  432. %section {
  433. display: flex;
  434. justify-content: space-around;
  435. align-content: center;
  436. background: #fff;
  437. border-radius: 10rpx;
  438. }
  439. .container,
  440. page {
  441. min-height: 100%;
  442. height: auto;
  443. background-color: $page-color-base;
  444. }
  445. .vheigh {
  446. height: var(--status-bar-height);
  447. background-color: $base-color;
  448. }
  449. .top-image {
  450. position: absolute;
  451. top: 0;
  452. left: 0;
  453. right: 0;
  454. height: 230rpx;
  455. image {
  456. width: 100%;
  457. height: 100%;
  458. }
  459. }
  460. .tool-list {
  461. width: 690rpx;
  462. margin: auto;
  463. margin-top: 20rpx;
  464. background: #ffffff;
  465. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  466. border-radius: 20rpx;
  467. }
  468. .popup-box {
  469. width: 522rpx;
  470. height: 605rpx;
  471. background-color: #ffffff;
  472. border-radius: 20rpx;
  473. position: relative;
  474. .img {
  475. position: relative;
  476. top: -56rpx;
  477. left: 0;
  478. width: 522rpx;
  479. height: 132rpx;
  480. display: flex;
  481. justify-content: center;
  482. image {
  483. border-radius: 20rpx 20rpx 0 0;
  484. width: 450rpx;
  485. height: 132rpx;
  486. }
  487. }
  488. .mian {
  489. margin-top: -44rpx;
  490. display: flex;
  491. flex-direction: column;
  492. align-items: center;
  493. // padding: 32rpx 32rpx;
  494. background-color: #ffffff;
  495. border-radius: 0 0 20rpx 20rpx;
  496. text-align: center;
  497. .delivery {
  498. font-size: 40rpx;
  499. color: #333333;
  500. display: flex;
  501. align-items: center;
  502. flex-direction: column;
  503. image {
  504. margin-top: 48rpx;
  505. width: 172rpx;
  506. height: 160rpx;
  507. }
  508. }
  509. .nocancel {
  510. font-size: 32rpx;
  511. color: #333333;
  512. margin-top: 14rpx;
  513. }
  514. .comfirm-box {
  515. margin-top: 52rpx;
  516. display: flex;
  517. // margin-bottom: 32rpx;
  518. // justify-content: space-around;
  519. .cancel {
  520. display: flex;
  521. align-items: center;
  522. justify-content: center;
  523. width: 197rpx;
  524. height: 74rpx;
  525. border: 1px solid #dcc786;
  526. border-radius: 38rpx;
  527. font-size: 32rpx;
  528. color: #605128;
  529. }
  530. .comfirm {
  531. margin-left: 32rpx;
  532. display: flex;
  533. align-items: center;
  534. justify-content: center;
  535. width: 197rpx;
  536. height: 74rpx;
  537. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  538. border-radius: 38px;
  539. font-size: 32rpx;
  540. color: #605128;
  541. }
  542. }
  543. }
  544. }
  545. .popup {
  546. width: 560rpx;
  547. padding-bottom: 45rpx;
  548. background-color: #ffffff;
  549. border-radius: 15rpx;
  550. text-align: center;
  551. line-height: 1;
  552. .popup-dox {
  553. position: relative;
  554. .popup-logo {
  555. margin: -160rpx auto 0;
  556. width: 400rpx;
  557. height: 200rpx;
  558. }
  559. }
  560. .popup-title {
  561. margin-top: 85rpx;
  562. font-size: 40rpx;
  563. font-family: PingFang SC;
  564. font-weight: bold;
  565. color: #2a2a2a;
  566. text {
  567. font-size: 56rpx;
  568. color: #e83f30;
  569. }
  570. }
  571. .popup-tip {
  572. margin-top: 20rpx;
  573. font-size: 28rpx;
  574. font-family: PingFang SC;
  575. font-weight: 500;
  576. color: #8c8c8c;
  577. text {
  578. color: #e83f30;
  579. }
  580. }
  581. .popup-btn {
  582. margin: 58rpx auto 0;
  583. width: 270rpx;
  584. height: 66rpx;
  585. background: #f0c838;
  586. border-radius: 34rpx;
  587. text-align: center;
  588. line-height: 66rpx;
  589. font-size: 36rpx;
  590. font-family: Source Han Sans CN;
  591. font-weight: 500;
  592. color: #ffffff;
  593. }
  594. }
  595. .user-wrap {
  596. position: relative;
  597. z-index: 10;
  598. width: 690rpx;
  599. height: 283rpx;
  600. background: #ffffff;
  601. box-shadow: 0px 4rpx 13rpx 0px rgba(229, 229, 229, 0.46);
  602. border-radius: 20rpx;
  603. padding: 34rpx 0 40rpx;
  604. margin: auto;
  605. .info-left {
  606. padding-left: 34rpx;
  607. .user-name {
  608. display: flex;
  609. align-items: center;
  610. image {
  611. width: 120rpx;
  612. height: 120rpx;
  613. border-radius: 50%;
  614. }
  615. .user-font {
  616. padding-left: 34rpx;
  617. .name {
  618. width: 250rpx;
  619. font-size: 40rpx;
  620. font-family: Source Han Sans CN;
  621. font-weight: 400;
  622. color: #333333;
  623. }
  624. .phone {
  625. margin-top: 10rpx;
  626. font-size: 20rpx;
  627. font-family: PingFang SC;
  628. font-weight: 500;
  629. color: #999999;
  630. }
  631. }
  632. }
  633. .kpi {
  634. display: flex;
  635. align-items: center;
  636. background: #f5eede;
  637. border-radius: 30rpx 0px 0px 30rpx;
  638. padding: 18rpx 24rpx;
  639. font-size: 26rpx;
  640. font-family: PingFang SC;
  641. font-weight: bold;
  642. color: #c6914e;
  643. }
  644. }
  645. .info-right {
  646. display: flex;
  647. justify-content: space-around;
  648. align-items: center;
  649. margin: 30rpx 0;
  650. padding: 0 34rpx;
  651. .item-item {
  652. padding-bottom: 20rpx;
  653. width: 33%;
  654. display: flex;
  655. justify-content: center;
  656. flex-direction: column;
  657. align-items: center;
  658. .item-num {
  659. font-size: 36rpx;
  660. font-weight: bold;
  661. color: #333333;
  662. }
  663. .item-font {
  664. margin-top: 18rpx;
  665. font-size: 22rpx;
  666. font-weight: 500;
  667. color: #666666;
  668. }
  669. }
  670. }
  671. }
  672. .haoyue-box {
  673. margin: 20rpx 30rpx;
  674. height: 100rpx;
  675. border-radius: 20rpx;
  676. background: #fff;
  677. display: flex;
  678. justify-content: space-around;
  679. align-items: center;
  680. .vip-box {
  681. display: flex;
  682. flex-direction: column;
  683. align-items: center;
  684. .box-top {
  685. font-size: 30rpx;
  686. line-height: 50rpx;
  687. font-weight: 500;
  688. }
  689. .box-bottom {
  690. font-weight: 500;
  691. }
  692. }
  693. }
  694. .user-set {
  695. justify-content: flex-end;
  696. view {
  697. flex-shrink: 0;
  698. }
  699. padding: 30rpx;
  700. image {
  701. height: 40rpx;
  702. width: 40rpx;
  703. }
  704. }
  705. .main-box {
  706. margin: 20rpx auto 0;
  707. width: 690rpx;
  708. background: #ffffff;
  709. box-shadow: 0px 4rpx 14rpx 0px rgba(229, 229, 229, 0.46);
  710. border-radius: 20rpx;
  711. .title {
  712. display: flex;
  713. justify-content: space-between;
  714. align-items: center;
  715. padding: 24rpx;
  716. border-bottom: 1px solid #EEEEEE;
  717. .title-left {
  718. display: flex;
  719. align-items: center;
  720. .title-icon {
  721. width: 32rpx;
  722. height: 32rpx;
  723. }
  724. .title-font {
  725. margin-left: 20rpx;
  726. font-size: 28rpx;
  727. font-family: PingFang SC;
  728. font-weight: bold;
  729. color: #333333;
  730. }
  731. }
  732. .title-right {
  733. width: 14rpx;
  734. height: 24rpx;
  735. }
  736. }
  737. .main {
  738. padding: 30rpx 0 20rpx;
  739. .oitem {
  740. width: 25%;
  741. display: flex;
  742. flex-direction: column;
  743. align-items: center;
  744. .oitem-image {
  745. height: 50rpx;
  746. width: 48rpx;
  747. }
  748. .oitem-font {
  749. margin-top: 20rpx;
  750. font-size: 24rpx;
  751. font-family: PingFang SC;
  752. font-weight: 500;
  753. color: #333333;
  754. }
  755. }
  756. }
  757. }
  758. </style>