Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_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
林生雨
gm_flutter
Commits
354c33a9
Commit
354c33a9
authored
Jul 03, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进度条 小星星
parent
b73bd98c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
12 deletions
+64
-12
plan_compare_detail_green_star_all.png
assets/plan_compare_detail_green_star_all.png
+0
-0
plan_compare_detail_green_star_half.png
assets/plan_compare_detail_green_star_half.png
+0
-0
plan_compare_detail_red_star_all.png
assets/plan_compare_detail_red_star_all.png
+0
-0
plan_compare_detail_red_star_half.png
assets/plan_compare_detail_red_star_half.png
+0
-0
PlanCompareDetailModel.dart
...eModel/page/PlanCompareDetail/PlanCompareDetailModel.dart
+0
-1
PlanCompareDetailPage.dart
...ueModel/page/PlanCompareDetail/PlanCompareDetailPage.dart
+64
-11
No files found.
assets/plan_compare_detail_green_star_all.png
0 → 100644
View file @
354c33a9
704 Bytes
assets/plan_compare_detail_green_star_half.png
0 → 100644
View file @
354c33a9
727 Bytes
assets/plan_compare_detail_red_star_all.png
0 → 100644
View file @
354c33a9
688 Bytes
assets/plan_compare_detail_red_star_half.png
0 → 100644
View file @
354c33a9
740 Bytes
lib/ClueModel/page/PlanCompareDetail/PlanCompareDetailModel.dart
View file @
354c33a9
...
...
@@ -11,7 +11,6 @@ import 'package:gm_flutter/ClueModel/server/entity/PlanCompareDetail.dart';
import
'package:gm_flutter/commonModel/GMBase.dart'
;
import
'package:gm_flutter/commonModel/rx/RxDispose.dart'
;
import
'package:flutter_common/commonModel/toast/NativeToast.dart'
;
import
'package:gm_flutter/commonModel/util/PrintUtil.dart'
;
import
'package:gm_flutter/commonModel/bean/Pair.dart'
;
class
PlanCompareDetailModel
extends
BaseModel
{
...
...
lib/ClueModel/page/PlanCompareDetail/PlanCompareDetailPage.dart
View file @
354c33a9
...
...
@@ -2,10 +2,8 @@
* @Author: zx
* @Date: 2020-06-30 17:40:43
* @Last Modified by: zx
* @Last Modified time: 2020-07-0
2 21:43:0
7
* @Last Modified time: 2020-07-0
3 13:47:5
7
*/
import
'package:cached_network_image/cached_network_image.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
...
...
@@ -266,8 +264,9 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> {
),
Positioned
(
right:
20
,
top:
41
,
child:
FiveStarView
(
3
,
5
),
top:
46
,
child:
FiveStarView
(
3
,
5
,
starAssets:
'assets/plan_compare_detail_green_star_all.png'
),
),
Positioned
(
right:
20
,
...
...
@@ -283,9 +282,34 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> {
right:
20
,
bottom:
30
,
child:
Container
(
color:
Colors
.
red
,
height:
14
,
height:
7
,
width:
95
,
child:
Stack
(
children:
<
Widget
>[
Positioned
(
left:
0
,
top:
0
,
width:
95
,
height:
7
,
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
3.5
),
child:
Container
(
color:
Color
(
0xffF7F6FA
),
),
),
),
Positioned
(
right:
0
,
top:
0
,
width:
95
*
0.7
,
height:
7
,
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
3.5
),
child:
Container
(
color:
Color
(
0xff3FB5AF
),
),
),
),
]),
)),
]));
}
...
...
@@ -306,11 +330,15 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> {
),
Positioned
(
left:
20
,
top:
4
1
,
top:
4
6
,
child:
Container
(
height:
13
,
width:
81
,
child:
FiveStarView
(
3
,
5
),
child:
FiveStarView
(
3
,
5
,
starAssets:
'assets/plan_compare_detail_red_star_all.png'
,
),
)),
Positioned
(
left:
20
,
...
...
@@ -326,9 +354,34 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> {
left:
20
,
bottom:
30
,
child:
Container
(
color:
Colors
.
red
,
height:
14
,
height:
7
,
width:
95
,
child:
Stack
(
children:
<
Widget
>[
Positioned
(
left:
0
,
top:
0
,
width:
95
,
height:
7
,
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
3.5
),
child:
Container
(
color:
Color
(
0xffF7F6FA
),
),
),
),
Positioned
(
left:
0
,
top:
0
,
width:
95
*
0.3
,
height:
7
,
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
3.5
),
child:
Container
(
color:
Color
(
0xffF25874
),
),
),
),
]),
)),
]));
}
...
...
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