You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.0 KiB
39 lines
1.0 KiB
1 month ago
|
from dash import html
|
||
|
import feffery_antd_components as fac
|
||
|
|
||
|
|
||
|
def render_content():
|
||
|
|
||
|
return html.Div(
|
||
|
[
|
||
|
html.Div(
|
||
|
[
|
||
|
fac.AntdResult(
|
||
|
status='404',
|
||
|
title='页面不存在',
|
||
|
subTitle='检查您的网址输入是否正确',
|
||
|
style={
|
||
|
'paddingBottom': 0,
|
||
|
'paddingTop': 0
|
||
|
}
|
||
|
),
|
||
|
fac.AntdButton(
|
||
|
'回到首页',
|
||
|
type='link',
|
||
|
href='/',
|
||
|
target='_self'
|
||
|
)
|
||
|
],
|
||
|
style={
|
||
|
'textAlign': 'center'
|
||
|
}
|
||
|
)
|
||
|
],
|
||
|
style={
|
||
|
'height': '100vh',
|
||
|
'display': 'flex',
|
||
|
'alignItems': 'center',
|
||
|
'justifyContent': 'center'
|
||
|
}
|
||
|
)
|