底部安全距离
This commit is contained in:
@@ -2,4 +2,5 @@ export default definePageConfig({
|
||||
navigationBarTitleText: '首页',
|
||||
navigationStyle: 'custom',
|
||||
enablePullDownRefresh: false,
|
||||
usingComponents: {},
|
||||
})
|
||||
|
||||
@@ -165,7 +165,7 @@ export default function Index() {
|
||||
<View className='bottom-safe' />
|
||||
</ScrollView>
|
||||
|
||||
<CustomTabBar activeKey='index' />
|
||||
{/*<CustomTabBar activeKey='index' />*/}
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '消息',
|
||||
navigationStyle: 'custom',
|
||||
usingComponents: {},
|
||||
})
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import Taro from '@tarojs/taro'
|
||||
import { View, Text, Image, ScrollView } from '@tarojs/components'
|
||||
import { Badge } from '@antmjs/vantui'
|
||||
import CustomTabBar from '@/custom-tab-bar'
|
||||
import { chatList } from '@/mock/messages'
|
||||
import type { ChatItem } from '@/types/message'
|
||||
import './index.less'
|
||||
@@ -86,7 +85,7 @@ export default function Messages() {
|
||||
|
||||
{/* 未读数 */}
|
||||
{msg.unread ? (
|
||||
<Badge content={msg.unread} max={99} />
|
||||
<Badge content={msg.unread} />
|
||||
) : null}
|
||||
</View>
|
||||
))}
|
||||
@@ -94,8 +93,6 @@ export default function Messages() {
|
||||
|
||||
<View className='bottom-safe' />
|
||||
</ScrollView>
|
||||
|
||||
<CustomTabBar activeKey='messages' />
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '我的',
|
||||
navigationStyle: 'custom',
|
||||
usingComponents: {},
|
||||
})
|
||||
|
||||
@@ -2,7 +2,6 @@ import { useMemo } from 'react'
|
||||
import Taro from '@tarojs/taro'
|
||||
import { View, Text, Image, ScrollView } from '@tarojs/components'
|
||||
import { Cell, CellGroup, Icon } from '@antmjs/vantui'
|
||||
import CustomTabBar from '@/custom-tab-bar'
|
||||
import './index.less'
|
||||
|
||||
/** 状态栏高度 */
|
||||
@@ -155,9 +154,6 @@ export default function Profile() {
|
||||
<Text className='footer-version'>校园通 v1.0.0</Text>
|
||||
</View>
|
||||
</ScrollView>
|
||||
|
||||
{/* ========== TabBar ========== */}
|
||||
<CustomTabBar activeKey='profile' />
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '校园任务',
|
||||
navigationStyle: 'custom',
|
||||
"usingComponents": {}
|
||||
usingComponents: {},
|
||||
})
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
import { useState, useMemo } from 'react'
|
||||
import Taro from '@tarojs/taro'
|
||||
import { View, ScrollView } from '@tarojs/components'
|
||||
import { Search, Tabs, Tab } from '@antmjs/vantui'
|
||||
import { Search } from '@antmjs/vantui'
|
||||
import TaskCard from '@/components/TaskCard'
|
||||
import CustomTabBar from '@/custom-tab-bar'
|
||||
import { tasks } from '@/mock/tasks'
|
||||
import type { TaskType } from '@/types/task'
|
||||
import './index.less'
|
||||
|
||||
/** 筛选标签 */
|
||||
@@ -100,8 +98,6 @@ export default function Tasks() {
|
||||
</View>
|
||||
<View className='bottom-safe' />
|
||||
</ScrollView>
|
||||
|
||||
<CustomTabBar activeKey='tasks' />
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user