|
@@ -839,10 +839,9 @@
|
|
</view>
|
|
</view>
|
|
</u-modal>
|
|
</u-modal>
|
|
|
|
|
|
- <Tabbar v-if="indexStyle.spring" class="springClass" bgColor="" inColor="#fff" acColor="#f9d79e" :current="0"
|
|
|
|
- ref="tabbarMain" ></Tabbar>
|
|
|
|
|
|
+
|
|
|
|
|
|
- <Tabbar v-else :current="0" ref="tabbarMain" ></Tabbar>
|
|
|
|
|
|
+ <Tabbar :spring="indexStyle.spring" :current="0" ref="tabbarMain" ></Tabbar>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -936,7 +935,7 @@
|
|
noticeBarBgColor: "#fff",
|
|
noticeBarBgColor: "#fff",
|
|
noticeBarColor: "#FF3D00",
|
|
noticeBarColor: "#FF3D00",
|
|
backgroundClass: "background",
|
|
backgroundClass: "background",
|
|
- spring: false,
|
|
|
|
|
|
+ spring: true,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1089,15 +1088,17 @@
|
|
spring() {
|
|
spring() {
|
|
this.springShow=false;
|
|
this.springShow=false;
|
|
try{
|
|
try{
|
|
- if(this.carhelp.getConfig().spring2024){
|
|
|
|
- var spring2024=this.carhelp.getConfig().spring2024
|
|
|
|
- var sz=spring2024.split(',')
|
|
|
|
|
|
+ if(this.carhelp.getConfig().spring2025){
|
|
|
|
+ var spring2025=this.carhelp.getConfig().spring2025
|
|
|
|
+ var sz=spring2025.split(',')
|
|
if(sz&&sz.length==2){
|
|
if(sz&&sz.length==2){
|
|
var time1=new Date(sz[0])
|
|
var time1=new Date(sz[0])
|
|
var time2=new Date(sz[1])
|
|
var time2=new Date(sz[1])
|
|
var time0=new Date()
|
|
var time0=new Date()
|
|
|
|
+
|
|
if(time0>time1&&time0<time2){
|
|
if(time0>time1&&time0<time2){
|
|
this.springShow=true;
|
|
this.springShow=true;
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1113,7 +1114,8 @@
|
|
this.indexStyle.noticeBarBgColor = "#C00000"
|
|
this.indexStyle.noticeBarBgColor = "#C00000"
|
|
this.indexStyle.noticeBarColor = "#FFD695"
|
|
this.indexStyle.noticeBarColor = "#FFD695"
|
|
this.indexStyle.backgroundClass = "background-spring"
|
|
this.indexStyle.backgroundClass = "background-spring"
|
|
- this.indexStyle.spring = true;
|
|
|
|
|
|
+ this.indexStyle.spring = true;
|
|
|
|
+
|
|
if (this.activityList.length) {
|
|
if (this.activityList.length) {
|
|
this.activityList.forEach(item => {
|
|
this.activityList.forEach(item => {
|
|
if (item.clickUrl == '#/pages/discountCard/productDetails') {
|
|
if (item.clickUrl == '#/pages/discountCard/productDetails') {
|
|
@@ -2362,7 +2364,7 @@
|
|
//padding-top: 28rpx;
|
|
//padding-top: 28rpx;
|
|
|
|
|
|
.backgroundClass {
|
|
.backgroundClass {
|
|
- background-image: url('@/assets/img/spring/indexBg.png');
|
|
|
|
|
|
+ background-image: url('@/assets/img/spring/2025/index1.jpg');
|
|
|
|
|
|
padding-top: 50rpx;
|
|
padding-top: 50rpx;
|
|
|
|
|
|
@@ -3487,5 +3489,22 @@
|
|
to {
|
|
to {
|
|
transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.springclass{
|
|
|
|
+ .u-tabbar__content__item{
|
|
|
|
+ .u-icon__img {
|
|
|
|
+ width:56rpx !important;
|
|
|
|
+ height:56rpx !important
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .u-tabbar__content__item:nth-child(1){
|
|
|
|
+ .u-icon__img {
|
|
|
|
+ width:72rpx !important;
|
|
|
|
+ height:72rpx !important
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
</style>
|
|
</style>
|