Style fix
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
'app.name': '第五维度',
|
'app.name': '第五维度',
|
||||||
|
'app.error': '加载失败,点击重新加载',
|
||||||
'index.start': 'Splash Screen',
|
'index.start': 'Splash Screen',
|
||||||
'index.start1': '数字货币',
|
'index.start1': '数字货币',
|
||||||
'index.start2': '财富管理平台',
|
'index.start2': '财富管理平台',
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
'app.name': '第五维度',
|
'app.name': '第五维度',
|
||||||
|
'app.error': '加载失败,点击重新加载',
|
||||||
'index.start': '启动页',
|
'index.start': '启动页',
|
||||||
'index.start1': '数字货币',
|
'index.start1': '数字货币',
|
||||||
'index.start2': '财富管理平台',
|
'index.start2': '财富管理平台',
|
||||||
|
|||||||
@@ -33,7 +33,10 @@ const Page: React.FC<DispatchProp & CheckModelState> = ({
|
|||||||
|
|
||||||
if (pageState === PageState.Failure) {
|
if (pageState === PageState.Failure) {
|
||||||
return (
|
return (
|
||||||
<div onClick={() => dispatch({ type: 'check/load' })}>加载失败,点击重新加载</div>
|
<div
|
||||||
|
onClick={() => dispatch({ type: 'check/load' })}
|
||||||
|
className={styles.error}
|
||||||
|
>{formatMessage({ id: 'app.error' })}</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -47,3 +47,10 @@
|
|||||||
line-height: 30;
|
line-height: 30;
|
||||||
line-height: 80vh;
|
line-height: 80vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.error {
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 30;
|
||||||
|
line-height: 80vh;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user