change index page layout
parent
5bd07e0ca7
commit
d34564980f
|
|
@ -265,12 +265,18 @@ export default class MainPage extends Component<{}, MainPageState> {
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
{wechatUser.getAccess() ? (
|
{wechatUser.getAccess() ? (
|
||||||
<View>
|
<View style={{ marginTop: '40rpx' }}>
|
||||||
|
<View
|
||||||
|
className='at-article__h3'
|
||||||
|
style={{ marginBottom: '20rpx', fontWeight: 'bold' }}
|
||||||
|
>
|
||||||
|
{memberPage.ticketList.hint}
|
||||||
|
</View>
|
||||||
<AtList>{fixListRenderer}</AtList>
|
<AtList>{fixListRenderer}</AtList>
|
||||||
<AtList>
|
<AtList>
|
||||||
<AtListItem
|
<AtListItem
|
||||||
title={pt.get().mainPage.ticketList.title}
|
title={pt.get().memberPage.ticketList.title}
|
||||||
note={pt.get().mainPage.ticketList.note}
|
note={pt.get().memberPage.ticketList.note}
|
||||||
arrow='right'
|
arrow='right'
|
||||||
thumb={clockIcon}
|
thumb={clockIcon}
|
||||||
onClick={this.ticketListPage}
|
onClick={this.ticketListPage}
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,6 @@ export interface MainPageText {
|
||||||
stepList: Array<{ title: string }>;
|
stepList: Array<{ title: string }>;
|
||||||
tipsList: Array<{ title: string }>;
|
tipsList: Array<{ title: string }>;
|
||||||
|
|
||||||
ticketList: {
|
|
||||||
title: string;
|
|
||||||
note: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
dutyCard: {
|
dutyCard: {
|
||||||
offDuty: {
|
offDuty: {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
@ -80,10 +75,6 @@ export const mainPageZhCn: MainPageText = {
|
||||||
{ title: '204 也是实验室,请勿在内饮食~' },
|
{ title: '204 也是实验室,请勿在内饮食~' },
|
||||||
{ title: '我们是志愿服务,不收取任何礼物哦~' },
|
{ title: '我们是志愿服务,不收取任何礼物哦~' },
|
||||||
],
|
],
|
||||||
ticketList: {
|
|
||||||
title: '预填写工单列表',
|
|
||||||
note: '在这里查看所有的预填写工单!',
|
|
||||||
},
|
|
||||||
dutyCard: {
|
dutyCard: {
|
||||||
offDuty: {
|
offDuty: {
|
||||||
title: '未值班',
|
title: '未值班',
|
||||||
|
|
@ -147,10 +138,6 @@ export const mainPageEnUs: MainPageText = {
|
||||||
{ title: '204 is also a laboratory. Do not eat inside.' },
|
{ title: '204 is also a laboratory. Do not eat inside.' },
|
||||||
{ title: 'We are volunteers and do not take any gifts.' },
|
{ title: 'We are volunteers and do not take any gifts.' },
|
||||||
],
|
],
|
||||||
ticketList: {
|
|
||||||
title: 'Pre-filling ticket list',
|
|
||||||
note: 'Browse for all pre-filling tickets here!',
|
|
||||||
},
|
|
||||||
dutyCard: {
|
dutyCard: {
|
||||||
offDuty: {
|
offDuty: {
|
||||||
title: 'Off Duty',
|
title: 'Off Duty',
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,6 @@ export interface MemberPageText {
|
||||||
title: string;
|
title: string;
|
||||||
placeholder: string;
|
placeholder: string;
|
||||||
};
|
};
|
||||||
uncompletedTicket: {
|
|
||||||
extra: string;
|
|
||||||
};
|
|
||||||
dutyCard: {
|
dutyCard: {
|
||||||
offDuty: {
|
offDuty: {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
@ -60,6 +57,11 @@ export interface MemberPageText {
|
||||||
};
|
};
|
||||||
stepList: Array<{ title: string }>;
|
stepList: Array<{ title: string }>;
|
||||||
tipsList: Array<{ title: string }>;
|
tipsList: Array<{ title: string }>;
|
||||||
|
ticketList: {
|
||||||
|
hint: string;
|
||||||
|
title: string;
|
||||||
|
note: string;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export const memberPageZhCn: MemberPageText = {
|
export const memberPageZhCn: MemberPageText = {
|
||||||
|
|
@ -92,9 +94,6 @@ export const memberPageZhCn: MemberPageText = {
|
||||||
title: '密码',
|
title: '密码',
|
||||||
placeholder: '与 EVA 统一身份认证一致',
|
placeholder: '与 EVA 统一身份认证一致',
|
||||||
},
|
},
|
||||||
uncompletedTicket: {
|
|
||||||
extra: '详细信息',
|
|
||||||
},
|
|
||||||
dutyCard: {
|
dutyCard: {
|
||||||
offDuty: {
|
offDuty: {
|
||||||
title: '空闲',
|
title: '空闲',
|
||||||
|
|
@ -147,6 +146,11 @@ export const memberPageZhCn: MemberPageText = {
|
||||||
{ title: '离开 204 前清点好维修物资!' },
|
{ title: '离开 204 前清点好维修物资!' },
|
||||||
{ title: '螺丝上了吗?电源排线插了吗?' },
|
{ title: '螺丝上了吗?电源排线插了吗?' },
|
||||||
],
|
],
|
||||||
|
ticketList: {
|
||||||
|
hint: '七日内未完成工单',
|
||||||
|
title: '预填写工单列表',
|
||||||
|
note: '在这里查看所有的预填写工单!',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export const memberPageEnUs: MemberPageText = {
|
export const memberPageEnUs: MemberPageText = {
|
||||||
|
|
@ -180,9 +184,6 @@ export const memberPageEnUs: MemberPageText = {
|
||||||
title: 'Password',
|
title: 'Password',
|
||||||
placeholder: 'Consistent with EVA Auth',
|
placeholder: 'Consistent with EVA Auth',
|
||||||
},
|
},
|
||||||
uncompletedTicket: {
|
|
||||||
extra: 'Details',
|
|
||||||
},
|
|
||||||
dutyCard: {
|
dutyCard: {
|
||||||
offDuty: {
|
offDuty: {
|
||||||
title: 'Off Duty',
|
title: 'Off Duty',
|
||||||
|
|
@ -239,4 +240,9 @@ export const memberPageEnUs: MemberPageText = {
|
||||||
{ title: '204 is a laboratory. Do not eat inside.' },
|
{ title: '204 is a laboratory. Do not eat inside.' },
|
||||||
{ title: 'Are the screws on? Is the power cable plugged in?' },
|
{ title: 'Are the screws on? Is the power cable plugged in?' },
|
||||||
],
|
],
|
||||||
|
ticketList: {
|
||||||
|
hint: 'Uncompleted tickets in 7 days',
|
||||||
|
title: 'Pre-filling ticket list',
|
||||||
|
note: 'Browse for all pre-filling tickets here!',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue