Commit 4e972d6d authored by youjie's avatar youjie

no message

parent 292a2129
......@@ -101,7 +101,7 @@
<el-input type="text" v-model="plugData.SubTitle"></el-input>
</el-form-item>
</el-row>
<el-row style="display: flex;flex-direction: row;justify-content: space-between;align-items: center;">
<el-row style="display: flex;flex-direction: row;justify-content: space-between;align-items: center;margin-bottom: 10px;">
<el-form-item :label="$t('objFill.v101.jianjie')" class="flex" style="margin-bottom: 0;">
<el-input type="textarea" :rows="2" v-model="plugData.Describe"></el-input>
......@@ -109,6 +109,19 @@
<el-form-item :label="$t('objFill.v101.beijinse')" style="margin-bottom: 0;flex-shrink: 0;">
<el-color-picker style='vertical-align: middle;' v-model="plugData.BgColor"></el-color-picker>
</el-form-item>
<el-form-item label="Mobile LOGO" style="margin-bottom: 0;">
<div class="webSliderDiv" style="width: 100px;height:100px;">
<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.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.MLogo=''"></i>
</div>
</el-upload>
</div>
</el-form-item>
</el-row>
<table>
<tbody v-for="(item,index) in plugData.NavList" :key="index">
......@@ -260,6 +273,16 @@
this.plugData.NavList[this.clickIndex].FileUrl = imgUrl;
});
},
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.MLogo = imgUrl;
});
},
//显示菜单弹窗
ShowMenuDialog(item) {
this.clickItem = item;
......
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