|
@@ -190,7 +190,6 @@ export default {
|
|
|
dealMonth(){
|
|
dealMonth(){
|
|
|
let date = new Date();
|
|
let date = new Date();
|
|
|
let currentMonth = date.getMonth()+1;
|
|
let currentMonth = date.getMonth()+1;
|
|
|
- this.currentMonth = currentMonth
|
|
|
|
|
this.haveNextMonth = false
|
|
this.haveNextMonth = false
|
|
|
this.havePreviousMonth = false
|
|
this.havePreviousMonth = false
|
|
|
for(let i=0;i<this.listItem.calendarStudyVo.length;i++){
|
|
for(let i=0;i<this.listItem.calendarStudyVo.length;i++){
|
|
@@ -215,7 +214,6 @@ export default {
|
|
|
this.calendarStudyVo.miniDayStudyList = [] //创建缩放的数组
|
|
this.calendarStudyVo.miniDayStudyList = [] //创建缩放的数组
|
|
|
let date = new Date();
|
|
let date = new Date();
|
|
|
let num = date.getDate();
|
|
let num = date.getDate();
|
|
|
- console.log(firstItem,88)
|
|
|
|
|
for(let i = 0; i < firstItem.studyDay; i++) {
|
|
for(let i = 0; i < firstItem.studyDay; i++) {
|
|
|
this.calendarStudyVo.dayStudyList.unshift({date:0})
|
|
this.calendarStudyVo.dayStudyList.unshift({date:0})
|
|
|
}
|
|
}
|
|
@@ -243,7 +241,6 @@ export default {
|
|
|
item.dot = true
|
|
item.dot = true
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- console.log(firstItem,88)
|
|
|
|
|
let start = todayIndex - todayItem.studyDay
|
|
let start = todayIndex - todayItem.studyDay
|
|
|
this.calendarStudyVo.miniDayStudyList = this.calendarStudyVo.dayStudyList.slice(start,start+7)
|
|
this.calendarStudyVo.miniDayStudyList = this.calendarStudyVo.dayStudyList.slice(start,start+7)
|
|
|
this.showDayList = this.calendarStudyVo.miniDayStudyList
|
|
this.showDayList = this.calendarStudyVo.miniDayStudyList
|
|
@@ -500,6 +497,7 @@ export default {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
padding: 20rpx 0;
|
|
padding: 20rpx 0;
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
.card {
|
|
.card {
|
|
|
width: 100%;
|
|
width: 100%;
|