提交 a68c3a96 编写于 作者: chitanda's avatar chitanda

feat: 布局更新

上级 b226e602
...@@ -3,33 +3,55 @@ export default { ...@@ -3,33 +3,55 @@ export default {
"rootPanelItems": [ "rootPanelItems": [
{ {
"panelItems": [ "panelItems": [
{
"panelItems": [
{ {
"panelItems": [ "panelItems": [
{ {
"caption": "标签页导航栏", "caption": "标签页导航栏",
"contentHeight": 36,
"height": 36,
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CTRLPOS", "itemType": "CTRLPOS",
"layoutPos": { "layoutPos": {
"layoutPos": "CENTER", "height": 36,
"layout": "BORDER" "heightMode": "PX",
"layout": "FLEX"
}, },
"showCaption": true, "showCaption": true,
"id": "nav_tabs1" "id": "nav_tabs"
}, },
{ {
"rawItem": { "rawItem": {
"predefinedType": "NAV_POS", "predefinedType": "NAV_POS",
"id": "nav_pos1" "id": "nav_pos"
}, },
"caption": "导航区占位", "caption": "导航区占位",
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "RAWITEM", "itemType": "RAWITEM",
"layoutPos": {
"grow": 1,
"layout": "FLEX"
},
"showCaption": true,
"id": "nav_pos"
}
],
"layout": {
"layout": "FLEX"
},
"dataRegionType": "INHERIT",
"caption": "容器",
"contentHeight": 100,
"itemStyle": "DEFAULT",
"itemType": "CONTAINER",
"layoutPos": { "layoutPos": {
"layoutPos": "CENTER", "layoutPos": "CENTER",
"height": 100,
"heightMode": "PERCENTAGE",
"layout": "BORDER" "layout": "BORDER"
}, },
"showCaption": true, "id": "container4"
"id": "nav_pos1"
} }
], ],
"layout": { "layout": {
...@@ -37,17 +59,17 @@ export default { ...@@ -37,17 +59,17 @@ export default {
}, },
"dataRegionType": "INHERIT", "dataRegionType": "INHERIT",
"caption": "面板容器", "caption": "面板容器",
"contentWidth": 80, "contentWidth": 100,
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CONTAINER", "itemType": "CONTAINER",
"layoutPos": { "layoutPos": {
"layoutPos": "CENTER", "layoutPos": "CENTER",
"layout": "BORDER", "layout": "BORDER",
"width": 80, "width": 100,
"widthMode": "PERCENTAGE" "widthMode": "PERCENTAGE"
}, },
"showCaption": true, "showCaption": true,
"id": "container_scroll_main1" "id": "container_scroll_main"
}, },
{ {
"panelItems": [ "panelItems": [
...@@ -60,7 +82,7 @@ export default { ...@@ -60,7 +82,7 @@ export default {
"layout": "BORDER" "layout": "BORDER"
}, },
"showCaption": true, "showCaption": true,
"id": "appmenu1" "id": "appmenu"
} }
], ],
"layout": { "layout": {
...@@ -68,23 +90,21 @@ export default { ...@@ -68,23 +90,21 @@ export default {
}, },
"dataRegionType": "INHERIT", "dataRegionType": "INHERIT",
"caption": "面板容器", "caption": "面板容器",
"contentWidth": 20, "contentWidth": 240,
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CONTAINER", "itemType": "CONTAINER",
"layoutPos": { "layoutPos": {
"layoutPos": "WEST", "layoutPos": "WEST",
"layout": "BORDER", "layout": "BORDER",
"width": 20, "width": 240,
"widthMode": "PERCENTAGE" "widthMode": "PX"
}, },
"width": 20, "width": 240,
"showCaption": true, "showCaption": true,
"id": "container_scroll_left1" "id": "container_scroll_left"
}, },
{ {
"panelItems": [ "panelItems": [
{
"panelItems": [
{ {
"panelItems": [ "panelItems": [
{ {
...@@ -96,26 +116,11 @@ export default { ...@@ -96,26 +116,11 @@ export default {
"layout": "FLEX" "layout": "FLEX"
}, },
"id": "app_apptitle" "id": "app_apptitle"
}
],
"layout": {
"layout": "FLEX"
},
"dataRegionType": "INHERIT",
"caption": "容器",
"itemStyle": "DEFAULT",
"itemType": "CONTAINER",
"layoutPos": {
"layout": "FLEX"
}, },
"id": "container2"
},
{
"panelItems": [
{ {
"rawItem": { "rawItem": {
"predefinedType": "AUTH_USERINFO", "predefinedType": "AUTH_USERINFO",
"id": "auth_userinfo1" "id": "auth_userinfo"
}, },
"caption": "用户信息", "caption": "用户信息",
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
...@@ -124,20 +129,7 @@ export default { ...@@ -124,20 +129,7 @@ export default {
"layout": "FLEX" "layout": "FLEX"
}, },
"showCaption": true, "showCaption": true,
"id": "auth_userinfo1" "id": "auth_userinfo"
}
],
"layout": {
"layout": "FLEX"
},
"dataRegionType": "INHERIT",
"caption": "容器",
"itemStyle": "DEFAULT",
"itemType": "CONTAINER",
"layoutPos": {
"layout": "FLEX"
},
"id": "container3"
} }
], ],
"layout": { "layout": {
...@@ -161,18 +153,18 @@ export default { ...@@ -161,18 +153,18 @@ export default {
}, },
"dataRegionType": "INHERIT", "dataRegionType": "INHERIT",
"caption": "面板容器", "caption": "面板容器",
"contentHeight": 80, "contentHeight": 64,
"height": 80, "height": 64,
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CONTAINER", "itemType": "CONTAINER",
"layoutPos": { "layoutPos": {
"layoutPos": "NORTH", "layoutPos": "NORTH",
"height": 80, "height": 64,
"heightMode": "PX", "heightMode": "PX",
"layout": "BORDER" "layout": "BORDER"
}, },
"showCaption": true, "showCaption": true,
"id": "container_scroll_header1" "id": "container_scroll_header"
} }
], ],
"layout": { "layout": {
......
...@@ -26,33 +26,33 @@ export default { ...@@ -26,33 +26,33 @@ export default {
"layoutPos": { "layoutPos": {
"layout": "FLEX" "layout": "FLEX"
}, },
"id": "container7" "id": "container4"
}, },
{ {
"panelItems": [ "panelItems": [
{ {
"caption": "工具栏", "caption": "搜索栏",
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CTRLPOS", "itemType": "CTRLPOS",
"layoutPos": { "layoutPos": {
"layout": "FLEX" "layout": "FLEX"
}, },
"showCaption": true, "showCaption": true,
"id": "toolbar" "id": "searchbar"
}, },
{ {
"caption": "搜索栏", "caption": "工具栏",
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CTRLPOS", "itemType": "CTRLPOS",
"layoutPos": { "layoutPos": {
"layout": "FLEX" "layout": "FLEX"
}, },
"showCaption": true, "showCaption": true,
"id": "663c3dab99740d1417cb4d8d7e47b4e0" "id": "toolbar"
} }
], ],
"layout": { "layout": {
"dir": "row-reverse", "dir": "row",
"layout": "FLEX" "layout": "FLEX"
}, },
"dataRegionType": "INHERIT", "dataRegionType": "INHERIT",
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
"layoutPos": { "layoutPos": {
"layout": "FLEX" "layout": "FLEX"
}, },
"id": "container3" "id": "container5"
} }
], ],
"layout": { "layout": {
...@@ -75,9 +75,10 @@ export default { ...@@ -75,9 +75,10 @@ export default {
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CONTAINER", "itemType": "CONTAINER",
"layoutPos": { "layoutPos": {
"heightMode": "PX",
"layout": "FLEX" "layout": "FLEX"
}, },
"id": "container6" "id": "container1"
}, },
{ {
"panelItems": [ "panelItems": [
...@@ -102,7 +103,7 @@ export default { ...@@ -102,7 +103,7 @@ export default {
"layoutPos": { "layoutPos": {
"layout": "FLEX" "layout": "FLEX"
}, },
"id": "container4" "id": "container2"
}, },
{ {
"panelItems": [ "panelItems": [
...@@ -111,6 +112,7 @@ export default { ...@@ -111,6 +112,7 @@ export default {
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CTRLPOS", "itemType": "CTRLPOS",
"layoutPos": { "layoutPos": {
"grow": 1,
"layout": "FLEX" "layout": "FLEX"
}, },
"showCaption": true, "showCaption": true,
...@@ -125,9 +127,10 @@ export default { ...@@ -125,9 +127,10 @@ export default {
"itemStyle": "DEFAULT", "itemStyle": "DEFAULT",
"itemType": "CONTAINER", "itemType": "CONTAINER",
"layoutPos": { "layoutPos": {
"grow": 1,
"layout": "FLEX" "layout": "FLEX"
}, },
"id": "container5" "id": "container3"
} }
], ],
"layoutPanel": true, "layoutPanel": true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册