Commit 31e194cd authored by 黄奎's avatar 黄奎

页面修改

parent 397d8c02
...@@ -92,10 +92,10 @@ ...@@ -92,10 +92,10 @@
</div> </div>
</div> </div>
</div> </div>
<div flex="cross:center" style="margin-top:20px "> <div flex="cross:center" style="margin-top:20px;display:none">
<h3 class="plugin_ListTitle">营销工具</h3> <h3 class="plugin_ListTitle">营销工具</h3>
</div> </div>
<div flex="dir:left" class="plugin-list el-row"> <div flex="dir:left" class="plugin-list el-row" style="display:none">
<div class="el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4" @click="goDiyCenter('pintuanMain')"> <div class="el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4" @click="goDiyCenter('pintuanMain')">
<div flex="dir:left box:first" class="plugin-item"> <div flex="dir:left box:first" class="plugin-item">
<div style="padding-right: 12px;"> <div style="padding-right: 12px;">
......
...@@ -467,7 +467,19 @@ ...@@ -467,7 +467,19 @@
}, },
//点击设置背景 //点击设置背景
SetBgInfo() { SetBgInfo() {
var isExists = false;
var existsIndex = 0;
this.dataList.forEach((item,index) => {
if (item.Id == "background") {
isExists = true;
existsIndex = index;
}
})
if (isExists) {
this.dataList[existsIndex] = JSON.parse(JSON.stringify(this.bgMsg));
} else {
this.dataList.push(this.bgMsg); this.dataList.push(this.bgMsg);
}
this.bgVisible = false; this.bgVisible = false;
}, },
showBackground(e) { showBackground(e) {
...@@ -527,10 +539,10 @@ ...@@ -527,10 +539,10 @@
placeholder: '搜索', //提示文字 placeholder: '搜索', //提示文字
textColor: '#555555', //文字颜色 textColor: '#555555', //文字颜色
textPosition: "left", //文字位置 textPosition: "left", //文字位置
top:0, //上边距 top: 0, //上边距
right:0, //右边距 right: 0, //右边距
bottom:0, //下边距 bottom: 0, //下边距
left:0, //左边距 left: 0, //左边距
} }
} }
this.dataList.push(searchObj); this.dataList.push(searchObj);
...@@ -567,10 +579,10 @@ ...@@ -567,10 +579,10 @@
fill: 1, //填充方式0-留白 1填充 fill: 1, //填充方式0-留白 1填充
height: 450, //默认高度 height: 450, //默认高度
banners: [], //轮播图 banners: [], //轮播图
radius:0, //圆角 radius: 0, //圆角
topAndBottom:0, //上下边距 topAndBottom: 0, //上下边距
leftAndRight:0, //左右边距 leftAndRight: 0, //左右边距
background:'' //背景色 background: '' //背景色
} }
} }
this.dataList.push(banObj); this.dataList.push(banObj);
...@@ -649,11 +661,11 @@ ...@@ -649,11 +661,11 @@
h: 1, //选中的第几张图 对应的style_list里的h h: 1, //选中的第几张图 对应的style_list里的h
list: [], //选中的第几张图的小区域对应的数据 list: [], //选中的第几张图的小区域对应的数据
hotspot: [], //热区划分 hotspot: [], //热区划分
top:0, // 上边距 top: 0, // 上边距
right:0, //右边距 right: 0, //右边距
bottom:0, //下边距 bottom: 0, //下边距
left:0, //左边距 left: 0, //左边距
background:'', //背景颜色 background: '', //背景颜色
} }
} }
this.dataList.push(rubObj); this.dataList.push(rubObj);
......
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