This commit is contained in:
cclu 2024-04-11 11:13:47 +08:00
parent 2b72719de5
commit 936328b8c7
2 changed files with 18 additions and 5 deletions

View File

@ -1031,9 +1031,9 @@
<!-- <image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/springTravelLogo.svg"/>--> <!-- <image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/springTravelLogo.svg"/>-->
<image class="funIcon" :src="isShowFestival==='spring'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/springTravelLogo.svg':isShowFestival==='qm'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/qmIcon.png':''"/> <image class="funIcon" :src="isShowFestival==='spring'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/springTravelLogo.svg':isShowFestival==='qm'?'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/qmIcon.png':''"/>
</view> </view>
<!-- <text class="funText">节日特刊</text>--> <text class="funText">节日特刊</text>
<!-- <text class="funText">平安春运</text>--> <!-- <text class="funText">平安春运</text>-->
<text class="funText">{{ isShowFestival==='spring'?'平安春运':isShowFestival==='qm'?'清明节':'' }}</text> <!-- <text class="funText">{{ isShowFestival==='spring'?'平安春运':isShowFestival==='qm'?'清明节':'' }}</text>-->
</view> </view>
</view> </view>
@ -1599,7 +1599,7 @@ export default {
currentMoney:'', currentMoney:'',
showMoreFixed:false,// showMoreFixed:false,//
profitSharingList:[],// list profitSharingList:[],// list
isShowFestival:'qm',// isShowFestival:'spring',//
oldSwiperIndex: 0,// swiper 1 return oldSwiperIndex: 0,// swiper 1 return
} }
}, },

View File

@ -1031,12 +1031,14 @@ export default {
} }
if (this.selectFestival===0){ if (this.selectFestival===0){
this.howDayNumber = dayNumber<=40?dayNumber:40 this.howDayNumber = dayNumber<=40?dayNumber:40
this.lastDay = '2024-03-05'
}else if (this.selectFestival===1){ }else if (this.selectFestival===1){
if (dayNumber<=5){ if (dayNumber<=5){
this.howDayNumber = dayNumber this.howDayNumber = dayNumber
}else{ }else{
this.howDayNumber = 5 this.howDayNumber = 5
this.currentScroll = 'item'+ '2024-04-07' this.currentScroll = 'item'+ '2024-04-07'
this.lastDay = '2024-04-07'
} }
} }
@ -1112,9 +1114,20 @@ export default {
dayNumber = moment().diff("2024-04-03", "days") dayNumber = moment().diff("2024-04-03", "days")
} }
if (this.selectFestival===0){ if (this.selectFestival===0){
this.howDayNumber = dayNumber<=40?dayNumber:40 if (dayNumber<=40){
this.howDayNumber = dayNumber
}else{
this.howDayNumber = 40
this.lastDay = '2024-03-05'
}
}else if (this.selectFestival===1){ }else if (this.selectFestival===1){
this.howDayNumber = dayNumber<=3?dayNumber:3 // this.howDayNumber = dayNumber<=3?dayNumber:3
if (dayNumber<=3){
this.howDayNumber = dayNumber
}else{
this.howDayNumber = 3
this.lastDay = '2024-04-07'
}
} }
let dateList = [] let dateList = []
for (let i = 1;i<=this.howDayNumber;i++) { for (let i = 1;i<=this.howDayNumber;i++) {