From 05d623d5b806f6650b9544dcbd4f322d677bf9a8 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期二, 26 三月 2024 16:44:40 +0800
Subject: [PATCH] 完善直播模块2

---
 ruoyi-ui/src/views/travel/travelInfo.vue |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/ruoyi-ui/src/views/travel/travelInfo.vue b/ruoyi-ui/src/views/travel/travelInfo.vue
index a8908ae..977ca4e 100644
--- a/ruoyi-ui/src/views/travel/travelInfo.vue
+++ b/ruoyi-ui/src/views/travel/travelInfo.vue
@@ -148,7 +148,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">
@@ -205,7 +205,10 @@
     return {
       cdi:"瀹跺涵澶т簨璁颁俊鎭�",
       udi:"瀹跺涵澶т簨璁颁慨鏀�",
-      fot:[".jpg",".jif","png"],
+    // 鏁版嵁鑼冨洿閫夐」
+    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:[
@@ -276,11 +279,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.isShow=true
       this.btn = false;
@@ -299,12 +302,21 @@
             let pth = paths[i].substr(paths[i].length - 4, paths[i].length)
 
             if (_this.fot.includes(pth) === true)
+			{
+				if(paths[i].includes("https"))
+				_this.fileList.push({name:paths[i],url: paths[i]})
+				else
               _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i]})
+			  }
             else {
               // alert(paths[i])
+			  if(paths[i].includes("https"))
+			  _this.fileListOther.push({name:paths[i],url: paths[i]})
+			  else{
               let nms = paths[i].split("\/")
               let nm = nms[nms.length - 1]
               _this.fileListOther.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i]})
+			  }
             }
           }
         }
@@ -465,7 +477,7 @@
   display: block;
   position: absolute;
 }
-.hide .el-upload--picture-card {
+.hide /deep/ .el-upload--picture-card {
   display: none;
 }
 .form{

--
Gitblit v1.9.1