This commit is contained in:
@fawn-nine
2024-09-19 17:42:12 +08:00
parent 89eabd7a62
commit a0efe173da
4 changed files with 168 additions and 140 deletions

View File

@@ -63,7 +63,7 @@
<view class="">
<view class="PM_font" style="padding: 20rpx; font-size: 40rpx; color: #333">题目内容</view>
<view v-if="curriculumData.questions != ''" class="">
<view class="" v-html="curriculumData.questions"></view>
<view class="" v-html="curriculumData.questions"></view>
<view class="haveAnswer" v-if="myAnswer.id">
<!-- 有答案 -->
<view class=" flex_box flex_between" style="padding: 20rpx; align-items: center;">
@@ -305,6 +305,7 @@
// #endif
this.answerForm.relationId = options.id
this.options = options;
console.log('shoudao de zhi',this.options );
this.noRecored = options.noRecored
console.log('this.noRecored=>', this.noRecored)
this.screenLoading = false;
@@ -807,6 +808,7 @@
},
// 判断用户是否加入了小班
getClassList(){
console.log('是否进入了班级列表查询',this.options);
$http.request({
url: '/common/class/getClassByUser',
method: "POST",
@@ -823,12 +825,12 @@
this.classList = []
console.log('获取班级列表',res.result);
if(res.code == 0){
if(res.result.id){
if(res.result != null && res.result.id){
this.isInClass = true
this.classList.push(res.result)
}else{
this.isInClass = false
// this.classList = []
this.classList = []
}
}
console.log('获取班级列表++++++',this.isInClass);