user.vue 18 KB

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