update
This commit is contained in:
parent
2b72719de5
commit
936328b8c7
@ -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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -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++) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user