home.vue 18 KB

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