<div :style="{
'background-image': `url(${require('./image/1.png')}) no-repeat center center`, 'padding':'10px'}"></div>
vue在行内标签中动态添加背景图片,还有其他样式
猜你喜欢
转载自blog.csdn.net/m0_50441807/article/details/126144784
今日推荐
周排行