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
24eabbab
Commit
24eabbab
authored
Jun 24, 2026
by
akari
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.ruanyiit.com/zhanghong/laki_icu_app
parents
bf7e72d1
53839dd5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
dialog_alert_bg.png
lib/assets/monitoring/dialog_alert_bg.png
+0
-0
monitoring_index_view.dart
lib/views/monitoring/index/monitoring_index_view.dart
+4
-1
monitoring_alert_detail_dialog.dart
...itoring/index/widgets/monitoring_alert_detail_dialog.dart
+6
-6
video_player_widget.dart
lib/views/monitoring/index/widgets/video_player_widget.dart
+4
-3
No files found.
lib/assets/monitoring/dialog_alert_bg.png
View replaced file @
bf7e72d1
View file @
24eabbab
This diff is collapsed.
Click to expand it.
lib/views/monitoring/index/monitoring_index_view.dart
View file @
24eabbab
...
@@ -41,6 +41,7 @@ class MonitoringIndexContent extends StatefulWidget {
...
@@ -41,6 +41,7 @@ class MonitoringIndexContent extends StatefulWidget {
class
_MonitoringIndexContentState
extends
State
<
MonitoringIndexContent
>
{
class
_MonitoringIndexContentState
extends
State
<
MonitoringIndexContent
>
{
late
final
MonitoringIndexCubit
_monitoringIndexCubit
;
late
final
MonitoringIndexCubit
_monitoringIndexCubit
;
StreamSubscription
<
OpenBluetoothScanEvent
>?
_bluetoothScanEventSub
;
StreamSubscription
<
OpenBluetoothScanEvent
>?
_bluetoothScanEventSub
;
bool
_isAlertDialogShowing
=
false
;
@override
@override
void
initState
()
{
void
initState
()
{
...
@@ -62,7 +63,8 @@ class _MonitoringIndexContentState extends State<MonitoringIndexContent> {
...
@@ -62,7 +63,8 @@ class _MonitoringIndexContentState extends State<MonitoringIndexContent> {
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
BlocListener
<
MonitoringIndexCubit
,
MonitoringIndexState
>(
return
BlocListener
<
MonitoringIndexCubit
,
MonitoringIndexState
>(
listener:
(
context
,
state
)
{
listener:
(
context
,
state
)
{
if
(
state
.
selectedAlert
!=
null
)
{
if
(
state
.
selectedAlert
!=
null
&&
!
_isAlertDialogShowing
)
{
_isAlertDialogShowing
=
true
;
_showAlertDetailDialog
(
state
.
selectedAlert
!);
_showAlertDetailDialog
(
state
.
selectedAlert
!);
}
}
},
},
...
@@ -265,6 +267,7 @@ class _MonitoringIndexContentState extends State<MonitoringIndexContent> {
...
@@ -265,6 +267,7 @@ class _MonitoringIndexContentState extends State<MonitoringIndexContent> {
child:
MonitoringAlertDetailDialog
(
alert:
alert
),
child:
MonitoringAlertDetailDialog
(
alert:
alert
),
),
),
).
then
((
_
)
{
).
then
((
_
)
{
_isAlertDialogShowing
=
false
;
_monitoringIndexCubit
.
clearSelectedAlert
();
_monitoringIndexCubit
.
clearSelectedAlert
();
});
});
}
}
...
...
lib/views/monitoring/index/widgets/monitoring_alert_detail_dialog.dart
View file @
24eabbab
...
@@ -50,12 +50,12 @@ class MonitoringAlertDetailDialog extends StatelessWidget {
...
@@ -50,12 +50,12 @@ class MonitoringAlertDetailDialog extends StatelessWidget {
return
Container
(
return
Container
(
padding:
EdgeInsets
.
fromLTRB
(
40
.
w
,
24
.
h
,
40
.
w
,
24
.
h
),
padding:
EdgeInsets
.
fromLTRB
(
40
.
w
,
24
.
h
,
40
.
w
,
24
.
h
),
decoration:
const
BoxDecoration
(
decoration:
const
BoxDecoration
(
border:
Border
(
//
border: Border(
bottom:
BorderSide
(
//
bottom: BorderSide(
color:
Color
(
0xFF00D4FF
),
//
color: Color(0xFF00D4FF),
width:
2
,
// width: 1
,
),
//
),
),
//
),
),
),
child:
Row
(
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
mainAxisAlignment:
MainAxisAlignment
.
center
,
...
...
lib/views/monitoring/index/widgets/video_player_widget.dart
View file @
24eabbab
...
@@ -88,9 +88,10 @@ class VideoPlayerWidget extends StatelessWidget {
...
@@ -88,9 +88,10 @@ class VideoPlayerWidget extends StatelessWidget {
),
),
),
),
// 模式切换按钮(右下角倒数第二个位置)
// // 模式切换按钮(右下角倒数第二个位置)
if
(
onToggleMode
!=
null
&&
!
isSwitchingMode
)
// if (onToggleMode != null && !isSwitchingMode)
_buildToggleModeButton
(),
// _buildToggleModeButton(),
// 全屏按钮(右下角最后一个位置)
// 全屏按钮(右下角最后一个位置)
if
(
_isVideoShowing
)
_buildFullscreenButton
(
context
),
if
(
_isVideoShowing
)
_buildFullscreenButton
(
context
),
...
...
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