From 2e1edcb7518f20dec30dbd6e1686e9e6b558ec15 Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期三, 16 四月 2025 17:05:12 +0800
Subject: [PATCH] 43 首页登录->首页登录 1.首页弹窗协议同意后,不能默认自动勾选,还需要用户手动勾选 2.退出登录后,再次登录需要手动勾选与用户协议(目前是默认勾选了) 44 首页登录->邀请码 邀请码默认填入“邀请码(选填) 47 数据统计->饼状图数据分类统计问题 1、只统计快递 无需统计还款其他分类 2、图形上下间隔过大" 48 数据统计 天、周、月、年 1.数据统计只统计快递类的,其他分类不需要统计展示,例如取件码记录 2.包括周、月、年的统计环状图,只需要统计快递分类的
---
app/src/main/res/layout/fragment_dashboard.xml | 92 +++++++++++++++++++++++++++++++++++++--------
1 files changed, 75 insertions(+), 17 deletions(-)
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml
index 21efdba..243ba37 100644
--- a/app/src/main/res/layout/fragment_dashboard.xml
+++ b/app/src/main/res/layout/fragment_dashboard.xml
@@ -68,6 +68,22 @@
</LinearLayout>
<!-- 包裹统计卡片 -->
+ <LinearLayout
+ android:id="@+id/card_package_stats_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:layout_constraintTop_toBottomOf="@id/layout_date_picker"
+ >
+ <TextView
+ android:id="@+id/card_package_stats_title_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="本日收到包裹总数 ->"
+ android:layout_marginLeft="16dp"
+ >
+
+ </TextView>
+ </LinearLayout>
<androidx.cardview.widget.CardView
android:id="@+id/card_package_stats"
android:layout_width="match_parent"
@@ -75,7 +91,7 @@
android:layout_margin="16dp"
app:cardCornerRadius="8dp"
app:cardElevation="4dp"
- app:layout_constraintTop_toBottomOf="@id/layout_date_picker">
+ app:layout_constraintTop_toBottomOf="@id/card_package_stats_title">
<LinearLayout
android:layout_width="match_parent"
@@ -119,6 +135,7 @@
</LinearLayout>
</androidx.cardview.widget.CardView>
+
<!-- 年度统计布局 -->
<include
android:id="@+id/layout_year_stats"
@@ -136,27 +153,68 @@
app:layout_constraintTop_toBottomOf="@id/layout_year_stats"
app:layout_constraintBottom_toBottomOf="parent">
- <ViewFlipper
- android:id="@+id/view_flipper_stats"
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
- <!-- 日视图 -->
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recycler_packages"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipToPadding="false"
- android:paddingBottom="16dp" />
+ android:layout_height="wrap_content">
+ <ViewFlipper
+ android:id="@+id/view_flipper_stats"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
- <!-- 周视图 -->
- <include
- android:id="@+id/layout_week_stats"
- layout="@layout/layout_week_stats"
+ <!-- 日视图 -->
+ <LinearLayout
+ android:id="@+id/recycler_packages_11"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ >
+ <LinearLayout
+ android:id="@+id/layout_year_stats_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:layout_constraintTop_toBottomOf="@id/card_package_stats"
+ >
+ <TextView
+ android:id="@+id/layout_year_stats_title_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="包裹取件码记录 ->"
+ android:layout_margin="16dp"
+ >
+
+ </TextView>
+ </LinearLayout>
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_packages"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:clipToPadding="false"
+ android:paddingBottom="16dp" />
+
+ </LinearLayout>
+
+
+
+ <!-- 周视图 -->
+ <include
+ android:id="@+id/layout_week_stats"
+ layout="@layout/layout_week_stats"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+ </ViewFlipper>
+ </LinearLayout>
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="80dp" />
- </ViewFlipper>
+</LinearLayout>
+
</androidx.core.widget.NestedScrollView>
<!-- 🔹 遮罩层 -->
--
Gitblit v1.9.3