From 016f890b89151f2edfee3ae792a9c5594460bf2b Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 20 二月 2024 17:41:51 +0800 Subject: [PATCH] 提交新代码 --- ruoyi-ui/src/views/clean/cleanInfo.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/views/clean/cleanInfo.vue b/ruoyi-ui/src/views/clean/cleanInfo.vue index 99511ae..e228639 100644 --- a/ruoyi-ui/src/views/clean/cleanInfo.vue +++ b/ruoyi-ui/src/views/clean/cleanInfo.vue @@ -72,7 +72,7 @@ class="el-upload-list__item-thumbnail" :src="file.url" alt="" - style="width: 100%; height: 100%; object-fit: cover;" + style="width: 147px; height: 147px; object-fit: cover;" fit="cover" :preview-src-list="[file.url]" > @@ -134,7 +134,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"> @@ -173,7 +173,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> @@ -192,7 +192,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:[ @@ -275,11 +278,11 @@ this.btn= jd this.dsb = !jd this.isShow=true - document.title = "淇敼淇濇磥鏀剁撼璇︾粏淇℃伅"; + // document.title = "淇敼淇濇磥鏀剁撼璇︾粏淇℃伅"; this.$route.meta.title = "淇敼淇濇磥鏀剁撼璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� } else{ - document.title = "淇濇磥鏀剁撼璇︾粏淇℃伅"; + // document.title = "淇濇磥鏀剁撼璇︾粏淇℃伅"; this.$route.meta.title = "淇濇磥鏀剁撼璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� this.btn = false; this.isShow=false; @@ -454,6 +457,7 @@ { var file = params.file; var formData = new FormData(); + // console.log(file) formData.append('uploadFile', file); let _this = this this.uploading1 = true; @@ -528,7 +532,7 @@ } </script> -<style scoped lang="scss"> +<style scoped> .mt { position: relative; @@ -543,7 +547,7 @@ display: block; position: absolute; } -.hide .el-upload--picture-card { +.hide /deep/ .el-upload--picture-card { display: none; } .form{ -- Gitblit v1.9.1