diff --git a/pages.json b/pages.json index 995b88dd6430d12e69ba7731f840ccde72e1d3ad..eb52fcd896d73d4de4c8485eb1b41a1da72664d4 100644 --- a/pages.json +++ b/pages.json @@ -449,24 +449,6 @@ } }, // #endif - // #ifdef WEB - { - "path": "pages/API/open-location/open-location", - "group": "1,8,1", - "style": { - "navigationBarTitleText": "openLocation | 使用地图查看位置" - } - }, - // #endif - // #ifdef WEB - { - "path": "pages/API/choose-location/choose-location", - "group": "1,8,2", - "style": { - "navigationBarTitleText": "chooseLocation | 使用地图选择位置" - } - }, - // #endif { "path": "pages/component/list-view/issue-2199", "style": { @@ -498,6 +480,15 @@ } }, // #endif + // #ifndef WEB + { + "path": "pages/component/object/object", + "group": "0,1,9", + "style": { + "navigationBarTitleText": "object" + } + }, + // #endif { "path": "pages/tabBar/API", "style": { @@ -680,6 +671,24 @@ "navigationBarTitleText": "getLocation | 获取当前位置" } }, + // #ifdef WEB + { + "path": "pages/API/open-location/open-location", + "group": "1,8,1", + "style": { + "navigationBarTitleText": "openLocation | 使用地图查看位置" + } + }, + // #endif + // #ifdef WEB + { + "path": "pages/API/choose-location/choose-location", + "group": "1,8,2", + "style": { + "navigationBarTitleText": "chooseLocation | 使用地图选择位置" + } + }, + // #endif { "path": "pages/API/interceptor/interceptor", "group": "1,1,3", @@ -1094,9 +1103,9 @@ // #ifdef APP-IOS { "path": "pages/API/create-canvas-context-async/create-canvas-context-async", - "group": "1,3,2", + "group": "1,16,3", "style": { - "navigationBarTitleText": "createCanvasContextAsync | 创建 Canvas 实例" + "navigationBarTitleText": "createCanvasContextAsync | 获取 CanvasContext 对象实例" } }, // #endif @@ -1751,15 +1760,7 @@ "navigationBarTitleText": "", "backgroundColorContent": "#fffae8" } - }, - // #ifdef APP-ANDROID - { - "path": "pages/component/object/object", - "style": { - "navigationBarTitleText": "自定义组件" - } } - // #endif ], "globalStyle": { "pageOrientation": "portrait", @@ -1890,6 +1891,10 @@ "name": "nested-scroll-body" } ] + }, + { + "id": "component.view-container.object", + "name": "object" } ] }, @@ -2354,7 +2359,19 @@ ] }, null, - null, + { + "id": "api.component", + "name": "组件上下文对象", + "children": [ + null, + null, + null, + { + "id": "api.dom.createCanvasContextAsync", + "name": "createCanvasContextAsync" + } + ] + }, { "id": "api.unicloud", "name": "uniCloud客户端API",