home.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <template>
  2. <view class="container home clearfix" :style="{paddingTop:CustomBar+'px'}">
  3. <cm-custom :navbar-data='nvabarData'></cm-custom>
  4. <!-- 头部轮播 -->
  5. <tui-skeleton v-if="skeletonShow" backgroundColor="#fafafa" borderRadius="10rpx" :isLoading ="true" :loadingType="5"></tui-skeleton>
  6. <view class="container-home tui-skeleton">
  7. <view class="swiper-banner-box" >
  8. <swiper class="tui-banner-swiper tui-banner tui-skeleton-fillet" :autoplay="true" :interval="5000" :duration="500" @change="swiperChange" :circular="true">
  9. <swiper-item v-for="(item,index) in bannerImageList" :key="index">
  10. <image :src="item" class="tui-slide-image" mode="scaleToFill"/>
  11. </swiper-item>
  12. </swiper>
  13. <view class="swiper__dots-box" v-if="bannerImageList.length > 1">
  14. <view v-for="(item,idx) in bannerImageList"
  15. :key="idx"
  16. :class="[idx===current?'swiper__dots-long':'none']"
  17. :data-index="current" class="swiper__dots-item">
  18. </view>
  19. </view>
  20. </view>
  21. <view class="cate-section clearfix">
  22. <!-- 自定义分类导航栏 -->
  23. <view class="tabbar clearfix">
  24. <view class="cate-item" v-for="(nav,idx) in productsClassifyList" :key="idx" @click.stop="navToListPage(nav)">
  25. <image class="tui-skeleton-circular" :src="nav.classifyImage"></image>
  26. <text class="tui-skeleton-fillet">{{nav.classifyName}}</text>
  27. </view>
  28. </view>
  29. <!-- 优选分类 -->
  30. <view class="tabbar bot clearfix">
  31. <view class="cate-item-info" @click.stop="this.$api.navToListPage({type:'1',value:firstModulesName})">
  32. <image class="tui-skeleton-circular" :src="firstModulesImage"></image>
  33. <text class="tui-skeleton-fillet">{{firstModulesName}}</text>
  34. </view>
  35. <view class="cate-item-info" @click.stop="this.$api.navToListPage({type:'2',value:secondModulesName})">
  36. <image class="tui-skeleton-circular" :src="secondModulesImage"></image>
  37. <text class="tui-skeleton-fillet">{{secondModulesName}}</text>
  38. </view>
  39. <view class="cate-item-info" @click="showTost">
  40. <image class="tui-skeleton-circular" :src="navInforList[0].icon"></image>
  41. <text class="tui-skeleton-fillet">{{navInforList[0].text}}</text>
  42. </view>
  43. <view class="cate-item-info">
  44. <!-- #ifdef MP-WEIXIN -->
  45. <button class="contact-btn" open-type="contact" @bindcontact="handleContact">
  46. <image class="tui-skeleton-circular" :src="navInforList[1].icon"></image>
  47. </button>
  48. <!-- #endif -->
  49. <text class="tui-skeleton-fillet">{{navInforList[1].text}}</text>
  50. </view>
  51. </view>
  52. </view>
  53. <!-- 热销商品 -->
  54. <view class="hotgoods-section">
  55. <view class="s-header" @click="this.$api.navToListPage({type:'3',value:thirdModulesName})">
  56. <text class="tip tui-skeleton-fillet">{{thirdModulesName}}</text>
  57. <text class="tit tui-skeleton-fillet">更多</text>
  58. <text class="iconfont icon-xiayibu"></text>
  59. </view>
  60. <view class="hotgoods-swiper">
  61. <view class="scoll-wrapper clearfix">
  62. <view class="floor-item" v-for="(item, index) in organizeProducts" :key="index" @click.stop="navToDetailPage(item.productID)">
  63. <image class="tui-skeleton-fillet" :src="item.mainImage" mode="aspectFill"></image>
  64. <view class="floor-item-content">
  65. <view class="title tui-skeleton-rect">
  66. <text class="mclap">{{item.name}}</text>
  67. </view>
  68. <view class="" v-if="hasLogin">
  69. <view class="price tui-skeleton-rect">
  70. <text class="p sm">¥</text>
  71. <text class="p big">{{item.retailPrice!=null ? item.retailPrice.toFixed(2):''}}</text>
  72. </view>
  73. </view>
  74. <view v-else class="no-price">
  75. <text class="p-no">价格:</text>
  76. <view class="p-stars">
  77. <uni-stars :stars="parseInt(item.price1Grade)"></uni-stars>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. <!-- 底部 -->
  86. <view class="footer-section ">
  87. <view class="s-header member tui-skeleton-fillet">
  88. <text class="tip">医美机构正品联盟</text>
  89. </view>
  90. <view class="f-content tui-skeleton-fillet" @click="navto('/pages/service/member')">
  91. <image class="tui-banner" src="https://img.caimei365.com/group1/M00/03/71/Cmis2F3wna6AEwQlAAjGFdpI2LM357.png" mode="scaleToFill"></image>
  92. </view>
  93. <view class="f-tab-section">
  94. <!-- 优选分类 -->
  95. <view class="tabbar clearfix">
  96. <view class="cate-item" @click="showTost">
  97. <image class="tui-skeleton-circular" :src="navServerList[0].icon"></image>
  98. <text class="tui-skeleton-fillet">{{navServerList[0].text}}</text>
  99. </view>
  100. <view class="cate-item" @click="navto(navServerList[1].path)">
  101. <image class="tui-skeleton-circular" :src="navServerList[1].icon"></image>
  102. <text class="tui-skeleton-fillet">{{navServerList[1].text}}</text>
  103. </view>
  104. <view class="cate-item" @click="navto(navServerList[2].path)">
  105. <image class="tui-skeleton-circular" :src="navServerList[2].icon"></image>
  106. <text class="tui-skeleton-fillet">{{navServerList[2].text}}</text>
  107. </view>
  108. <view class="cate-item" @click="telPhoneTo">
  109. <image class="tui-skeleton-circular" :src="navServerList[3].icon"></image>
  110. <text class="tui-skeleton-fillet">{{navServerList[3].text}}</text>
  111. </view>
  112. </view>
  113. </view>
  114. <view class="f-text tui-skeleton-fillet">
  115. <view class="">
  116. <image class="logo" src="../../../static/logo-c@2x.png" mode=""></image>
  117. <text class="">采美365网</text>
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. <!-- 透明模态层 -->
  123. <modal-layer v-if='modallayer'></modal-layer>
  124. </view>
  125. </template>
  126. <script>
  127. import tuiSkeleton from "@/components/tui-skeleton/tui-skeleton"
  128. import authorize from '@/common/config/authorize.js'
  129. import modalLayer from "@/components/modal-layer"
  130. import cmCustom from '@/components/cm-module/home/cm-custom.vue'
  131. import uniStars from '@/components/uni-stars/uni-stars.vue'
  132. import { userInfoLogin, queryHomeInfo } from "@/api/use.js"
  133. import { queryPreferred } from "@/api/product.js"
  134. import { mapState,mapMutations} from 'vuex';
  135. export default {
  136. components:{
  137. tuiSkeleton,
  138. modalLayer,
  139. cmCustom,
  140. uniStars,
  141. },
  142. data() {
  143. return {
  144. webviewStyles: {
  145. progress: {
  146. color: '#FF3333'
  147. }
  148. },
  149. nvabarData: {//顶部自定义导航
  150. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
  151. showSearch: 0,
  152. title: '采美采购商城', // 导航栏 中间的标题
  153. haveBack:false,
  154. textLeft:this.$store.state.isIphone,
  155. textColor:'#FFFFFF'
  156. },
  157. CustomBar:this.CustomBar,// 顶部导航栏高度
  158. userID:'',
  159. clubStatus:'',
  160. current:0,
  161. mode:'round',
  162. modallayer:false,
  163. isLogin:false,
  164. bannerImageList:[],
  165. skeletonShow: true,
  166. userIdentity:'',
  167. organizeProducts:[],//常用商品
  168. productsClassifyList:[
  169. {classifyImage:'https://admin-b.caimei365.com/userfiles/1/images/photo/2020/04/%E7%BB%84%201238.png',classifyName:'采美'},
  170. {classifyImage:'https://admin-b.caimei365.com/userfiles/1/images/photo/2020/04/%E7%BB%84%201238.png',classifyName:'采美'},
  171. {classifyImage:'https://admin-b.caimei365.com/userfiles/1/images/photo/2020/04/%E7%BB%84%201238.png',classifyName:'采美'},
  172. {classifyImage:'https://admin-b.caimei365.com/userfiles/1/images/photo/2020/04/%E7%BB%84%201238.png',classifyName:'采美'},
  173. {classifyImage:'https://admin-b.caimei365.com/userfiles/1/images/photo/2020/04/%E7%BB%84%201238.png',classifyName:'采美'}
  174. ],//分类导航
  175. firstModulesName:'https://img.caimei365.com/group1/M00/03/8C/Cmis215XHXSAAZU0AACaPrfbB8I435.png', //优惠模块1
  176. secondModulesName:'', //优惠模块2
  177. firstModulesImage:'https://img.caimei365.com/group1/M00/03/8C/Cmis215XHXSAAZU0AACaPrfbB8I435.png',//优惠模块icon1
  178. secondModulesImage:'',//优惠模块icon2
  179. thirdModulesName:'', //优惠模块3
  180. navInforList:[
  181. {text:'会员中心',icon:'https://img.caimei365.com/group1/M00/03/B0/Cmis217Z9LCABdf_AAAfdMmM_xY655.png'},
  182. {text:'在线客服',icon:'https://img.caimei365.com/group1/M00/03/B0/Cmis217Z9BSAXPobAAApo6I0Tlo684.png'}
  183. ],
  184. navServerList:[
  185. {text:'会员优惠',icon:'../../../static/temp/server1@2x.png',path:'/pages/service/member'},
  186. {text:'售后无忧',icon:'../../../static/temp/server2@2x.png',path:'/pages/service/aftersale'},
  187. {text:'购物须知',icon:'../../../static/temp/server3@2x.png',path:'/pages/service/shoppingnotice'},
  188. {text:'联系我们',icon:'../../../static/temp/server4@2x.png',path:''},
  189. ]
  190. }
  191. },
  192. created() {
  193. this.getSellerHomeInfo()
  194. },
  195. computed: {
  196. ...mapState(['hasLogin'])
  197. },
  198. methods: {
  199. getSellerHomeInfo(){
  200. this.getHomeInformation()
  201. this.getOrganizeProducts()
  202. },
  203. getHomeInformation(){
  204. queryHomeInfo({}).then(res =>{
  205. let data = res.data;
  206. this.bannerImageList = data.bannerImageList
  207. this.mallPageModules = data.mallPageModules
  208. this.firstModulesName= data.firstModulesName
  209. this.secondModulesName= data.secondModulesName
  210. this.firstModulesImage= data.firstModulesImage
  211. this.secondModulesImage= data.secondModulesImage
  212. this.thirdModulesName= data.thirdModulesName
  213. this.productsClassifyList = data.productsClassifyList
  214. this.skeletonShow = false;
  215. this.$store.commit('updateAllNum',data.shoppingCartCount)
  216. }).catch(error =>{
  217. this.$util.msg(error.msg,2000)
  218. })
  219. },
  220. getOrganizeProducts(){//获取模块三商品
  221. queryPreferred({userId:this.userID,preferredFlag:100,pageNum:1,pageSize:6}).then(res =>{
  222. this.organizeProducts = res.data.results
  223. }).catch(error =>{
  224. this.$util.msg(error.msg,2000)
  225. })
  226. },
  227. //轮播图切换修改背景色
  228. swiperChange(e) {
  229. const index = e.detail.current;
  230. this.current = index;
  231. },
  232. formatMoney(num){
  233. return num.toString().replace(/\d+/, function (n) { // 先提取整数部分
  234. return n.replace(/(\d)(?=(\d{3})+$)/g, function ($1) { // 对整数部分添加分隔符
  235. return $1 + ",";
  236. });
  237. });
  238. },
  239. //分类导航跳转
  240. navToListPage(nav){
  241. let self = this;
  242. uni.setStorage({
  243. key: 'commodity_id',
  244. data: nav.id,
  245. success: function () {
  246. self.$api.navToListPage({type:'0',value:nav.classifyName,id:nav.id});
  247. }
  248. })
  249. },
  250. navToDetailPage(id) {//跳转商品详情页
  251. this.modallayer = true;
  252. this.$api.navigateTo(`/pages/goods/product?id=${id}`)
  253. },
  254. handleContact(e){
  255. console.log(e.detail.path)
  256. console.log(e.detail.query)
  257. },
  258. showTost(){
  259. this.$util.msg("正在开发中,敬请期待~",2000)
  260. // uni.navigateToMiniProgram({
  261. // appId: 'wx5a5cda32926f55ac',
  262. // path: '/pages/tabBar/home/home',
  263. // extraData: {
  264. // 'data1': 'test'
  265. // },
  266. // envVersion: 'develop',
  267. // success(res) {
  268. // console.log(res)
  269. // // 打开成功
  270. // }
  271. // })
  272. },
  273. navto(url){
  274. this.$api.navigateTo(url)
  275. },
  276. swiperNavtopage(link){
  277. this.$api.navigateTo(`/h5/pages/activity/activity?productID=4204&path=${link}`)
  278. },
  279. telPhoneTo(){
  280. let self = this;
  281. this.$api.get('/home/afterSale',{organizeID:this.userOrganizeID},
  282. response => {
  283. console.log(response.data.contactNumber)
  284. uni.makePhoneCall({
  285. phoneNumber:response.data.contactNumber //仅为示例
  286. });
  287. }
  288. )
  289. }
  290. },
  291. onPageScroll(e){//实时获取到滚动的值
  292. if(e.scrollTop>50){
  293. this.inputActive = 'fixed'
  294. }else{
  295. this.inputActive = 'float'
  296. }
  297. },
  298. onPullDownRefresh() {//下拉刷新
  299. this.getHomeInformation()
  300. this.getOrganizeProducts()
  301. uni.stopPullDownRefresh()
  302. },
  303. onShareAppMessage(res){//分享转发
  304. if (res.from === 'button') {
  305. // 来自页面内转发按钮
  306. }
  307. return {
  308. title: '采美采购商城-生美/医美采购服务平台',
  309. path: 'pages/tabBar/home/home',
  310. imageUrl:'https://img.caimei365.com/group1/M00/03/8C/Cmis215XHXSAWWkhAAXDP4-6m_c397.png'
  311. }
  312. }
  313. }
  314. </script>
  315. <style lang="scss">
  316. page,.home{
  317. width: 100%;
  318. height: auto;
  319. }
  320. .container-home{
  321. background: #FFFFFF;
  322. }
  323. .swiper-banner-box{
  324. width: 100%;
  325. height: 340rpx;
  326. padding-top:100rpx;
  327. background:#FFFFFF url(https://admin-b.caimei365.com/userfiles/1/images/photo/2020/05/%E8%83%8C%E6%99%AF2%402x.png)no-repeat;
  328. position: relative;
  329. background-size: cover;
  330. margin-top: 10rpx;
  331. }
  332. .tui-banner-swiper {
  333. width: 700rpx;
  334. margin: 0 auto;
  335. height: 340rpx;
  336. border-radius: 24rpx;
  337. overflow: hidden;
  338. transform: translateY(0);
  339. box-shadow:0px 3px 6px rgba(225,86,22,0.08);
  340. margin-top: 16rpx;
  341. .banner-item{
  342. border-radius: 24rpx;
  343. }
  344. .tui-slide-image {
  345. width: 100%;
  346. height: 340rpx;
  347. display: block;
  348. }
  349. }
  350. .swiper__dots-box{
  351. position: absolute;
  352. bottom: 24rpx;
  353. left: 0;
  354. right: 0;
  355. /* #ifndef APP-NVUE */
  356. display: flex;
  357. /* #endif */
  358. flex: 1;
  359. flex-direction: row;
  360. justify-content: center;
  361. align-items: center;
  362. .swiper__dots-item{
  363. width: 8rpx;
  364. height: 8rpx;
  365. border-radius: 100%;
  366. margin-left: 6px;
  367. background-color:rgba(255,255,255,.7);
  368. }
  369. .swiper__dots-long{
  370. width: 32rpx;
  371. height: 8rpx;
  372. border-radius: 4rpx;
  373. background-color: #ffff;
  374. transition: all 0.4s;
  375. }
  376. }
  377. /* 分类 */
  378. .cate-section {
  379. width: 702rpx;
  380. height: auto;
  381. padding:34rpx 24rpx 14rpx 24rpx;
  382. background: #fff;
  383. .tabbar{
  384. margin-bottom: 26rpx;
  385. &.bot{
  386. padding: 16rpx 24rpx;
  387. border-radius: 20rpx;
  388. box-shadow:0px 3px 6px rgba(225,86,22,0.07);
  389. border: 1px solid #F9F9F9;
  390. }
  391. }
  392. .cate-item {
  393. width: 118rpx;
  394. margin-right:28rpx;
  395. display: flex;
  396. float: left;
  397. flex-direction: column;
  398. align-items: center;
  399. font-size: $font-size-26;
  400. color: $text-color;
  401. line-height: 36rpx;
  402. &:last-child{
  403. margin-right: 0;
  404. }
  405. &:nth-child(5n){
  406. margin-right: 0;
  407. }
  408. image {
  409. width: 90rpx;
  410. height: 90rpx;
  411. margin-bottom: 8rpx;
  412. border-radius: 32rpx;
  413. }
  414. }
  415. .cate-item-info {
  416. width: 118rpx;
  417. margin-right:59.5rpx;
  418. display: flex;
  419. float: left;
  420. flex-direction: column;
  421. align-items: center;
  422. font-size: $font-size-26;
  423. color: $text-color;
  424. line-height: 36rpx;
  425. &:last-child{
  426. margin-right: 0;
  427. }
  428. image {
  429. width: 90rpx;
  430. height: 90rpx;
  431. margin-bottom: 16rpx;
  432. border-radius: 32rpx;
  433. }
  434. button.contact-btn{
  435. width: 118rpx;
  436. height: 90rpx;
  437. margin: 0;
  438. padding: 0;
  439. display: flex;
  440. flex-direction: column;
  441. align-items: center;
  442. box-sizing: border-box;
  443. text-align: center;
  444. text-decoration: none;
  445. border-radius: 0;
  446. -webkit-tap-highlight-color: transparent;
  447. overflow: hidden;
  448. background-color:#FFFFFF;
  449. margin-bottom: 16rpx;
  450. image{
  451. width: 90rpx;
  452. height: 90rpx;
  453. margin-bottom: 0;
  454. border-radius: 32rpx;
  455. }
  456. }
  457. }
  458. }
  459. .hotgoods-section{
  460. background: #FFFFFF;
  461. .s-header{
  462. display:flex;
  463. align-items:center;
  464. height: 50rpx;
  465. line-height: 50rpx;
  466. border-radius: 20rpx 20rpx 0 0;
  467. .tip{
  468. flex: 4;
  469. font-size: 30rpx;
  470. color: $text-color;
  471. font-weight: bolder;
  472. padding-left: 24rpx;
  473. }
  474. .tit{
  475. flex: 4.4;
  476. font-size: $font-size-28;
  477. color: $text-color;
  478. text-align: right;
  479. }
  480. .icon-xiayibu{
  481. flex: 0.6;
  482. color: $text-color;
  483. text-align: left;
  484. font-size: $font-size-24;
  485. }
  486. }
  487. }
  488. .hotgoods-swiper{
  489. width: 100%;
  490. height: auto;
  491. overflow: hidden;
  492. padding-top: 24rpx;
  493. background: #FFFFFF;
  494. border-radius: 20rpx;
  495. margin-bottom: 20rpx;
  496. // box-shadow:0px 3px 6px rgba(225,86,22,0.07);
  497. .scoll-wrapper{
  498. width: 702rpx;
  499. height: auto;
  500. padding:24rpx 24rpx 0 24rpx;
  501. background: #F7F7F7;
  502. border-radius: 20rpx;
  503. .floor-item{
  504. width: 341rpx;
  505. margin-right: 20rpx;
  506. font-size: $font-size-24;
  507. color: $text-color;
  508. background: #FFFFFF;
  509. line-height: 36rpx;
  510. border-radius: 10rpx;
  511. margin-bottom: 20rpx;
  512. float: left;
  513. &:nth-child(2n){
  514. margin-right: 0;
  515. }
  516. image{
  517. width: 341rpx;
  518. height: 341rpx;
  519. border-radius: 20rpx 20rpx 0 0;
  520. display: block;
  521. margin-bottom: 20rpx;
  522. }
  523. .floor-item-content{
  524. width: 311rpx;
  525. padding: 0 15rpx;
  526. }
  527. .title-none{
  528. font-size: $font-size-26;
  529. color: #FF2A2A;
  530. line-height: 80rpx;
  531. .btn{
  532. display: inline-block;
  533. float: right;
  534. width: 112rpx;
  535. height: 44rpx;
  536. background: $btn-confirm;
  537. line-height: 44rpx;
  538. font-size: $font-size-24;
  539. color: #FFFFFF;
  540. text-align: center;
  541. border-radius: 22rpx;
  542. margin-top: 17rpx;
  543. }
  544. }
  545. .title{
  546. width: 100%;
  547. height: 72rpx;
  548. display: flex;
  549. flex-direction: column;
  550. .mclap{
  551. width: 100%;
  552. line-height: 36rpx;
  553. text-overflow:ellipsis;
  554. display: -webkit-box;
  555. word-break: break-all;
  556. -webkit-box-orient: vertical;
  557. -webkit-line-clamp: 2;
  558. overflow: hidden;
  559. font-size: 26rpx;
  560. }
  561. }
  562. .no-price{
  563. height: 76rpx;
  564. line-height: 76rpx;
  565. display: flex;
  566. .p-no{
  567. font-size: $font-size-24;
  568. color: $color-system;
  569. margin-right: 5rpx;
  570. }
  571. .p-stars{
  572. margin-top: 3rpx;
  573. }
  574. }
  575. .price{
  576. color:#FF2A2A;
  577. line-height: 80rpx;
  578. .sm{
  579. font-size: $font-size-24;
  580. }
  581. .big{
  582. font-size: $font-size-28;
  583. }
  584. }
  585. }
  586. }
  587. }
  588. .footer-section{
  589. width: 702rpx;
  590. padding: 0 24rpx 0 24rpx;
  591. background: #FFFFFF;
  592. border-radius: 20rpx;
  593. .s-header{
  594. display:flex;
  595. align-items:center;
  596. height: 80rpx;
  597. line-height: 80rpx;
  598. .tip{
  599. flex: 1;
  600. font-size: 30rpx;
  601. color: $text-color;
  602. font-weight: bolder;
  603. }
  604. }
  605. .f-content{
  606. width: 100%;
  607. image{
  608. width: 100%;
  609. height: 350rpx;
  610. }
  611. }
  612. /*底部服务导航*/
  613. .f-tab-section {
  614. width: 100%;
  615. height: auto;
  616. padding: 38rpx 0;
  617. background: #fff;
  618. /*底部服务导航*/
  619. .cate-item {
  620. width: 99rpx;
  621. margin-right: 102rpx;
  622. float: left;
  623. display: flex;
  624. flex-direction: column;
  625. align-items: center;
  626. font-size: $font-size-24;
  627. color: $text-color;
  628. &:last-child{
  629. margin-right: 0;
  630. }
  631. image {
  632. width: 75rpx;
  633. height: 75rpx;
  634. margin-bottom: 8rpx;
  635. border-radius: 50%;
  636. }
  637. }
  638. }
  639. .f-text{
  640. .logo{
  641. width: 80rpx;
  642. height: 80rpx;
  643. float: left;
  644. margin: 0 6rpx;
  645. }
  646. display: flex;
  647. flex-direction: column;
  648. align-items: center;
  649. font-size: $font-size-24;
  650. color: $text-color;
  651. line-height: 80rpx;
  652. padding-top: 20rpx;
  653. }
  654. }
  655. </style>