feat:更新
This commit is contained in:
1 parent
7753498cbe
commit
127e75031d
5 files changed
+33
-10
No files matched your search
Vendored
+3
-1
@@ -12,4 +12,6 @@ export declare const scriptSrcStr: string;
|
||||
|
||||
export declare let temp: string;
|
||||
|
||||
export declare const injectScriptStr: string;
|
||||
export declare const injectScriptStr: string;
|
||||
|
||||
export declare const beianhao: string;
|
||||
+4
-4
@@ -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,8 @@ switch (VITE_APP_ENV) {
|
||||
break;
|
||||
}
|
||||
|
||||
const beianhao = "鲁ICP备2023011417号-1";
|
||||
|
||||
const vconsoleDebug = true;
|
||||
const scriptSrcStr = "var src = '/midjs/mjs/vconsole/v3.14.6/vconsole.min.js';document.write('<scr' + 'ipt src=\"' + src + '\"></scr' + 'ipt>');document.write('<scr' + 'ipt>new window.VConsole();</scr' + 'ipt>');";
|
||||
let temp = "";
|
||||
@@ -32,5 +31,6 @@ const injectScriptStr = `<script>;(function () {${temp}})();</script>`;
|
||||
export {
|
||||
appName,
|
||||
proxyTarget,
|
||||
injectScriptStr
|
||||
injectScriptStr,
|
||||
beianhao
|
||||
};
|
||||
@@ -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}"
|
||||
|
||||
+12
-1
@@ -1,4 +1,5 @@
|
||||
<script setup lang="ts" name="appH5">
|
||||
import { beianhao } from "../../config/index";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -17,7 +18,11 @@
|
||||
</div>
|
||||
|
||||
<div class="h5-main-mask-text">
|
||||
<p>粤ICP备1000000000号-1 粤公网安备00000000000000</p>
|
||||
<p><a
|
||||
href="https://beian.miit.gov.cn/#/Integrated/index"
|
||||
:title="beianhao"
|
||||
target="_blank"
|
||||
>{{ beianhao }}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -68,6 +73,12 @@
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
margin-top: 36px;
|
||||
a {
|
||||
color: #666666;
|
||||
&:hover {
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+14
-2
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts" name="appWeb">
|
||||
|
||||
import { beianhao } from "../../config/index";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -15,7 +15,13 @@
|
||||
</div>
|
||||
<div class="web-footer">
|
||||
<div class="web-footer-text">
|
||||
<p>粤ICP备1000000000号-1 粤公网安备00000000000000</p>
|
||||
<p>
|
||||
<a
|
||||
href="https://beian.miit.gov.cn/#/Integrated/index"
|
||||
:title="beianhao"
|
||||
target="_blank"
|
||||
>{{ beianhao }}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -90,6 +96,12 @@
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
line-height: 36px;
|
||||
text-align: center;
|
||||
a {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
&:hover {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user