底部导航
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '校园任务',
|
||||
navigationStyle: 'custom',
|
||||
"usingComponents": {}
|
||||
})
|
||||
@@ -0,0 +1,29 @@
|
||||
.tasks-page {
|
||||
min-height: 100vh;
|
||||
background: #f7f8fa;
|
||||
|
||||
.page-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-top: 300px;
|
||||
|
||||
.placeholder-icon {
|
||||
font-size: 96px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.placeholder-text {
|
||||
font-size: 36px;
|
||||
font-weight: 500;
|
||||
color: #323233;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.placeholder-desc {
|
||||
font-size: 28px;
|
||||
color: #969799;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import { View, Text } from '@tarojs/components'
|
||||
import CustomTabBar from "@/custom-tab-bar"
|
||||
import './index.less'
|
||||
|
||||
export default function Tasks() {
|
||||
return (
|
||||
<View className='tasks-page'>
|
||||
<View className='page-placeholder'>
|
||||
<Text className='placeholder-icon'>📋</Text>
|
||||
<Text className='placeholder-text'>校园任务</Text>
|
||||
<Text className='placeholder-desc'>即将上线,敬请期待</Text>
|
||||
</View>
|
||||
<CustomTabBar />
|
||||
</View>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user