home.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  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="navigateToGoods(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','userInfo','isActivity'])
  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. navigateToGoods(nav){
  269. let self = this;
  270. uni.setStorage({
  271. key: 'commodity_id',
  272. data: nav.id,
  273. success: function () {
  274. self.$api.navigateToGoods({type:'0',value:nav.classifyName,id:nav.id});
  275. }
  276. })
  277. },
  278. navToDetailPage(id) {//跳转商品详情页
  279. this.modallayer = true;
  280. this.$api.navigateTo(`/pages/goods/product?id=${id}`)
  281. this.modallayer = false;
  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. // uni.navigateToMiniProgram({
  290. // appId: 'wx5a5cda32926f55ac',
  291. // path: '/pages/tabBar/home/home',
  292. // extraData: {
  293. // 'data1': 'test'
  294. // },
  295. // envVersion: 'develop',
  296. // success(res) {
  297. // console.log(res)
  298. // // 打开成功
  299. // }
  300. // })
  301. },
  302. navto(url){
  303. this.$api.navigateTo(url)
  304. },
  305. swiperNavtopage(link){
  306. this.$api.navigateTo(`/h5/pages/activity/activity?productID=4204&path=${link}`)
  307. },
  308. telPhoneTo(){
  309. let self = this;
  310. this.$api.get('/home/afterSale',{organizeID:this.userOrganizeID},
  311. response => {
  312. console.log(response.data.contactNumber)
  313. uni.makePhoneCall({
  314. phoneNumber:response.data.contactNumber //仅为示例
  315. });
  316. }
  317. )
  318. }
  319. },
  320. onPageScroll(e){//实时获取到滚动的值
  321. if(e.scrollTop>50){
  322. this.inputActive = 'fixed'
  323. }else{
  324. this.inputActive = 'float'
  325. }
  326. },
  327. onPullDownRefresh() {//下拉刷新
  328. this.getHomeInformation()
  329. this.getOrganizeProducts()
  330. uni.stopPullDownRefresh()
  331. },
  332. onShareAppMessage(res){//分享转发
  333. if (res.from === 'button') {
  334. // 来自页面内转发按钮
  335. }
  336. return {
  337. title: '采美采购商城-生美/医美采购服务平台',
  338. path: 'pages/tabBar/home/home',
  339. imageUrl:'https://img.caimei365.com/group1/M00/03/8C/Cmis215XHXSAWWkhAAXDP4-6m_c397.png'
  340. }
  341. }
  342. }
  343. </script>
  344. <style lang="scss">
  345. page,.home{
  346. width: 100%;
  347. height: auto;
  348. }
  349. .container-home{
  350. background: #FFFFFF;
  351. }
  352. .swiper-banner-box{
  353. width: 100%;
  354. height: 360rpx;
  355. padding-top:100rpx;
  356. background:#FFFFFF url(https://admin-b.caimei365.com/userfiles/1/images/photo/2020/05/%E8%83%8C%E6%99%AF2%402x.png)no-repeat;
  357. position: relative;
  358. background-size: cover;
  359. margin-top: 10rpx;
  360. }
  361. .tui-banner-swiper {
  362. width: 700rpx;
  363. margin: 0 auto;
  364. height: 340rpx;
  365. border-radius: 24rpx;
  366. overflow: hidden;
  367. transform: translateY(0);
  368. box-shadow:0px 3px 6px rgba(225,86,22,0.08);
  369. margin-top: 16rpx;
  370. .banner-item{
  371. border-radius: 24rpx;
  372. }
  373. .tui-slide-image {
  374. width: 100%;
  375. height: 340rpx;
  376. display: block;
  377. }
  378. }
  379. .swiper__dots-box{
  380. position: absolute;
  381. bottom: 30rpx;
  382. left: 0;
  383. right: 0;
  384. /* #ifndef APP-NVUE */
  385. display: flex;
  386. /* #endif */
  387. flex: 1;
  388. flex-direction: row;
  389. justify-content: center;
  390. align-items: center;
  391. .swiper__dots-item{
  392. width: 8rpx;
  393. height: 8rpx;
  394. border-radius: 100%;
  395. margin-left: 6px;
  396. background-color:rgba(255,255,255,.7);
  397. }
  398. .swiper__dots-long{
  399. width: 35rpx;
  400. height: 8rpx;
  401. border-radius: 4rpx;
  402. background-color: #ffff;
  403. transition: all 0.4s;
  404. }
  405. }
  406. /* 分类 */
  407. .cate-section {
  408. width: 702rpx;
  409. height: auto;
  410. padding:34rpx 24rpx 14rpx 24rpx;
  411. background: #fff;
  412. .tabbar{
  413. margin-bottom: 26rpx;
  414. &.bot{
  415. padding: 16rpx 24rpx;
  416. border-radius: 20rpx;
  417. box-shadow:0px 3px 6px rgba(225,86,22,0.07);
  418. border: 1px solid #F9F9F9;
  419. }
  420. }
  421. .cate-item {
  422. width: 118rpx;
  423. margin-right:28rpx;
  424. display: flex;
  425. float: left;
  426. flex-direction: column;
  427. align-items: center;
  428. font-size: $font-size-26;
  429. color: $text-color;
  430. line-height: 36rpx;
  431. &:last-child{
  432. margin-right: 0;
  433. }
  434. &:nth-child(5n){
  435. margin-right: 0;
  436. }
  437. image {
  438. width: 90rpx;
  439. height: 90rpx;
  440. margin-bottom: 8rpx;
  441. border-radius: 32rpx;
  442. }
  443. }
  444. .cate-item-info {
  445. width: 118rpx;
  446. margin-right:59.5rpx;
  447. display: flex;
  448. float: left;
  449. flex-direction: column;
  450. align-items: center;
  451. font-size: $font-size-26;
  452. color: $text-color;
  453. line-height: 36rpx;
  454. &:last-child{
  455. margin-right: 0;
  456. }
  457. image {
  458. width: 90rpx;
  459. height: 90rpx;
  460. margin-bottom: 16rpx;
  461. border-radius: 32rpx;
  462. }
  463. button.contact-btn{
  464. width: 118rpx;
  465. height: 90rpx;
  466. margin: 0;
  467. padding: 0;
  468. display: flex;
  469. flex-direction: column;
  470. align-items: center;
  471. box-sizing: border-box;
  472. text-align: center;
  473. text-decoration: none;
  474. border-radius: 0;
  475. -webkit-tap-highlight-color: transparent;
  476. overflow: hidden;
  477. background-color:#FFFFFF;
  478. margin-bottom: 16rpx;
  479. image{
  480. width: 90rpx;
  481. height: 90rpx;
  482. margin-bottom: 0;
  483. border-radius: 32rpx;
  484. }
  485. }
  486. }
  487. }
  488. .hotgoods-section{
  489. background: #FFFFFF;
  490. .s-header{
  491. display:flex;
  492. align-items:center;
  493. height: 50rpx;
  494. line-height: 50rpx;
  495. border-radius: 20rpx 20rpx 0 0;
  496. .tip{
  497. flex: 4;
  498. font-size: 30rpx;
  499. color: $text-color;
  500. font-weight: bolder;
  501. padding-left: 24rpx;
  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. padding-top: 24rpx;
  522. background: #FFFFFF;
  523. border-radius: 20rpx;
  524. margin-bottom: 20rpx;
  525. // box-shadow:0px 3px 6px rgba(225,86,22,0.07);
  526. .scoll-wrapper{
  527. width: 702rpx;
  528. height: auto;
  529. padding:24rpx 24rpx 0 24rpx;
  530. background: #F7F7F7;
  531. border-radius: 20rpx;
  532. .floor-item{
  533. width: 341rpx;
  534. margin-right: 20rpx;
  535. font-size: $font-size-24;
  536. color: $text-color;
  537. background: #FFFFFF;
  538. line-height: 36rpx;
  539. border-radius: 20rpx;
  540. margin-bottom: 20rpx;
  541. float: left;
  542. &:nth-child(2n){
  543. margin-right: 0;
  544. }
  545. image{
  546. width: 341rpx;
  547. height: 341rpx;
  548. border-radius: 20rpx 20rpx 0 0;
  549. display: block;
  550. margin-bottom: 20rpx;
  551. }
  552. .floor-item-content{
  553. width: 311rpx;
  554. padding: 0 15rpx;
  555. }
  556. .title-none{
  557. font-size: $font-size-26;
  558. color: #FF2A2A;
  559. line-height: 80rpx;
  560. .btn{
  561. display: inline-block;
  562. float: right;
  563. width: 112rpx;
  564. height: 44rpx;
  565. background: $btn-confirm;
  566. line-height: 44rpx;
  567. font-size: $font-size-24;
  568. color: #FFFFFF;
  569. text-align: center;
  570. border-radius: 22rpx;
  571. margin-top: 17rpx;
  572. }
  573. }
  574. .title{
  575. width: 100%;
  576. height: 72rpx;
  577. display: flex;
  578. flex-direction: column;
  579. .mclap{
  580. width: 100%;
  581. line-height: 36rpx;
  582. text-overflow:ellipsis;
  583. display: -webkit-box;
  584. word-break: break-all;
  585. -webkit-box-orient: vertical;
  586. -webkit-line-clamp: 2;
  587. overflow: hidden;
  588. font-size: 26rpx;
  589. }
  590. }
  591. .no-price{
  592. height: 76rpx;
  593. line-height: 76rpx;
  594. display: flex;
  595. .p-no{
  596. font-size: $font-size-24;
  597. color: $color-system;
  598. margin-right: 5rpx;
  599. }
  600. .p-stars{
  601. margin-top: 3rpx;
  602. }
  603. }
  604. .price{
  605. color:#FF2A2A;
  606. line-height: 80rpx;
  607. .sm{
  608. font-size: $font-size-24;
  609. }
  610. .big{
  611. font-size: $font-size-28;
  612. }
  613. }
  614. }
  615. }
  616. }
  617. .footer-section{
  618. width: 702rpx;
  619. padding: 0 24rpx 0 24rpx;
  620. background: #FFFFFF;
  621. border-radius: 20rpx;
  622. .s-header{
  623. display:flex;
  624. align-items:center;
  625. height: 80rpx;
  626. line-height: 80rpx;
  627. .tip{
  628. flex: 1;
  629. font-size: 30rpx;
  630. color: $text-color;
  631. font-weight: bolder;
  632. }
  633. }
  634. .f-content{
  635. width: 100%;
  636. image{
  637. width: 100%;
  638. height: 350rpx;
  639. }
  640. }
  641. /*底部服务导航*/
  642. .f-tab-section {
  643. width: 100%;
  644. height: auto;
  645. padding: 38rpx 0;
  646. background: #fff;
  647. /*底部服务导航*/
  648. .cate-item {
  649. width: 99rpx;
  650. margin-right: 102rpx;
  651. float: left;
  652. display: flex;
  653. flex-direction: column;
  654. align-items: center;
  655. font-size: $font-size-24;
  656. color: $text-color;
  657. &:last-child{
  658. margin-right: 0;
  659. }
  660. image {
  661. width: 75rpx;
  662. height: 75rpx;
  663. margin-bottom: 8rpx;
  664. border-radius: 50%;
  665. }
  666. }
  667. }
  668. .f-text{
  669. .logo{
  670. width: 80rpx;
  671. height: 80rpx;
  672. float: left;
  673. margin: 0 6rpx;
  674. }
  675. display: flex;
  676. flex-direction: column;
  677. align-items: center;
  678. font-size: $font-size-24;
  679. color: $text-color;
  680. line-height: 80rpx;
  681. padding-top: 20rpx;
  682. }
  683. }
  684. </style>