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
9e2e8a2a
Commit
9e2e8a2a
authored
Aug 19, 2020
by
Mobile : Jetrin Phuekkaew (N'new)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update service sliver list tab
parent
cebda42f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
229 deletions
+20
-229
lib/service/api.dart
+1
-1
lib/ui/shop/shop_Nearby_places.dart
+15
-159
lib/ui/shop/shop_main.dart
+1
-68
lib/ui/shop/shop_service.dart
+3
-1
No files found.
lib/service/api.dart
View file @
9e2e8a2a
...
...
@@ -29,7 +29,7 @@ class Api<T> {
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvYmFja2VuZC11YXQuZmVlbHZlci5jb21cL2FwaVwvbG9naW4iLCJpYXQiOjE1OTYxMDAzNTgsImV4cCI6MTYwMzMwMDM1OCwibmJmIjoxNTk2MTAwMzU4LCJqdGkiOiJ2YjA2S0FHR1JtZDFseEw1Iiwic3ViIjozNzMsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.UkY70AshvW5O4M63XY_Iv2IPBohSUUwnRF1oi46p2zs"
,
};
static
final
String
baseApi
=
"https://backend-uat.feelver.com/api"
;
Future
<
Response
<
T
>>
favorite
(
Object
body
)
async
{
var
_model
;
var
_fail
;
...
...
lib/ui/shop/shop_Nearby_places.dart
View file @
9e2e8a2a
This diff is collapsed.
Click to expand it.
lib/ui/shop/shop_main.dart
View file @
9e2e8a2a
...
...
@@ -161,7 +161,7 @@ class _MainShopState extends State<MainShop> with SingleTickerProviderStateMixi
Column
(
children:
<
Widget
>[
Container
(
color:
Colors
.
white
,
color:
Colors
.
transparent
,
height:
120
,
child:
Wrap
(
alignment:
WrapAlignment
.
start
,
...
...
@@ -186,73 +186,6 @@ class _MainShopState extends State<MainShop> with SingleTickerProviderStateMixi
setState
(()
{});
},
),
FilterChip
(
label:
Text
(
"ที่เที่ยว (5)"
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
15
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
),
onSelected:
(
bool
value
)
{
print
(
"selected"
);
},
),
FilterChip
(
label:
Text
(
"ที่กิน (3)"
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
15
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
),
onSelected:
(
bool
value
)
{
print
(
"selected"
);
},
),
FilterChip
(
label:
Text
(
"ที่พัก (1)"
,
style:
TextStyle
(
color:
Colors
.
white
,
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
),
onSelected:
(
bool
value
)
{
print
(
"selected"
);
},
),
FilterChip
(
label:
Text
(
"กิจกรรม (1)"
,
style:
TextStyle
(
color:
Colors
.
white
,
fontSize:
SizeConfig
.
getFontSize
(
15
),
fontFamily:
"SF_Pro_Text"
,
fontWeight:
FontWeight
.
w500
),
),
backgroundColor:
Color
.
fromRGBO
(
106
,
179
,
170
,
1
),
shape:
StadiumBorder
(
side:
BorderSide
(
color:
Colors
.
white
),
),
onSelected:
(
bool
value
)
{
print
(
"selected"
);
},
),
],
),
),
...
...
lib/ui/shop/shop_service.dart
View file @
9e2e8a2a
...
...
@@ -3,6 +3,8 @@ import 'package:feelverapp/util/SizeConfig.dart';
import
'package:feelverapp/util/rating_star.dart'
;
import
'package:flutter/material.dart'
;
import
'../../service/api.dart'
;
class
ShopServicePage
extends
StatefulWidget
{
@override
_ShopServicePageState
createState
()
=>
_ShopServicePageState
();
...
...
@@ -80,7 +82,7 @@ class _ShopServicePageState extends State<ShopServicePage>
fit:
BoxFit
.
cover
,
)
:
Image
.
network
(
image
,
Api
.
baseApi
+
image
,
fit:
BoxFit
.
cover
,
)),
),
...
...
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