feat(home): 新增首页手表监测数据展示模块

- 新增 HomeWatchView 自定义 View,在首页展示手表监测数据概览
- 新增 WatchItemFragment 用于展示步数、心率、血氧、睡眠、压力等指标
- 新增两个 API 接口:查询用户手表绑定状态、获取当日全量手表数据
- HomeFragment 集成手表 View,登录后自动拉取手表信息及当日数据
- 新增 WatchDataChangeEvent 用于手表数据变更通知
- 新增相关布局、Tab 图标及 Drawable 资源文件
- 清理废弃颜色文件(color_child_tab_*.xml)及冗余布局

注:当前 UrlConfig 环境为 DEBUG,正式发布前请切换回 PRODUCT

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
zhanglei
2026-03-04 16:57:27 +08:00
co-authored by Claude Sonnet 4.6
parent 960791ff4d
commit 53f33b35e0
26 changed files with 720 additions and 53 deletions
@@ -4,5 +4,5 @@
<item android:drawable="@drawable/rectangle_round_corner20_theme" android:state_checked="true"/>
<item android:drawable="@drawable/rectangle_round_corner20_theme" android:state_selected="true"/>
<!-- 默认状态-->
<item android:drawable="@drawable/rectangle_round_corner20_white"/>
<item android:drawable="@drawable/rectangle_round_corner20_white_home"/>
</selector>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
android:useLevel="false">
<solid android:color="#30A9FF" />
<size
android:width="4dp"
android:height="11dp" />
<corners android:radius="@dimen/dp_2" />
</shape>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
android:useLevel="false">
<solid android:color="#43D0B0" />
<size
android:width="4dp"
android:height="11dp" />
<corners android:radius="@dimen/dp_2" />
</shape>