From 1190d92a83c8015f5deab3c4256ca624fdcb3e02 Mon Sep 17 00:00:00 2001
From: zhenyuWang <13641039885@163.com>
Date: Thu, 25 Jul 2024 15:32:32 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4=20uni-push=20?=
=?UTF-8?q?=E7=A4=BA=E4=BE=8B=E4=BD=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 70 ++++++------
.../push.uvue => uni-push/uni-push.uvue} | 0
pages/tabBar/API.uvue | 108 +++++++++---------
3 files changed, 89 insertions(+), 89 deletions(-)
rename pages/API/{push/push.uvue => uni-push/uni-push.uvue} (100%)
diff --git a/pages.json b/pages.json
index e84d004c..76a6957d 100644
--- a/pages.json
+++ b/pages.json
@@ -470,14 +470,13 @@
"navigationBarTitleText": "ball"
}
},
- {
- "path" : "pages/component/canvas/canvas/doodle",
- "group": "0,7",
- "style" :
- {
- "navigationBarTitleText" : "涂鸦"
- }
- },
+ {
+ "path": "pages/component/canvas/canvas/doodle",
+ "group": "0,7",
+ "style": {
+ "navigationBarTitleText": "涂鸦"
+ }
+ },
// #ifndef WEB
{
"path": "pages/component/animation-view/animation-view",
@@ -608,7 +607,7 @@
},
{
"path": "pages/API/storage/storage",
- "group": "1,9",
+ "group": "1,10",
"style": {
"navigationBarTitleText": "storage | key-value本地数据存储"
}
@@ -616,7 +615,7 @@
// #ifndef WEB
{
"path": "pages/API/get-file-system-manager/get-file-system-manager",
- "group": "1,10,0",
+ "group": "1,11,0",
"style": {
"navigationBarTitleText": "getFileSystemManager | 获取文件管理器"
}
@@ -674,7 +673,7 @@
},
{
"path": "pages/API/get-location/get-location",
- "group": "1,8,0",
+ "group": "1,9,0",
"style": {
"navigationBarTitleText": "getLocation | 获取当前位置"
}
@@ -682,7 +681,7 @@
// #ifdef WEB
{
"path": "pages/API/open-location/open-location",
- "group": "1,8,1",
+ "group": "1,9,1",
"style": {
"navigationBarTitleText": "openLocation | 使用地图查看位置"
}
@@ -691,7 +690,7 @@
// #ifdef WEB
{
"path": "pages/API/choose-location/choose-location",
- "group": "1,8,2",
+ "group": "1,9,2",
"style": {
"navigationBarTitleText": "chooseLocation | 使用地图选择位置"
}
@@ -921,7 +920,7 @@
},
{
"path": "pages/API/get-battery-info/get-battery-info",
- "group": "1,6,8",
+ "group": "1,6,7",
"style": {
"navigationBarTitleText": "getBatteryInfo | 获取电池电量信息"
}
@@ -946,7 +945,7 @@
// #ifndef WEB
{
"path": "pages/API/facial-recognition-meta-info/facial-recognition-meta-info",
- "group": "1,11,1",
+ "group": "1,12,1",
"style": {
"navigationBarTitleText": "facialRecognitionMetaInfo | 金融级实人认证",
"enablePullDownRefresh": false
@@ -956,7 +955,7 @@
// #ifndef WEB
{
"path": "pages/API/get-univerify-manager/get-univerify-manager",
- "group": "1,11,0",
+ "group": "1,12,0",
"style": {
"navigationBarTitleText": "getUniverifyManager | App一键登录",
"enablePullDownRefresh": false
@@ -974,7 +973,7 @@
// #ifdef APP-ANDROID
{
"path": "pages/API/create-request-permission-listener/create-request-permission-listener",
- "group": "1,6,16",
+ "group": "1,6,15",
"style": {
"navigationBarTitleText": "createRequestPermissionListener | 监听权限申请",
"enablePullDownRefresh": false
@@ -994,7 +993,7 @@
// #ifndef WEB
{
"path": "pages/API/create-rewarded-video-ad/create-rewarded-video-ad",
- "group": "1,12,0",
+ "group": "1,13,0",
"style": {
"navigationBarTitleText": "createRewardedVideoAd | 激励视频广告",
"enablePullDownRefresh": false
@@ -1029,7 +1028,7 @@
// #ifdef WEB
{
"path": "pages/API/make-phone-call/make-phone-call",
- "group": "1,6,9",
+ "group": "1,6,8",
"style": {
"navigationBarTitleText": "makePhoneCall | 打电话"
}
@@ -1063,7 +1062,7 @@
// #ifdef WEB
{
"path": "pages/API/clipboard/clipboard",
- "group": "1,6,10",
+ "group": "1,6,9",
"style": {
"navigationBarTitleText": "clipboard | 剪切板"
}
@@ -1072,7 +1071,7 @@
// #ifdef WEB
{
"path": "pages/API/compass/compass",
- "group": "1,6,11",
+ "group": "1,6,10",
"style": {
"navigationBarTitleText": "compass | 罗盘"
}
@@ -1135,10 +1134,10 @@
// #endif
// #ifndef WEB
{
- "path": "pages/API/push/push",
- "group": "1,6,7",
+ "path": "pages/API/uni-push/uni-push",
+ "group": "1,15,0",
"style": {
- "navigationBarTitleText": "push | 推送"
+ "navigationBarTitleText": "推送"
}
},
// #endif
@@ -2119,10 +2118,6 @@
{
"id": "api.dom.createSelectorQuery",
"name": "createSelectorQuery"
- },
- {
- "id": "api.dom.createCanvasContextAsync",
- "name": "createCanvasContextAsync"
}
]
},
@@ -2219,10 +2214,6 @@
"id": "api.device.installApk",
"name": "installApk"
},
- {
- "id": "api.device.push",
- "name": "push"
- },
{
"id": "api.device.getBatteryInfo",
"name": "getBatteryInfo"
@@ -2295,6 +2286,7 @@
}
]
},
+ null,
{
"id": "api.location",
"name": "位置",
@@ -2351,7 +2343,6 @@
}
]
},
- null,
{
"id": "api.payment",
"name": "支付",
@@ -2366,7 +2357,16 @@
}
]
},
- null,
+ {
+ "id": "api.push",
+ "name": "推送",
+ "children": [
+ {
+ "id": "api.push.uni-push",
+ "name": "push"
+ }
+ ]
+ },
{
"id": "api.component",
"name": "组件上下文对象",
@@ -2732,4 +2732,4 @@
]
}
]
-}
+}
\ No newline at end of file
diff --git a/pages/API/push/push.uvue b/pages/API/uni-push/uni-push.uvue
similarity index 100%
rename from pages/API/push/push.uvue
rename to pages/API/uni-push/uni-push.uvue
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index d834e338..c4f2d5a8 100644
--- a/pages/tabBar/API.uvue
+++ b/pages/tabBar/API.uvue
@@ -11,31 +11,31 @@
-
-
-
- {{page.style["navigationBarTitleText"]}}
-
-
-
-
-
- {{
- childPage.style["navigationBarTitleText"]
- }}
-
-
-
-
-
-
-
@@ -44,9 +44,9 @@
@@ -122,4 +122,4 @@
display: none;
background-color: rgba(16, 16, 16, 0.5);
}
-
+
--
GitLab