mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-08 02:16:46 +08:00
修改
This commit is contained in:
@@ -121,8 +121,8 @@
|
||||
<view class="content-list" @click="toQaDetail(item)">
|
||||
<view class="content-title">
|
||||
<!-- qa-basic -->
|
||||
<text v-if="item.isResolve" class="qa-solve">【已解决】</text>
|
||||
<text v-else class="qa-unSolve">【待解决】</text>
|
||||
<text style="margin-left: -12upx;" v-if="item.isResolve" class="qa-solve">【已解决】</text>
|
||||
<text style="margin-left: -12upx;" v-else class="qa-unSolve">【待解决】</text>
|
||||
{{ item.title }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<u-icon style="margin-left: 18upx;" name="arrow-down"></u-icon>
|
||||
</view>
|
||||
<view class="sea-show" v-show="statusSelectShow">
|
||||
<view v-for="(status,index) in statustList" :key="index" :class="[classType == status.value? 'sea-active':'','sea-index']" @click="autonomyStatus(status.value)">
|
||||
<view v-for="(status,index) in statustList" :key="index" :class="[boeStatus === status.value? 'sea-active':'','sea-index']" @click="taskStatus(status.value)">
|
||||
{{status.name}}
|
||||
</view>
|
||||
</view>
|
||||
@@ -42,7 +42,7 @@
|
||||
<u-icon style="margin-left: 18upx;" name="arrow-down"></u-icon>
|
||||
</view>
|
||||
<view class="sea-show" v-show="statusSelectShow">
|
||||
<view v-for="(status,index) in statustList" :key="index" :class="[classType == status.value? 'sea-active':'','sea-index']" @click="taskStatus(status.value)">
|
||||
<view v-for="(status,index) in statustList" :key="index" :class="[status === status.value? 'sea-active':'','sea-index']" @click="autonomyStatus(status.value)">
|
||||
{{status.name}}
|
||||
</view>
|
||||
</view>
|
||||
@@ -807,15 +807,9 @@
|
||||
url: '/pages/study/studydetail?id=' + citem.id + '&type=' + citem.courseType
|
||||
});
|
||||
} else {
|
||||
if (citem.courseType == 10) {
|
||||
uni.navigateTo({
|
||||
url: '../resource/microDetail?studyId=' + citem.id + '&id=' + citem.courseId
|
||||
url: '/pages/study/courseStudy?studyId=' + citem.id + '&id=' + citem.courseId
|
||||
})
|
||||
} else if (citem.courseType == 20) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/study/onlineCourse?studyId=' + citem.id + '&id=' + citem.courseId
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
choose(citem) {
|
||||
@@ -859,8 +853,6 @@
|
||||
}
|
||||
},
|
||||
loadchooseStatust(e) {
|
||||
// this.loadstatusSelecShow = false;
|
||||
// this.loadstatusBtnName = e.value[0].name;
|
||||
this.boeStatus = e;
|
||||
this.loadBoeData()
|
||||
},
|
||||
@@ -868,9 +860,8 @@
|
||||
this.classType = e;
|
||||
this.autonomy.type = e;
|
||||
this.searchData();
|
||||
// this.getLearning();
|
||||
this.getLearning();
|
||||
},
|
||||
|
||||
displayWord(data) {
|
||||
if (data.progress == 0) {
|
||||
return '未开始'
|
||||
|
||||
Reference in New Issue
Block a user