123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803 |
- <template>
- <view>
- <nav-bar title="课程详情"></nav-bar>
- <view class="videoBox" >
- <!-- <view > -->
- <view class="video_box" v-if="!startStatus">
- <image :src="$method.splitImgHost(detail.coverUrl)" style="width: 100%;height: 450rpx;"></image>
- <image v-if="false" class="video_play" src="/static/play.png" @click="startVideo"></image>
- </view>
- <view v-else class="video_box" style="width: 100%;height: 450rpx;">
- <polyv-player
- id="playerVideo"
- playerId="playerVideo"
- height="450rpx"
- :vid="vid"
- :showSettingBtn="true"
- :enablePlayGesture="true"
- :playbackRate="playbackRate"
- :isAllowSeek="isAllowSeek"
- :autoplay="autoplay"
- :startTime="startTime"
- @statechange="onStateChange"
- ></polyv-player>
- </view>
-
- <view class="cou_title">
- <view class="title_name">
- <!-- <view class="yearTag" v-if="detail.year">{{detail.year}}</view> -->
- <view class="titleTag">{{detail.goodsName}}</view>
- </view>
- <view style="display: flex;justify-content: space-between;margin-top: 13rpx;">
- <view class="prices">
- <!-- <text class="price_sym">¥</text> -->
- <text class="price_word">¥ {{ detail.standPrice }}</text>
- </view>
- <view class="noteTag">
- <!-- <image src="/static/icon/wk_icon1.png" class="wk_icon"></image> -->
- 共 <text class="blackFont">{{courseList.length}} 课程 {{detail.classHours || '-'}}</text> 学时
- </view>
- </view>
- </view>
- <!-- </view> -->
- </view>
- <view class="contents">
-
- <!-- <u-line color="#D6D6DB" /> -->
- <!-- <view style="height: 80rpx;">
- <view><u-tabs :list="list" :item-width="itemWidth()" font-size="30" bar-width="24" :current="current" @change="change" active-color="#007AFF"></u-tabs></view>
- </view> -->
- <view class="tabs">
- <view v-for="(item, index) in list" :key="index" class="tab_item"
- :class="[list.length == 2 ? 'twoBtn' : list.length == 3 ? 'threeBtn' : '',{nactive: current == index}]" @click="change(index)">{{ item.name }}</view>
- </view>
- <view style="padding: 20rpx;padding-bottom: 100rpx;position: relative;" v-show="current==0">
- <view class="content">
- <view v-html="detail.mobileDetailHtml" style="width: 100%;overflow: hidden;"></view>
- </view>
- </view>
- <view style="padding: 20rpx;padding-bottom: 100rpx;position: relative;" v-show="current==1">
- <view v-for="(item,index) in courseList" :key="index" >
- <view class="courseItemBox" >
- <view class="courseItem" @click="openCourse(item)">
- <view class="courseName">{{item.courseName}}</view>
- <view>
- <image src="/static/icon/up.png" class="icon_up" v-if="item.down"></image>
- <image src="/static/icon/down.png" class="icon_up" v-if="!item.down"></image>
- </view>
- </view>
- <view v-show="!item.down">
- <view v-for="(itemM,indexM) in item.menuList" :key="indexM">
- <courseModule :courseId="itemM.courseId" :needOpen="(isFirstEnter && menuIndex[0] === index && menuIndex[1] === indexM) ? true : false" v-if="itemM.type==1" :menuItem="itemM"></courseModule>
- <courseChapter :courseId="itemM.courseId" :needOpen="(isFirstEnter && menuIndex[0] === index && menuIndex[1] === indexM) ? true : false" v-if="itemM.type==2" :isBuy="false" :menuItem="itemM"></courseChapter>
- <courseSection :courseId="itemM.courseId" v-if="itemM.type==3" :isBuy="false" :menuItem="itemM"></courseSection>
- <u-line></u-line>
-
- </view>
- </view>
- </view>
-
- </view>
- </view>
- <view style="padding: 20rpx;padding-bottom: 100rpx;position: relative;" v-show="current==2">
- <!-- <view > -->
- <view v-for="(item,index) in freeMenuList" :key="index" >
- <view class="courseItemBox" >
- <view class="courseItem">
- <view class="courseName">{{item.freeExamName}}</view>
- </view>
- </view>
-
- </view>
- <!-- </view> -->
- </view>
- </view>
-
- <view class="bottomBox" v-if="!hideBuyState">
- <!-- <view class="priceTag">¥ {{toFixed(detail.standPrice)}}</view> -->
- <!-- <view class="priceTag">分享</view> -->
- <view class="icons">
- <view class="icon_item ones">
- <image src="/static/index/share.png" class="share"></image>
- <button type="default" open-type="share" class="bt_share"></button>
- <view class="share_w">分享</view>
- </view>
- <view class="icon_item">
- <image src="/static/index/shopcar.png" class="shopcar" @click="toShopcar()"></image>
- <view class="share_w">购物车</view>
- </view>
- </view>
- <view style="display: flex;color: #FFFFFF;align-items: center;">
- <view class="btn1" @click="addCart">加购物车</view>
- <view class="btn2" @click="buy">立即购买 </view>
- </view>
- </view>
- <!-- 已购买过课程的弹窗 -->
- <u-popup v-model="bugCourseModel" mode="center" border-radius="40">
- <view class="had_bugCourse">
- <image src="/pages3/static/imgs/hadBug.png" class="share"></image>
- <view class="tips">
- <view class="warns">温馨提示</view>
- <view class="words">您<text>已购买过</text>该商品课程</view>
- <view class="words">可立即前往学习</view>
- </view>
- <view class="tip_botton">
- <view class="cancel_btn" @click="changeKown()">知道了</view>
- <view class="confirm_btn" @click="toStudy()">去学习</view>
- </view>
- </view>
- </u-popup>
- </view>
- </template>
- <script>
- import courseModule from '@/components/course/courseModule.vue';
- import courseChapter from '@/components/course/courseChapter.vue';
- import courseSection from '@/components/course/courseSection.vue';
- import { mapGetters,mapMutations } from 'vuex';
- export default {
- components: {
- courseModule,
- courseChapter,
- courseSection
- },
- data() {
- return {
- id:0,
- list: [],
- menuIndex:[],
- current:0,
- detail:{},
- courseList:[],
- menuList:[],
- freeMenuList:[],
- startStatus:false,
- playbackRate: [1.0],
- isAllowSeek:'no',
- vid:'',
- autoplay:true,
- listenConfigList:[],
- listenSecond:0,
- isFirstEnter:true, //是否首次进入
- timer:null,
- businessData:{},
- startTime:0,
- bugCourseModel: false, // 弹窗
- hadBuyCourse: {}, // 已购买课程信息
- };
- },
- computed: { ...mapGetters(['userInfo','goodsAuditionConfigIdList','playSectionId','hideBuyState']) },
- onLoad(option) {
- this.id = option.id;
- this.getDetail()
- this.goodsCourseList()
- this.appCommonGoodsCourseModuleFreeExamList();
- this.getIsBuy() // 判断是否已经购买过该课程
- wx.showShareMenu({
- withShareTicket: true,
- menus: ["shareAppMessage", "shareTimeline"]
- })
- },
- onUnload(option) {
- this.$store.commit('setPlaySectionId', {playSectionId :0});
- //移除所有的事件监听器
- uni.$off();
- },
- // 分享到朋友圈
- onShareTimeline() {
- return {
- title: this.detail.goodsName,
- query: 'id=' + this.id,
- imageUrl: this.$method.splitImgHost(this.detail.coverUrl)
- }
- },
- // 分享给朋友
- onShareAppMessage() {
- return {
- title: this.detail.goodsName,
- path: `/pages3/course/detail?id=` + this.id,
- imageUrl: this.$method.splitImgHost(this.detail.coverUrl)
- }
- },
-
- mounted() {
- let self = this
- uni.$on('getSection', item => {
- //播放试听
- self.listenSecond = 0
- for (var itemChild of self.listenConfigList) {
- if(self.playSectionId == (itemChild.sectionId || itemChild.menuId) && item.courseId == itemChild.courseId){
- if(itemChild.auditionMinute>0){
- // self.listenSecond = itemChild.auditionMinute *60 //试听秒数
- self.listenSecond = itemChild.auditionMinute //试听秒数 auditionMinute调整为秒单位
- }
- }
- }
- if(self.listenSecond>0){
- if(self.timer){
- clearInterval(self.timer);
- }
- if(self.vid){
- //切换视频
- var polyvPlayerContext = self.selectComponent('#playerVideo');
- polyvPlayerContext.changeVid(item.recordingUrl)
- }else{
- self.vid = item.recordingUrl
- }
-
- self.startStatus = true
- self.startTime = 0
- }else{
-
- self.$u.toast('试听配置错误');
- }
-
- })
- this.updateChapterOpen(true)
- },
- methods: {
- ...mapMutations(['updateChapterOpen']),
- itemWidth() {
- return (100/this.list.length)+'%'
- },
- appCommonGoodsCourseModuleFreeExamList() {
- // url: '/app/common/goods/course/moduleFreeExamList/'+data,
- this.$api.appCommonGoodsCourseModuleFreeExamList(this.id).then(res => {
- if(res.data.data.length) {
- this.freeMenuList = res.data.data;
- this.list = [
- {
- name: '课程介绍'
- },
- {
- name: '课程目录'
- },
- {
- name: '赠送'
- }
- ]
- } else {
- this.list = [
- {
- name: '课程介绍'
- },
- {
- name: '课程目录'
- }
- ]
- }
-
- console.log(this.list)
- })
- },
- courseBusiness(){
- // url: '/app/common/course/business/'+data,
- this.$api.courseBusiness(this.detail.businessId).then(res => {
- this.businessData = res.data.data;
- })
- },
- toFixed(number) {
- if(number > 0) {
- return number.toFixed(2)
- } else {
- return '0.00'
- }
- },
- onStateChange(newstate, oldstate) {
- if (newstate.detail.newstate == 'playing') {
- //开始播放
- if(this.timer){
- clearInterval(this.timer);
- }
- this.timer = setInterval(this.timeEvent, 1500);//定时器
- }
-
- },
- closePlay(){
- this.$store.commit('setPlaySectionId', {playSectionId :0});
- this.vid = ""
- this.startStatus = false
- },
- timeEvent() {
- let self = this
- var polyvPlayerContext = this.selectComponent('#playerVideo');
- if (polyvPlayerContext != null) {
- let PlayCurrentTime = polyvPlayerContext.getCurrentTime();
- if(PlayCurrentTime>=this.listenSecond){
- polyvPlayerContext.stop();
- polyvPlayerContext.exitFullScreen();
- clearInterval(this.timer);
- this.timer = null
- uni.showModal({
- title: '提示',
- content: '试听结束,购买课程可学习全部',
- showCancel:false,
- success: function(resst) {
- self.closePlay()
- }
- });
- }
- }
- },
- openCourse(item){
- item.down = !item.down
- if(!item.down&&item.menuList.length==0){
- this.getMenuList(item)
- }
-
- },
- addShopCart() {
- let self = this
- this.$api.addCart({goodsId:this.id}).then(res => {
- if(res.data.code==200){
- uni.setStorageSync('updateCart',1) //提醒刷新购物车
- uni.showToast({
- title: '添加成功'
- });
- }else{
- this.$u.toast(res.data.msg);
- }
- });
- },
- goodsCourseList() {
- // url: '/app/common/goods/course/list/'+ data,
- this.$api.goodsCourseList(this.id).then(res => {
- if(res.data.code==200){
- for(let i=0;i<res.data.rows.length;i++){
- let item = res.data.rows[i]
- item.down = true
- item.menuList = []
- }
- this.courseList = res.data.rows;
- this.getFirstCourse();
- }
- });
- },
- /**
- * 获取第一个有模块或者章的课程
- */
- async getFirstCourse() {
- for(let i = 0; i < this.courseList.length; i++) {
-
- let menuIndexOrFalse = await this.getCourseMenus(this.courseList[i]);
-
- if(menuIndexOrFalse !== false) {
- this.menuIndex = [i,menuIndexOrFalse]
- this.openCourse(this.courseList[i])
- break
- }
- }
- },
- getCourseMenus(item) {
- return new Promise(resolve => {
- // url: '/app/common/course/menuList',
- this.$api.menuList({courseId:item.courseId}).then(res => {
- if(res.data.code==200){
- for(let i=0;i<res.data.rows.length;i++){
- if(res.data.rows[i].type == 1 || res.data.rows[i].type == 2) {
- resolve(i)
- break;
- }
- }
- }
- });
- })
-
- },
- getMenuList(item) {
- let self = this
- this.$api.menuList({courseId:item.courseId}).then(res => {
- if(res.data.code==200){
- for(let i=0;i<res.data.rows.length;i++){
- let item = res.data.rows[i]
- item.down = true
- item.id = item.menuId
- item.name = item.menuName
-
- if(item.type==3){
- //判断是否试听
- item.tryListen = false
- if(self.goodsAuditionConfigIdList.indexOf(item.id)!==-1){
- item.tryListen = true
- }
- }
- }
- item.menuList = res.data.rows
- }
- });
- },
- // 获取课程详情
- getDetail() {
- let self = this
- let sectionIdList = []
- // /app/common/goods/+data
- this.$api.commonGoodsDetail(this.id).then(res => {
- if(res.data.code==200){
- if(res.data.data.mobileDetailHtml){
- res.data.data.mobileDetailHtml = res.data.data.mobileDetailHtml.replace(/<img/gi,'<img style="max-width:100%;"')
- }
-
-
- self.detail = res.data.data
- this.courseBusiness();
- if(self.detail.goodsAuditionConfig){
- self.listenConfigList = JSON.parse(self.detail.goodsAuditionConfig)
- for (var itemChild of self.listenConfigList) {
- sectionIdList.push(itemChild.sectionId)//存储试听节ID
- }
- self.$store.commit('setGoodsAuditionConfigIdList', {goodsAuditionConfigIdList:sectionIdList});
- }
- }
- });
- },
- buy(){
- if(this.$method.isGoLogin()){
- return
- }
- this.$navTo.togo('/pages2/order/confirm_list?id='+this.id);
- },
- addCart(){
- if(this.$method.isGoLogin()){
- return
- }
- this.addShopCart()
- },
- open(item){
- item.showChildren = !item.showChildren
- },
- change(index){
- this.current = index;
- },
- toShopcar() {
- uni.switchTab({
- url: '/pages/shopping/shoppingCart'
- })
- },
- getIsBuy() {
- this.$http({
- url: '/order/buyGoodsNotExpired',
- method: 'get',
- data: { goodsId: this.id }
- }).then((res) => {
- if (res.data.code == 200) {
- if (res.data.data) { // 有data返回是已经购买过的课程
- this.hadBuyCourse = res.data.data
- this.bugCourseModel = true
- }
- }
- })
- },
- changeKown() {
- this.bugCourseModel = false
- },
- async toStudy() {
- let item = this.hadBuyCourse
- if (item.goodsType == 6) { // 进入直播课
- this.toLive(item)
- return
- }
- // /course/goodsRebuildStatus查询用户商品重修状态
- let rebuildStatus = await this.courseGoodsRebuildStatus(item.goodsId, item.gradeId)
- if (rebuildStatus == 0) {
- this.$navTo.togo('/pages2/learn/details', {
- gradeId: item.gradeId,
- goodsId: item.goodsId,
- orderGoodsId: item.orderGoodsId,
- });
- return;
- }
- // /lock/lockStatus
- this.$api.lockLockStatus({
- action: 'jxjy',
- uuid:this.$method.getUuid()
- }).then(res => {
- if (res.data.code == 200) { //有其他端在操作,不能学习
- uni.showToast({
- icon: 'none',
- title: res.data.msg,
- mask: true,
- duration: 3000
- })
- } else if (res.data.code == 500) { //可以学习
- this.$http({
- url: '/course/courseList',
- method: 'get',
- data: {
- pageNum: 1,
- pageSize: 1,
- goodsId: item.goodsId,
- gradeId: item.gradeId,
- orderGoodsId: item.orderGoodsId,
- },
- })
- .then(res => {
- if (res.data.code == 200) {
- if(res.data.total > 1) {
- // this.$navTo.togo(`/pages2/wd/course?id=${item.goodsId}&gid=${item.gradeId}&orderGoodsId=${item.orderGoodsId}`);
- uni.navigateTo({
- url: `/pages3/polyv/detail?id=''&goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&gradeId=${item.gradeId}`
- })
- } else if(res.data.total == 1) {
- uni.navigateTo({
- url: `/pages3/polyv/detail?id=${res.data.rows[0].courseId}&goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&gradeId=${item.gradeId}`
- })
- } else {
- uni.showToast({
- icon:'none',
- title:'暂无可观看的视频课程'
- })
- }
- }
- })
- }
- })
- },
- toLive(item) {
- this.$api.courseCourseList({
- pageNum: 1,
- pageSize: 1,
- goodsId: item.goodsId,
- gradeId: 0,
- orderGoodsId: item.orderGoodsId,
- }).then(res => {
- if (res.data.code == 200) {
- if(res.data.total > 1) {
- // uni.navigateTo({
- // url:'/pages5/liveDetail/course?orderGoodsId='+item.orderGoodsId+'&goodsId='+item.goodsId+'&gradeId=0'
- // })
- uni.navigateTo({
- url:'/pages3/live/detail?orderGoodsId='+item.orderGoodsId+'&goodsId='+item.goodsId+'&gradeId=0&courseId=""'
- })
- } else if(res.data.total == 1) {
- uni.navigateTo({
- url:'/pages3/live/detail?orderGoodsId='+item.orderGoodsId+'&goodsId='+item.goodsId+'&gradeId=0&courseId='+ res.data.rows[0].courseId
- })
- } else {
- uni.showToast({
- icon:'none',
- title:'暂无可观看的直播课程'
- })
- }
-
- }
- })
- },
- /**
- * @param {Object} goodsId 商品id
- * 查询商品重修状态
- */
- courseGoodsRebuildStatus(goodsId, gradeId) {
- return new Promise(resolve => {
- this.$http({
- url: '/course/goodsRebuildStatus',
- method: 'get',
- data: {
- goodsId: goodsId,
- gradeId: gradeId
- },
- // noLoading: true,
- // compleLoading: true, // 请求成功是否还要继续显示加载中
- })
- .then(res => {
- resolve(res.data.data)
- })
- })
- },
- }
- };
- </script>
- <style >
- page{
- background-color: #F2F2F2;
- }
- </style>
- <style lang="scss" scope>
- @import './index.scss';
- .video_t2 {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- }
- .video_t1 {
- height: 80rpx;
- color: #333333;
- line-height: 80rpx;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #333333;
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
- }
- .video_t1_t {
- display: flex;
- flex-direction: column;
- height: 80rpx;
- color: #333333;
- text-align: center;
- align-items: center;
- border-left: solid 1px #d6d6db;
- }
- .video_play {
- position: absolute;
- width: 95rpx;
- height: 95rpx;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- margin: auto;
- }
- .video_box {
- position: relative;
- }
- .contents {
- width: 100%;
- height: 100%;
- background-color: #ffffff;
- margin-top: 16rpx;
- overflow: hidden;
- }
- .cou_title {
- padding: 24rpx 32rpx 40rpx 32rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- }
- .prices {
- .price_word {
- font-size: 40rpx;
- font-weight: 800;
- color: #FC3F3F;
- }
- }
- // tab
- .tabs {
- // width: 100%;
- height: 78rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background-color: #F2F7FF;
- border-radius: 38rpx;
- margin: 24rpx;
- padding: 0rpx 5rpx;
- .tab_item {
- width: 345rpx;
- height: 65rpx;
- line-height: 65rpx;
- font-size: 28rpx;
- font-weight: bold;
- border-radius: 32rpx;
- text-align: center;
- color: #333;
- &.nactive {
- color: #fff;
- background-color: #3577E8;
- }
- &.twoBtn {
- width: 50%;
- }
- &.threeBtn {
- width: 33%;
- }
- }
- // /deep/ .u-tabs {
- // background:none!important;
- // }
- }
- .courseName{
- white-space:nowrap;
- overflow:hidden;
- text-overflow:ellipsis;
- }
- .videoBox{
- background-color: #FFFFFF;
- width: 100%;
- /* height: 680rpx; */
- z-index: 999;
- }
- .icon_up{
- width: 32rpx;
- height: 32rpx;
- }
- .courseItemBox{
- background: #FFFFFF;
- border-radius: 16rpx;
- padding: 0 10rpx;
- margin-bottom: 20rpx;
- }
- .courseItem{
- height: 80rpx;
- color: #333333;
- font-size: 32rpx;
- line-height: 80rpx;
- font-weight: bold;
- display: flex;
- justify-content: space-between;
- }
- .content{
- background-color: #FFFFFF;
- width: 100%;
- }
- .btn2 {
- width: 187rpx;
- height: 79rpx;
- line-height: 79rpx;
- background: #FC3F3F;
- border-radius: 40rpx;
- text-align: center;
- font-size: 24rpx;
- }
- .btn1 {
- width: 187rpx;
- height: 79rpx;
- line-height: 79rpx;
- background: #FFB102;
- border-radius: 40rpx;
- text-align: center;
- margin-right: 11rpx;
- font-size: 24rpx;
- }
-
- .blackFont{
- margin: 0 4rpx;
- }
- .wk_icon{
- width: 24rpx;
- height: 24rpx;
- margin-right: 12rpx;
- }
- .noteTag, .blackFont {
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #A7B0B8;
- align-items: center;
- }
- .priceTag{
- /* font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FF2D55; */
- width: 60rpx;
- height: 40rpx;
- line-height: 40rpx;
- text-align: center;
- border: 1rpx solid #333;
- }
- .titleTag{
- font-size: 32rpx;
- font-weight: bold;
- color: #333333;
- // margin-left: 8rpx;
- }
- .yearTag{
- width: 80rpx;
- height: 32rpx;
- background: #EBF5FF;
- border: 2rpx solid #007AFF;
- border-radius: 16rpx;
- font-size: 24rpx;
- color: #007AFF;
- text-align: center;
- line-height: 32rpx;
- }
- .itemBox{
- background: #FFFFFF;
- box-shadow: 0rpx 10rpx 9rpx 1rpx rgba(165, 196, 239, 0.1);
- border-radius: 24rpx;
- width: 100%;
- padding: 20rpx;
- margin-bottom: 20rpx;
- }
- </style>
|