add repair page
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
export interface RepairPageText {
|
||||
typeText: {
|
||||
computer: string;
|
||||
appliance: string;
|
||||
};
|
||||
deviceText: {
|
||||
title: string;
|
||||
placeholder: string;
|
||||
};
|
||||
deviceModelText: {
|
||||
title: string;
|
||||
placeholder: string;
|
||||
};
|
||||
ownerText: {
|
||||
title: string;
|
||||
placeholder: string;
|
||||
};
|
||||
phoneText: {
|
||||
title: string;
|
||||
placeholder: string;
|
||||
};
|
||||
descriptionText: {
|
||||
title: string;
|
||||
placeholder: string;
|
||||
};
|
||||
}
|
||||
|
||||
export const repairPageZhCn: RepairPageText = {
|
||||
typeText: {
|
||||
computer: '电脑',
|
||||
appliance: '电器',
|
||||
},
|
||||
deviceText: {
|
||||
title: '设备品牌',
|
||||
placeholder: '如:ROG',
|
||||
},
|
||||
deviceModelText: {
|
||||
title: '设备型号',
|
||||
placeholder: '如:幻 14 2022',
|
||||
},
|
||||
ownerText: {
|
||||
title: '机主姓名',
|
||||
placeholder: '如:晓洋',
|
||||
},
|
||||
phoneText: {
|
||||
title: '联系方式',
|
||||
placeholder: '如:18888888888',
|
||||
},
|
||||
descriptionText: {
|
||||
title: '问题描述',
|
||||
placeholder: '如:ZJUWLAN 无法登入校内网站',
|
||||
},
|
||||
};
|
||||
|
||||
export const repairPageEnUs: RepairPageText = {
|
||||
typeText: {
|
||||
computer: '电脑',
|
||||
appliance: '电器',
|
||||
},
|
||||
deviceText: {
|
||||
title: '设备品牌',
|
||||
placeholder: 'e.g. ROG',
|
||||
},
|
||||
deviceModelText: {
|
||||
title: '设备型号',
|
||||
placeholder: 'e.g. Zephyrus G14 2022',
|
||||
},
|
||||
ownerText: {
|
||||
title: '机主姓名',
|
||||
placeholder: 'e.g. Dean Ma',
|
||||
},
|
||||
phoneText: {
|
||||
title: '联系方式',
|
||||
placeholder: 'e.g. 18888888888',
|
||||
},
|
||||
descriptionText: {
|
||||
title: '问题描述',
|
||||
placeholder: 'e.g. ZJUWLAN 无法登入校内网站',
|
||||
},
|
||||
};
|
||||
@@ -9,6 +9,7 @@ import { ButtonText, buttonEnUs, buttonZhCn } from './Button';
|
||||
import { MemberPageText, memberPageEnUs, memberPageZhCn } from './MemberPage';
|
||||
import { TicketListText, ticketListEnUs, ticketListZhCn } from './TicketList';
|
||||
import { NavBarTitle, navBarTitleEnUs, navBarTitleZhCh } from './NavBarTitle';
|
||||
import { RepairPageText, repairPageEnUs, repairPageZhCn } from './RepairPage';
|
||||
|
||||
interface TextRecord {
|
||||
pageFooter: PageFooterText;
|
||||
@@ -22,6 +23,7 @@ interface TextRecord {
|
||||
memberPage: MemberPageText;
|
||||
ticketList: TicketListText;
|
||||
navBar: NavBarTitle;
|
||||
repairPage: RepairPageText;
|
||||
}
|
||||
|
||||
const textZhCn: TextRecord = {
|
||||
@@ -36,6 +38,7 @@ const textZhCn: TextRecord = {
|
||||
memberPage: memberPageZhCn,
|
||||
ticketList: ticketListZhCn,
|
||||
navBar: navBarTitleZhCh,
|
||||
repairPage: repairPageZhCn,
|
||||
};
|
||||
|
||||
const textEnUs: TextRecord = {
|
||||
@@ -50,6 +53,7 @@ const textEnUs: TextRecord = {
|
||||
memberPage: memberPageEnUs,
|
||||
ticketList: ticketListEnUs,
|
||||
navBar: navBarTitleEnUs,
|
||||
repairPage: repairPageEnUs,
|
||||
};
|
||||
|
||||
// type Lang = 'zh_CN' | 'en_US' | ...;
|
||||
|
||||
Reference in New Issue
Block a user