Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart_hotel_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
张宏
smart_hotel_app
Commits
1886010b
Commit
1886010b
authored
May 20, 2026
by
张宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2421f3e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
20 deletions
+9
-20
device_online_rate.dart
lib/views/report/index/child/device_online_rate.dart
+9
-20
No files found.
lib/views/report/index/child/device_online_rate.dart
View file @
1886010b
...
...
@@ -39,26 +39,13 @@ class _DeviceOnlineRateState extends State<DeviceOnlineRate> {
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
[
Text
(
rateData
[
'title'
]
as
String
,
style:
TextStyle
(
fontSize:
18
.
sp
,
fontWeight:
FontWeight
.
bold
,
color:
Colors
.
white
,
),
),
Text
(
rateData
[
'rateText'
]
as
String
,
style:
TextStyle
(
fontSize:
18
.
sp
,
fontWeight:
FontWeight
.
bold
,
color:
Color
.
fromRGBO
(
34
,
197
,
94
,
1
),
),
),
],
Text
(
rateData
[
'title'
]
as
String
,
style:
TextStyle
(
fontSize:
18
.
sp
,
fontWeight:
FontWeight
.
bold
,
color:
Colors
.
white
,
),
),
SizedBox
(
height:
20
.
h
),
Row
(
...
...
@@ -78,11 +65,13 @@ class _DeviceOnlineRateState extends State<DeviceOnlineRate> {
value:
rateData
[
'rate'
]
as
double
,
color:
Color
.
fromRGBO
(
34
,
197
,
94
,
1
),
radius:
15
,
title:
''
,
),
PieChartSectionData
(
value:
1
-
(
rateData
[
'rate'
]
as
double
),
color:
Color
.
fromRGBO
(
51
,
65
,
85
,
1
),
radius:
15
,
title:
''
,
),
],
centerSpaceRadius:
50
.
w
,
...
...
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