修复list修改时的bug

This commit is contained in:
xujiang 2020-08-30 10:40:55 +08:00
parent acde12bc23
commit 15d8e8e6e6
2 changed files with 45 additions and 40 deletions

View File

@ -134,6 +134,11 @@ export default {
"name": "文字大小",
"type": "Number"
},
{
"key": "imgSize",
"name": "图片大小",
"type": "Number"
},
{
"key": "sourceData",
"name": "数据源",
@ -145,6 +150,7 @@ export default {
"color": "rgba(153,153,153,1)",
"activeColor": "rgba(0,102,204,1)",
"fontSize": 16,
"imgSize": 100,
"sourceData": [
{
"id": 1,
@ -472,6 +478,7 @@ export default {
"config": {
"sourceData": [
{
"id": "1",
"title": "趣谈小课",
"desc": "致力于打造优质小课程",
"link": "xxxxx",
@ -485,12 +492,13 @@ export default {
]
},
{
"id": "2",
"title": "趣谈小课",
"desc": "致力于打造优质小课程",
"link": "xxxxx",
"imgUrl": [
{
"uid": "001",
"uid": "002",
"name": "image.png",
"status": "done",
"url": "http://io.nainor.com/uploads/1_1740c6fbcd9.png",

View File

@ -1,42 +1,39 @@
.header {
position: relative;
z-index: 10;
padding-left: 30px;
padding-right: 30px;
display: flex;
align-items: center;
height: 80px;
background: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
.logoArea {
width: 300px;
.backBtn {
display: inline-block;
padding: 12px 10px;
margin-right: 26px;
background-color: rgba(222, 224, 230, 0.3);
cursor: pointer;
}
.logo {
display: inline-block;
width: 105px;
font-size: 24px;
font-weight: bold;
img {
width: 100%;
}
position: relative;
z-index: 10;
padding-left: 30px;
padding-right: 30px;
display: flex;
align-items: center;
height: 56px;
background: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
.logoArea {
width: 300px;
.backBtn {
display: inline-block;
padding: 12px 10px;
margin-right: 22px;
cursor: pointer;
}
.logo {
display: inline-block;
width: 52px;
overflow: hidden;
border-radius: 3px;
vertical-align: middle;
img {
width: 100%;
}
}
.controlArea {
flex: 1;
text-align: center;
.tit {
font-size: 18px;
color: #000;
}
}
.btnArea {
width: 400px;
text-align: right;
}
}
}
.controlArea {
flex: 1;
text-align: center;
}
.btnArea {
width: 320px;
text-align: right;
}
}