设备人员更新

This commit is contained in:
czz
2025-06-17 18:02:51 +08:00
parent 1eaa24791d
commit e34966aaba
19 changed files with 1120 additions and 726 deletions

View File

@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:vbvs_app/pages/common/bezier_bottom_navigation_bar.dart';
import 'package:vbvs_app/pages/mh_page/MattressControl.dart';
import 'package:vbvs_app/pages/mh_page/device_list.dart';
import 'package:vbvs_app/pages/mh_page/homepage/mht_sleep_report_page.dart';
import 'package:vbvs_app/pages/mh_page/homepage/new_Home_page.dart';
import 'package:vbvs_app/pages/mh_page/new_mine_page.dart';
@@ -31,7 +32,7 @@ class _HomePageState extends State<MainPageBBottomChange>
// Text('报告'),
// RegisterPage(),
// ShareDeviceWidget(),
MhtSleepReportPage(),
DeviceListPage(),
// FindPasswordPage(),
// Smys(),
MattressControlPage(),

View File

@@ -102,152 +102,6 @@ class _MessagePageState extends State<MessagePage> {
child: Column(
children: [
SizedBox(height: 40.rpx),
// Expanded(
// child: Stack(
// alignment: Alignment.bottomLeft,
// children: [
// Row(
// mainAxisAlignment: MainAxisAlignment.start,
// children: [
// Obx(() {
// return ClickableContainer(
// padding: EdgeInsets.all(0),
// backgroundColor: Colors.transparent,
// highlightColor:
// themeController.currentColor.sc21,
// borderRadius: 8.rpx,
// onTap: () => _onTabChanged(0),
// child: Container(
// width: 160.rpx,
// alignment: Alignment.center,
// child: Stack(
// alignment: Alignment.center,
// clipBehavior: Clip.none,
// children: [
// Text(
// '体征消息'.tr,
// style: FlutterFlowTheme.of(context)
// .bodyMedium
// .override(
// fontFamily: 'Inter',
// fontSize: AppConstants()
// .title_text_fontSize,
// color:
// messageController
// .model.type ==
// 2
// ? themeController
// .currentColor.sc3
// : themeController
// .currentColor.sc2,
// ),
// ),
// Obx(() {
// return messageController.model
// .body_message_read ==
// 1
// ? Positioned(
// top: -4,
// right: -14,
// child: Container(
// width: 8,
// height: 8,
// decoration:
// const BoxDecoration(
// color: Colors.red,
// shape: BoxShape.circle,
// ),
// ),
// )
// : const SizedBox.shrink();
// }),
// ],
// ),
// ),
// );
// }),
// Obx(() {
// return ClickableContainer(
// padding: EdgeInsets.all(0),
// backgroundColor: Colors.transparent,
// highlightColor:
// themeController.currentColor.sc21,
// borderRadius: 8.rpx,
// onTap: () => _onTabChanged(1),
// child: Container(
// width: 160.rpx,
// alignment: Alignment.center,
// child: Stack(
// alignment: Alignment.center,
// clipBehavior: Clip.none,
// children: [
// Text(
// '系统消息'.tr,
// style: FlutterFlowTheme.of(context)
// .bodyMedium
// .override(
// fontFamily: 'Inter',
// fontSize: AppConstants()
// .title_text_fontSize,
// color:
// messageController
// .model.type ==
// 1
// ? themeController
// .currentColor.sc3
// : themeController
// .currentColor.sc2,
// ),
// ),
// Obx(() {
// return messageController.model
// .system_message_read ==
// 1
// ? Positioned(
// top: -4,
// right: -14,
// child: Container(
// width: 8,
// height: 8,
// decoration:
// const BoxDecoration(
// color: Colors.red,
// shape: BoxShape.circle,
// ),
// ),
// )
// : const SizedBox.shrink();
// }),
// ],
// ),
// ),
// );
// }),
// ].divide(SizedBox(width: 10.rpx)),
// ),
// Obx(() {
// double lineWidth = 170.rpx;
// return AnimatedPositioned(
// duration: const Duration(milliseconds: 300),
// curve: Curves.easeInOut,
// bottom: 0,
// left: messageController.model.type == 1
// ? 0
// : 170.rpx,
// child: Container(
// width: lineWidth,
// height: 4.rpx,
// decoration: BoxDecoration(
// color: themeController.currentColor.sc2,
// borderRadius: BorderRadius.circular(2.rpx),
// ),
// ),
// );
// }),
// ],
// ),
// ),
Expanded(
child: Stack(
alignment: Alignment.bottomLeft,
@@ -407,7 +261,6 @@ class _MessagePageState extends State<MessagePage> {
],
),
),
SizedBox(height: 17.rpx),
],
),