home.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  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(error =>{
  218. this.isLogin = false;
  219. this.logout()
  220. uni.removeStorageSync('sessionid')
  221. uni.setStorageSync('sessionid','JSESSIONID='+error.data)
  222. this.$store.commit('updateStatus',error.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?id=${id}`)
  277. },
  278. handleContact(e){
  279. console.log(e.detail.path)
  280. console.log(e.detail.query)
  281. },
  282. showTost(){
  283. // this.$util.msg("正在开发中,敬请期待~",2000)
  284. this.$api.navigateTo(`/market/pages/login/login`)
  285. // uni.navigateToMiniProgram({
  286. // appId: 'wx5a5cda32926f55ac',
  287. // path: '/pages/tabBar/home/home',
  288. // extraData: {
  289. // 'data1': 'test'
  290. // },
  291. // envVersion: 'develop',
  292. // success(res) {
  293. // console.log(res)
  294. // // 打开成功
  295. // }
  296. // })
  297. },
  298. navto(url){
  299. this.$api.navigateTo(url)
  300. },
  301. telPhoneTo(){
  302. let self = this;
  303. this.$api.get('/home/afterSale',{organizeID:this.userOrganizeID},
  304. response => {
  305. console.log(response.data.contactNumber)
  306. uni.makePhoneCall({
  307. phoneNumber:response.data.contactNumber //仅为示例
  308. });
  309. }
  310. )
  311. }
  312. },
  313. onPageScroll(e){//实时获取到滚动的值
  314. if(e.scrollTop>50){
  315. this.inputActive = 'fixed'
  316. }else{
  317. this.inputActive = 'float'
  318. }
  319. },
  320. onPullDownRefresh() {//下拉刷新
  321. this.getHomeInformation()
  322. uni.stopPullDownRefresh()
  323. },
  324. onShareAppMessage(res){//分享转发
  325. if (res.from === 'button') {
  326. // 来自页面内转发按钮
  327. }
  328. return {
  329. title: '采美采购商城-生美/医美采购服务平台',
  330. path: 'pages/tabBar/home/home',
  331. imageUrl:'https://img.caimei365.com/group1/M00/03/8C/Cmis215XHXSAWWkhAAXDP4-6m_c397.png'
  332. }
  333. },
  334. onShow(){
  335. this.modallayer = false;
  336. authorize.getSetting().then(res =>{// console.log('是否已授权',res);//0:为取消授权 1:为已授权 2:为未操作
  337. if(res == 1){
  338. this.getWxAuthorize()
  339. }
  340. })
  341. }
  342. }
  343. </script>
  344. <style lang="scss">
  345. page,.home{
  346. width: 100%;
  347. height: auto;
  348. }
  349. .container-home-float{
  350. padding-top: 0;
  351. }
  352. .container-home-fixed{
  353. padding-top: 100rpx;
  354. }
  355. .search-input-float{
  356. width: 100%;
  357. height:auto;
  358. }
  359. .search-input-fixed{
  360. width: 100%;
  361. height:auto;
  362. position: fixed;
  363. top: 0;
  364. left: 0;
  365. z-index: 1000;
  366. background: #FFFFFF;
  367. }
  368. .banner-section{
  369. width: 100%;
  370. height: 366rpx;
  371. position: relative;
  372. }
  373. .banner{
  374. width: 100%;
  375. height: 366rpx;
  376. image {
  377. width: 100%;
  378. height: 100%;
  379. }
  380. }
  381. .swiper__dots-box{
  382. position: absolute;
  383. bottom: 10px;
  384. left: 0;
  385. right: 0;
  386. /* #ifndef APP-NVUE */
  387. display: flex;
  388. /* #endif */
  389. flex: 1;
  390. flex-direction: row;
  391. justify-content: center;
  392. align-items: center;
  393. .swiper__dots-item{
  394. width: 8rpx;
  395. height: 8rpx;
  396. border-radius: 100%;
  397. margin-left: 6px;
  398. background-color:rgba(255,255,255,.7);
  399. }
  400. .swiper__dots-long{
  401. width: 32rpx;
  402. height: 8rpx;
  403. border-radius: 4rpx;
  404. background-color: #ffff;
  405. transition: all 0.4s;
  406. }
  407. }
  408. /* 分类 */
  409. .cate-section {
  410. width: 702rpx;
  411. height: auto;
  412. padding:34rpx 24rpx 14rpx 24rpx;
  413. background: #fff;
  414. .tabbar{
  415. margin-bottom: 26rpx;
  416. }
  417. .cate-item {
  418. width: 118rpx;
  419. margin-right:28rpx;
  420. display: flex;
  421. float: left;
  422. flex-direction: column;
  423. align-items: center;
  424. font-size: $font-size-26;
  425. color: $text-color;
  426. line-height: 36rpx;
  427. &:last-child{
  428. margin-right: 0;
  429. }
  430. &:nth-child(5n){
  431. margin-right: 0;
  432. }
  433. image {
  434. width: 90rpx;
  435. height: 90rpx;
  436. margin-bottom: 8rpx;
  437. border-radius: 50%;
  438. }
  439. }
  440. .cate-item-info {
  441. width: 118rpx;
  442. margin-right:76.5rpx;
  443. display: flex;
  444. float: left;
  445. flex-direction: column;
  446. align-items: center;
  447. font-size: $font-size-26;
  448. color: $text-color;
  449. line-height: 36rpx;
  450. &:last-child{
  451. margin-right: 0;
  452. }
  453. image {
  454. width: 90rpx;
  455. height: 90rpx;
  456. margin-bottom: 16rpx;
  457. border-radius: 50%;
  458. }
  459. button.contact-btn{
  460. width: 118rpx;
  461. height: 90rpx;
  462. margin: 0;
  463. padding: 0;
  464. display: flex;
  465. flex-direction: column;
  466. align-items: center;
  467. box-sizing: border-box;
  468. text-align: center;
  469. text-decoration: none;
  470. border-radius: 0;
  471. -webkit-tap-highlight-color: transparent;
  472. overflow: hidden;
  473. background-color:#FFFFFF;
  474. margin-bottom: 16rpx;
  475. image{
  476. width: 90rpx;
  477. height: 90rpx;
  478. margin-bottom: 0;
  479. border-radius: 50%;
  480. }
  481. }
  482. }
  483. }
  484. .hotgoods-section{
  485. padding: 4rpx 0 24rpx 24rpx;
  486. background: #fff;
  487. .s-header{
  488. display:flex;
  489. align-items:center;
  490. height: 50rpx;
  491. line-height: 50rpx;
  492. .tip{
  493. flex: 4;
  494. font-size: 30rpx;
  495. color: $text-color;
  496. font-weight: bolder;
  497. }
  498. .tit{
  499. flex: 4.4;
  500. font-size: $font-size-28;
  501. color: $text-color;
  502. text-align: right;
  503. }
  504. .icon-xiayibu{
  505. flex: 0.6;
  506. color: $text-color;
  507. text-align: left;
  508. font-size: $font-size-24;
  509. }
  510. }
  511. }
  512. .hotgoods-swiper{
  513. width: 100%;
  514. height: auto;
  515. overflow: hidden;
  516. scroll-view{
  517. padding: 26rpx 0;
  518. width: 100%;
  519. }
  520. .scoll-wrapper{
  521. display:flex;
  522. align-items: flex-start;
  523. }
  524. .floor-item{
  525. width: 210rpx;
  526. padding-right: 24rpx;
  527. font-size: $font-size-24;
  528. color: $text-color;
  529. line-height: 36rpx;
  530. border-radius: 10rpx;
  531. image{
  532. width: 210rpx;
  533. height: 217rpx;
  534. border-radius: 10rpx;
  535. }
  536. .title-none{
  537. font-size: $font-size-26;
  538. color: #FF2A2A;
  539. line-height: 60rpx;
  540. }
  541. .title{
  542. width: 210rpx;
  543. height: 72rpx;
  544. display: flex;
  545. flex-direction: column;
  546. .mclap{
  547. width: 100%;
  548. line-height: 36rpx;
  549. text-overflow:ellipsis;
  550. display: -webkit-box;
  551. word-break: break-all;
  552. -webkit-box-orient: vertical;
  553. -webkit-line-clamp: 2;
  554. overflow: hidden;
  555. font-size: 26rpx;
  556. }
  557. }
  558. .no-price{
  559. height: 36rpx;
  560. line-height: 36rpx;
  561. display: flex;
  562. margin-top: 8rpx;
  563. .p-no{
  564. font-size: $font-size-24;
  565. color: $color-system;
  566. margin-right: 5rpx;
  567. }
  568. .p-stars{
  569. margin-top: 3rpx;
  570. }
  571. image{
  572. width:30rpx;
  573. height: 36rpx;
  574. }
  575. }
  576. .price{
  577. color:#FF2A2A;
  578. line-height: 20rpx;
  579. margin-top: 18rpx;
  580. .sm{
  581. font-size: $font-size-24;
  582. }
  583. .big{
  584. font-size: $font-size-28;
  585. }
  586. }
  587. }
  588. }
  589. .footer-section{
  590. width: 702rpx;
  591. padding: 0 24rpx 30rpx 24rpx;
  592. .s-header{
  593. display:flex;
  594. align-items:center;
  595. height: 40rpx;
  596. line-height: 40rpx;
  597. margin-bottom: 38rpx;
  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>