diff --git a/packages/web-theme/src/publish/app-index-view-layout.ts b/packages/web-theme/src/publish/app-index-view-layout.ts index e2ad9fd8007cfdf1d65fabd720ebb24ab5b1c76c..247aebe50071ac9cf1c7d649fa371cfc5e1bfd5c 100644 --- a/packages/web-theme/src/publish/app-index-view-layout.ts +++ b/packages/web-theme/src/publish/app-index-view-layout.ts @@ -178,34 +178,30 @@ export default { { "panelItems": [ { - "actionType": "NONE", - "buttonHeight": 48, - "buttonStyle": "DEFAULT", - "buttonType": "PANELBUTTON", - "buttonWidth": 48, - "renderMode": "BUTTON", - "tooltip": "敬请期待", - "uiactionTarget": "NONE", - "caption": "敬请期待", - "contentHeight": 48, - "contentWidth": 48, - "height": 48, + "rawItem": { + "sysImage": { + "imagePath": "svg/setting.svg", + "imagePathX": "svg/setting.svg" + }, + "contentType": "IMAGE", + "predefinedType": "SETTING", + "id": "setting" + }, + "caption": "设置", "itemStyle": "DEFAULT", - "itemType": "BUTTON", + "itemType": "RAWITEM", "layoutPos": { "shrink": 1, - "height": 48, "heightMode": "FULL", "layout": "FLEX", - "width": 48, "widthMode": "FULL" }, "sysImage": { "imagePath": "svg/setting.svg", "imagePathX": "svg/setting.svg" }, - "width": 48, - "id": "button_calluilogic1" + "showCaption": true, + "id": "setting" } ], "layout": { @@ -232,34 +228,30 @@ export default { { "panelItems": [ { - "actionType": "NONE", - "buttonHeight": 48, - "buttonStyle": "DEFAULT", - "buttonType": "PANELBUTTON", - "buttonWidth": 48, - "renderMode": "BUTTON", - "tooltip": "敬请期待", - "uiactionTarget": "NONE", - "caption": "敬请期待", - "contentHeight": 48, - "contentWidth": 48, - "height": 48, + "rawItem": { + "sysImage": { + "imagePath": "svg/helper.svg", + "imagePathX": "svg/helper.svg" + }, + "contentType": "IMAGE", + "predefinedType": "HELPER", + "id": "helper" + }, + "caption": "帮助", "itemStyle": "DEFAULT", - "itemType": "BUTTON", + "itemType": "RAWITEM", "layoutPos": { "shrink": 1, - "height": 48, "heightMode": "FULL", "layout": "FLEX", - "width": 48, "widthMode": "FULL" }, "sysImage": { "imagePath": "svg/helper.svg", "imagePathX": "svg/helper.svg" }, - "width": 48, - "id": "button_calluilogic2" + "showCaption": true, + "id": "helper" } ], "layout": { @@ -286,34 +278,30 @@ export default { { "panelItems": [ { - "actionType": "NONE", - "buttonHeight": 48, - "buttonStyle": "DEFAULT", - "buttonType": "PANELBUTTON", - "buttonWidth": 48, - "renderMode": "BUTTON", - "tooltip": "敬请期待", - "uiactionTarget": "NONE", - "caption": "敬请期待", - "contentHeight": 48, - "contentWidth": 48, - "height": 48, + "rawItem": { + "sysImage": { + "imagePath": "svg/custom-workbench.svg", + "imagePathX": "svg/custom-workbench.svg" + }, + "contentType": "IMAGE", + "predefinedType": "CUSTOM", + "id": "custom" + }, + "caption": "自定义功能", "itemStyle": "DEFAULT", - "itemType": "BUTTON", + "itemType": "RAWITEM", "layoutPos": { "shrink": 1, - "height": 48, "heightMode": "FULL", "layout": "FLEX", - "width": 48, "widthMode": "FULL" }, "sysImage": { "imagePath": "svg/custom-workbench.svg", "imagePathX": "svg/custom-workbench.svg" }, - "width": 48, - "id": "button_calluilogic3" + "showCaption": true, + "id": "custom" } ], "layout": {