-
![]()
+
@@ -49,7 +49,7 @@
-
+
{{item.label}}
@@ -199,6 +199,8 @@ export default {
}
}else if(this.selectFestival===1){
this.currentScroll = 'item'+ this.lastDay
+ }else if (this.selectFestival===2){
+ this.currentScroll = 'item'+ this.lastDay
}
@@ -228,6 +230,15 @@ export default {
this.howDayNumber = 5
this.currentScroll = 'item'+ '2024-04-07'
}
+ }else if (this.selectFestival===2){
+ dayNumber = moment().diff("2024-04-30", "days")// 劳动
+ if (dayNumber<=7){
+ this.howDayNumber = dayNumber
+ }else{
+ this.howDayNumber = 7
+ this.currentScroll = 'item'+ '2024-05-05'
+ this.lastDay = '2024-05-05'
+ }
}
let dateList = []
for (let i = 1;i<=this.howDayNumber;i++){
@@ -235,6 +246,8 @@ export default {
dateList.push({label:`第${i}天`,value:moment("2024-01-25").add(i, 'days').format("YYYY-MM-DD")})
}else if(this.selectFestival===1){
dateList.push({label:`第${i}天`,value:moment("2024-04-02").add(i, 'days').format("YYYY-MM-DD")})
+ }else if (this.selectFestival===2){
+ dateList.push({label:`第${i}天`,value:moment("2024-04-28").add(i, 'days').format("YYYY-MM-DD")})
}
// if (i<7){
// dateList.push({label:`第${i}天`,value:`2024-01-${26+i-1}`})
@@ -283,8 +296,8 @@ export default {
pushProvinceCode: this.useInfo.userData.ProvinceCode || '340000',
curYear: this.curYear,
compareYear: this.compareYear,
- HolidayType:this.selectFestival===0?2:this.selectFestival===1?3:'',
- StatisticsDate:time,
+ HolidayType:this.selectFestival===0?2:this.selectFestival===1?3:this.selectFestival===2?4:'',
+ StatisticsDate: time,
ServerpartId: this.springService.Serverpart_ID || this.ServerpartId,
SortStr:`${this.type===1?'revenue':this.type===2?'account':this.type===3?'bayonet':''} ${this.sortType===0?'asc':'desc'}`,
}
@@ -504,6 +517,9 @@ export default {
.qmTop{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/qmBackground.png");
}
+ .labourTop{
+ background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/labourBg.png");
+ }
.top{
width: 100%;
height: 324rpx;
@@ -519,6 +535,9 @@ export default {
.headerQm{
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/qmBackground.png");
}
+ .headerlabour{
+ background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/labourBg.png");
+ }
.header{
position: fixed;
width: 100%;
@@ -671,6 +690,9 @@ export default {
.qmContentTop{
background: linear-gradient(360deg, rgba(204,231,224,0) 0%, #CCE7E0 100%);
}
+ .labourContentTop{
+ background: linear-gradient( 360deg, rgba(255,236,208,0) 0%, #FFECD0 100%);
+ }
.contentTop{
width: 100%;
@@ -791,6 +813,11 @@ export default {
color: #226C61!important;
}
}
+ .labourNav{
+ .selectItem{
+ color: #D14702;
+ }
+ }
}
.sortBox{
diff --git a/pages/nationalPage/rankPage.vue b/pages/nationalPage/rankPage.vue
index 52df8f0..0ef5f39 100644
--- a/pages/nationalPage/rankPage.vue
+++ b/pages/nationalPage/rankPage.vue
@@ -282,7 +282,7 @@ export default {
this.currentScroll = 'item'+ '2024-04-07'
}
}else if(this.selectFestival===2){
- dayNumber = moment().diff("2024-04-29", "days")
+ dayNumber = moment().diff("2024-04-30", "days")
if (dayNumber<=7){
this.howDayNumber = dayNumber
}else{
diff --git a/pages/nationalPage/springTravel.vue b/pages/nationalPage/springTravel.vue
index 13a5df6..7971307 100644
--- a/pages/nationalPage/springTravel.vue
+++ b/pages/nationalPage/springTravel.vue
@@ -498,7 +498,7 @@