From bcac500a760877dc9140f1f381739793706c1af6 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 10 十一月 2023 10:29:38 +0800 Subject: [PATCH] 修改图片大小 --- ruoyi-ui/src/views/note/propertyInfo.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/note/propertyInfo.vue b/ruoyi-ui/src/views/note/propertyInfo.vue index eb0b95d..ddf9d41 100644 --- a/ruoyi-ui/src/views/note/propertyInfo.vue +++ b/ruoyi-ui/src/views/note/propertyInfo.vue @@ -129,10 +129,10 @@ ></video> <img v-else class="el-upload-list__item-thumbnail" - src="../../assets/401_images/401.gif" + :src="file.url" alt="" style="width: 100%; height: 100%" - fit="cover"> + > <span class="el-upload-list__item-actions"> <span class="el-upload-list__item-name">{{ file.name }}</span> @@ -167,7 +167,7 @@ </el-form> <el-dialog :visible.sync="dialogVisible"> - <img w-full :src="dialogImageUrl" style="width: 700px; height: 700px" alt="Preview Image" /> + <img w-full :src="dialogImageUrl" style="width: 100%; height: 100%" alt="Preview Image" /> </el-dialog> </div> </template> @@ -260,6 +260,7 @@ document.title = "瀹跺涵璧勪骇璇︾粏淇℃伅"; this.$route.meta.title = "瀹跺涵璧勪骇璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� this.btn = false; + alert(this.btn) this.isShow=false } -- Gitblit v1.9.1