diff --git a/config/index.d.ts b/config/index.d.ts index 1d478b8..89d8cca 100644 --- a/config/index.d.ts +++ b/config/index.d.ts @@ -12,4 +12,10 @@ export declare const scriptSrcStr: string; export declare let temp: string; -export declare const injectScriptStr: string; \ No newline at end of file +export declare const injectScriptStr: string; + +export declare const beianhao: string; + +export declare const androidUrl: string; + +export declare const iosUrl: string; \ No newline at end of file diff --git a/config/index.ts b/config/index.ts index 1c2a657..4889cef 100644 --- a/config/index.ts +++ b/config/index.ts @@ -8,9 +8,6 @@ switch (VITE_APP_ENV) { case "test": proxyTarget = "https://xxxxxx.com"; break; - case "uat": - proxyTarget = "https://xxxxxx.com"; - break; case "prod": proxyTarget = "https://xxxxxx.com"; break; @@ -19,6 +16,10 @@ switch (VITE_APP_ENV) { break; } +const beianhao = "鲁ICP备2023011417号-1"; +const androidUrl = "http://img.haloapp.vip/card-release_v1.0.1_2023-04-20_101_jiagu_sign.apk"; +const iosUrl = "https://www.pgyer.com/toupai"; + const vconsoleDebug = true; const scriptSrcStr = "var src = '/midjs/mjs/vconsole/v3.14.6/vconsole.min.js';document.write('');document.write('new window.VConsole();');"; let temp = ""; @@ -32,5 +33,8 @@ const injectScriptStr = ``; export { appName, proxyTarget, - injectScriptStr + injectScriptStr, + beianhao, + androidUrl, + iosUrl }; \ No newline at end of file diff --git a/package.json b/package.json index 8592f68..27c1750 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,8 @@ "scripts": { "dev": "vite", "serve:test": "cross-env VITE_APP_ENV=test vite", - "serve:uat": "cross-env VITE_APP_ENV=uat vite", "serve:prod": "cross-env VITE_APP_ENV=prod vite", "build:test": "vue-tsc --noEmit && cross-env VITE_APP_ENV=test vite build", - "build:uat": "vue-tsc --noEmit && cross-env VITE_APP_ENV=uat vite build", "build:prod": "vue-tsc --noEmit && cross-env VITE_APP_ENV=prod vite build", "preview": "vite preview", "lint": "eslint --fix config/*.{ts} && eslint --fix src/*.{ts,vue} && eslint --fix src/**/*.{ts,vue}" diff --git a/src/pages/h5.vue b/src/pages/h5.vue index 4d5a271..c3b2895 100644 --- a/src/pages/h5.vue +++ b/src/pages/h5.vue @@ -1,24 +1,17 @@