diff --git a/pages.json b/pages.json index fd26de683c041d2379f399c34c8f8cee8f79cd8d..1af820908537ae6d7f86a0fdc51d18bd1b10ac3e 100644 --- a/pages.json +++ b/pages.json @@ -1547,7 +1547,16 @@ "navigationBarTitleText" : "", "backgroundColorContent": "#fffae8" } + }, + // #ifdef APP + { + "path" : "pages/API/push/push", + "style" : + { + "navigationBarTitleText" : "推送" + } } + // #endif ], "globalStyle": { "pageOrientation": "portrait", diff --git a/pages/API/push/push.uvue b/pages/API/push/push.uvue new file mode 100644 index 0000000000000000000000000000000000000000..d79b429d02c3b300626cdb5691fb4edf06971c21 --- /dev/null +++ b/pages/API/push/push.uvue @@ -0,0 +1,85 @@ + + + + + diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index 4afafaa2884ea6d25553adb86e8b26b744366073..50f00f83290d71bbf86849052c2878c33fd59a2c 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -548,7 +548,19 @@ url: "request-payment-uni-pay", } ] as Page[], - }, + }, + // #ifdef APP + { + id: "push", + name: "推送", + pages: [ + { + name: "推送示例", + url: "push" + } + ] + }, + // #endif // #ifdef APP-ANDROID { id: 'permission-listener',