This commit is contained in:
wyf
2025-06-17 19:12:30 +08:00
parent e34966aaba
commit f3f3e4f73f
117 changed files with 5479 additions and 6679 deletions

View File

@@ -54,12 +54,12 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
child: Text(
// '实时监测结果通知'.tr,
"${messageInfo['data']['title']}",
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily: 'Inter',
fontSize: 30.rpx,
letterSpacing: 0.0,
color: themeController.currentColor.sc3,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: 30.rpx,
letterSpacing: 0.0,
color: themeController.currentColor.sc3,
),
),
),
),
@@ -144,12 +144,12 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
child: Center(
child: Text(
getMessageStatus(messageInfo['status']),
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily: 'Inter',
fontSize: 26.rpx,
letterSpacing: 0.0,
color: Colors.white,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: 26.rpx,
letterSpacing: 0.0,
color: Colors.white,
),
),
),
),
@@ -170,12 +170,12 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
overflow: TextOverflow.ellipsis,
maxLines: 1,
label.tr,
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily: 'Inter',
fontSize: 26.rpx,
letterSpacing: 0.0,
color: themeController.currentColor.sc4,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: 26.rpx,
letterSpacing: 0.0,
color: themeController.currentColor.sc4,
),
),
),
);
@@ -192,12 +192,12 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
overflow: TextOverflow.ellipsis,
maxLines: 1,
"${value}",
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily: 'Inter',
fontSize: 26.rpx,
letterSpacing: 0.0,
color: themeController.currentColor.sc3,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: 26.rpx,
letterSpacing: 0.0,
color: themeController.currentColor.sc3,
),
),
),
);

View File

@@ -32,7 +32,8 @@ class _HomePageState extends State<MainPageBBottomChange>
// Text('报告'),
// RegisterPage(),
// ShareDeviceWidget(),
DeviceListPage(),
// DeviceListPage(),
MhtSleepReportPage(),
// FindPasswordPage(),
// Smys(),
MattressControlPage(),

View File

@@ -40,12 +40,12 @@ class _EPageState extends State<EPage> {
/// 居中标题
Text(
'小e'.tr,
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily: 'Readex Pro',
color: themeController.currentColor.sc3,
letterSpacing: 0,
fontSize: 30.rpx,
),
style: TextStyle(
fontFamily: 'Readex Pro',
color: themeController.currentColor.sc3,
letterSpacing: 0,
fontSize: 30.rpx,
),
),
/// 左边返回按钮

View File

