From a7d09900629902c8170f639f070fc6da8d168e0b Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 20 二月 2024 17:55:50 +0800 Subject: [PATCH] 测试 --- ruoyi-ui/src/views/collection/collectionInfo.vue | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/views/collection/collectionInfo.vue b/ruoyi-ui/src/views/collection/collectionInfo.vue index 29fed60..5f006b2 100644 --- a/ruoyi-ui/src/views/collection/collectionInfo.vue +++ b/ruoyi-ui/src/views/collection/collectionInfo.vue @@ -158,7 +158,7 @@ class="el-upload-list__item-thumbnail" src="../../assets/401_images/401.gif" alt="" - style="width: 100%; height: 100%" + style="width: 147px; height: 147px" fit="cover"> <span class="el-upload-list__item-actions"> @@ -197,7 +197,7 @@ </div> <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> @@ -219,7 +219,10 @@ return { cdi:"鏀惰棌涓庤崳瑾夎缁嗕俊鎭�", udi:"鏀惰棌涓庤崳瑾変俊鎭鎯�", - fot:[".jpg",".jif"], + // 鏁版嵁鑼冨洿閫夐」 + fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx', + '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'], + fileList:[], fileListOther:[], dsb:true, @@ -243,7 +246,7 @@ remark:undefined, url: undefined, }, - desurl:'', + dialogImageUrl: '', dialogVisible: false, disabled: false, @@ -308,11 +311,11 @@ this.dsb = !jd this.showInput=true this.isShow=true - document.title = "淇敼鏀惰棌涓庤崳瑾夎缁嗕俊鎭�"; + // document.title = "淇敼鏀惰棌涓庤崳瑾夎缁嗕俊鎭�"; this.$route.meta.title = "淇敼鏀惰棌涓庤崳瑾夎缁嗕俊鎭�";//鍒楄〃鐨勫悕绉� } else{ - document.title = "鏀惰棌涓庤崳瑾夎缁嗕俊鎭�"; + // document.title = "鏀惰棌涓庤崳瑾夎缁嗕俊鎭�"; this.$route.meta.title = "鏀惰棌涓庤崳瑾夎缁嗕俊鎭�";//鍒楄〃鐨勫悕绉� this.isShow=false this.btn = false; @@ -472,8 +475,6 @@ this.dialogFileUrl = this.dialogFileUrl.replace("47.93.189.255","www.bendudu.com") const Base64 = require('js-base64').Base64 - this.desurl = process.env.VUE_APP_BASE_OTHER_API+'onlinePreview?url='+encodeURIComponent(Base64.encode(this.dialogFileUrl)); - myWindow=window.open(this.desurl,'','width=1200,height=800,top=150,left=300'); this.desurl = process.env.VUE_APP_BASE_OTHER_API+"preview/"+'onlinePreview?url='+encodeURIComponent(Base64.encode(this.dialogFileUrl)); let myWindow=window.open(this.desurl,'','width=1200,height=800,top=150,left=300'); }, @@ -607,7 +608,7 @@ display: block; position: absolute; } -.hide .el-upload--picture-card { +.hide /deep/ .el-upload--picture-card { display: none; } .form{ -- Gitblit v1.9.1