Commit 6c813b6a authored by 黄奎's avatar 黄奎

1111

parent 4a2bd89c
......@@ -234,6 +234,7 @@
</div>
</div>
<el-dialog :title="commonTitle" :visible.sync="isShowDialog" width="1000px">
{{currentEditItem}}
<!--视频-->
<plugvideodialog v-if="currentEditItem.Id=='white_label_video'" :plugData="currentEditItemData"></plugvideodialog>
<!--轮播图-->
......
......@@ -112,13 +112,13 @@
<el-col :span="8">
<el-form-item label="Mobile LOGO" style="margin-bottom: 0;">
<div class="webSliderDiv" style="width: 100px;height:100px;">
<el-upload :http-request="UploadAttachmentMBgColor" :multiple="true"
<el-upload :http-request="UploadAttachmentMLogo" :multiple="true"
accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false" action="">
<img v-if="plugData.MBgColor" :src="plugData.MBgColor" class="web_imgUrl" alt="" />
<img v-if="plugData.MLogo" :src="plugData.MLogo" class="web_imgUrl" alt="" />
<div class="addIconDiv">
<i class="web_addImg iconfont icon-img_haha"></i>
<i class="web_delImg iconfont icon-img_delete_small" style="margin-left:10px;"
@click.stop="plugData.MBgColor=''"></i>
@click.stop="plugData.MLogo=''"></i>
</div>
</el-upload>
</div>
......@@ -452,14 +452,14 @@
this.plugData.Logo = imgUrl;
});
},
UploadAttachmentMBgColor(file) {
UploadAttachmentMLogo(file) {
let newArr = [];
newArr.push(file.file);
var path = "/Upload/WebSite/";
this.UploadSelfFileT(path, newArr, x => {
var str = x.data.FilePath;
var imgUrl = this.domainManager().ViittoFileUrl + str;
this.plugData.MBgColor = imgUrl;
this.plugData.MLogo = imgUrl;
});
},
//显示菜单弹窗
......
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