From 93742e8de4b5f61b3a034fa18b5d47f48082f6b9 Mon Sep 17 00:00:00 2001 From: zch Date: Wed, 13 Nov 2024 10:58:35 +0800 Subject: [PATCH] =?UTF-8?q?style(record):=20=E4=BC=98=E5=8C=96=E6=AF=8D?= =?UTF-8?q?=E6=8E=92=E6=B5=8B=E6=B8=A9=E4=BF=A1=E6=81=AF=E7=9A=84=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=98=BE=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了固定的宽度和高度样式,使图片能够自适应容器大小 - 添加了响应式的图像样式,确保在不同屏幕尺寸下都能良好显示 - 通过 object-fit 属性优化了图片的显示效果,保持了宽高比 --- .../views/record/recordBusbarTemp/index.vue | 30 ++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/record/recordBusbarTemp/index.vue b/ruoyi-ui/src/views/record/recordBusbarTemp/index.vue index 76d5ca4..eaa1b93 100644 --- a/ruoyi-ui/src/views/record/recordBusbarTemp/index.vue +++ b/ruoyi-ui/src/views/record/recordBusbarTemp/index.vue @@ -351,12 +351,15 @@ -
- 显示图片 + + @@ -602,3 +605,22 @@ export default { } }; + +