diff --git a/pages.json b/pages.json index 764b09579cafc59ec3d634c236152374d83f64ec..8c27fb50646e974ada54be23cb48bc64e8000798 100644 --- a/pages.json +++ b/pages.json @@ -550,18 +550,20 @@ "navigationBarTitleText": "getEnterOptionsSync | 获取本次启动时的参数" } }, - { - "path": "pages/API/request-animation-frame/request-animation-frame", - "style": { - "navigationBarTitleText": "requestAnimationFrame | 请求帧动画队列" - } - }, - { - "path": "pages/API/cancel-animation-frame/cancel-animation-frame", - "style": { - "navigationBarTitleText": "cancelAnimationFrame | 取消已加入的帧动画队列" - } - }, + { + "path": "pages/API/request-animation-frame/request-animation-frame", + "group": "1,1,8,0", + "style": { + "navigationBarTitleText": "requestAnimationFrame | 加入请求帧动画队列" + } + }, + { + "path": "pages/API/cancel-animation-frame/cancel-animation-frame", + "group": "1,1,8,1", + "style": { + "navigationBarTitleText": "cancelAnimationFrame | 取消已加入的帧动画队列" + } + }, { "path": "pages/API/navigator/navigator", "group": "1,2,0", @@ -1121,7 +1123,7 @@ // #ifndef WEB { "path": "pages/API/get-native-view/element-getnativeview", - "group": "1,3,2", + "group": "1,30", "style": { "navigationBarTitleText": "getNativeView | 获取原生 View", "backgroundColor": "#F8F8F8" @@ -1130,9 +1132,9 @@ // #endif { "path": "pages/API/create-canvas-context-async/create-canvas-context-async", - "group": "1,16,3", + "group": "1,8,1", "style": { - "navigationBarTitleText": "createCanvasContextAsync | 获取 CanvasContext 对象实例" + "navigationBarTitleText": "createCanvasContextAsync | createCanvasContextAsync" } }, { @@ -1917,10 +1919,6 @@ "name": "nested-scroll-body" } ] - }, - { - "id": "component.view-container.object", - "name": "object" } ] }, @@ -2100,6 +2098,21 @@ { "id": "api.base.provider", "name": "provider" + }, + null, + { + "id": "api.base.animationFrame", + "name": "animationFrame", + "children": [ + { + "id": "api.base.requestAnimationFrame", + "name": "requestAnimationFrame" + }, + { + "id": "api.base.cancelAnimationFrame", + "name": "cancelAnimationFrame" + } + ] } ] }, @@ -2141,10 +2154,6 @@ { "id": "api.dom.createSelectorQuery", "name": "createSelectorQuery" - }, - { - "id": "api.dom.getNativeView", - "name": "getNativeView" } ] }, @@ -2313,7 +2322,17 @@ } ] }, - null, + { + "id": "api.canvas", + "name": "canvas", + "children": [ + null, + { + "id": "api.canvas.createCanvasContextAsync", + "name": "createCanvasContextAsync" + } + ] + }, { "id": "api.location", "name": "位置", @@ -2394,19 +2413,7 @@ } ] }, - { - "id": "api.component", - "name": "组件上下文对象", - "children": [ - null, - null, - null, - { - "id": "api.dom.createCanvasContextAsync", - "name": "createCanvasContextAsync" - } - ] - }, + null, { "id": "api.unicloud", "name": "uniCloud客户端API", @@ -2759,4 +2766,4 @@ ] } ] -} +} \ No newline at end of file