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

feat: 布局更新

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