detail.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. <template>
  2. <view>
  3. <nav-bar title="课程详情"></nav-bar>
  4. <view class="videoBox" >
  5. <!-- <view > -->
  6. <view class="video_box" v-if="!startStatus">
  7. <image :src="$method.splitImgHost(detail.coverUrl)" style="width: 100%;height: 450rpx;"></image>
  8. <image v-if="false" class="video_play" src="/static/play.png" @click="startVideo"></image>
  9. </view>
  10. <view v-else class="video_box" style="width: 100%;height: 450rpx;">
  11. <polyv-player
  12. id="playerVideo"
  13. playerId="playerVideo"
  14. height="450rpx"
  15. :vid="vid"
  16. :showSettingBtn="true"
  17. :enablePlayGesture="true"
  18. :playbackRate="playbackRate"
  19. :isAllowSeek="isAllowSeek"
  20. :autoplay="autoplay"
  21. :startTime="startTime"
  22. @statechange="onStateChange"
  23. ></polyv-player>
  24. </view>
  25. <view class="cou_title">
  26. <view class="title_name">
  27. <!-- <view class="yearTag" v-if="detail.year">{{detail.year}}</view> -->
  28. <view class="titleTag">{{detail.goodsName}}</view>
  29. </view>
  30. <view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
  31. <view class="prices">
  32. <!-- <text class="price_sym">¥</text> -->
  33. <text class="price_word">¥ {{ detail.standPrice }}</text>
  34. </view>
  35. <view class="noteTag">
  36. <!-- <image src="/static/icon/wk_icon1.png" class="wk_icon"></image> -->
  37. 共 <text class="blackFont">{{courseList.length}} 课程 {{detail.classHours || '-'}}</text> 学时
  38. </view>
  39. </view>
  40. </view>
  41. <!-- </view> -->
  42. </view>
  43. <view class="contents">
  44. <!-- <u-line color="#D6D6DB" /> -->
  45. <!-- <view style="height: 80rpx;">
  46. <view><u-tabs :list="list" :item-width="itemWidth()" font-size="30" bar-width="24" :current="current" @change="change" active-color="#007AFF"></u-tabs></view>
  47. </view> -->
  48. <view class="tabs">
  49. <view v-for="(item, index) in list" :key="index" class="tab_item"
  50. :class="[list.length == 2 ? 'twoBtn' : list.length == 3 ? 'threeBtn' : '',{nactive: current == index}]" @click="change(index)">{{ item.name }}</view>
  51. </view>
  52. <view style="padding: 20rpx;padding-bottom: 100rpx;position: relative;" v-show="current==0">
  53. <view class="content">
  54. <view v-html="detail.mobileDetailHtml" style="width: 100%;overflow: hidden;"></view>
  55. </view>
  56. </view>
  57. <view style="padding: 20rpx;padding-bottom: 100rpx;position: relative;" v-show="current==1">
  58. <view v-for="(item,index) in courseList" :key="index" >
  59. <view class="courseItemBox" >
  60. <view class="courseItem" @click="openCourse(item)">
  61. <view class="courseName">{{item.courseName}}</view>
  62. <view>
  63. <image src="/static/icon/up.png" class="icon_up" v-if="item.down"></image>
  64. <image src="/static/icon/down.png" class="icon_up" v-if="!item.down"></image>
  65. </view>
  66. </view>
  67. <view v-show="!item.down">
  68. <view v-for="(itemM,indexM) in item.menuList" :key="indexM">
  69. <courseModule :courseId="itemM.courseId" :needOpen="(isFirstEnter && menuIndex[0] === index && menuIndex[1] === indexM) ? true : false" v-if="itemM.type==1" :menuItem="itemM"></courseModule>
  70. <courseChapter :courseId="itemM.courseId" :needOpen="(isFirstEnter && menuIndex[0] === index && menuIndex[1] === indexM) ? true : false" v-if="itemM.type==2" :isBuy="false" :menuItem="itemM"></courseChapter>
  71. <courseSection :courseId="itemM.courseId" v-if="itemM.type==3" :isBuy="false" :menuItem="itemM"></courseSection>
  72. <u-line></u-line>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. <view style="padding: 20rpx;padding-bottom: 100rpx;position: relative;" v-show="current==2">
  79. <!-- <view > -->
  80. <view v-for="(item,index) in freeMenuList" :key="index" >
  81. <view class="courseItemBox" >
  82. <view class="courseItem">
  83. <view class="courseName">{{item.freeExamName}}</view>
  84. </view>
  85. </view>
  86. </view>
  87. <!-- </view> -->
  88. </view>
  89. </view>
  90. <view class="bottomBox" v-if="!hideBuyState">
  91. <!-- <view class="priceTag">¥ {{toFixed(detail.standPrice)}}</view> -->
  92. <!-- <view class="priceTag">分享</view> -->
  93. <view class="icons">
  94. <view class="icon_item ones">
  95. <image src="/static/index/share.png" class="share"></image>
  96. <button type="default" open-type="share" class="bt_share"></button>
  97. <view class="share_w">分享</view>
  98. </view>
  99. <view class="icon_item">
  100. <image src="/static/index/shopcar.png" class="shopcar" @click="toShopcar()"></image>
  101. <view class="share_w">购物车</view>
  102. </view>
  103. </view>
  104. <view style="display: flex;color: #FFFFFF;align-items: center;">
  105. <view class="btn1" @click="addCart">加购物车</view>
  106. <view class="btn2" @click="buy">立即购买 </view>
  107. </view>
  108. </view>
  109. </view>
  110. </template>
  111. <script>
  112. import courseModule from '@/components/course/courseModule.vue';
  113. import courseChapter from '@/components/course/courseChapter.vue';
  114. import courseSection from '@/components/course/courseSection.vue';
  115. import { mapGetters,mapMutations } from 'vuex';
  116. export default {
  117. components: {
  118. courseModule,
  119. courseChapter,
  120. courseSection
  121. },
  122. data() {
  123. return {
  124. id:0,
  125. list: [],
  126. menuIndex:[],
  127. current:0,
  128. detail:{},
  129. courseList:[],
  130. menuList:[],
  131. freeMenuList:[],
  132. startStatus:false,
  133. playbackRate: [1.0],
  134. isAllowSeek:'no',
  135. vid:'',
  136. autoplay:true,
  137. listenConfigList:[],
  138. listenSecond:0,
  139. isFirstEnter:true, //是否首次进入
  140. timer:null,
  141. businessData:{},
  142. startTime:0
  143. };
  144. },
  145. computed: { ...mapGetters(['userInfo','goodsAuditionConfigIdList','playSectionId','hideBuyState']) },
  146. onLoad(option) {
  147. this.id = option.id;
  148. this.getDetail()
  149. this.goodsCourseList()
  150. this.appCommonGoodsCourseModuleFreeExamList();
  151. wx.showShareMenu({
  152. withShareTicket: true,
  153. menus: ["shareAppMessage", "shareTimeline"]
  154. })
  155. },
  156. onUnload(option) {
  157. this.$store.commit('setPlaySectionId', {playSectionId :0});
  158. //移除所有的事件监听器
  159. uni.$off();
  160. },
  161. // 分享到朋友圈
  162. onShareTimeline() {
  163. console.log('safsaghdsoug')
  164. return {
  165. title: this.detail.goodsName,
  166. query: 'id=' + this.id,
  167. imageUrl: this.$method.splitImgHost(this.detail.coverUrl)
  168. }
  169. },
  170. // 分享给朋友
  171. onShareAppMessage() {
  172. return {
  173. title: this.detail.goodsName,
  174. path: `/pages3/course/detail?id=` + this.id,
  175. imageUrl: this.$method.splitImgHost(this.detail.coverUrl)
  176. }
  177. },
  178. mounted() {
  179. let self = this
  180. uni.$on('getSection', item => {
  181. console.log(item)
  182. //播放试听
  183. self.listenSecond = 0
  184. for (var itemChild of self.listenConfigList) {
  185. if(self.playSectionId == (itemChild.sectionId || itemChild.menuId) && item.courseId == itemChild.courseId){
  186. if(itemChild.auditionMinute>0){
  187. // self.listenSecond = itemChild.auditionMinute *60 //试听秒数
  188. self.listenSecond = itemChild.auditionMinute //试听秒数 auditionMinute调整为秒单位
  189. }
  190. }
  191. }
  192. if(self.listenSecond>0){
  193. if(self.timer){
  194. clearInterval(self.timer);
  195. }
  196. if(self.vid){
  197. //切换视频
  198. var polyvPlayerContext = self.selectComponent('#playerVideo');
  199. polyvPlayerContext.changeVid(item.recordingUrl)
  200. }else{
  201. self.vid = item.recordingUrl
  202. }
  203. self.startStatus = true
  204. self.startTime = 0
  205. }else{
  206. self.$u.toast('试听配置错误');
  207. }
  208. })
  209. this.updateChapterOpen(true)
  210. },
  211. methods: {
  212. ...mapMutations(['updateChapterOpen']),
  213. itemWidth() {
  214. return (100/this.list.length)+'%'
  215. },
  216. appCommonGoodsCourseModuleFreeExamList() {
  217. // url: '/app/common/goods/course/moduleFreeExamList/'+data,
  218. this.$api.appCommonGoodsCourseModuleFreeExamList(this.id).then(res => {
  219. if(res.data.data.length) {
  220. this.freeMenuList = res.data.data;
  221. this.list = [
  222. {
  223. name: '课程介绍'
  224. },
  225. {
  226. name: '课程目录'
  227. },
  228. {
  229. name: '赠送'
  230. }
  231. ]
  232. } else {
  233. this.list = [
  234. {
  235. name: '课程介绍'
  236. },
  237. {
  238. name: '课程目录'
  239. }
  240. ]
  241. }
  242. console.log(this.list)
  243. })
  244. },
  245. courseBusiness(){
  246. // url: '/app/common/course/business/'+data,
  247. this.$api.courseBusiness(this.detail.businessId).then(res => {
  248. this.businessData = res.data.data;
  249. })
  250. },
  251. toFixed(number) {
  252. if(number > 0) {
  253. return number.toFixed(2)
  254. } else {
  255. return '0.00'
  256. }
  257. },
  258. onStateChange(newstate, oldstate) {
  259. if (newstate.detail.newstate == 'playing') {
  260. //开始播放
  261. if(this.timer){
  262. clearInterval(this.timer);
  263. }
  264. this.timer = setInterval(this.timeEvent, 1500);//定时器
  265. }
  266. },
  267. closePlay(){
  268. this.$store.commit('setPlaySectionId', {playSectionId :0});
  269. this.vid = ""
  270. this.startStatus = false
  271. },
  272. timeEvent() {
  273. let self = this
  274. var polyvPlayerContext = this.selectComponent('#playerVideo');
  275. if (polyvPlayerContext != null) {
  276. let PlayCurrentTime = polyvPlayerContext.getCurrentTime();
  277. if(PlayCurrentTime>=this.listenSecond){
  278. polyvPlayerContext.stop();
  279. polyvPlayerContext.exitFullScreen();
  280. clearInterval(this.timer);
  281. this.timer = null
  282. uni.showModal({
  283. title: '提示',
  284. content: '试听结束,购买课程可学习全部',
  285. showCancel:false,
  286. success: function(resst) {
  287. self.closePlay()
  288. }
  289. });
  290. }
  291. }
  292. },
  293. openCourse(item){
  294. item.down = !item.down
  295. if(!item.down&&item.menuList.length==0){
  296. this.getMenuList(item)
  297. }
  298. },
  299. addShopCart() {
  300. let self = this
  301. this.$api.addCart({goodsId:this.id}).then(res => {
  302. if(res.data.code==200){
  303. uni.setStorageSync('updateCart',1) //提醒刷新购物车
  304. uni.showToast({
  305. title: '添加成功'
  306. });
  307. }else{
  308. this.$u.toast(res.data.msg);
  309. }
  310. });
  311. },
  312. goodsCourseList() {
  313. let self = this
  314. // url: '/app/common/goods/course/list/'+ data,
  315. this.$api.goodsCourseList(this.id).then(res => {
  316. if(res.data.code==200){
  317. for(let i=0;i<res.data.rows.length;i++){
  318. let item = res.data.rows[i]
  319. item.down = true
  320. item.menuList = []
  321. }
  322. console.log('res.data.rows:', res.data.rows)
  323. this.courseList = res.data.rows;
  324. console.log('this.courseList: ', this.courseList)
  325. this.getFirstCourse();
  326. }
  327. });
  328. },
  329. /**
  330. * 获取第一个有模块或者章的课程
  331. */
  332. async getFirstCourse() {
  333. for(let i = 0; i < this.courseList.length; i++) {
  334. let menuIndexOrFalse = await this.getCourseMenus(this.courseList[i]);
  335. if(menuIndexOrFalse !== false) {
  336. this.menuIndex = [i,menuIndexOrFalse]
  337. this.openCourse(this.courseList[i])
  338. break
  339. }
  340. }
  341. },
  342. getCourseMenus(item) {
  343. return new Promise(resolve => {
  344. // url: '/app/common/course/menuList',
  345. this.$api.menuList({courseId:item.courseId}).then(res => {
  346. if(res.data.code==200){
  347. for(let i=0;i<res.data.rows.length;i++){
  348. if(res.data.rows[i].type == 1 || res.data.rows[i].type == 2) {
  349. resolve(i)
  350. break;
  351. }
  352. }
  353. }
  354. });
  355. })
  356. },
  357. getMenuList(item) {
  358. let self = this
  359. this.$api.menuList({courseId:item.courseId}).then(res => {
  360. if(res.data.code==200){
  361. for(let i=0;i<res.data.rows.length;i++){
  362. let item = res.data.rows[i]
  363. item.down = true
  364. item.id = item.menuId
  365. item.name = item.menuName
  366. if(item.type==3){
  367. //判断是否试听
  368. item.tryListen = false
  369. if(self.goodsAuditionConfigIdList.indexOf(item.id)!==-1){
  370. item.tryListen = true
  371. }
  372. }
  373. }
  374. item.menuList = res.data.rows
  375. }
  376. });
  377. },
  378. // 获取课程详情
  379. getDetail() {
  380. let self = this
  381. let sectionIdList = []
  382. // /app/common/goods/+data
  383. this.$api.commonGoodsDetail(this.id).then(res => {
  384. if(res.data.code==200){
  385. if(res.data.data.mobileDetailHtml){
  386. res.data.data.mobileDetailHtml = res.data.data.mobileDetailHtml.replace(/<img/gi,'<img style="max-width:100%;"')
  387. }
  388. self.detail = res.data.data
  389. this.courseBusiness();
  390. if(self.detail.goodsAuditionConfig){
  391. self.listenConfigList = JSON.parse(self.detail.goodsAuditionConfig)
  392. for (var itemChild of self.listenConfigList) {
  393. sectionIdList.push(itemChild.sectionId)//存储试听节ID
  394. }
  395. self.$store.commit('setGoodsAuditionConfigIdList', {goodsAuditionConfigIdList:sectionIdList});
  396. }
  397. }
  398. });
  399. },
  400. buy(){
  401. if(this.$method.isGoLogin()){
  402. return
  403. }
  404. this.$navTo.togo('/pages2/order/confirm_list?id='+this.id);
  405. },
  406. addCart(){
  407. if(this.$method.isGoLogin()){
  408. return
  409. }
  410. this.addShopCart()
  411. },
  412. open(item){
  413. item.showChildren = !item.showChildren
  414. },
  415. change(index){
  416. this.current = index;
  417. },
  418. toShopcar() {
  419. uni.switchTab({
  420. url: '/pages/shopping/shoppingCart'
  421. })
  422. }
  423. }
  424. };
  425. </script>
  426. <style >
  427. page{
  428. background-color: #F2F2F2;
  429. }
  430. </style>
  431. <style lang="scss" scope>
  432. .video_t2 {
  433. font-size: 24rpx;
  434. font-family: PingFang SC;
  435. font-weight: 500;
  436. color: #666666;
  437. }
  438. .video_t1 {
  439. height: 80rpx;
  440. color: #333333;
  441. line-height: 80rpx;
  442. font-size: 30rpx;
  443. font-family: PingFang SC;
  444. font-weight: bold;
  445. color: #333333;
  446. overflow: hidden;
  447. text-overflow:ellipsis;
  448. white-space: nowrap;
  449. }
  450. .video_t1_t {
  451. display: flex;
  452. flex-direction: column;
  453. height: 80rpx;
  454. color: #333333;
  455. text-align: center;
  456. align-items: center;
  457. border-left: solid 1px #d6d6db;
  458. }
  459. .video_play {
  460. position: absolute;
  461. width: 95rpx;
  462. height: 95rpx;
  463. top: 0;
  464. left: 0;
  465. right: 0;
  466. bottom: 0;
  467. margin: auto;
  468. }
  469. .video_box {
  470. position: relative;
  471. }
  472. .contents {
  473. width: 100%;
  474. height: 100%;
  475. background-color: #ffffff;
  476. margin-top: 16rpx;
  477. overflow: hidden;
  478. // border-radius: 24rpx 24rpx 0rpx 0rpx;
  479. // position: relative;
  480. // top: -27rpx;
  481. // left: 0;
  482. }
  483. .cou_title {
  484. // height: 210rpx;
  485. padding: 24rpx 32rpx 40rpx 32rpx;
  486. display: flex;
  487. flex-direction: column;
  488. justify-content: space-around;
  489. }
  490. .prices {
  491. // .price_sym {
  492. // font-size: 20rpx;
  493. // color: #333333;
  494. // position: relative;
  495. // top: -23rpx;
  496. // left: 0;
  497. // margin-right: 10rpx;
  498. // }
  499. .price_word {
  500. font-size: 40rpx;
  501. font-weight: 800;
  502. color: #FC3F3F;
  503. }
  504. }
  505. // tab
  506. .tabs {
  507. // width: 100%;
  508. height: 78rpx;
  509. display: flex;
  510. align-items: center;
  511. justify-content: space-between;
  512. background-color: #F2F7FF;
  513. border-radius: 38rpx;
  514. margin: 24rpx;
  515. padding: 0rpx 5rpx;
  516. .tab_item {
  517. width: 345rpx;
  518. height: 65rpx;
  519. line-height: 65rpx;
  520. font-size: 28rpx;
  521. font-weight: bold;
  522. border-radius: 32rpx;
  523. text-align: center;
  524. color: #333;
  525. &.nactive {
  526. color: #fff;
  527. background-color: #3577E8;
  528. }
  529. &.twoBtn {
  530. width: 50%;
  531. }
  532. &.threeBtn {
  533. width: 33%;
  534. }
  535. }
  536. // /deep/ .u-tabs {
  537. // background:none!important;
  538. // }
  539. }
  540. .courseName{
  541. white-space:nowrap;
  542. overflow:hidden;
  543. text-overflow:ellipsis;
  544. }
  545. .videoBox{
  546. background-color: #FFFFFF;
  547. width: 100%;
  548. /* height: 680rpx; */
  549. z-index: 999;
  550. }
  551. .icon_up{
  552. width: 32rpx;
  553. height: 32rpx;
  554. }
  555. .contentBox{
  556. }
  557. .courseItemBox{
  558. background: #FFFFFF;
  559. border-radius: 16rpx;
  560. padding: 0 10rpx;
  561. margin-bottom: 20rpx;
  562. }
  563. .courseItem{
  564. height: 80rpx;
  565. color: #333333;
  566. font-size: 32rpx;
  567. line-height: 80rpx;
  568. font-weight: bold;
  569. display: flex;
  570. justify-content: space-between;
  571. }
  572. .content{
  573. background-color: #FFFFFF;
  574. width: 100%;
  575. }
  576. .btn2 {
  577. width: 187rpx;
  578. height: 79rpx;
  579. line-height: 79rpx;
  580. background: #FC3F3F;
  581. border-radius: 40rpx;
  582. text-align: center;
  583. font-size: 24rpx;
  584. }
  585. .btn1 {
  586. width: 187rpx;
  587. height: 79rpx;
  588. line-height: 79rpx;
  589. background: #FFB102;
  590. border-radius: 40rpx;
  591. text-align: center;
  592. margin-right: 11rpx;
  593. font-size: 24rpx;
  594. }
  595. .bottomBox{
  596. position: fixed;
  597. bottom: 0;
  598. width: 100%;
  599. left: 0;
  600. height: 132rpx ;
  601. background-color: #FFFFFF;
  602. display: flex;
  603. justify-content: space-between;
  604. align-items: center;
  605. padding: 0 24rpx;
  606. box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0,0,0,0.1000);
  607. .icons {
  608. display: flex;
  609. .share_w {
  610. font-size: 24rpx;
  611. color: #333;
  612. margin-top: 6rpx;
  613. }
  614. .icon_item {
  615. text-align: center;
  616. }
  617. .ones {
  618. margin-left: 32rpx;
  619. margin-right: 60rpx;
  620. position: relative;
  621. top: 0;
  622. left: 0;
  623. /deep/ button::after{
  624. border: none;
  625. }
  626. .bt_share {
  627. width: 38rpx;
  628. height: 38rpx;
  629. position: absolute;
  630. top: 3rpx;
  631. left: 0;
  632. z-index: 100;
  633. opacity: 0;
  634. }
  635. }
  636. }
  637. .share {
  638. width: 38rpx;
  639. height: 38rpx;
  640. position: relative;
  641. top: 3rpx;
  642. z-index: 99;
  643. margin-bottom: 4rpx;
  644. }
  645. .shopcar {
  646. width: 40rpx;
  647. height: 40rpx;
  648. }
  649. }
  650. .blackFont{
  651. margin: 0 4rpx;
  652. }
  653. .wk_icon{
  654. width: 24rpx;
  655. height: 24rpx;
  656. margin-right: 12rpx;
  657. }
  658. .noteTag, .blackFont {
  659. font-size: 30rpx;
  660. font-family: PingFang SC;
  661. font-weight: 400;
  662. color: #A7B0B8;
  663. align-items: center;
  664. }
  665. .priceTag{
  666. /* font-size: 30rpx;
  667. font-family: PingFang SC;
  668. font-weight: bold;
  669. color: #FF2D55; */
  670. width: 60rpx;
  671. height: 40rpx;
  672. line-height: 40rpx;
  673. text-align: center;
  674. border: 1rpx solid #333;
  675. }
  676. .titleTag{
  677. font-size: 32rpx;
  678. font-weight: bold;
  679. color: #333333;
  680. // margin-left: 8rpx;
  681. }
  682. .yearTag{
  683. width: 80rpx;
  684. height: 32rpx;
  685. background: #EBF5FF;
  686. border: 2rpx solid #007AFF;
  687. border-radius: 16rpx;
  688. font-size: 24rpx;
  689. color: #007AFF;
  690. text-align: center;
  691. line-height: 32rpx;
  692. }
  693. .itemBox{
  694. background: #FFFFFF;
  695. box-shadow: 0rpx 10rpx 9rpx 1rpx rgba(165, 196, 239, 0.1);
  696. border-radius: 24rpx;
  697. width: 100%;
  698. padding: 20rpx;
  699. margin-bottom: 20rpx;
  700. }
  701. </style>