mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 10:56:47 +08:00
修改
This commit is contained in:
@@ -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="[status === status.value? 'sea-active':'','sea-index']" @click="autonomyStatus(status.value)">
|
||||
<view v-for="(status,index) in statustList" :key="index" :class="[Applistatus === status.value? 'sea-active':'','sea-index']" @click="autonomyStatus(status.value)">
|
||||
{{status.name}}
|
||||
</view>
|
||||
</view>
|
||||
@@ -288,6 +288,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
Applistatus:'',
|
||||
autonomyStatusShow: false,
|
||||
delData: {},
|
||||
btnsShow: false, // 我报名的删除弹出
|
||||
@@ -538,7 +539,8 @@
|
||||
})
|
||||
},
|
||||
autonomyStatus(num) {
|
||||
this.status = num;
|
||||
console.log(num)
|
||||
this.Applistatus = num;
|
||||
this.getLearning();
|
||||
},
|
||||
taskStatus(num) {
|
||||
@@ -727,7 +729,7 @@
|
||||
pageIndex: 1, //第几页
|
||||
pageSize: 200,
|
||||
courseName: this.learkeyword,
|
||||
status: this.status,
|
||||
status: this.Applistatus,
|
||||
}
|
||||
await apicourseStudy.myStudyList(lear).then(res => {
|
||||
if (res.status == 200) {
|
||||
@@ -745,7 +747,6 @@
|
||||
data.push(...res.result.list);
|
||||
}
|
||||
})
|
||||
// }
|
||||
let learData = {
|
||||
page: 1,
|
||||
size: 200,
|
||||
@@ -824,12 +825,12 @@
|
||||
}
|
||||
},
|
||||
// 自主学习选择状态事件
|
||||
chooseStatus(e) {
|
||||
this.statusSelectShow = false;
|
||||
this.statusBtnName = e.value[0].name;
|
||||
this.autonomy.status = e.value[0].value;
|
||||
this.searchData();
|
||||
},
|
||||
// chooseStatus(e) {
|
||||
// this.statusSelectShow = false;
|
||||
// this.statusBtnName = e.value[0].name;
|
||||
// this.autonomy.status = e.value[0].value;
|
||||
// this.searchData();
|
||||
// },
|
||||
// 自主学习选择类型事件
|
||||
// chooseStatust(e) {
|
||||
// this.statusSelecShow = false;
|
||||
@@ -840,28 +841,28 @@
|
||||
|
||||
// },
|
||||
// 历史记录选择类型事件
|
||||
hischooseStatus(e) {
|
||||
this.hisstatusSelectShow = false;
|
||||
this.hisstatusBtnName = e.value[0].name;
|
||||
this.hisswitch = e.value[0].value;
|
||||
if (this.hisswitch == 10) {
|
||||
this.hisclassType = 10
|
||||
this.history()
|
||||
} else {
|
||||
this.hisclassType = 20
|
||||
this.history()
|
||||
}
|
||||
},
|
||||
loadchooseStatust(e) {
|
||||
this.boeStatus = e;
|
||||
this.loadBoeData()
|
||||
},
|
||||
Application(e) {
|
||||
this.classType = e;
|
||||
this.autonomy.type = e;
|
||||
this.searchData();
|
||||
this.getLearning();
|
||||
},
|
||||
// hischooseStatus(e) {
|
||||
// this.hisstatusSelectShow = false;
|
||||
// this.hisstatusBtnName = e.value[0].name;
|
||||
// this.hisswitch = e.value[0].value;
|
||||
// if (this.hisswitch == 10) {
|
||||
// this.hisclassType = 10
|
||||
// this.history()
|
||||
// } else {
|
||||
// this.hisclassType = 20
|
||||
// this.history()
|
||||
// }
|
||||
// },
|
||||
// loadchooseStatust(e) {
|
||||
// this.boeStatus = e;
|
||||
// this.loadBoeData()
|
||||
// },
|
||||
// Application(e) {
|
||||
// this.classType = e;
|
||||
// this.autonomy.type = e;
|
||||
// this.searchData();
|
||||
// this.getLearning();
|
||||
// },
|
||||
displayWord(data) {
|
||||
if (data.progress == 0) {
|
||||
return '未开始'
|
||||
@@ -1063,7 +1064,7 @@
|
||||
}
|
||||
.sea-index {
|
||||
font-size: 26rpx;
|
||||
margin-right: 16rpx;
|
||||
// margin-right: 16rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user