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