周报月报卡片样式

This commit is contained in:
czz
2025-07-24 19:16:41 +08:00
parent cc6ef83587
commit db787bc64c
2 changed files with 113 additions and 4 deletions

View File

@@ -6,11 +6,11 @@ import 'package:vbvs_app/common/util/FitTool.dart';
import 'package:vbvs_app/common/util/MyUtils.dart';
import 'package:vbvs_app/component/tool/ClickableContainer.dart';
import 'package:vbvs_app/pages/device_bind/componnet/bind_dialog.dart';
import 'package:vbvs_app/pages/sleep_report/chart/DataShowWidget.dart';
import 'package:EasyDartModule/EasyDartModule.dart' as es;
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:vbvs_app/pages/sleep_report/chart/weekDataShowWidget.dart';
class IndicatorCompareCard extends StatelessWidget {
final String title;
@@ -91,7 +91,7 @@ class IndicatorCompareCard extends StatelessWidget {
SizedBox(height: spacing.rpx),
/// 表头
DataShowWidget(
Weekdatashowwidget(
alignment: MainAxisAlignment.center,
widget1: _buildHeader(headers, 0),
widget2: _buildHeader(headers, 1),
@@ -102,7 +102,7 @@ class IndicatorCompareCard extends StatelessWidget {
/// 数据行
Column(
children: rows.map((row) {
return DataShowWidget(
return Weekdatashowwidget(
alignment: MainAxisAlignment.center,
widget1: row[0],
widget2: row[1],