home.vue 19 KB

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