This commit is contained in:
2026-09-29 15:17:13 +08:00
commit 69e6ed8c59
113 changed files with 36564 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 = '#2fc6a7'
export const GREEN_LIGHT = '#96b0a3'
export const BLUE = '#2563eb'
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 = GREEN
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://yxe-api.gxwebsoft.com'
} else {
return 'https://yxe-api.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://yxe-api.gxwebsoft.com'
}
}
export const MAIN_API = MAIN_API_FN()
export const WS_API = MAIN_WS_FN()
export const API = `${MAIN_API}/api`