绑定样式

:style="{'background-image':'url('+urlImg+')'}"//urlImg 一个动态提取的值
原文地址:https://www.cnblogs.com/lipu12281/p/11844237.html