Fix(我的):轮播广告图不配置则不显示

This commit is contained in:
lifizer
2024-09-04 16:35:39 +08:00
parent 1a231d6715
commit 06abd34261
+2 -2
View File
@@ -203,7 +203,7 @@
</view> </view>
</view> </view>
<!-- 我的服务结束 --> <!-- 我的服务结束 -->
<view v-if="userCenterCarouselShow== 1" class="banner-wrap"> <view v-if="userCenterCarouselShow === 1 && userCenterCarousel.length > 0" class="banner-wrap">
<!-- <image <!-- <image
:src="bannerBgUrl" :src="bannerBgUrl"
mode="widthFix" mode="widthFix"
@@ -269,7 +269,7 @@ export default {
mixins: [pageListenMixins], mixins: [pageListenMixins],
data() { data() {
return { return {
userCenterCarousel:[], userCenterCarousel: [],
userCenterCarouselShow: 0, userCenterCarouselShow: 0,
statusBarHeight: uni.getSystemInfoSync().statusBarHeight, statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
webUrl: this.$VUE_APP_RESOURCES_URL, webUrl: this.$VUE_APP_RESOURCES_URL,