diff --git a/.env.base b/.env.base
index 1aac7d8..0bb1059 100644
--- a/.env.base
+++ b/.env.base
@@ -17,3 +17,9 @@ VITE_API_URL=/admin-api
# 打包路径
VITE_BASE_PATH=/
+
+# 高德key
+VITE_AMAP_KEY=88e30921c6f18e41f6f05a32186e75ee
+
+# 高德密钥
+VITE_AMAP_CODE=38277204d100038ca67747b43eed5a57
diff --git a/.env.dev b/.env.dev
index a52eec3..0bb1059 100644
--- a/.env.dev
+++ b/.env.dev
@@ -1,13 +1,13 @@
-# 开发环境
-NODE_ENV=production
+# 本地开发环境
+NODE_ENV=development
-VITE_DEV=false
+VITE_DEV=true
# 请求路径
-VITE_BASE_URL='http://localhost:48080'
+VITE_BASE_URL='https://b2c-pro-api-dev.zkthink.com'
# 上传路径
-VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
+VITE_UPLOAD_URL='https://b2c-pro-api-dev.zkthink.com/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=/dev-api
@@ -18,14 +18,8 @@ VITE_API_URL=/admin-api
# 打包路径
VITE_BASE_PATH=/
-# 是否删除debugger
-VITE_DROP_DEBUGGER=false
+# 高德key
+VITE_AMAP_KEY=88e30921c6f18e41f6f05a32186e75ee
-# 是否删除console.log
-VITE_DROP_CONSOLE=false
-
-# 是否sourcemap
-VITE_SOURCEMAP=true
-
-# 输出路径
-VITE_OUT_DIR=dist-dev
+# 高德密钥
+VITE_AMAP_CODE=38277204d100038ca67747b43eed5a57
diff --git a/.env.front b/.env.front
index 199f242..01d0834 100644
--- a/.env.front
+++ b/.env.front
@@ -32,3 +32,7 @@ VITE_SOURCEMAP=true
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=true
+# 高德key
+VITE_AMAP_KEY=88e30921c6f18e41f6f05a32186e75ee
+# 高德密钥
+VITE_AMAP_CODE=38277204d100038ca67747b43eed5a57
diff --git a/.env.pro b/.env.pro
index bf9ecbd..ce13a93 100644
--- a/.env.pro
+++ b/.env.pro
@@ -4,10 +4,10 @@ NODE_ENV=production
VITE_DEV=false
# 请求路径
-VITE_BASE_URL='http://localhost:48082'
+VITE_BASE_URL='https://b2c-pro-api.zkthink.com'
# 上传路径
-VITE_UPLOAD_URL='http://localhost:48082/admin-api/infra/file/upload'
+VITE_UPLOAD_URL='https://b2c-pro-api.zkthink.com/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
@@ -29,3 +29,8 @@ VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=dist
+
+# 高德key
+VITE_AMAP_KEY=88e30921c6f18e41f6f05a32186e75ee
+# 高德密钥
+VITE_AMAP_CODE=38277204d100038ca67747b43eed5a57
diff --git a/.env.stage b/.env.stage
index 748b4d9..6b21cc3 100644
--- a/.env.stage
+++ b/.env.stage
@@ -29,3 +29,7 @@ VITE_BASE_PATH='http://static-vue3.yixiang.co/'
# 输出路径
VITE_OUT_DIR=dist-stage
+# 高德key
+VITE_AMAP_KEY=88e30921c6f18e41f6f05a32186e75ee
+# 高德密钥
+VITE_AMAP_CODE=38277204d100038ca67747b43eed5a57
diff --git a/.env.static b/.env.static
index 15d5c74..5305dc7 100644
--- a/.env.static
+++ b/.env.static
@@ -29,3 +29,7 @@ VITE_BASE_PATH=/admin-ui-vue3/
# 输出路径
VITE_OUT_DIR=dist-dev
+# 高德key
+VITE_AMAP_KEY=88e30921c6f18e41f6f05a32186e75ee
+# 高德密钥
+VITE_AMAP_CODE=38277204d100038ca67747b43eed5a57
diff --git a/.env.test b/.env.test
index d32c769..9d134c5 100644
--- a/.env.test
+++ b/.env.test
@@ -29,3 +29,8 @@ VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=dist
+
+# 高德key
+VITE_AMAP_KEY=88e30921c6f18e41f6f05a32186e75ee
+# 高德密钥
+VITE_AMAP_CODE=38277204d100038ca67747b43eed5a57
diff --git a/.eslintrc.js b/.eslintrc.js
index 4543113..491c11e 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -42,7 +42,6 @@ module.exports = defineConfig({
'@typescript-eslint/no-unused-vars': 'error',
'no-unused-vars': 'error',
'space-before-function-paren': 'off',
-
'vue/attributes-order': 'off',
'vue/one-component-per-file': 'off',
'vue/html-closing-bracket-newline': 'off',
@@ -57,7 +56,7 @@ module.exports = defineConfig({
{
html: {
void: 'always',
- normal: 'never',
+ normal: 'any',
component: 'always'
},
svg: 'always',
@@ -65,6 +64,7 @@ module.exports = defineConfig({
}
],
'vue/multi-word-component-names': 'off',
- "prettier/prettier": "off"
+ "prettier/prettier": "off",
+ "vue/no-v-html":"off"
}
})
diff --git a/.gitignore b/.gitignore
index 1c25718..2d86e6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,9 @@
node_modules
.DS_Store
-dist
-dist-ssr
+#dist
+#dist-ssr
*.local
-/dist*
+#/dist*
*-lock.*
pnpm-debug
auto-*.d.ts
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
deleted file mode 100644
index d153093..0000000
--- a/.vscode/extensions.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "recommendations": [
- "voorjaar.windicss-intellisense",
- "vscode-icons-team.vscode-icons",
- "davidanson.vscode-markdownlint",
- "stylelint.vscode-stylelint",
- "dbaeumer.vscode-eslint",
- "esbenp.prettier-vscode",
- "vue.volar",
- "lokalise.i18n-ally",
- "mikestead.dotenv",
- "eamodio.gitlens",
- "antfu.iconify"
- ]
-}
diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index f43edc0..0000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "type": "msedge",
- "request": "launch",
- "name": "Launch Edge against localhost",
- "url": "http://localhost",
- "webRoot": "${workspaceFolder}/src",
- "sourceMaps": true
- }
- ]
-}
diff --git a/.vscode/settings.json b/.vscode/settings.json
deleted file mode 100644
index 3036ebf..0000000
--- a/.vscode/settings.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "typescript.tsdk": "node_modules/typescript/lib",
- "prettier.enable": true,
- "editor.formatOnType": true,
- "editor.formatOnSave": true,
- "editor.formatOnPaste": true,
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": true
- },
- "[vue]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[javascript]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[typescript]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[json]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[jsonc]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[html]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[css]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[scss]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "i18n-ally.localesPaths": ["src/locales"],
- "i18n-ally.keystyle": "nested",
- "i18n-ally.sortKeys": true,
- "i18n-ally.namespace": true,
- "i18n-ally.enabledParsers": ["ts"],
- "i18n-ally.sourceLanguage": "en",
- "i18n-ally.displayLanguage": "zh-CN",
- "i18n-ally.enabledFrameworks": ["vue", "react"],
- "god.tsconfig": "./tsconfig.json",
- "vue-i18n.i18nPaths": "src/locales",
- "explorer.fileNesting.enabled": true,
- "explorer.fileNesting.expand": false,
- "explorer.fileNesting.patterns": {
- "*.ts": "$(capture).test.ts, $(capture).test.tsx",
- "*.tsx": "$(capture).test.ts, $(capture).test.tsx",
- "*.env": "$(capture).env.*",
- "CHANGELOG.md": "CHANGELOG*",
- "package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc,vite.config.*,windi.*,tailwind.*,tsconfig.*,postcss*",
- ".eslintrc.js": ".eslintignore,.eslintrc-*,.prettierignore,.stylelintignore,.commitlintrc.js,.prettierrc.js,.stylelint*,stylelint*,prettier.*,.editorconfig"
- }
-}
diff --git a/index.html b/index.html
index dd28237..b949355 100644
--- a/index.html
+++ b/index.html
@@ -145,6 +145,12 @@
+