feat: 更新教练页面和布局,优化用户体验

- 将教练页面中的“Bot”名称更改为“Seal”,提升品牌一致性
- 在布局文件中调整标签标题和图标,确保与新名称一致
- 新增使用次数显示功能,优化用户对使用情况的了解
- 更新日期选择器样式,增强未来日期的禁用效果
- 优化压力分析模态框的颜色和文本,提升可读性
This commit is contained in:
richarjiang
2025-08-21 10:29:12 +08:00
parent 78620f18ee
commit b396a7d101
8 changed files with 108 additions and 39 deletions

View File

@@ -43,7 +43,7 @@ export default function TabLayout() {
case 'explore':
return { icon: 'magnifyingglass.circle.fill', title: '发现' } as const;
case 'coach':
return { icon: 'person.3.fill', title: 'Bot' } as const;
return { icon: 'person.3.fill', title: 'Seal' } as const;
case 'statistics':
return { icon: 'chart.pie.fill', title: '统计' } as const;
case 'personal':
@@ -131,7 +131,7 @@ export default function TabLayout() {
<Tabs.Screen
name="coach"
options={{
title: 'Bot',
title: 'Seal',
tabBarIcon: ({ color }) => {
const isCoachSelected = pathname === '/coach';
return (
@@ -148,7 +148,7 @@ export default function TabLayout() {
textAlign: 'center',
flexShrink: 0,
}}>
Bot
Seal
</Text>
)}
</View>
@@ -160,6 +160,7 @@ export default function TabLayout() {
name="explore"
options={{
title: '发现',
href: null,
tabBarIcon: ({ color }) => {
const isHomeSelected = pathname === '/' || pathname === '/index';
return (