Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
laki_icu_app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张宏
laki_icu_app
Commits
f732ada7
Commit
f732ada7
authored
Jun 25, 2026
by
akari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 文件结构调整
parent
7a77a537
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
97 additions
and
21 deletions
+97
-21
settings_about_index_view.dart
lib/views/settings/about/settings_about_index_view.dart
+1
-1
settings_about_panel.dart
lib/views/settings/about/widgets/settings_about_panel.dart
+3
-3
customer_service_index_view.dart
...ettings/customer_service/customer_service_index_view.dart
+2
-2
customer_service_panel.dart
...ings/customer_service/widgets/customer_service_panel.dart
+4
-9
factory_settings_index_view.dart
...ettings/factory_settings/factory_settings_index_view.dart
+2
-2
factory_settings_panel.dart
...ings/factory_settings/widgets/factory_settings_panel.dart
+27
-0
remote_control_index_view.dart
...ws/settings/remote_control/remote_control_index_view.dart
+2
-2
remote_control_panel.dart
...settings/remote_control/widgets/remote_control_panel.dart
+27
-0
software_update_index_view.dart
.../settings/software_update/software_update_index_view.dart
+2
-2
software_update_panel.dart
...ttings/software_update/widgets/software_update_panel.dart
+27
-0
No files found.
lib/views/settings/about/settings_about_index_view.dart
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'../widgets/settings_about_panel.dart'
;
import
'cubit/settings_about_index_cubit.dart'
;
import
'cubit/settings_about_index_cubit.dart'
;
import
'widgets/settings_about_panel.dart'
;
class
SettingsAboutIndexView
extends
StatelessWidget
{
class
SettingsAboutIndexView
extends
StatelessWidget
{
const
SettingsAboutIndexView
({
super
.
key
});
const
SettingsAboutIndexView
({
super
.
key
});
...
...
lib/views/settings/widgets/settings_about_panel.dart
→
lib/views/settings/
about/
widgets/settings_about_panel.dart
View file @
f732ada7
...
@@ -4,9 +4,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
...
@@ -4,9 +4,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import
'package:laki_icu_app/blocs/bluetooth_read/bluetooth_read_bloc.dart'
;
import
'package:laki_icu_app/blocs/bluetooth_read/bluetooth_read_bloc.dart'
;
import
'package:laki_icu_app/blocs/bluetooth_read/bluetooth_read_state.dart'
;
import
'package:laki_icu_app/blocs/bluetooth_read/bluetooth_read_state.dart'
;
import
'../cubit/settings_index_cubit.dart'
;
import
'../
../
cubit/settings_index_cubit.dart'
;
import
'../cubit/settings_index_state.dart'
;
import
'../
../
cubit/settings_index_state.dart'
;
import
'settings_panel_frame.dart'
;
import
'
../../widgets/
settings_panel_frame.dart'
;
class
SettingsAboutPanel
extends
StatelessWidget
{
class
SettingsAboutPanel
extends
StatelessWidget
{
const
SettingsAboutPanel
({
super
.
key
});
const
SettingsAboutPanel
({
super
.
key
});
...
...
lib/views/settings/customer_service/customer_service_index_view.dart
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'../widgets/settings_title_panel.dart'
;
import
'cubit/customer_service_index_cubit.dart'
;
import
'cubit/customer_service_index_cubit.dart'
;
import
'widgets/customer_service_panel.dart'
;
class
CustomerServiceIndexView
extends
StatelessWidget
{
class
CustomerServiceIndexView
extends
StatelessWidget
{
const
CustomerServiceIndexView
({
super
.
key
});
const
CustomerServiceIndexView
({
super
.
key
});
...
@@ -11,7 +11,7 @@ class CustomerServiceIndexView extends StatelessWidget {
...
@@ -11,7 +11,7 @@ class CustomerServiceIndexView extends StatelessWidget {
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
BlocProvider
(
return
BlocProvider
(
create:
(
_
)
=>
CustomerServiceIndexCubit
(),
create:
(
_
)
=>
CustomerServiceIndexCubit
(),
child:
const
SettingsTitlePanel
(
title:
'客户服务'
),
child:
const
CustomerServicePanel
(
),
);
);
}
}
}
}
lib/views/settings/
widgets/settings_titl
e_panel.dart
→
lib/views/settings/
customer_service/widgets/customer_servic
e_panel.dart
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'settings_panel_frame.dart'
;
import
'
../../widgets/
settings_panel_frame.dart'
;
class
SettingsTitlePanel
extends
StatelessWidget
{
class
CustomerServicePanel
extends
StatelessWidget
{
const
SettingsTitlePanel
({
const
CustomerServicePanel
({
super
.
key
});
super
.
key
,
required
this
.
title
,
});
final
String
title
;
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
...
@@ -19,7 +14,7 @@ class SettingsTitlePanel extends StatelessWidget {
...
@@ -19,7 +14,7 @@ class SettingsTitlePanel extends StatelessWidget {
child:
Align
(
child:
Align
(
alignment:
Alignment
.
topLeft
,
alignment:
Alignment
.
topLeft
,
child:
Text
(
child:
Text
(
title
,
'客户服务'
,
style:
TextStyle
(
style:
TextStyle
(
color:
Colors
.
white
,
color:
Colors
.
white
,
fontSize:
34
.
sp
,
fontSize:
34
.
sp
,
...
...
lib/views/settings/factory_settings/factory_settings_index_view.dart
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'../widgets/settings_title_panel.dart'
;
import
'cubit/factory_settings_index_cubit.dart'
;
import
'cubit/factory_settings_index_cubit.dart'
;
import
'widgets/factory_settings_panel.dart'
;
class
FactorySettingsIndexView
extends
StatelessWidget
{
class
FactorySettingsIndexView
extends
StatelessWidget
{
const
FactorySettingsIndexView
({
super
.
key
});
const
FactorySettingsIndexView
({
super
.
key
});
...
@@ -11,7 +11,7 @@ class FactorySettingsIndexView extends StatelessWidget {
...
@@ -11,7 +11,7 @@ class FactorySettingsIndexView extends StatelessWidget {
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
BlocProvider
(
return
BlocProvider
(
create:
(
_
)
=>
FactorySettingsIndexCubit
(),
create:
(
_
)
=>
FactorySettingsIndexCubit
(),
child:
const
SettingsTitlePanel
(
title:
'出厂设置'
),
child:
const
FactorySettingsPanel
(
),
);
);
}
}
}
}
lib/views/settings/factory_settings/widgets/factory_settings_panel.dart
0 → 100644
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'../../widgets/settings_panel_frame.dart'
;
class
FactorySettingsPanel
extends
StatelessWidget
{
const
FactorySettingsPanel
({
super
.
key
});
@override
Widget
build
(
BuildContext
context
)
{
return
SettingsPanelFrame
(
backgroundAsset:
settingsAssetPanelMain
,
padding:
EdgeInsets
.
all
(
42
.
w
),
child:
Align
(
alignment:
Alignment
.
topLeft
,
child:
Text
(
'出厂设置'
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
34
.
sp
,
fontWeight:
FontWeight
.
w800
,
),
),
),
);
}
}
lib/views/settings/remote_control/remote_control_index_view.dart
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'../widgets/settings_title_panel.dart'
;
import
'cubit/remote_control_index_cubit.dart'
;
import
'cubit/remote_control_index_cubit.dart'
;
import
'widgets/remote_control_panel.dart'
;
class
RemoteControlIndexView
extends
StatelessWidget
{
class
RemoteControlIndexView
extends
StatelessWidget
{
const
RemoteControlIndexView
({
super
.
key
});
const
RemoteControlIndexView
({
super
.
key
});
...
@@ -11,7 +11,7 @@ class RemoteControlIndexView extends StatelessWidget {
...
@@ -11,7 +11,7 @@ class RemoteControlIndexView extends StatelessWidget {
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
BlocProvider
(
return
BlocProvider
(
create:
(
_
)
=>
RemoteControlIndexCubit
(),
create:
(
_
)
=>
RemoteControlIndexCubit
(),
child:
const
SettingsTitlePanel
(
title:
'远程控制'
),
child:
const
RemoteControlPanel
(
),
);
);
}
}
}
}
lib/views/settings/remote_control/widgets/remote_control_panel.dart
0 → 100644
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'../../widgets/settings_panel_frame.dart'
;
class
RemoteControlPanel
extends
StatelessWidget
{
const
RemoteControlPanel
({
super
.
key
});
@override
Widget
build
(
BuildContext
context
)
{
return
SettingsPanelFrame
(
backgroundAsset:
settingsAssetPanelMain
,
padding:
EdgeInsets
.
all
(
42
.
w
),
child:
Align
(
alignment:
Alignment
.
topLeft
,
child:
Text
(
'远程控制'
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
34
.
sp
,
fontWeight:
FontWeight
.
w800
,
),
),
),
);
}
}
lib/views/settings/software_update/software_update_index_view.dart
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'../widgets/settings_title_panel.dart'
;
import
'cubit/software_update_index_cubit.dart'
;
import
'cubit/software_update_index_cubit.dart'
;
import
'widgets/software_update_panel.dart'
;
class
SoftwareUpdateIndexView
extends
StatelessWidget
{
class
SoftwareUpdateIndexView
extends
StatelessWidget
{
const
SoftwareUpdateIndexView
({
super
.
key
});
const
SoftwareUpdateIndexView
({
super
.
key
});
...
@@ -11,7 +11,7 @@ class SoftwareUpdateIndexView extends StatelessWidget {
...
@@ -11,7 +11,7 @@ class SoftwareUpdateIndexView extends StatelessWidget {
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
BlocProvider
(
return
BlocProvider
(
create:
(
_
)
=>
SoftwareUpdateIndexCubit
(),
create:
(
_
)
=>
SoftwareUpdateIndexCubit
(),
child:
const
S
ettingsTitlePanel
(
title:
'软件更新'
),
child:
const
S
oftwareUpdatePanel
(
),
);
);
}
}
}
}
lib/views/settings/software_update/widgets/software_update_panel.dart
0 → 100644
View file @
f732ada7
import
'package:flutter/material.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'../../widgets/settings_panel_frame.dart'
;
class
SoftwareUpdatePanel
extends
StatelessWidget
{
const
SoftwareUpdatePanel
({
super
.
key
});
@override
Widget
build
(
BuildContext
context
)
{
return
SettingsPanelFrame
(
backgroundAsset:
settingsAssetPanelMain
,
padding:
EdgeInsets
.
all
(
42
.
w
),
child:
Align
(
alignment:
Alignment
.
topLeft
,
child:
Text
(
'软件更新'
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
34
.
sp
,
fontWeight:
FontWeight
.
w800
,
),
),
),
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment