home.vue 19 KB

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