Commit 086e3db9 authored by 黄奎's avatar 黄奎

11

parent 95f81d53
...@@ -217,9 +217,10 @@ ...@@ -217,9 +217,10 @@
<GGMap></GGMap> <GGMap></GGMap>
</div> </div>
<div class="Travel_ImgList clearfix" :class="{'showOther':TeamType==3}"> <div class="Travel_ImgList clearfix" :class="{'showOther':TeamType==3}">
{{PostConfig.fileList}}
<div class="TFimgList" v-for="(item,index) in PostConfig.fileList" :key="item.subCode"> <div class="TFimgList" v-for="(item,index) in PostConfig.fileList" :key="item.subCode">
<img v-if="!item.Url" src="../../../assets/img/bg_c3@3x.png"> <img v-if="!item.Url" src="../../../assets/img/bg_c3@3x.png">
<img v-else :src='compressImg(item.Url, "filt", 170, "")'> <img v-else :src='item.Url'>
<div class="TFIMGzhe"> <div class="TFIMGzhe">
<div class="TFreupload" @click="updateTFimg(index)"> <div class="TFreupload" @click="updateTFimg(index)">
<el-upload :file-list="PostConfig.fileList" :http-request="reUpload" :multiple="true" <el-upload :file-list="PostConfig.fileList" :http-request="reUpload" :multiple="true"
...@@ -454,8 +455,8 @@ ...@@ -454,8 +455,8 @@
var str = this.domainManager().ViittoFileUrl + x.data.FilePath; var str = this.domainManager().ViittoFileUrl + x.data.FilePath;
that.PostConfig.fileList[ that.PostConfig.fileList[
this.updateChoseIndex this.updateChoseIndex
].Url = this.$commonUtils.GetALiFileUrl(str); ].Url = str;
that.PostConfig.fileList[this.updateChoseIndex].Name = fileName; that.PostConfig.fileList[this.updateChoseIndex].Name = "";
}); });
}, },
//修改图片 //修改图片
...@@ -494,7 +495,7 @@ ...@@ -494,7 +495,7 @@
obj.ID = 0; obj.ID = 0;
obj.Path = this.$commonUtils.removeDomain(imgItem.Path); obj.Path = this.$commonUtils.removeDomain(imgItem.Path);
obj.PicID = imgItem.ID; obj.PicID = imgItem.ID;
obj.ShowPath = imgItem.Path + "?x-oss-process=image/resize,l_140"; obj.ShowPath = imgItem.Path ;
that.PostConfig.fileList[this.ChooseImgIndex].Url = obj.ShowPath; that.PostConfig.fileList[this.ChooseImgIndex].Url = obj.ShowPath;
}); });
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment