lyqu 4 年之前
父節點
當前提交
1b5d3d2f20
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/activityList/activity/authorBoost.vue

+ 1 - 1
pages/activityList/activity/authorBoost.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<view v-if="boostDetail.cover"  class="bg-img" style="height: 563upx;" :style="{'backgroundImage':'url('+ boostDetail.cover +')'}"></view>
+		<view v-if="!$u.test.isEmpty(boostDetail.cover)"  class="bg-img" style="height: 563upx;" :style="{'backgroundImage':'url('+ boostDetail.cover +')'}"></view>
 		<view v-else class="bg-img"  style="height: 563upx;background-image: url('https://yyzs.nanyue6688.com/obsfile/ea1a9741a5d5469e967dac8e8e7f0c9d-singerBg.png');"></view>
 		<view class="homeBtn" @click="home">
 			<image src="/static/home.png" style="width: 40upx;height: 40upx;" />