|
|
@ -2,7 +2,7 @@ |
|
|
<div v-if="showThis" :key="actInfo.id" class="act-item"> |
|
|
<div v-if="showThis" :key="actInfo.id" class="act-item"> |
|
|
<!-- 图片 --> |
|
|
<!-- 图片 --> |
|
|
<div class="img-container" @click="clickActItem"> |
|
|
<div class="img-container" @click="clickActItem"> |
|
|
<img :style="{ backgroundImage: `url(${getBackGround()})` }" alt="" /> |
|
|
|
|
|
|
|
|
<img :src="getBackGround()" alt="" /> |
|
|
<img v-if="actInfo.fileUrl.length === 0" src="@/assets/images/empty_big.svg" alt="" /> |
|
|
<img v-if="actInfo.fileUrl.length === 0" src="@/assets/images/empty_big.svg" alt="" /> |
|
|
</div> |
|
|
</div> |
|
|
<!-- 标题 --> |
|
|
<!-- 标题 --> |
|
|
@ -114,9 +114,8 @@ onMounted(() => { |
|
|
background: #ebebeb00; |
|
|
background: #ebebeb00; |
|
|
|
|
|
|
|
|
img { |
|
|
img { |
|
|
width: inherit; |
|
|
|
|
|
height: inherit; |
|
|
|
|
|
background-size: cover; |
|
|
|
|
|
|
|
|
width: 880px; |
|
|
|
|
|
height: 495px; |
|
|
border-radius: 16px; |
|
|
border-radius: 16px; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|