浏览代码

"Proof Record" Label Alignment & a white thin line

master
Anna Ho 1年前
父节点
当前提交
fd53b5f108
共有 1 个文件被更改,包括 4 次插入6 次删除
  1. +4
    -6
      src/pages/Proof/Reply_GLD/index.js

+ 4
- 6
src/pages/Proof/Reply_GLD/index.js 查看文件

@@ -60,7 +60,7 @@ const Index = () => {
if (!responseData.data?.id) { if (!responseData.data?.id) {
navigate("/proof/search"); navigate("/proof/search");
} }
setShowProofBtn(responseData.data.action != null && responseData.data.action===true);
setShowProofBtn(responseData.data.action != null && responseData.data.action === true);
responseData.data["phoneNumber"] = JSON.parse(responseData.data.contactTelNo).phoneNumber; responseData.data["phoneNumber"] = JSON.parse(responseData.data.contactTelNo).phoneNumber;
responseData.data["tel_countryCode"] = JSON.parse(responseData.data.contactTelNo).countryCode; responseData.data["tel_countryCode"] = JSON.parse(responseData.data.contactTelNo).countryCode;


@@ -81,7 +81,7 @@ const Index = () => {
setIsOverTime(current.getTime() > returnBeforeDate.getTime()); setIsOverTime(current.getTime() > returnBeforeDate.getTime());
setShowCancelBtn(responseData.data.cancelled || responseData.data.replyDate || current.getTime() > returnBeforeDate.getTime()) setShowCancelBtn(responseData.data.cancelled || responseData.data.replyDate || current.getTime() > returnBeforeDate.getTime())




setRecord(responseData.data); setRecord(responseData.data);
} }
@@ -122,10 +122,8 @@ const Index = () => {
<Grid container sx={{ minHeight: '110vh', backgroundColor: 'backgroundColor.default' }} direction="column" justifyContent="flex-start" alignItems="center" > <Grid container sx={{ minHeight: '110vh', backgroundColor: 'backgroundColor.default' }} direction="column" justifyContent="flex-start" alignItems="center" >
<Grid item xs={12} width="100%"> <Grid item xs={12} width="100%">
<div style={BackgroundHead} width="100%"> <div style={BackgroundHead} width="100%">
<Stack direction="row" height='70px'>
<Typography ml={15} color='#FFF' variant="h4" sx={{display: { xs: 'none', sm: 'none', md: 'block', pt:2 }}}>
Proof Record
</Typography>
<Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center">
<Typography ml={15} color='#FFF' variant="h4">Proof Record</Typography>
</Stack> </Stack>
</div> </div>
</Grid> </Grid>


正在加载...
取消
保存