mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 11:56:47 +08:00
t提交
This commit is contained in:
@@ -362,56 +362,23 @@
|
|||||||
statust: '',
|
statust: '',
|
||||||
status: '',
|
status: '',
|
||||||
loadstatus: '',
|
loadstatus: '',
|
||||||
typeArray: [{
|
typeArray: [
|
||||||
name: '全部',
|
{name: '全部',value: ''},
|
||||||
value: ''
|
{name: '录播课',value: 'online-course'},
|
||||||
},
|
{name: '线下课',value: 'face-course'},
|
||||||
{
|
{name: '学习项目',value: 'project'}
|
||||||
name: '录播课',
|
|
||||||
value: 'online-course'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '线下课',
|
|
||||||
value: 'face-course'
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
name: '学习项目',
|
|
||||||
value: 'project'
|
|
||||||
}
|
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
statustList: [{
|
statustList: [
|
||||||
name: '全部',
|
{name: '全部',value: ''},
|
||||||
value: ''
|
{name: '未开始',value: 0},
|
||||||
},
|
{name: '进行中',value: 1},
|
||||||
{
|
{name: '已完成',value: 2}
|
||||||
name: '未开始',
|
|
||||||
value: 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '进行中',
|
|
||||||
value: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '已完成',
|
|
||||||
value: 2
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
statustArray: [
|
statustArray: [
|
||||||
[{
|
[{name: '在线课',value: 'online-course'},
|
||||||
name: '在线课',
|
{name: '面授班',value: 'face-course'},
|
||||||
value: 'online-course'
|
{name: '学习项目',value: 'project'}
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '面授班',
|
|
||||||
value: 'face-course'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '学习项目',
|
|
||||||
value: 'project'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
windowHeight: 0,
|
windowHeight: 0,
|
||||||
@@ -431,7 +398,7 @@
|
|||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.loadBoeData(true);
|
this.loadBoeData(true);
|
||||||
this.getLearning(); //这里应该是切换时再调用
|
// this.getLearning(); //这里应该是切换时再调用
|
||||||
//检查是否显示弹窗
|
//检查是否显示弹窗
|
||||||
let curTime = new Date();
|
let curTime = new Date();
|
||||||
curTime = parseInt(curTime.getTime() / 1000);
|
curTime = parseInt(curTime.getTime() / 1000);
|
||||||
@@ -688,8 +655,8 @@
|
|||||||
clicktab(idx) {
|
clicktab(idx) {
|
||||||
this.tabIndex = idx;
|
this.tabIndex = idx;
|
||||||
if (this.tabIndex == 1) {
|
if (this.tabIndex == 1) {
|
||||||
// this.getLearning()
|
this.getLearning()
|
||||||
this.searchData();
|
// this.searchData();
|
||||||
} else if (this.tabIndex == 2) {
|
} else if (this.tabIndex == 2) {
|
||||||
this.history()
|
this.history()
|
||||||
} else if (this.tabIndex == 0) {
|
} else if (this.tabIndex == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user