home.vue 18 KB

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