修复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

@ -5,7 +5,7 @@
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 {
@ -13,15 +13,15 @@
.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: 105px; width: 52px;
font-size: 24px; overflow: hidden;
font-weight: bold; border-radius: 3px;
vertical-align: middle;
img { img {
width: 100%; width: 100%;
} }
@ -30,13 +30,10 @@
.controlArea { .controlArea {
flex: 1; flex: 1;
text-align: center; text-align: center;
.tit {
font-size: 18px;
color: #000;
}
} }
.btnArea { .btnArea {
width: 400px; width: 320px;
text-align: right; text-align: right;
} }
} }