fix:修改查看图片

This commit is contained in:
SunTao 2025-04-10 17:23:04 +08:00
parent 67e1cf5723
commit 7d6f503c77
2 changed files with 11 additions and 4 deletions

View File

@ -2,18 +2,18 @@
* @Author: SunTao 328867980@qq.com * @Author: SunTao 328867980@qq.com
* @Date: 2025-04-10 16:44:08 * @Date: 2025-04-10 16:44:08
* @LastEditors: SunTao 328867980@qq.com * @LastEditors: SunTao 328867980@qq.com
* @LastEditTime: 2025-04-10 16:50:40 * @LastEditTime: 2025-04-10 17:19:54
* @FilePath: \znxjxt-ui\src\views\xj\inspection\map-diease\components\diease-view.vue * @FilePath: \znxjxt-ui\src\views\xj\inspection\map-diease\components\diease-view.vue
* @Description: 巡检信息-地图展示1 * @Description: 巡检信息-地图展示1
--> -->
<template> <template>
<div class="view-diease"> <div class="view-diease">
<el-carousel arrow="always" :autoplay="false"> <el-carousel class="view-carousel" arrow="always" height="45rem" :autoplay="false">
<el-carousel-item <el-carousel-item
v-for="(item, index) in dislogItem" v-for="(item, index) in dislogItem"
:key="`carousel-${index}`" :key="`carousel-${index}`"
> >
<image :src="item.img" mode="scaleToFill" /> <img :src="item.img" mode="scaleToFill" />
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
</div> </div>
@ -37,4 +37,11 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.view-carousel {
height: 45rem;
img {
height: 43rem;
}
}
</style> </style>

View File

@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com * @Author: SunTao 328867980@qq.com
* @Date: 2025-03-25 11:10:16 * @Date: 2025-03-25 11:10:16
* @LastEditors: SunTao 328867980@qq.com * @LastEditors: SunTao 328867980@qq.com
* @LastEditTime: 2025-04-10 17:12:07 * @LastEditTime: 2025-04-10 17:22:39
* @FilePath: \znxjxt-ui\src\views\xj\inspection\map-diease\index.vue * @FilePath: \znxjxt-ui\src\views\xj\inspection\map-diease\index.vue
* @Description: 地图展示筛选病害-首页 * @Description: 地图展示筛选病害-首页
--> -->