@@ -55,12 +55,12 @@ class _FollowPageState extends State<FollowPage> {
/// 居中标题
Text(
'关注我们'.tr,
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily: 'Readex Pro',
color: themeController.currentColor.sc3,
letterSpacing: 0,
fontSize: 30.rpx,
),
style: TextStyle(
fontFamily: 'Readex Pro',
color: themeController.currentColor.sc3,
letterSpacing: 0,
fontSize: 30.rpx,
),
),
/// 左边返回按钮
@@ -74,7 +74,7 @@ class _FollowPageState extends State<FollowPage> {
actions: [],
centerTitle: false,
),
body: SafeArea(
top: true,
child: Padding(

View File

@@ -57,12 +57,12 @@ class _HelpPageState extends State<HelpPage> {
/// 居中标题
Text(
'操作说明'.tr,
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily: 'Readex Pro',
color: themeController.currentColor.sc3,
letterSpacing: 0,
fontSize: 30.rpx,
),
style: TextStyle(
fontFamily: 'Readex Pro',
color: themeController.currentColor.sc3,
letterSpacing: 0,
fontSize: 30.rpx,
),
),
/// 左边返回按钮

View File

@@ -292,17 +292,12 @@ class _HomePageState extends State<HomePage> {
16.rpx, 0, 16.rpx, 0),
child: Text(
'首页.登录'.tr,
style:
FlutterFlowTheme.of(context)
.titleSmall
.override(
fontFamily:
'Inter Tight',
color: themeController
.currentColor
.sc19,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter Tight',
color: themeController
.currentColor.sc19,
letterSpacing: 0.0,
),
),
),
),
@@ -470,17 +465,15 @@ class _HomePageState extends State<HomePage> {
children: [
Text(
'首页.已关联体征监测设备'.tr,
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
//todo 颜色
color: themeController
.currentColor.sc3,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
//todo 颜色
color: themeController
.currentColor.sc3,
),
),
Obx(() {
return Padding(
@@ -489,17 +482,14 @@ class _HomePageState extends State<HomePage> {
0, 4.rpx, 0.rpx, 0.rpx),
child: Text(
"${deviceController.bindDeviceNum.value}",
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
color: themeController
.currentColor.sc8,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
color: themeController
.currentColor.sc8,
),
),
);
}),
@@ -607,18 +597,14 @@ class _HomePageState extends State<HomePage> {
),
Text(
'首页.扫一扫绑定'.tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
color: themeController
.currentColor
.sc19,
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
color: themeController
.currentColor.sc19,
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(width: 17.rpx)),
),
@@ -705,19 +691,15 @@ class _HomePageState extends State<HomePage> {
),
Text(
'首页.蓝牙绑定'.tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
//todo 颜色
color: themeController
.currentColor
.sc19,
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
//todo 颜色
color: themeController
.currentColor.sc19,
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(
width: 17.rpx,
@@ -777,63 +759,50 @@ class _HomePageState extends State<HomePage> {
children: [
Text(
'首页.提示标题'.tr,
style: FlutterFlowTheme.of(
context)
.bodyMedium
.override(
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
fontWeight:
FontWeight.w600,
color: stringToColor(
"#916D46"), //固定
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
fontWeight: FontWeight.w600,
color: stringToColor(
"#916D46"), //固定
),
),
Text(
'首页.提示内容1'.tr,
style: FlutterFlowTheme.of(
context)
.bodyMedium
.override(
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
//todo 配置颜色
color: stringToColor(
"#916D46"), //固定
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
//todo 配置颜色
color: stringToColor(
"#916D46"), //固定
),
),
Text(
'首页.提示内容2'.tr,
style: FlutterFlowTheme.of(
context)
.bodyMedium
.override(
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
color: stringToColor(
"#916D46"), //固定
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
color: stringToColor(
"#916D46"), //固定
),
),
Text(
'首页.提示内容3'.tr,
style: FlutterFlowTheme.of(
context)
.bodyMedium
.override(
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
//todo 配置颜色
color: stringToColor(
"#916D46"), //固定
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
//todo 配置颜色
color: stringToColor(
"#916D46"), //固定
),
),
].divide(SizedBox(
height: AppConstants()

View File

@@ -126,23 +126,19 @@ class _MessagePageState extends State<MessagePage> {
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,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: AppConstants()
.title_text_fontSize,
color:
messageController
.model.type ==
2
? themeController
.currentColor.sc3
: themeController
.currentColor.sc2,
),
),
Obx(() {
return messageController.model
@@ -189,23 +185,19 @@ class _MessagePageState extends State<MessagePage> {
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,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: AppConstants()
.title_text_fontSize,
color:
messageController
.model.type ==
1
? themeController
.currentColor.sc3
: themeController
.currentColor.sc2,
),
),
Obx(() {
return messageController.model
@@ -261,6 +253,7 @@ class _MessagePageState extends State<MessagePage> {
],
),
),
SizedBox(height: 17.rpx),
],
),

View File

@@ -207,17 +207,14 @@ class _MinePageState extends State<MinePage> {
.user!.nick_name ??
'未命名'.tr)
: "未命名".tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
),
Text(
login == 1
@@ -241,19 +238,15 @@ class _MinePageState extends State<MinePage> {
}
})()
: "未知数据".tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color: themeController
.currentColor.sc4,
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: themeController
.currentColor.sc4,
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(height: 20.rpx)),
),
].divide(SizedBox(width: 35.rpx)),
@@ -277,16 +270,14 @@ class _MinePageState extends State<MinePage> {
children: [
Text(
login == 1 ? '编辑'.tr : '我的.去登录'.tr,
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.normal_text_fontSize,
letterSpacing: 0.0,
),
),
Padding(
padding:
@@ -370,17 +361,14 @@ class _MinePageState extends State<MinePage> {
),
Text(
'我的.我的设备'.tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(width: 22.rpx)),
),
@@ -446,17 +434,14 @@ class _MinePageState extends State<MinePage> {
),
Text(
'我的.设备报修'.tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(width: 22.rpx)),
),
@@ -522,17 +507,14 @@ class _MinePageState extends State<MinePage> {
),
Text(
'我的.操作说明'.tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(width: 22.rpx)),
),
@@ -598,17 +580,14 @@ class _MinePageState extends State<MinePage> {
),
Text(
'我的.关注我们'.tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(width: 22.rpx)),
),
@@ -680,17 +659,14 @@ class _MinePageState extends State<MinePage> {
),
Text(
'我的.当前版本'.tr,
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: themeController
.currentColor.sc3,
fontSize: AppConstants()
.title_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(width: 22.rpx)),
),
@@ -699,16 +675,12 @@ class _MinePageState extends State<MinePage> {
children: [
Text(
'V1.0.2506.06',
style:
FlutterFlowTheme.of(context)
.bodyMedium
.override(
fontFamily: 'Inter',
color:
Color(0xFFD9E3EB),
fontSize: 26.rpx,
letterSpacing: 0.0,
),
style: TextStyle(
fontFamily: 'Inter',
color: Color(0xFFD9E3EB),
fontSize: 26.rpx,
letterSpacing: 0.0,
),
),
SvgPicture.asset(
'assets/img/icon/arrow_right.svg',