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

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

上级 5314b2cb
......@@ -6008,6 +6008,16 @@
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
}, {
"codeName" : "mockCarouselData",
"defaultParamName" : "DEFAULT",
"dynaModelFilePath" : "PSMODULES/common/PSDATAENTITIES/Book/PSDELOGICS/mockCarouselData.json",
"logicName" : "模拟轮播图数据",
"name" : "模拟轮播图数据",
"scriptCode" : "const result = {\n zero: 0,\n};\nconst array = Array.from({ length: 10 }, (_, index) => index);\narray.forEach(value=>{\nresult[`num${value}`] = {\n imgSrc : Math.floor(Math.random() * 100)\n}})\nreturn result;",
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
} ],
"getAllPSDEMainStates" : [ {
"codeName" : "A",
......
{
"codeName" : "mockCarouselData",
"defaultParamName" : "DEFAULT",
"dynaModelFilePath" : "PSMODULES/common/PSDATAENTITIES/Book/PSDELOGICS/mockCarouselData.json",
"logicName" : "模拟轮播图数据",
"name" : "模拟轮播图数据",
"scriptCode" : "const result = {\n zero: 0,\n};\nconst array = Array.from({ length: 10 }, (_, index) => index);\narray.forEach(value=>{\nresult[`num${value}`] = {\n imgSrc : Math.floor(Math.random() * 100)\n}})\nreturn result;",
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
}
\ No newline at end of file
......@@ -2940,6 +2940,15 @@
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
}, {
"codeName" : "mockCarouselData",
"defaultParamName" : "DEFAULT",
"logicName" : "模拟轮播图数据",
"name" : "模拟轮播图数据",
"scriptCode" : "const result = {\n zero: 0,\n};\nconst array = Array.from({ length: 10 }, (_, index) => index);\narray.forEach(value=>{\nresult[`num${value}`] = {\n imgSrc : Math.floor(Math.random() * 100)\n}})\nreturn result;",
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
} ],
"getAllPSAppDEMethodDTOs" : [ {
"codeName" : "BookDTO",
......
......@@ -2940,6 +2940,15 @@
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
}, {
"codeName" : "mockCarouselData",
"defaultParamName" : "DEFAULT",
"logicName" : "模拟轮播图数据",
"name" : "模拟轮播图数据",
"scriptCode" : "const result = {\n zero: 0,\n};\nconst array = Array.from({ length: 10 }, (_, index) => index);\narray.forEach(value=>{\nresult[`num${value}`] = {\n imgSrc : Math.floor(Math.random() * 100)\n}})\nreturn result;",
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
} ],
"getAllPSAppDEMethodDTOs" : [ {
"codeName" : "BookDTO",
......
......@@ -1482,16 +1482,16 @@
"codeName" : "VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息2",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg2"
"id" : "ViewMsg3"
}
}, {
"name" : "视图消息2",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg3"
"id" : "ViewMsg2"
}
} ]
}, {
......
......@@ -2940,6 +2940,15 @@
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
}, {
"codeName" : "mockCarouselData",
"defaultParamName" : "DEFAULT",
"logicName" : "模拟轮播图数据",
"name" : "模拟轮播图数据",
"scriptCode" : "const result = {\n zero: 0,\n};\nconst array = Array.from({ length: 10 }, (_, index) => index);\narray.forEach(value=>{\nresult[`num${value}`] = {\n imgSrc : Math.floor(Math.random() * 100)\n}})\nreturn result;",
"customCode" : true,
"enableBackend" : false,
"enableFront" : true
} ],
"getAllPSAppDEMethodDTOs" : [ {
"codeName" : "BookDTO",
......
......@@ -21,6 +21,9 @@
"id" : "field_textbox1"
}, {
"id" : "field_textbox2"
}, {
"id" : "field_carousel",
"viewFieldName" : "num1"
} ],
"codeName" : "Usr1117078761",
"controlType" : "VIEWLAYOUTPANEL",
......@@ -215,50 +218,6 @@
},
"predefinedType" : "CONTAINER_IMAGE",
"width" : 500.0
}, {
"caption" : "图片背景容器",
"contentHeight" : 300.0,
"contentWidth" : 500.0,
"height" : 300.0,
"itemStyle" : "STYLE2",
"itemType" : "CONTAINER",
"name" : "container_image4",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 300,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 500,
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text4",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "上传svg",
"contentType" : "RAW",
"name" : "static_text4",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "上传svg",
"showCaption" : true
} ],
"getPSSysImage" : {
"rawContent" : "<svg width=\"29\" height=\"29\" viewBox=\"0 0 29 29\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M22.8587 4.48913H21.2609V2.43478C21.2609 2.0553 20.9556 1.75 20.5761 1.75H3.68478C3.3053 1.75 3 2.0553 3 2.43478V10.1957C3 10.5751 3.3053 10.8804 3.68478 10.8804H20.5761C20.9556 10.8804 21.2609 10.5751 21.2609 10.1957V6.31522H22.1739V12.0217H12.159C11.5284 12.0217 11.0177 12.5325 11.0177 13.163V17.0435H9.76223C9.63668 17.0435 9.53397 17.1462 9.53397 17.2717V23.7772C9.53397 23.8086 9.53967 23.8399 9.55109 23.8656C9.53967 23.9113 9.53397 23.9569 9.53397 24.0054C9.53397 25.3293 10.6068 26.4022 11.9307 26.4022C13.2546 26.4022 14.3274 25.3293 14.3274 24.0054C14.3274 23.9569 14.3217 23.9113 14.3103 23.8656C14.3217 23.8371 14.3274 23.8086 14.3274 23.7772V17.2717C14.3274 17.1462 14.2247 17.0435 14.0992 17.0435H12.8438V13.8478H22.8587C23.4893 13.8478 24 13.3371 24 12.7065V5.63043C24 4.99986 23.4893 4.48913 22.8587 4.48913Z\" fill=\"#CBE7FE\"/>\n<rect x=\"2.25\" y=\"1.625\" width=\"19.25\" height=\"9.625\" rx=\"0.875\" fill=\"#65B3FC\"/>\n</svg>\n"
},
"predefinedType" : "CONTAINER_IMAGE",
"width" : 500.0
}, {
"caption" : "测试直接样式",
"contentHeight" : 200.0,
......@@ -353,6 +312,111 @@
"showCaption" : false
} ],
"width" : 300.0
}, {
"caption" : "图片背景容器",
"contentHeight" : 300.0,
"contentWidth" : 500.0,
"height" : 300.0,
"itemStyle" : "STYLE2",
"itemType" : "CONTAINER",
"name" : "container_image4",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 300,
"heightMode" : "PX",
"layout" : "FLEX",
"width" : 500,
"widthMode" : "PX"
},
"getPSPanelItems" : [ {
"caption" : "文本",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_text4",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "上传svg",
"contentType" : "RAW",
"name" : "static_text4",
"predefinedType" : "STATIC_TEXT",
"renderMode" : "TEXT"
},
"rawContent" : "上传svg",
"showCaption" : true
} ],
"getPSSysImage" : {
"rawContent" : "<svg width=\"29\" height=\"29\" viewBox=\"0 0 29 29\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M22.8587 4.48913H21.2609V2.43478C21.2609 2.0553 20.9556 1.75 20.5761 1.75H3.68478C3.3053 1.75 3 2.0553 3 2.43478V10.1957C3 10.5751 3.3053 10.8804 3.68478 10.8804H20.5761C20.9556 10.8804 21.2609 10.5751 21.2609 10.1957V6.31522H22.1739V12.0217H12.159C11.5284 12.0217 11.0177 12.5325 11.0177 13.163V17.0435H9.76223C9.63668 17.0435 9.53397 17.1462 9.53397 17.2717V23.7772C9.53397 23.8086 9.53967 23.8399 9.55109 23.8656C9.53967 23.9113 9.53397 23.9569 9.53397 24.0054C9.53397 25.3293 10.6068 26.4022 11.9307 26.4022C13.2546 26.4022 14.3274 25.3293 14.3274 24.0054C14.3274 23.9569 14.3217 23.9113 14.3103 23.8656C14.3217 23.8371 14.3274 23.8086 14.3274 23.7772V17.2717C14.3274 17.1462 14.2247 17.0435 14.0992 17.0435H12.8438V13.8478H22.8587C23.4893 13.8478 24 13.3371 24 12.7065V5.63043C24 4.99986 23.4893 4.48913 22.8587 4.48913Z\" fill=\"#CBE7FE\"/>\n<rect x=\"2.25\" y=\"1.625\" width=\"19.25\" height=\"9.625\" rx=\"0.875\" fill=\"#65B3FC\"/>\n</svg>\n"
},
"predefinedType" : "CONTAINER_IMAGE",
"width" : 500.0
}, {
"caption" : "多项数据容器",
"dataRegionType" : "MULTIDATA",
"dataSourceType" : "DELOGIC",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container_multidata",
"getPSAppDELogic" : {
"modelref" : true,
"id" : "mockCarouselData"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"widthMode" : "FULL"
},
"getPSPanelItems" : [ {
"caption" : "轮播图",
"contentType" : "IMAGE",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_carousel",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"contentType" : "IMAGE",
"name" : "static_carousel",
"predefinedType" : "STATIC_CAROUSEL"
},
"showCaption" : true
}, {
"caption" : "轮播图(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_carousel",
"getPSEditor" : {
"editorType" : "PICTURE",
"maxFileCount" : -1,
"maxFileSize" : -1,
"minFileCount" : 0,
"name" : "field_carousel",
"predefinedType" : "FIELD_CAROUSEL"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "num1",
"hidden" : false,
"showCaption" : false
} ],
"predefinedType" : "CONTAINER_MULTIDATA"
} ]
} ],
"layoutBodyOnly" : false,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册