diff --git a/pages/nationalPage/merchantRevenue.vue b/pages/nationalPage/merchantRevenue.vue index ab86439..e172d96 100644 --- a/pages/nationalPage/merchantRevenue.vue +++ b/pages/nationalPage/merchantRevenue.vue @@ -229,6 +229,7 @@ export default { }else{ this.howDayNumber = 5 this.currentScroll = 'item'+ '2024-04-07' + this.allDateDay = '2024-04-07' } }else if (this.selectFestival===2){ dayNumber = moment().diff("2024-04-30", "days")// 劳动 @@ -236,8 +237,9 @@ export default { this.howDayNumber = dayNumber }else{ this.howDayNumber = 7 - this.currentScroll = 'item'+ '2024-05-05' - this.lastDay = '2024-05-05' + this.currentScroll = 'item'+ '2024-05-06' + this.lastDay = '2024-05-06' + this.allDateDay = '2024-05-06' } } let dateList = [] diff --git a/pages/nationalPage/rankPage.vue b/pages/nationalPage/rankPage.vue index 1bd7b50..4f9ebbd 100644 --- a/pages/nationalPage/rankPage.vue +++ b/pages/nationalPage/rankPage.vue @@ -280,6 +280,7 @@ export default { }else{ this.howDayNumber = 5 this.currentScroll = 'item'+ '2024-04-07' + this.allDateDay = '2024-04-07' } }else if(this.selectFestival===2){ dayNumber = moment().diff("2024-04-30", "days") @@ -287,8 +288,9 @@ export default { this.howDayNumber = dayNumber }else{ this.howDayNumber = 7 - this.currentScroll = 'item'+ '2024-05-05' - this.lastDay = '2024-05-05' + this.currentScroll = 'item'+ '2024-05-06' + this.lastDay = '2024-05-06' + this.allDateDay = '2024-05-06' } } let dateList = [] diff --git a/pages/nationalPage/springTravel.vue b/pages/nationalPage/springTravel.vue index 528fafe..4c7ca56 100644 --- a/pages/nationalPage/springTravel.vue +++ b/pages/nationalPage/springTravel.vue @@ -1045,14 +1045,16 @@ export default { this.howDayNumber = 5 this.currentScroll = 'item'+ '2024-04-07' this.lastDay = '2024-04-07' + this.allDateDay = '2024-04-07' } }else if (this.selectFestival===2){ if (dayNumber<=7){ this.howDayNumber = dayNumber }else{ this.howDayNumber = 7 - this.currentScroll = 'item'+ '2024-05-05' - this.lastDay = '2024-05-05' + this.currentScroll = 'item'+ '2024-05-06' + this.lastDay = '2024-05-06' + this.allDateDay = '2024-05-06' } } @@ -1143,6 +1145,7 @@ export default { }else{ this.howDayNumber = 40 this.lastDay = '2024-03-05' + this.allDateDay = '2024-03-05' } }else if (this.selectFestival===1){ // this.howDayNumber = dayNumber<=3?dayNumber:3 @@ -1152,6 +1155,7 @@ export default { this.howDayNumber = 3 this.currentScroll = 'item'+ '2024-04-05' this.lastDay = '2024-04-07' + this.allDateDay = '2024-04-07' } }else if (this.selectFestival===2){ // this.howDayNumber = dayNumber<=3?dayNumber:3 @@ -1159,8 +1163,9 @@ export default { this.howDayNumber = dayNumber }else{ this.howDayNumber = 7 - this.currentScroll = 'item'+ '2024-05-05' - this.lastDay = '2024-05-05' + this.currentScroll = 'item'+ '2024-05-06' + this.lastDay = '2024-05-06' + this.allDateDay = '2024-05-06' } } let dateList = []