diff --git a/frontend/App.vue b/frontend/App.vue index 017478c..d35c6b8 100644 --- a/frontend/App.vue +++ b/frontend/App.vue @@ -1,117 +1,255 @@ diff --git a/frontend/manifest.json b/frontend/manifest.json index ec8d237..bdb3152 100644 --- a/frontend/manifest.json +++ b/frontend/manifest.json @@ -1,217 +1,217 @@ { - "name" : "TopFans", - "appid" : "__UNI__F199FF4", - "description" : "", - "versionName" : "1.0.5", - "versionCode" : 114, - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "statusbar" : { - "immersed" : true - }, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : { - "VideoPlayer" : {}, - "Camera" : {}, - "Speech" : {}, - "Push" : {} - }, - "nativePlugins" : { - "imengyu-UniAndroidGyro" : { - "__plugin_info__" : { - "name" : "imengyu-UniAndroidGyro", - "description" : "APP端陀螺仪数据采集", - "platforms" : "Android,iOS", - "url" : "", - "android_package_name" : "", - "ios_bundle_id" : "", - "isCloud" : false, - "bought" : -1, - "pid" : "", - "parameters" : {} - } - } - }, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ] - }, - /* ios打包配置 */ - "ios" : { - "dSYMs" : false, - "privacyDescription" : { - "NSCameraUsageDescription" : "我们需要访问相机以便您拍摄头像", - "NSPhotoLibraryUsageDescription" : "我们需要访问相册以便您选择图片", - "NSMicrophoneUsageDescription" : "我们需要访问麦克风以便您使用语音输入功能", - "NSSpeechRecognitionUsageDescription" : "我们需要使用语音识别以便将您的语音转换为文字" - } - }, - /* SDK配置 */ - "sdkConfigs" : { - "speech" : { - "baidu" : { - "appid" : "122745637", - "apikey" : "l2FgEjJBl96gUsAEQ6nf0asA", - "secretkey" : "1i5Aj8FwL3i11LYPeXMRwRWycictWq2X" - } - }, - "push" : {}, - "statics" : {}, - "ad" : {} - }, - "icons" : { - "android" : { - "hdpi" : "unpackage/res/icons/72x72.png", - "xhdpi" : "unpackage/res/icons/96x96.png", - "xxhdpi" : "unpackage/res/icons/144x144.png", - "xxxhdpi" : "unpackage/res/icons/192x192.png" - }, - "ios" : { - "appstore" : "unpackage/res/icons/1024x1024.png", - "ipad" : { - "app" : "unpackage/res/icons/76x76.png", - "app@2x" : "unpackage/res/icons/152x152.png", - "notification" : "unpackage/res/icons/20x20.png", - "notification@2x" : "unpackage/res/icons/40x40.png", - "proapp@2x" : "unpackage/res/icons/167x167.png", - "settings" : "unpackage/res/icons/29x29.png", - "settings@2x" : "unpackage/res/icons/58x58.png", - "spotlight" : "unpackage/res/icons/40x40.png", - "spotlight@2x" : "unpackage/res/icons/80x80.png" - }, - "iphone" : { - "app@2x" : "unpackage/res/icons/120x120.png", - "app@3x" : "unpackage/res/icons/180x180.png", - "notification@2x" : "unpackage/res/icons/40x40.png", - "notification@3x" : "unpackage/res/icons/60x60.png", - "settings@2x" : "unpackage/res/icons/58x58.png", - "settings@3x" : "unpackage/res/icons/87x87.png", - "spotlight@2x" : "unpackage/res/icons/80x80.png", - "spotlight@3x" : "unpackage/res/icons/120x120.png" - } - } - } - }, - "uniStatistics" : { - "enable" : true - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true, - "uniStatistics" : { - "enable" : false - } - }, - "mp-alipay" : { - "usingComponents" : true, - "uniStatistics" : { - "enable" : false - } - }, - "mp-baidu" : { - "usingComponents" : true, - "uniStatistics" : { - "enable" : false - } - }, - "mp-toutiao" : { - "usingComponents" : true, - "uniStatistics" : { - "enable" : false - } - }, - "uniStatistics" : { - "enable" : false, - "version" : "2" - }, - "vueVersion" : "3", - "app-harmony" : { - "uniStatistics" : { - "enable" : false - } - }, - "h5" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-harmony" : { - "uniStatistics" : { - "enable" : false - } - }, - "mp-jd" : { - "uniStatistics" : { - "enable" : false - } - }, - "mp-kuaishou" : { - "uniStatistics" : { - "enable" : false - } - }, - "mp-lark" : { - "uniStatistics" : { - "enable" : false - } - }, - "mp-qq" : { - "uniStatistics" : { - "enable" : false - } - }, - "mp-xhs" : { - "uniStatistics" : { - "enable" : false - } - }, - "quickapp-webview-huawei" : { - "uniStatistics" : { - "enable" : false - } - }, - "quickapp-webview-union" : { - "uniStatistics" : { - "enable" : false - } - } -} + "name": "TopFans", + "appid": "__UNI__F199FF4", + "description": "", + "versionName": "1.0.5", + "versionCode": 114, + "transformPx": false, + /* 5+App特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "statusbar": { + "immersed": true + }, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + /* 模块配置 */ + "modules": { + "VideoPlayer": {}, + "Camera": {}, + "Speech": {}, + "Push": {} + }, + "nativePlugins": { + "imengyu-UniAndroidGyro": { + "__plugin_info__": { + "name": "imengyu-UniAndroidGyro", + "description": "APP端陀螺仪数据采集", + "platforms": "Android,iOS", + "url": "", + "android_package_name": "", + "ios_bundle_id": "", + "isCloud": false, + "bought": -1, + "pid": "", + "parameters": {} + } + } + }, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "abiFilters": ["armeabi-v7a", "arm64-v8a"] + }, + /* ios打包配置 */ + "ios": { + "dSYMs": false, + "privacyDescription": { + "NSCameraUsageDescription": "我们需要访问相机以便您拍摄头像", + "NSPhotoLibraryUsageDescription": "我们需要访问相册以便您选择图片", + "NSMicrophoneUsageDescription": "我们需要访问麦克风以便您使用语音输入功能", + "NSSpeechRecognitionUsageDescription": "我们需要使用语音识别以便将您的语音转换为文字" + } + }, + /* SDK配置 */ + "sdkConfigs": { + "speech": { + "baidu": { + "appid": "122745637", + "apikey": "l2FgEjJBl96gUsAEQ6nf0asA", + "secretkey": "1i5Aj8FwL3i11LYPeXMRwRWycictWq2X" + } + }, + "push": {}, + "statics": {}, + "ad": {} + }, + "icons": { + "android": { + "hdpi": "unpackage/res/icons/72x72.png", + "xhdpi": "unpackage/res/icons/96x96.png", + "xxhdpi": "unpackage/res/icons/144x144.png", + "xxxhdpi": "unpackage/res/icons/192x192.png" + }, + "ios": { + "appstore": "unpackage/res/icons/1024x1024.png", + "ipad": { + "app": "unpackage/res/icons/76x76.png", + "app@2x": "unpackage/res/icons/152x152.png", + "notification": "unpackage/res/icons/20x20.png", + "notification@2x": "unpackage/res/icons/40x40.png", + "proapp@2x": "unpackage/res/icons/167x167.png", + "settings": "unpackage/res/icons/29x29.png", + "settings@2x": "unpackage/res/icons/58x58.png", + "spotlight": "unpackage/res/icons/40x40.png", + "spotlight@2x": "unpackage/res/icons/80x80.png" + }, + "iphone": { + "app@2x": "unpackage/res/icons/120x120.png", + "app@3x": "unpackage/res/icons/180x180.png", + "notification@2x": "unpackage/res/icons/40x40.png", + "notification@3x": "unpackage/res/icons/60x60.png", + "settings@2x": "unpackage/res/icons/58x58.png", + "settings@3x": "unpackage/res/icons/87x87.png", + "spotlight@2x": "unpackage/res/icons/80x80.png", + "spotlight@3x": "unpackage/res/icons/120x120.png" + } + } + } + }, + "uniStatistics": { + "enable": true + } + }, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false + }, + "usingComponents": true, + "uniStatistics": { + "enable": false + } + }, + "mp-alipay": { + "usingComponents": true, + "uniStatistics": { + "enable": false + } + }, + "mp-baidu": { + "usingComponents": true, + "uniStatistics": { + "enable": false + } + }, + "mp-toutiao": { + "usingComponents": true, + "uniStatistics": { + "enable": false + } + }, + "uniStatistics": { + "enable": false, + "version": "2" + }, + "vueVersion": "3", + "app-harmony": { + "uniStatistics": { + "enable": false + } + }, + "h5": { + "uniStatistics": { + "enable": true + } + }, + "mp-harmony": { + "uniStatistics": { + "enable": false + } + }, + "mp-jd": { + "uniStatistics": { + "enable": false + } + }, + "mp-kuaishou": { + "uniStatistics": { + "enable": false + } + }, + "mp-lark": { + "uniStatistics": { + "enable": false + } + }, + "mp-qq": { + "uniStatistics": { + "enable": false + } + }, + "mp-xhs": { + "uniStatistics": { + "enable": false + } + }, + "quickapp-webview-huawei": { + "uniStatistics": { + "enable": false + } + }, + "quickapp-webview-union": { + "uniStatistics": { + "enable": false + } + } +} \ No newline at end of file diff --git a/frontend/uniCloud-alipay/cloudfunctions/GM-uniPush/index.js b/frontend/uniCloud-alipay/cloudfunctions/TopFans-uniPush/index.js similarity index 97% rename from frontend/uniCloud-alipay/cloudfunctions/GM-uniPush/index.js rename to frontend/uniCloud-alipay/cloudfunctions/TopFans-uniPush/index.js index 7233b16..a1804dd 100644 --- a/frontend/uniCloud-alipay/cloudfunctions/GM-uniPush/index.js +++ b/frontend/uniCloud-alipay/cloudfunctions/TopFans-uniPush/index.js @@ -1,7 +1,7 @@ 'use strict'; const uniPush = uniCloud.getPushManager({ - appId: "__UNI__9B0F7C5" // 你的应用appId + appId: "__UNI__F199FF4" // 你的应用appId }) exports.main = async (event) => { console.log(event) diff --git a/frontend/uniCloud-alipay/cloudfunctions/GM-uniPush/package.json b/frontend/uniCloud-alipay/cloudfunctions/TopFans-uniPush/package.json similarity index 100% rename from frontend/uniCloud-alipay/cloudfunctions/GM-uniPush/package.json rename to frontend/uniCloud-alipay/cloudfunctions/TopFans-uniPush/package.json