1.2
tj
2025-04-11 27bbd0435881e408f267c99e6a253d2e17873bcc
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,18 +153,52 @@
        app:layout_constraintTop_toBottomOf="@id/layout_year_stats"
        app:layout_constraintBottom_toBottomOf="parent">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
        <ViewFlipper
            android:id="@+id/view_flipper_stats"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
                    android:layout_height="match_parent">
            <!-- 日视图 -->
                    <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
@@ -157,6 +208,13 @@
                android:layout_height="wrap_content" />
        </ViewFlipper>
            </LinearLayout>
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="80dp" />
</LinearLayout>
    </androidx.core.widget.NestedScrollView>
    <!-- 🔹 遮罩层 -->