feat: chat integration, tenant admin spec, backend chat service, miniprogram updates, DEMO moved to tmp, XCX-TEST removed, migrations & docs
This commit is contained in:
30
tmp/DEMO-miniprogram/miniprogram/utils/ui-constants.ts
Normal file
30
tmp/DEMO-miniprogram/miniprogram/utils/ui-constants.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* 全局 UI 常量
|
||||
* 集中管理 showModal / showToast 中重复使用的样式和文案
|
||||
*/
|
||||
|
||||
import { GLOBAL_COLORS } from './vi-colors'
|
||||
|
||||
// ============================================
|
||||
// Modal 样式
|
||||
// ============================================
|
||||
|
||||
/** 危险操作确认按钮颜色(删除、退出等) */
|
||||
export const CONFIRM_DANGER_COLOR = GLOBAL_COLORS.error // #e34d59
|
||||
|
||||
// ============================================
|
||||
// Toast 文案
|
||||
// ============================================
|
||||
|
||||
export const TOAST = {
|
||||
/** 页面跳转失败(9 处使用) */
|
||||
NAV_FAILED: '页面跳转失败',
|
||||
/** 已删除 */
|
||||
DELETED: '已删除',
|
||||
/** 备注已保存 */
|
||||
NOTE_SAVED: '备注已保存',
|
||||
/** 手机号码已复制 */
|
||||
PHONE_COPIED: '手机号码已复制',
|
||||
/** 获取状态失败 */
|
||||
STATUS_FAILED: '获取状态失败',
|
||||
} as const
|
||||
Reference in New Issue
Block a user