refactor: update env configs, replace uni-ui and fix issues
- add VITE_CLIENT_ID environment variable to all .env files, adjust API and socket URLs across dev/staging/prod environments - update request utility to use env var for client ID instead of hardcoded "6" - refactor GoodDetail component: replace uni-icons with van-icon, switch markdown renderer to vue3-markdown-it - refactor Calendar component: swap uni-popup for van-popup, remove deprecated SCSS styles, update markup and toast calls - fix ImageSwiper: rename handler methods, update preview navigation to use vue router, remove redundant code - correct margin class syntax in goods index page
This commit is contained in:
@@ -2,10 +2,13 @@
|
||||
VITE_APP_ENV = 'staging'
|
||||
|
||||
# API 基础 URL
|
||||
VITE_API_BASE_URL = 'https://onefeel.brother7.cn/ingress'
|
||||
VITE_API_BASE_URL = 'https://abroadbiz.nianxx.com/ingress'
|
||||
|
||||
# API 请求超时时间(毫秒)
|
||||
VITE_API_TIMEOUT_MS = 10000
|
||||
|
||||
# Socket 基础 URL
|
||||
VITE_SOCKET_BASE_URL = "wss://onefeel.brother7.cn/ingress/agent/ws/chat"
|
||||
VITE_SOCKET_BASE_URL = "wss://abroadbiz.nianxx.com/ingress/agent/ws/chat"
|
||||
|
||||
# Client ID
|
||||
VITE_CLIENT_ID = "12"
|
||||
Reference in New Issue
Block a user