底部导航

This commit is contained in:
liu
2026-07-01 21:54:00 +08:00
parent 0ee14678b6
commit d909d376f9
17 changed files with 544 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
export default definePageConfig({
navigationBarTitleText: '校园任务',
navigationStyle: 'custom',
"usingComponents": {}
})
+29
View File
@@ -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;
}
}
}
+16
View File
@@ -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>
)
}