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

View File

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