Skip to content

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>

Previous Post
npm 引入本地包
Next Post
ElementUI 抽屉组件意外关闭问题解决