feat: 一些文本的统一处理

This commit is contained in:
2026-05-26 13:03:32 +08:00
parent a5dc11fc1a
commit 1d11357e7d
3 changed files with 18 additions and 4 deletions

14
src/constant/local.js Normal file
View File

@@ -0,0 +1,14 @@
import { getCurrentConfig, currentClientType, ClientType } from "@/constant/base";
/// 根据不同的端配置不同的文案等常量
export const chatInputPlaceholder = () => {
const config = getCurrentConfig();
return `快告诉${config.name}您在想什么~`;
}
export const chatGuideSubTitle = () => {
if (currentClientType() === ClientType.XIAOQI) {
return "这里什么都没有哦";
}
return "陪您畅玩小七孔";
}