Commit 74fa7804 by Cat
parents 23eddfea 12557693
......@@ -42,7 +42,7 @@
<el-carousel :interval="4000" height="100px">
<el-carousel-item v-for="(item, index) in scope.row.schoolAccessoryList" :key="index">
<el-image style="width: 100px; height: 100px" :src="pev + item.accessoryUrl"
:preview-src-list="[item.accessoryUrl]"></el-image>
:preview-src-list="[pev + item.accessoryUrl]"></el-image>
</el-carousel-item>
</el-carousel>
</template>
......@@ -164,10 +164,7 @@
</div>
</el-dialog>
<el-dialog ref="previewDialog" title="预览图片" :visible.sync="previewDialogVisible">
<el-image style="width: 100%; max-height: 80vh; object-fit: contain" :src="previewImageUrl"
fit="contain"></el-image>
</el-dialog>
</div>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment