home.vue 18 KB

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