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
d77ee87c
Commit
d77ee87c
authored
Oct 24, 2019
by
杜欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
ed947605
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
MessagePage.dart
lib/NewMessageModel/page/messagePage/MessagePage.dart
+5
-2
common.dart
lib/NewMessageModel/page/messagePage/common.dart
+3
-2
No files found.
lib/NewMessageModel/page/messagePage/MessagePage.dart
View file @
d77ee87c
...
@@ -77,8 +77,11 @@ class _MessagePageState extends BasePage<MessagePage> {
...
@@ -77,8 +77,11 @@ class _MessagePageState extends BasePage<MessagePage> {
ScreenUtil
.
instance
=
ScreenUtil
(
width:
375
,
height:
667
)..
init
(
context
);
ScreenUtil
.
instance
=
ScreenUtil
(
width:
375
,
height:
667
)..
init
(
context
);
return
Scaffold
(
return
Scaffold
(
appBar:
AppBar
(
appBar:
AppBar
(
leading:
baseText
(
leading:
Container
(
"消息"
,
ScreenUtil
.
instance
.
setSp
(
20.0
),
ALColors
.
Color323232
),
margin:
EdgeInsets
.
only
(
left:
ScreenUtil
.
instance
.
setWidth
(
16
),
top:
ScreenUtil
.
instance
.
setHeight
(
16
)),
child:
messageTitle
(
'消息'
),
),
elevation:
0
,
),
),
body:
SmartRefresher
(
body:
SmartRefresher
(
enablePullDown:
false
,
enablePullDown:
false
,
...
...
lib/NewMessageModel/page/messagePage/common.dart
View file @
d77ee87c
...
@@ -27,6 +27,7 @@ Widget messageTop(imgUrl, title, content, count) {
...
@@ -27,6 +27,7 @@ Widget messageTop(imgUrl, title, content, count) {
margin:
EdgeInsets
.
only
(
margin:
EdgeInsets
.
only
(
left:
ScreenUtil
.
instance
.
setWidth
(
4
)),
left:
ScreenUtil
.
instance
.
setWidth
(
4
)),
width:
double
.
infinity
,
width:
double
.
infinity
,
height:
ScreenUtil
.
instance
.
setHeight
(
50
),
child:
Row
(
child:
Row
(
children:
<
Widget
>[
children:
<
Widget
>[
Hero
(
Hero
(
...
@@ -60,7 +61,7 @@ Widget messageTop(imgUrl, title, content, count) {
...
@@ -60,7 +61,7 @@ Widget messageTop(imgUrl, title, content, count) {
getNum
(
count
),
getNum
(
count
),
Positioned
(
Positioned
(
right:
ScreenUtil
.
instance
.
setWidth
(
14
),
right:
ScreenUtil
.
instance
.
setWidth
(
14
),
top:
ScreenUtil
.
instance
.
setHeight
(
20
),
top:
ScreenUtil
.
instance
.
setHeight
(
18
),
child:
Hero
(
child:
Hero
(
tag:
"arrow_right"
,
tag:
"arrow_right"
,
child:
SvgPicture
.
asset
(
child:
SvgPicture
.
asset
(
...
@@ -76,7 +77,7 @@ Widget getNum([int count]) {
...
@@ -76,7 +77,7 @@ Widget getNum([int count]) {
if
(
count
>
0
)
{
if
(
count
>
0
)
{
return
Positioned
(
return
Positioned
(
right:
ScreenUtil
.
instance
.
setWidth
(
30
),
right:
ScreenUtil
.
instance
.
setWidth
(
30
),
top:
ScreenUtil
.
instance
.
setHeight
(
20
),
top:
ScreenUtil
.
instance
.
setHeight
(
18
),
child:
Container
(
child:
Container
(
padding:
EdgeInsets
.
only
(
padding:
EdgeInsets
.
only
(
top:
ScreenUtil
.
instance
.
setHeight
(
2
),
top:
ScreenUtil
.
instance
.
setHeight
(
2
),
...
...
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