home.vue 18 KB

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