20260325稳定版

This commit is contained in:
2026-03-25 15:59:24 +08:00
commit 0decd78604
470 changed files with 53100 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
export const YELLOW = '#e2d602'
export const ORANGE = '#fd7600'
export const ORANGE_LIGHT = '#FEEDA8'
export const GREEN = '#98C147'
export const GREEN_LIGHT = '#96b0a3'
export const BLUE = '#3C4DA5'
export const BLUE_LIGHT = '#049DFF'
export const RED = '#FE6869'
export const RED_LIGHT = '#F7B2B2'
export const PURPLE = '#7F6CDE'
export const PINK = '#FE5397'
export const PURPLE_DARK = '#7F6CDE'
export const PUBLISH = '#FDCB05'
export const GRAY = '#999'
export const PURPLE_LIGHT = '#7F6CDE'
export const MAIN = BLUE
export const LINEAR = 'linear-gradient(90deg, #049DFF, #2665c4)'
+23
View File
@@ -0,0 +1,23 @@
const MAIN_API_FN = () => {
if (process.env.NODE_ENV === 'development') {
// return 'http://127.0.0.1:10051'
return 'https://guoxue.gxwebsoft.com'
} else {
return 'https://guoxue.gxwebsoft.com'
}
}
const MAIN_WS_FN = () => {
if (process.env.NODE_ENV === 'development') {
return 'ws://127.0.0.1:10051/chat'
// return 'wss://guoxue.gxwebsoft.com/chat'
} else {
return 'wss://guoxue.gxwebsoft.com/chat'
}
}
export const MAIN_API = MAIN_API_FN()
export const WS_API = MAIN_WS_FN()
export const API = `${MAIN_API}/api`