diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index e225f4c3af597e0444de7b3027b3c108e2928163..346d6d339fedf56297a6f60f64d1bf53d669d830 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -123,38 +123,6 @@ }, ] as Page[], }, - { - id: 'network', - name: '网络', - pages: [ - { - name: '发起请求request', - url: 'request', - }, - { - name: '上传文件', - url: 'upload-file', - }, - { - name: '下载文件', - url: 'download-file', - }, - { - name: '获取设备网络状态', - url: 'get-network-type', - }, - { - name: 'socketTask', - url: 'websocket-socketTask', - api: [""] //它不是uni.的api - }, - { - name: '全局websocket', - url: 'websocket-global', - api: ["connectSocket", "onSocketOpen", "onSocketError", "sendSocketMessage", "onSocketMessage", "closeSocket", "onSocketClose"] - }, - ] as Page[], - }, { id: 'ui', name: '界面', @@ -175,38 +143,70 @@ enable: false }, */ { - name: '获取节点', + name: 'element元素', url: 'get-element-by-id', api: ["getElementById"] }, { - name: '节点信息', + name: 'node节点', url: 'nodes-info', api: ["createSelectorQuery"] }, { - name: '显示操作菜单', + name: '动态加载字体', + url: 'load-font-face', + }, + { + name: 'actionSheet操作菜单', url: 'action-sheet', }, { - name: '显示模态弹窗', + name: 'showModal模态弹窗', url: 'modal', api: ["showModal"] }, { - name: '显示加载提示框', + name: 'showLoading等待框', url: 'show-loading', }, { - name: '显示消息提示框', + name: 'showToast轻提示框', url: 'toast', api: ["showToast"] - }, - { - name: '动态加载字体', - url: 'load-font-face', - }, + } ] as Page[], + }, + { + id: 'network', + name: '网络', + pages: [ + { + name: '发起请求request', + url: 'request', + }, + { + name: '上传文件', + url: 'upload-file', + }, + { + name: '下载文件', + url: 'download-file', + }, + { + name: '获取设备网络状态', + url: 'get-network-type', + }, + { + name: 'socketTask', + url: 'websocket-socketTask', + api: [""] //它不是uni.的api + }, + { + name: '全局websocket', + url: 'websocket-global', + api: ["connectSocket", "onSocketOpen", "onSocketError", "sendSocketMessage", "onSocketMessage", "closeSocket", "onSocketClose"] + }, + ] as Page[], }, { id: 'device',