1
This commit is contained in:
@@ -1,21 +1,22 @@
|
||||
.empty_state_page {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
// 白色渐变背景(从设计稿参考)
|
||||
background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
|
||||
&__content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
min-height: calc(100vh - 98px);
|
||||
height: calc(100vh - 98px);
|
||||
}
|
||||
|
||||
// 空状态图片
|
||||
@@ -99,7 +100,7 @@
|
||||
&--primary {
|
||||
background: #000000;
|
||||
border: 2px solid rgba(0, 0, 0, 0.06);
|
||||
|
||||
|
||||
.empty_state_page__button_text {
|
||||
color: #ffffff; // 黑色背景下使用白色文字
|
||||
}
|
||||
@@ -111,5 +112,4 @@
|
||||
border: 2px solid rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -49,20 +49,16 @@ function Index() {
|
||||
};
|
||||
|
||||
return (
|
||||
<View
|
||||
className="empty_state_page"
|
||||
style={{
|
||||
paddingTop: `${totalHeight}px`,
|
||||
backgroundColor: '#FFFFFF'
|
||||
}}
|
||||
<View
|
||||
className="empty_state_page"
|
||||
>
|
||||
<GeneralNavbar title="" showBack={true} />
|
||||
|
||||
<View className="empty_state_page__content">
|
||||
{/* 空状态图片 */}
|
||||
<Image
|
||||
className="empty_state_page__icon"
|
||||
src={emptyStateIcon}
|
||||
<Image
|
||||
className="empty_state_page__icon"
|
||||
src={emptyStateIcon}
|
||||
mode="aspectFit"
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user