This commit is contained in:
@fawn-nine
2024-09-30 10:01:38 +08:00
parent c1b4f2b02d
commit c5fe4732df

View File

@@ -5,9 +5,9 @@
<!-- <z-nav-bar :title="pageTitle ? pageTitle : '课程详情'"> -->
<z-nav-bar title="课程介绍"></z-nav-bar>
<view class="contentBox commonPageContentBox" >
<!-- <u-alert v-if="goBuyTitle && isAndorid" style="
<u-alert v-if="goBuyTitle && isAndorid" style="
background: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
position: fixed; top:0;
position: fixed;
left: 0;
width: 100%;
z-index: 10;
@@ -25,36 +25,13 @@
<view> </view>
</template>
</u-alert> -->
</u-alert>
<!-- <scroll-view scroll-y="true" class="scroll-Y"> -->
<view class="curseImg" style="padding-top: 80rpx">
<image v-if="!course.image" src="/static/nobg.jpg" mode="widthFix"></image>
<image v-else :src="course.image" mode="widthFix"></image>
</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>
<view class="containerBg1">
<view class="course_info_box">
<view class="course_info">
@@ -216,9 +193,9 @@
</view>
<!-- <uni-section class="mb-10" style="padding: 0 20rpx" title="" type="line"
v-if="librayList.length > 0 && librayList[curIndex].completion > 0"> -->
<!-- {{librayList[curIndex].completion}} -->
<!-- {{librayList[curIndex]}} -->
<view class="progress-box">
<progress :percent="librayList[curIndex].completion ? librayList[curIndex].completion : 0" show-info stroke-width="3" />
<progress v-if="librayList[curIndex]" :percent="librayList[curIndex].completion ? librayList[curIndex].completion : 0" show-info stroke-width="3" />
</view>
<!-- </uni-section> -->
</view>