提交 ed084c99 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [TrainSys,网页端]

上级 de270268
...@@ -109,14 +109,37 @@ ...@@ -109,14 +109,37 @@
"width" : 256, "width" : 256,
"widthMode" : "PX" "widthMode" : "PX"
}, },
"predefinedType" : "CONTAINER_SCROLL_LEFT",
"width" : 256.0,
"showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 80.0,
"height" : 80.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_header",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"hAlignSelf" : "CENTER",
"height" : 80,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "NORTH",
"vAlignSelf" : "MIDDLE"
},
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "容器", "caption" : "容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "app_header", "name" : "app_header",
"getPSLayout" : { "getPSLayout" : {
"dir" : "column", "align" : "space-between",
"layout" : "FLEX" "dir" : "row",
"layout" : "FLEX",
"vAlign" : "center"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"heightMode" : "FULL", "heightMode" : "FULL",
...@@ -124,65 +147,133 @@ ...@@ -124,65 +147,133 @@
"layoutPos" : "CENTER" "layoutPos" : "CENTER"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "应用标题", "caption" : "容器",
"contentHeight" : 90.0,
"height" : 90.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "RAWITEM", "itemType" : "CONTAINER",
"name" : "app_apptitle", "name" : "app_header_left",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : -1, "grow" : -1,
"height" : 90, "heightMode" : "FULL",
"heightMode" : "PX", "layout" : "FLEX"
"layout" : "FLEX",
"shrink" : 0,
"widthMode" : "FULL"
}, },
"getPSRawItem" : { "getPSPanelItems" : [ {
"caption" : "应用标题",
"contentHeight" : 90.0,
"height" : 90.0,
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "app_apptitle", "name" : "app_apptitle",
"predefinedType" : "APP_APPTITLE", "getPSLayoutPos" : {
"rawItemHeight" : 90.0 "grow" : -1,
}, "height" : 90,
"rawItemHeight" : 90.0, "heightMode" : "PX",
"showCaption" : true "layout" : "FLEX",
"shrink" : 0,
"widthMode" : "FULL"
},
"getPSRawItem" : {
"name" : "app_apptitle",
"predefinedType" : "APP_APPTITLE",
"rawItemHeight" : 90.0
},
"rawItemHeight" : 90.0,
"showCaption" : true
} ]
}, { }, {
"caption" : "用户信息", "caption" : "容器",
"contentHeight" : 68.0,
"height" : 68.0,
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
"itemType" : "RAWITEM", "itemType" : "CONTAINER",
"name" : "auth_userinfo", "name" : "app_header_right",
"getPSLayoutPos" : { "getPSLayout" : {
"grow" : -1, "align" : "center",
"height" : 68, "dir" : "row",
"heightMode" : "PX",
"layout" : "FLEX", "layout" : "FLEX",
"shrink" : 0, "vAlign" : "center"
"widthMode" : "FULL"
}, },
"getPSRawItem" : {
"name" : "auth_userinfo",
"predefinedType" : "AUTH_USERINFO",
"rawItemHeight" : 68.0
},
"rawItemHeight" : 68.0,
"showCaption" : true
}, {
"caption" : "首页菜单",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "appmenu",
"getPSLayoutPos" : { "getPSLayoutPos" : {
"grow" : 1, "grow" : -1,
"layout" : "FLEX", "heightMode" : "FULL",
"widthMode" : "FULL" "layout" : "FLEX"
}, },
"showCaption" : true "getPSPanelItems" : [ {
"caption" : "首页菜单",
"itemStyle" : "DEFAULT",
"itemType" : "CTRLPOS",
"name" : "appmenu",
"getPSLayoutPos" : {
"grow" : 1,
"layout" : "FLEX",
"widthMode" : "FULL"
},
"showCaption" : true
}, {
"caption" : "用户信息",
"contentHeight" : 68.0,
"height" : 68.0,
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "auth_userinfo",
"getPSLayoutPos" : {
"grow" : -1,
"height" : 68,
"heightMode" : "PX",
"layout" : "FLEX",
"shrink" : 0,
"widthMode" : "FULL"
},
"getPSRawItem" : {
"name" : "auth_userinfo",
"predefinedType" : "AUTH_USERINFO",
"rawItemHeight" : 68.0
},
"rawItemHeight" : 68.0,
"showCaption" : true
} ]
} ], } ],
"predefinedType" : "AppHeader" "predefinedType" : "AppHeader"
} ], } ],
"predefinedType" : "CONTAINER_SCROLL_LEFT", "predefinedType" : "CONTAINER_SCROLL_HEADER",
"width" : 256.0, "showCaption" : true
}, {
"caption" : "面板容器",
"contentHeight" : 80.0,
"height" : 80.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_scroll_bottom",
"getPSLayout" : {
"layout" : "BORDER"
},
"getPSLayoutPos" : {
"height" : 80,
"heightMode" : "PX",
"layout" : "BORDER",
"layoutPos" : "SOUTH"
},
"getPSPanelItems" : [ {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text",
"getPSLayoutPos" : {
"layout" : "BORDER",
"layoutPos" : "CENTER"
},
"getPSRawItem" : {
"caption" : "底部内容",
"contentType" : "RAW",
"name" : "static_text",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "底部内容",
"showCaption" : true
} ],
"predefinedType" : "CONTAINER_SCROLL_BOTTOM",
"showCaption" : true "showCaption" : true
} ], } ],
"predefinedType" : "CONTAINER_SCROLL" "predefinedType" : "CONTAINER_SCROLL"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册