From a27ffbdd8353c381312839a0c00ae7444c7a381c Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期四, 30 五月 2024 15:40:49 +0800
Subject: [PATCH] 修改完bug

---
 ruoyi-ui/src/views/clean/index.vue |   41 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 40 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/views/clean/index.vue b/ruoyi-ui/src/views/clean/index.vue
index 211262e..da60d35 100644
--- a/ruoyi-ui/src/views/clean/index.vue
+++ b/ruoyi-ui/src/views/clean/index.vue
@@ -312,10 +312,49 @@
 <!--
             <el-button type="primary">鐐瑰嚮涓婁紶</el-button>
             <div v-if="uploading" class="upload-status">姝e湪涓婁紶...</div> -->
-            <template #tip>
+            <!-- <template #tip>
               <div class="el-upload__tip">
               </div>
             </template>
+          </el-upload> -->
+          <i slot="default" class="el-icon-plus"></i>
+            <div slot="file" slot-scope="{file}">
+              <!-- 娣诲姞video鍏冪礌鐢ㄤ簬鏄剧ず瑙嗛 -->
+              <video
+                v-if="file.url.includes('.mp4')"
+                class="el-upload-list__item-thumbnail"
+                :src="file.url"
+                style="width: 147px; height: 147px"
+                fit="cover"
+              ></video>
+              <img v-else
+                   class="el-upload-list__item-thumbnail"
+                   src="../../assets/images/deviceLis.png"
+                   alt=""
+                   style="width: 100%; height: 100%"
+                   fit="cover"></img>
+
+              <span class="el-upload-list__item-actions">
+                   <span class="el-upload-list__item-name">{{ file.name }}</span>
+                        <!-- <span
+                          class="el-upload-list__item-preview"
+                          @click="handleFileCardPreview(file)"
+                        >
+                          <i class="el-icon-zoom-in"></i>
+                        </span> -->
+
+                        <span
+
+                          class="el-upload-list__item-delete"
+                          @click="handleRemoveFile(file)"
+                        >
+                          <i class="el-icon-delete"></i>
+                        </span>
+                  </span>
+
+            </div>
+
+
           </el-upload>
 	 <el-button
 		          style="margin-left: 10px"

--
Gitblit v1.9.1