This commit is contained in:
@fawn-nine
2024-09-29 18:00:33 +08:00
parent e36d3962aa
commit c1b4f2b02d
3 changed files with 38 additions and 19 deletions

View File

@@ -12,8 +12,8 @@
"src" : "图片路径" "src" : "图片路径"
} }
], ],
"versionName" : "1.0.21", "versionName" : "1.0.22",
"versionCode" : 1021, "versionCode" : 1022,
"app-plus" : { "app-plus" : {
"nvueCompiler" : "weex", "nvueCompiler" : "weex",
"compatible" : { "compatible" : {

View File

@@ -1,6 +1,6 @@
<template> <template>
<view class="container commonPageBox commonDetailPage" style="height: auto !important;padding-bottom: 0 !important;"> <view class="container commonPageBox commonDetailPage" style="height: auto !important;padding-bottom: 0 !important;">
<u-popup :show="show" mode="bottom" @close="close" class="popup_box"> <u-popup :show="show" v-if="show" mode="bottom" @close="close" class="popup_box">
<view class="popup_top"> <view class="popup_top">
<!-- @click="previewImage(selectGoodsData.productImages)" --> <!-- @click="previewImage(selectGoodsData.productImages)" -->
<view class="product_image"> <view class="product_image">

View File

@@ -3,16 +3,11 @@
<!-- 公共组件-每个页面必须引入 --> <!-- 公共组件-每个页面必须引入 -->
<public-module></public-module> <public-module></public-module>
<!-- <z-nav-bar :title="pageTitle ? pageTitle : '课程详情'"> --> <!-- <z-nav-bar :title="pageTitle ? pageTitle : '课程详情'"> -->
<z-nav-bar title="课程介绍"> <z-nav-bar title="课程介绍"></z-nav-bar>
<!-- <view class="curseSet" slot="right" @click="newOnShare"> <view class="contentBox commonPageContentBox" >
<uni-icons type="redo" size="26"></uni-icons><text style="font-size: 26rpx;"></text> 分享课程 <!-- <u-alert v-if="goBuyTitle && isAndorid" style="
</view> -->
</z-nav-bar>
<view class="contentBox commonPageContentBox">
<u-alert v-if="goBuyTitle && isAndorid" style="
background: linear-gradient(90deg, #258feb 0%, #00e1ec 100%); background: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
position: fixed; position: fixed; top:0;
left: 0; left: 0;
width: 100%; width: 100%;
z-index: 10; z-index: 10;
@@ -30,13 +25,36 @@
<view> </view> <view> </view>
</template> </template>
</u-alert> </u-alert> -->
<!-- <scroll-view scroll-y="true" class="scroll-Y"> --> <!-- <scroll-view scroll-y="true" class="scroll-Y"> -->
<view class="curseImg" style="padding-top: 80rpx"> <view class="curseImg" style="padding-top: 80rpx">
<image v-if="!course.image" src="/static/nobg.jpg" mode="widthFix"></image> <image v-if="!course.image" src="/static/nobg.jpg" mode="widthFix"></image>
<image v-else :src="course.image" mode="widthFix"></image> <image v-else :src="course.image" mode="widthFix"></image>
</view> </view>
<view class="" v-if="goBuyTitle && isAndorid" style="position: relative; height:100rpx; ">
<u-alert v-if="goBuyTitle && isAndorid" style="
background: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
position: absolute; top: 0;
left: 0;
width: 100%;
z-index: 10;
" type="warning" @click="handleClickGetVip" :title="goBuyTitle" :show-icon="true"></u-alert>
<template slot="rightSlot" slot-scope="slotProps">
<text class="saveBtn vipBtn flexbox buyBtn" v-if="goBuyType == 0">
立即购买
</text>
<text class="flexbox" style="color: #f0f0f0" v-if="goBuyType == 1">
立即续费
</text>
<text class="saveBtn vipBtn flexbox" v-if="goBuyType == 2">
立即升级
</text>
<view> </view>
</template>
</u-alert>
</view>
<view class="containerBg1"> <view class="containerBg1">
<view class="course_info_box"> <view class="course_info_box">
<view class="course_info"> <view class="course_info">
@@ -198,8 +216,9 @@
</view> </view>
<!-- <uni-section class="mb-10" style="padding: 0 20rpx" title="" type="line" <!-- <uni-section class="mb-10" style="padding: 0 20rpx" title="" type="line"
v-if="librayList.length > 0 && librayList[curIndex].completion > 0"> --> v-if="librayList.length > 0 && librayList[curIndex].completion > 0"> -->
<!-- {{librayList[curIndex].completion}} -->
<view class="progress-box"> <view class="progress-box">
<progress :percent="librayList[curIndex].completion" show-info stroke-width="3" /> <progress :percent="librayList[curIndex].completion ? librayList[curIndex].completion : 0" show-info stroke-width="3" />
</view> </view>
<!-- </uni-section> --> <!-- </uni-section> -->
</view> </view>
@@ -255,8 +274,8 @@
</view> </view>
</view> </view>
<u-popup key="1" :show="pricespop" :round="10" @close="closePup"> <!-- <u-popup key="1" v-if="pricespop" :show="true" :round="10" @close="closePup">
<view class="proListPrice" v-if="proPriceList.length > 0"> <view class="proListPrice" v-if="proPriceList.length > 0" style="background-color: #fff;">
<view class="title"> 请选择 </view> <view class="title"> 请选择 </view>
<view class="list"> <view class="list">
<view :class="['item', curProId == item.productId ? 'active' : '']" <view :class="['item', curProId == item.productId ? 'active' : '']"
@@ -275,7 +294,7 @@
</view> </view>
</view> </view>
</view> </view>
</u-popup> </u-popup> -->
<view> <view>
<u-back-top :scroll-top="scrollTop" bottom="150" :customStyle="bgiStyle" <u-back-top :scroll-top="scrollTop" bottom="150" :customStyle="bgiStyle"
:iconStyle="iconStyle"></u-back-top> :iconStyle="iconStyle"></u-back-top>
@@ -367,7 +386,7 @@
$refs.commonSelectGoods.close(); $refs.commonSelectGoods.close();
protocolShow = true; protocolShow = true;
"></common-select-goods> "></common-select-goods>
<u-popup :show="protocolShow" mode="center" round="6"> <u-popup :show="protocolShow" mode="center" round="6" v-if="protocolShow">
<view class="popup_box"> <view class="popup_box">
<view class="title">温馨提示</view> <view class="title">温馨提示</view>
<view class="content"> <view class="content">