复读价格问题

This commit is contained in:
liuyuan
2025-04-11 12:38:58 +08:00
parent 539895f210
commit 1ecc2fc908
6 changed files with 87 additions and 130 deletions

View File

@@ -610,7 +610,9 @@
textList: [], //转化文字集合
//存储解析后的内容
parsedContent: '',
images: []
images: [],
//复读的id
fuduId: null
};
},
//第一次加载
@@ -701,11 +703,6 @@
currentIndex: index // 当前图片的索引
});
},
async request(){
var newCertificate = await this.getCertificateInfo()
this.selfStudyCertificate = []
@@ -1054,19 +1051,6 @@
this.currentCateIndex = courseIndex;
let _myurl = ''
_myurl = '/pages/course/chapterDetailAndorid'
// if (this.librayList[this.curIndex].type == 0 ||this.librayList[this.curIndex].isBuy == 1 || v.isAudition == 1 || this.userVip!=null) {
// let noRecored = false
// v.isAudition == 1 && this.userVip==null && this.librayList[this.curIndex].isBuy == 0 ?
// noRecored = true : ''
// uni.navigateTo({
// url: `${_myurl}?navTitle=${this.pageTitle}&title=${v.title}&courseId=${this.courseId}&id=${v.id}&conditions=${v.conditions}&noRecored=${noRecored}`,
// });
// } else if (this.userVip==null && this.librayList[this.curIndex].type == 2) {
// this.$commonJS.showToast("请开通VIP后观看本课程");
// } else {
// this.$commonJS.showToast("请先购买课程");
// }
let noRecored = false;
v.isAudition == 1 && this.userVip==null && this.librayList[this.curIndex].isBuy == 0 ? noRecored = true : ''
if(this.userVip){
@@ -1098,7 +1082,8 @@
typeId: 0,
navTitle: this.course.title,
title: this.course.title,
isFudu: this.isFudu
isFudu: this.isFudu,
fuduId: this.fuduId
}); // 这里转换成 字符串
uni.navigateTo({
url: `/pages/goods/order/index?data=${mynavData}`,
@@ -1865,6 +1850,8 @@
this.$refs.commonSelectGoods.open();
this.isFudu = true
this.show = true;
//存复读需要的id
this.fuduId = item.id;
}else{
this.show = false
this.isFudu = false