Commit a16d51dd by zhangquan

详情图片加预览

1 parent ed45d580
......@@ -11,7 +11,7 @@
<div class="detail">
<glsxCombiForm ref="editFormRef" labelWidth="154px" defaultWidth="214px" :formObj="orderInfo" :formData="editFormData">
<div slot="addDescImgSlot" class="addDescImgSlot">
<img v-for="(item,index) in orderInfo.imgUrlList" :key="index" :src="item" alt="">
<el-image class="img" v-for="(item,index) in orderInfo.imgUrlList" :preview-src-list="orderInfo.imgUrlList" :key="index" :src="item" ></el-image>
<span v-if="!orderInfo.imgUrlList || orderInfo.imgUrlList.length==0">--</span>
</div>
</glsxCombiForm>
......@@ -217,7 +217,7 @@ export default {
.detail{
padding: 20px;
.addDescImgSlot{
img{
.img{
width: 36px;
height: 36px;
margin-right: 8px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!