<div
class="mov-img"
:style="{backgroundImage: 'url(' + imgburl + ')'}"
>
<img src="../../assets/image/player.png" alt="" class="player" />
</div>
Vue 动态切换背景图片
Published: at 05:13 PMSuggest Changes
<div
class="mov-img"
:style="{backgroundImage: 'url(' + imgburl + ')'}"
>
<img src="../../assets/image/player.png" alt="" class="player" />
</div>