vue怎么让图片在当前页面放大
部分代码:
<div id="app" v-bind:style="{ background: color1 }">
<span style="display:inline-block;margin:5px;width:256px;height:300px;" v-for="item in contactsList">
<a v-bind:href="rootImagePath+item.ImagePath" target="_blank">
< img height="256" width="256" :src="rootImagePath+item.ImagePath" alt="训练图片">
部分代码:
<div id="app" v-bind:style="{ background: color1 }">
<span style="display:inline-block;margin:5px;width:256px;height:300px;" v-for="item in contactsList">
<a v-bind:href="rootImagePath+item.ImagePath" target="_blank">
< img height="256" width="256" :src="rootImagePath+item.ImagePath" alt="训练图片">