Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
feelver
Overview
Overview
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
2F-ART
feelver
Commits
820b71a3
Commit
820b71a3
authored
Jul 17, 2020
by
Mobile : Jetrin Phuekkaew (N'new)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://gitlab.2fellows.com/art/feelver
into develop
# Conflicts: # lib/main.dart
parents
13c213f6
c2e95add
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
203 additions
and
22 deletions
+203
-22
lib/main.dart
+4
-1
lib/ui/booking/booking_detail.dart
+177
-8
lib/ui/booking/bookingflow.dart
+17
-8
lib/ui/shop/shop.dart
+5
-5
No files found.
lib/main.dart
View file @
820b71a3
import
'package:feelverapp/ui/booking/booking_detail.dart'
;
import
'package:feelverapp/ui/login/login.dart'
;
import
'package:feelverapp/ui/my_reviews/my_reviews_page.dart'
;
import
'package:feelverapp/ui/shop/shop_main.dart'
;
import
'package:feelverapp/ui/splashscreen/splash_screen_page.dart'
;
...
...
@@ -18,8 +20,9 @@ class MyApp extends StatelessWidget {
theme:
ThemeData
(
primarySwatch:
Colors
.
blue
,
),
// home: MainShop(),
home:
SplashScreenPage
(),
);
}
}
lib/ui/booking/booking_detail.dart
View file @
820b71a3
...
...
@@ -414,6 +414,170 @@ class _BookingDetailState extends State<BookingDetail> {
),
),
Container
(
alignment:
Alignment
.
topLeft
,
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
24
),
left:
SizeConfig
.
getPadding
(
24
),
right:
SizeConfig
.
getPadding
(
24
)),
child:
Text
(
'Thai Body Balance 60 นาที'
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Colors
.
black87
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
SizedBox
(
height:
SizeConfig
.
getHeight
(
16
),
),
Row
(
children:
<
Widget
>[
SizedBox
(
width:
SizeConfig
.
getWidth
(
24
),
),
Image
.
asset
(
'assets/images/clock.png'
,
width:
SizeConfig
.
getWidth
(
20
),
height:
SizeConfig
.
getWidth
(
20
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
10
),
),
Text
(
'150 นาที'
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Colors
.
black87
,
fontSize:
SizeConfig
.
getFontSize
(
12
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
],
),
Stack
(
children:
<
Widget
>[
Container
(
width:
SizeConfig
.
getWidth
(
50
),
height:
SizeConfig
.
getHeight
(
65
),
color:
Color
.
fromRGBO
(
255
,
0
,
0
,
1
),
margin:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
),
// right: SizeConfig.getPadding(20),
top:
SizeConfig
.
getPadding
(
30
),
bottom:
SizeConfig
.
getPadding
(
20
),
),
),
Container
(
alignment:
Alignment
.
topLeft
,
child:
Text
(
'Sale
\n
50%'
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w700
),
),
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
35
),
// right: SizeConfig.getPadding(20),
top:
SizeConfig
.
getPadding
(
40
),
bottom:
SizeConfig
.
getPadding
(
20
),
),
),
Container
(
alignment:
Alignment
.
topLeft
,
child:
Text
(
'฿199.00'
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Color
.
fromRGBO
(
255
,
0
,
0
,
1
),
fontSize:
SizeConfig
.
getFontSize
(
26
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
90
),
// right: SizeConfig.getPadding(20),
top:
SizeConfig
.
getPadding
(
30
),
bottom:
SizeConfig
.
getPadding
(
20
),
),
),
Container
(
alignment:
Alignment
.
topLeft
,
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
90
),
// right: SizeConfig.getPadding(20),
top:
SizeConfig
.
getPadding
(
60
),
bottom:
SizeConfig
.
getPadding
(
20
),
),
child:
Text
(
'฿599.00 '
,
textAlign:
TextAlign
.
left
,
style:
TextStyle
(
color:
Colors
.
black45
,
fontSize:
SizeConfig
.
getFontSize
(
20
),
decoration:
TextDecoration
.
lineThrough
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
Container
(
margin:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
10
),
left:
SizeConfig
.
getPadding
(
250
)),
// color: Colors.red,
width:
SizeConfig
.
getWidth
(
100
),
height:
SizeConfig
.
getHeight
(
45
),
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
),
),
child:
Container
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
6
)),
child:
Text
(
'หยิบใส่รถเข็น'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
),
Container
(
margin:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
55
),
left:
SizeConfig
.
getPadding
(
250
)),
// color: Colors.red,
width:
SizeConfig
.
getWidth
(
100
),
height:
SizeConfig
.
getHeight
(
45
),
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
232
,
166
,
180
,
1
),
),
child:
Container
(
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
6
)),
child:
Text
(
'จองเลย'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
)
,
],
),
Container
(
padding:
EdgeInsets
.
only
(
left:
SizeConfig
.
getPadding
(
24
),
top:
SizeConfig
.
getPadding
(
3
),
...
...
@@ -460,9 +624,12 @@ class _BookingDetailState extends State<BookingDetail> {
alignment:
Alignment
.
topLeft
,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
4
,
height:
SizeConfig
.
getHeight
(
50
),
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
border:
Border
.
all
(
color:
Colors
.
grey
,
width:
1
,
),
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
)
,
color:
Color
s
.
transparent
,
),
child:
Container
(
alignment:
Alignment
.
topCenter
,
...
...
@@ -471,7 +638,7 @@ class _BookingDetailState extends State<BookingDetail> {
'90 นาที'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
color:
Colors
.
grey
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
...
...
@@ -483,18 +650,21 @@ class _BookingDetailState extends State<BookingDetail> {
alignment:
Alignment
.
topLeft
,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
4
,
height:
SizeConfig
.
getHeight
(
50
),
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
border:
Border
.
all
(
color:
Colors
.
grey
,
width:
1
,
),
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
)
,
color:
Color
s
.
transparent
,
),
child:
Container
(
alignment:
Alignment
.
topCenter
,
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
10
)),
child:
Text
(
'
9
0 นาที'
,
'
12
0 นาที'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
color:
Colors
.
grey
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
...
...
@@ -512,4 +682,3 @@ class _BookingDetailState extends State<BookingDetail> {
);
}
}
lib/ui/booking/bookingflow.dart
View file @
820b71a3
...
...
@@ -456,13 +456,17 @@ class _BookingFlowState extends State<BookingFlow> {
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
16
),),
Container
(
alignment:
Alignment
.
topLeft
,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
4
,
height:
SizeConfig
.
getHeight
(
50
),
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
border:
Border
.
all
(
color:
Colors
.
grey
,
width:
1
,
),
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
)
,
color:
Color
s
.
transparent
,
),
child:
Container
(
alignment:
Alignment
.
topCenter
,
...
...
@@ -471,30 +475,35 @@ class _BookingFlowState extends State<BookingFlow> {
'90 นาที'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
color:
Colors
.
grey
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
16
),),
),
SizedBox
(
width:
SizeConfig
.
getWidth
(
16
),),
Container
(
alignment:
Alignment
.
topLeft
,
width:
MediaQuery
.
of
(
context
).
size
.
width
/
4
,
height:
SizeConfig
.
getHeight
(
50
),
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
border:
Border
.
all
(
color:
Colors
.
grey
,
width:
1
,
),
borderRadius:
BorderRadius
.
circular
(
24
),
color:
Color
.
fromRGBO
(
54
,
148
,
163
,
1
)
,
color:
Color
s
.
transparent
,
),
child:
Container
(
alignment:
Alignment
.
topCenter
,
padding:
EdgeInsets
.
only
(
top:
SizeConfig
.
getPadding
(
10
)),
child:
Text
(
'
9
0 นาที'
,
'
12
0 นาที'
,
textAlign:
TextAlign
.
center
,
style:
TextStyle
(
color:
Colors
.
white
,
color:
Colors
.
grey
,
fontSize:
SizeConfig
.
getFontSize
(
14
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
...
...
lib/ui/shop/shop.dart
View file @
820b71a3
...
...
@@ -277,7 +277,7 @@ class _ShopState extends State<Shop> {
),
Positioned
(
top:
SizeConfig
.
getPadding
(
170
),
right:
SizeConfig
.
getPadding
(
4
0
),
right:
SizeConfig
.
getPadding
(
3
0
),
child:
Container
(
child:
Text
(
"SPA Cenvaree @ Centara
\n
Grand CentralWorld Bangkok"
,
...
...
@@ -307,7 +307,7 @@ class _ShopState extends State<Shop> {
),
Positioned
(
top:
SizeConfig
.
getPadding
(
220
),
left:
SizeConfig
.
getPadding
(
9
0
),
left:
SizeConfig
.
getPadding
(
10
0
),
child:
Container
(
padding:
EdgeInsets
.
only
(
left:
5
),
child:
Row
(
...
...
@@ -315,7 +315,7 @@ class _ShopState extends State<Shop> {
Column
(
children:
<
Widget
>[
SizedBox
(
width:
9
0.0
,
width:
7
0.0
,
height:
35.0
,
child:
FlatButton
(
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
...
...
@@ -340,7 +340,7 @@ class _ShopState extends State<Shop> {
width:
SizeConfig
.
getWidth
(
5
),
),
SizedBox
(
width:
9
0.0
,
width:
7
0.0
,
height:
30.0
,
child:
FlatButton
(
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
...
...
@@ -363,7 +363,7 @@ class _ShopState extends State<Shop> {
width:
SizeConfig
.
getWidth
(
5
),
),
SizedBox
(
width:
9
0.0
,
width:
7
0.0
,
height:
30.0
,
child:
FlatButton
(
color:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
...
...
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