Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gmalpha_flutter
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
mobile
gmalpha_flutter
Commits
192029fd
Commit
192029fd
authored
Sep 26, 2019
by
杜欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui调整
parent
3ccaf436
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
13 deletions
+17
-13
ActivityReportPage.dart
lib/ActivityReportModel/page/ActivityReportPage.dart
+17
-13
No files found.
lib/ActivityReportModel/page/ActivityReportPage.dart
View file @
192029fd
...
@@ -152,15 +152,16 @@ class TopCard extends StatelessWidget {
...
@@ -152,15 +152,16 @@ class TopCard extends StatelessWidget {
_percentageContainer
(
val
)
{
_percentageContainer
(
val
)
{
return
Container
(
return
Container
(
child:
Row
(
height:
ScreenUtil
().
setHeight
(
28
),
child:
Row
(
children:
<
Widget
>[
children:
<
Widget
>[
Text
(
Text
(
'
$val
%'
,
'
$val
%'
,
style:
TextStyle
(
style:
TextStyle
(
fontSize:
24
,
fontSize:
ScreenUtil
().
setSp
(
20
)
,
color:
_goldenColor
,
color:
_goldenColor
,
fontWeight:
FontWeight
.
bold
,
fontWeight:
FontWeight
.
bold
height:
34
/
24
),
),
),
),
SizedBox
(
width:
4
),
SizedBox
(
width:
4
),
Text
(
Text
(
...
@@ -177,16 +178,17 @@ class TopCard extends StatelessWidget {
...
@@ -177,16 +178,17 @@ class TopCard extends StatelessWidget {
_rankingContainer
(
val
)
{
_rankingContainer
(
val
)
{
return
Container
(
return
Container
(
height:
ScreenUtil
().
setHeight
(
28
),
child:
Row
(
child:
Row
(
children:
<
Widget
>[
children:
<
Widget
>[
SizedBox
(
width:
4
),
SizedBox
(
width:
4
),
Text
(
Text
(
'
$val
'
,
'
$val
'
,
style:
TextStyle
(
style:
TextStyle
(
fontSize:
24
,
fontSize:
ScreenUtil
().
setSp
(
20
)
,
color:
_goldenColor
,
color:
_goldenColor
,
fontWeight:
FontWeight
.
bold
,
fontWeight:
FontWeight
.
bold
height:
34
/
24
),
),
),
),
SizedBox
(
width:
4
),
SizedBox
(
width:
4
),
Text
(
Text
(
...
@@ -271,7 +273,8 @@ class TopCard extends StatelessWidget {
...
@@ -271,7 +273,8 @@ class TopCard extends StatelessWidget {
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
children:
<
Widget
>[
Container
(
Container
(
margin:
EdgeInsets
.
only
(
height:
ScreenUtil
().
setHeight
(
15
),
padding:
EdgeInsets
.
only
(
left:
ScreenUtil
().
setWidth
(
8
),
left:
ScreenUtil
().
setWidth
(
8
),
top:
ScreenUtil
().
setHeight
(
4
)),
top:
ScreenUtil
().
setHeight
(
4
)),
child:
Text
(
'你的氪金量超过了'
,
child:
Text
(
'你的氪金量超过了'
,
...
@@ -287,8 +290,8 @@ class TopCard extends StatelessWidget {
...
@@ -287,8 +290,8 @@ class TopCard extends StatelessWidget {
height:
ScreenUtil
().
setHeight
(
32
),
height:
ScreenUtil
().
setHeight
(
32
),
),
),
Positioned
(
Positioned
(
right:
ScreenUtil
().
setWidth
(
8
),
right:
ScreenUtil
().
setWidth
(
4
),
bottom:
0
,
bottom:
ScreenUtil
().
setHeight
(
2
)
,
child:
AnimationNumber
(
child:
AnimationNumber
(
targetNmber:
share
.
beat
.
toDouble
(),
targetNmber:
share
.
beat
.
toDouble
(),
delay:
1000
,
delay:
1000
,
...
@@ -307,7 +310,8 @@ class TopCard extends StatelessWidget {
...
@@ -307,7 +310,8 @@ class TopCard extends StatelessWidget {
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
children:
<
Widget
>[
Container
(
Container
(
margin:
EdgeInsets
.
only
(
height:
ScreenUtil
().
setHeight
(
15
),
padding:
EdgeInsets
.
only
(
top:
ScreenUtil
().
setHeight
(
4
),
top:
ScreenUtil
().
setHeight
(
4
),
left:
ScreenUtil
().
setWidth
(
8
)),
left:
ScreenUtil
().
setWidth
(
8
)),
child:
Text
(
'你的氪金排名为全国'
,
child:
Text
(
'你的氪金排名为全国'
,
...
@@ -322,8 +326,8 @@ class TopCard extends StatelessWidget {
...
@@ -322,8 +326,8 @@ class TopCard extends StatelessWidget {
height:
ScreenUtil
().
setHeight
(
32
),
height:
ScreenUtil
().
setHeight
(
32
),
),
),
Positioned
(
Positioned
(
right:
ScreenUtil
().
setWidth
(
8
),
right:
ScreenUtil
().
setWidth
(
6
),
bottom:
0
,
bottom:
ScreenUtil
().
setHeight
(
2
)
,
child:
AnimationNumber
(
child:
AnimationNumber
(
targetNmber:
share
.
rank
.
toDouble
(),
targetNmber:
share
.
rank
.
toDouble
(),
delay:
1000
,
delay:
1000
,
...
...
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