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
1cfd5756
Commit
1cfd5756
authored
Oct 23, 2019
by
郑智刚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
结构调整 创建attention文件夹,承载通知页面,appbar使用基础组件
parent
ac731df2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
22 deletions
+10
-22
NewMessageRouterImpl.dart
lib/NewMessageModel/NewMessageRouterImpl.dart
+1
-1
AttentionListItem.dart
lib/NewMessageModel/page/attention/AttentionListItem.dart
+1
-0
AttentionModel.dart
lib/NewMessageModel/page/attention/AttentionModel.dart
+0
-0
AttentionPage.dart
lib/NewMessageModel/page/attention/AttentionPage.dart
+7
-20
Jump.dart
lib/NewMessageModel/util/Jump.dart
+1
-1
No files found.
lib/NewMessageModel/NewMessageRouterImpl.dart
View file @
1cfd5756
import
'package:flutter/widgets.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/NewMessageRouter.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/MessagePage.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/AttentionPage.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/
attention/
AttentionPage.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/focusPage/FocusPage.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/likePage/LikePage.dart'
;
...
...
lib/NewMessageModel/page/AttentionListItem.dart
→
lib/NewMessageModel/page/
attention/
AttentionListItem.dart
View file @
1cfd5756
...
...
@@ -86,6 +86,7 @@ class AttentionListItem extends StatelessWidget {
@override
Widget
build
(
BuildContext
context
)
{
ScreenUtil
.
instance
=
ScreenUtil
(
width:
375.0
,
height:
667.0
,
allowFontScaling:
true
)..
init
(
context
);
return
Container
(
child:
Row
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
...
...
lib/NewMessageModel/page/AttentionModel.dart
→
lib/NewMessageModel/page/
attention/
AttentionModel.dart
View file @
1cfd5756
File moved
lib/NewMessageModel/page/AttentionPage.dart
→
lib/NewMessageModel/page/
attention/
AttentionPage.dart
View file @
1cfd5756
...
...
@@ -2,13 +2,15 @@ import 'package:flutter/cupertino.dart';
import
'package:flutter/material.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'package:flutter_svg/flutter_svg.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/
AttentionModel
.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/
AttentionListItem
.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/
attention/AttentionListItem
.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/
attention/AttentionModel
.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/service/remote/entity/AttentionEntity.dart'
;
import
'package:gmalpha_flutter/commonModel/base/BasePage.dart'
;
import
'package:gmalpha_flutter/res/value/ALColors.dart'
;
import
'package:pull_to_refresh/pull_to_refresh.dart'
;
import
'package:gmalpha_flutter/commonModel/base/BaseComponent.dart'
;
double
width15
=
ScreenUtil
.
instance
.
setWidth
(
15.0
);
double
width16
=
ScreenUtil
.
instance
.
setWidth
(
16.0
);
double
width10
=
ScreenUtil
.
instance
.
setWidth
(
10.0
);
...
...
@@ -151,24 +153,9 @@ class _AttentionPageState extends BasePage<AttentionPage> {
ScreenUtil
.
instance
=
ScreenUtil
(
width:
375.0
,
height:
667.0
)..
init
(
context
);
return
Scaffold
(
backgroundColor:
Colors
.
white
,
appBar:
AppBar
(
elevation:
0.0
,
leading:
GestureDetector
(
onTap:
()
{
Navigator
.
pop
(
context
);
},
child:
Padding
(
padding:
EdgeInsets
.
only
(
top:
height10
,
right:
width10
,
bottom:
height10
),
child:
Center
(
child:
SvgPicture
.
asset
(
"images/left_arrow.svg"
,
color:
Color
(
0xff323232
)),
),
)
),
),
appBar:
baseAppBar
(
backClick:
()
{
Navigator
.
pop
(
context
);
}),
body:
SmartRefresher
(
enablePullDown:
false
,
enablePullUp:
true
,
...
...
lib/NewMessageModel/util/Jump.dart
View file @
1cfd5756
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/AttentionPage.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/
attention/
AttentionPage.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/focusPage/FocusPage.dart'
;
import
'package:gmalpha_flutter/NewMessageModel/page/likePage/LikePage.dart'
;
import
'package:gmalpha_flutter/commonModel/base/AppBase.dart'
;
...
...
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