提交 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,
......
......@@ -13233,16 +13233,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"
}
} ]
}, {
......@@ -13303,53 +13303,45 @@
"codeName" : "VMGroup4",
"name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-弹出",
"name" : "消息位置-视图上方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg10"
"id" : "ViewMsg7"
}
}, {
"name" : "消息位置-视图内容区",
"name" : "消息位置-弹出",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
"id" : "ViewMsg10"
}
}, {
"name" : "消息位置-视图方",
"name" : "消息位置-视图方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg7"
"id" : "ViewMsg8"
}
}, {
"name" : "消息位置-视图下方",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg8"
"id" : "ViewMsg9"
}
} ]
}, {
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
}, {
"name" : "关闭模式-无删除-上方-常规",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
"id" : "ViewMsg9"
}
}, {
"name" : "消息类型-常规信息",
"name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
},
"position" : "POPUP"
"id" : "ViewMsg12"
}
}, {
"name" : "消息位置-视图下方",
"getPSAppViewMsg" : {
......@@ -13357,29 +13349,37 @@
"id" : "ViewMsg8"
}
}, {
"name" : "关闭模式-默认删除-上方-错误",
"name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
"id" : "ViewMsg13"
}
}, {
"name" : "消息位置-视图内容区",
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
"id" : "ViewMsg5"
},
"position" : "POPUP"
}, {
"name" : "消息类型-警告信息",
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg5"
"id" : "ViewMsg6"
},
"position" : "POPUP"
}, {
"name" : "关闭模式-本次删除-上方-警告",
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg13"
"id" : "ViewMsg4"
},
"position" : "POPUP"
}, {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
} ]
}, {
......@@ -13392,32 +13392,32 @@
"id" : "ViewMsg11"
}
}, {
"name" : "关闭模式-默认删除",
"name" : "关闭模式-本次删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
"id" : "ViewMsg13"
}
}, {
"name" : "关闭模式-本次删除",
"name" : "关闭模式-默认删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg13"
"id" : "ViewMsg12"
}
} ]
}, {
"codeName" : "VMGroup6",
"name" : "视图消息动态模式测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "动态模式-实体数据集",
"name" : "动态模式-静态内容",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg14"
"id" : "ViewMsg15"
}
}, {
"name" : "动态模式-静态内容",
"name" : "动态模式-实体数据集",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg15"
"id" : "ViewMsg14"
}
} ]
} ],
......@@ -42200,6 +42200,9 @@
"id" : "field_textbox1"
}, {
"id" : "field_textbox2"
}, {
"id" : "field_carousel",
"viewFieldName" : "num1"
} ],
"codeName" : "Usr1117078761",
"controlType" : "VIEWLAYOUTPANEL",
......@@ -42394,50 +42397,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,
......@@ -42532,6 +42491,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,
......@@ -51791,6 +51855,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",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册