数组中这样写路径
list:[
{
img:require('../assets/images/renwu1.png'),
text:"防疫"
},
{
img:require('../assets/images/renwu2.png'),
text:"妇联"
},
{
img:require('../assets/images/renwu3.png'),
text:"儿保"
},
img标签中照常写就ok了
<img :src="item.img">