From 86583c16ffa48bc4f4d131a6f34b22e278917343 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Fri, 22 Sep 2023 06:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9api=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabBar/API.uvue | 86 +++++++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index e225f4c3..346d6d33 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', -- GitLab