Before the line in the style plus the background image is written like this:
<view class="radius" style="background-image:'url(https://ossweb-img.qq.com/images/lol/img/champion/Morgana.png)';"></view>
But vue came, the background image is img tag attributes circulating item requires dynamic display, where delay some time, recording what I hope people can encounter this problem at a glance:
The following wording:
<view class="radius" v-bind:style="[{backgroundImage:'url('+ (item.img) +')'}]"></view>
Written on it, no problem. Online inquiry there are other approaches, but the most tricky!
Above represent the personal views, for reference only, do not like do not spray. . .