:style="{'backgroundImage': 'url(' + item.img + ')'} 作者:微微一笑绝绝子 出处:vue动态切换背景图片background - 微微一笑绝绝子 - 博客园 本博客文章均为作者原创,转载请注明作者和原文链接。