Sfoglia il codice sorgente

fixed: 修复美博会模板配置页底色问题

xiebaomin 1 anno fa
parent
commit
fa044bba37

+ 1 - 1
pages/h5/activity/activity-topic.vue

@@ -1,5 +1,5 @@
 <template>
-    <view class="container floor clearfix" :style="{backgroundColor:pageInfo.backgroundColour ? pageInfo.backgroundColour : '#f7f7f7',backgroundImage:'url('+pageInfo.backgroundImage+')'}">
+    <view class="container floor clearfix" :style="{backgroundColor:(pageInfo.backgroundColour && pageInfo.backgroundType == 1) ? pageInfo.backgroundColour : '#f7f7f7',backgroundImage:'url('+pageInfo.backgroundImage+')'}">
         <!-- top -->
         <view
             class="container-top"

+ 1 - 1
pages/h5/activity/quick-operation.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="floor clearfix" :style="{backgroundColor:pageInfo.backgroundColour ? pageInfo.backgroundColour : '#f7f7f7',backgroundImage:'url('+pageInfo.backgroundImage+')'}">
+	<view class="floor clearfix" :style="{backgroundColor:(pageInfo.backgroundColour && pageInfo.backgroundType == 1) ? pageInfo.backgroundColour : '#f7f7f7',backgroundImage:'url('+pageInfo.backgroundImage+')'}">
 		<!-- top -->
 		<view class="container-top" @click="BannerNavigateTo(pageInfo.linkType,pageInfo.linkParam.id,pageInfo.headLink,pageInfo.keyword)" v-if="isRequest && headImage!==''"><image :src="headImage" ></image></view>
 		<tui-skeleton v-if="skeletonShow" backgroundColor="#fafafa" borderRadius="10rpx" :isLoading	="true" :loadingType="5"></tui-skeleton>