From b4ee41b80b17dc1f20ad33de4736b70f93f7273b Mon Sep 17 00:00:00 2001 From: aiShuiJiaoDeXioShou <2832294398@qq.com> Date: Thu, 19 Sep 2024 08:02:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF=E6=A8=A1=E5=9D=97=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acdr-ui/env/.env | 10 +-- acdr-ui/src/manifest.json | 134 +++++++++++++++++++++++++++++--------- 2 files changed, 109 insertions(+), 35 deletions(-) diff --git a/acdr-ui/env/.env b/acdr-ui/env/.env index 0de6b1aa..3bf51434 100644 --- a/acdr-ui/env/.env +++ b/acdr-ui/env/.env @@ -1,16 +1,18 @@ VITE_APP_TITLE = '宠屋' VITE_APP_PORT = 8081 -VITE_UNI_APPID = 'H57F2ACE4' +VITE_UNI_APPID = '__UNI__D748B51' VITE_WX_APPID = 'wxf2c6d4b7361366b4' # h5部署网站的base,配置到 manifest.config.ts 里的 h5.router.base VITE_APP_PUBLIC_BASE=/acdr/ +VITE_FALLBACK_LOCALE=zh-Hans # VITE_SERVER_BASEURL = 'http://47.99.70.12:28184/api' # VITE_UPLOAD_BASEURL = 'http://47.99.70.12:28184' # VITE_SERVER_BASEURL = 'http://localhost:28184/api' -VITE_SERVER_BASEURL = 'http://localhost:48080/app-api' +# VITE_SERVER_BASEURL = 'http://localhost:48080/app-api' +VITE_SERVER_BASEURL = 'http://47.99.70.12:48080/app-api' # VITE_WS_BASEURL = 'ws://47.99.70.12:28184/api' VITE_UPLOAD_BASEURL = 'http://localhost:28184' VITE_OSS_BASEURL = 'http://116.204.119.171:9000/linghe' @@ -26,8 +28,8 @@ SHOPRO_VERSION = v1.8.3 SHOPRO_BASE_URL = http://api-dashboard.yudao.iocoder.cn # 后端接口 - 测试环境(通过 process.env.NODE_ENV = development) -SHOPRO_DEV_BASE_URL = http://127.0.0.1:48080 -# SHOPRO_DEV_BASE_URL = http://47.99.70.12:48080 +# SHOPRO_DEV_BASE_URL = http://127.0.0.1:48080 +SHOPRO_DEV_BASE_URL = http://47.99.70.12:48080 ### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc # 后端接口前缀(一般不建议调整) diff --git a/acdr-ui/src/manifest.json b/acdr-ui/src/manifest.json index d2340f5e..054a2946 100644 --- a/acdr-ui/src/manifest.json +++ b/acdr-ui/src/manifest.json @@ -1,7 +1,7 @@ { "name": "宠屋", "appid": "__UNI__9D479DC", - "description": "", + "description": "宠物一站式开发平台", "versionName": "1.0.0", "versionCode": "100", "transformPx": false, @@ -13,9 +13,28 @@ "alwaysShowBeforeRender": true, "waiting": true, "autoclose": true, - "delay": 0 + "delay": 0, + "androidStyle": "default", + "android": { + "hdpi": "src/static/start_bg.png", + "xhdpi": "src/static/start_bg.png", + "xxhdpi": "src/static/start_bg.png" + }, + "useOriginalMsgbox": true, + "iosStyle": "common" + }, + "modules": { + "Barcode": {}, + "Bluetooth": {}, + "Camera": {}, + "Contacts": {}, + "Fingerprint": {}, + "Geolocation": {}, + "Maps": {}, + "SQLite": {}, + "Payment": {}, + "Webview-x5": {} }, - "modules": {}, "distribute": { "android": { "permissions": [ @@ -43,36 +62,68 @@ ] }, "ios": {}, - "sdkConfigs": {}, + "sdkConfigs": { + "payment": { + "alipay": { + "__platform__": [ + "ios", + "android" + ] + } + }, + "geolocation": { + "amap": { + "name": "amapCIxLx5gHo", + "__platform__": [ + "android" + ], + "appkey_ios": "", + "appkey_android": "92219e40234c2046f50cb72a1a86e4f7" + }, + "system": { + "__platform__": [ + "ios", + "android" + ] + } + }, + "maps": { + "amap": { + "name": "amapCIxLx5gHo", + "appkey_ios": "92219e40234c2046f50cb72a1a86e4f7", + "appkey_android": "92219e40234c2046f50cb72a1a86e4f7" + } + } + }, "icons": { "android": { - "hdpi": "static/app/icons/72x72.png", - "xhdpi": "static/app/icons/96x96.png", - "xxhdpi": "static/app/icons/144x144.png", - "xxxhdpi": "static/app/icons/192x192.png" + "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": "static/app/icons/1024x1024.png", + "appstore": "unpackage/res/icons/1024x1024.png", "ipad": { - "app": "static/app/icons/76x76.png", - "app@2x": "static/app/icons/152x152.png", - "notification": "static/app/icons/20x20.png", - "notification@2x": "static/app/icons/40x40.png", - "proapp@2x": "static/app/icons/167x167.png", - "settings": "static/app/icons/29x29.png", - "settings@2x": "static/app/icons/58x58.png", - "spotlight": "static/app/icons/40x40.png", - "spotlight@2x": "static/app/icons/80x80.png" + "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": "static/app/icons/120x120.png", - "app@3x": "static/app/icons/180x180.png", - "notification@2x": "static/app/icons/40x40.png", - "notification@3x": "static/app/icons/60x60.png", - "settings@2x": "static/app/icons/58x58.png", - "settings@3x": "static/app/icons/87x87.png", - "spotlight@2x": "static/app/icons/80x80.png", - "spotlight@3x": "static/app/icons/120x120.png" + "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" } } } @@ -85,7 +136,9 @@ "mp-weixin": { "appid": "wxf2c6d4b7361366b4", "setting": { - "urlCheck": false + "urlCheck": false, + "minified": true, + "es6": true }, "usingComponents": true, "requiredPrivateInfos": [ @@ -113,18 +166,37 @@ "enable": false }, "vueVersion": "3", + "locale": "zh-Hans", "h5": { "router": { "base": "/acdr/" }, "sdkConfigs": { + "geolocation": { + "system": { + "__platform__": [ + "ios", + "android" + ] + }, + "amap": { + "name": "amapCIxLx5gHo", + "__platform__": [ + "android" + ], + "appkey_ios": "", + "appkey_android": "92219e40234c2046f50cb72a1a86e4f7" + } + }, "maps": { "amap": { - "key": "5a270020f3c6b67887c493a416ebd3ad", - "securityJsCode": "3eabbc7e073e650ae2b1f213f8357422", - "serviceHost": "" + "name": "amapCIxLx5gHo", + "appkey_ios": "92219e40234c2046f50cb72a1a86e4f7", + "appkey_android": "92219e40234c2046f50cb72a1a86e4f7" } - } + }, + "oauth": {}, + "share": {} } } } \ No newline at end of file