Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
getme
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
amal
getme
Commits
0cce2daf
Commit
0cce2daf
authored
Mar 10, 2020
by
Adarsh K
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into adarsh
parents
6d45793e
c57eb366
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
92 additions
and
51 deletions
+92
-51
cart.page.html
src/app/cart/cart.page.html
+18
-24
changeaddress.page.html
src/app/changeaddress/changeaddress.page.html
+6
-3
changeaddress.page.scss
src/app/changeaddress/changeaddress.page.scss
+36
-0
home.page.html
src/app/home/home.page.html
+1
-1
nearby.page.html
src/app/nearby/nearby.page.html
+2
-2
nearby.page.scss
src/app/nearby/nearby.page.scss
+4
-1
pin-2.svg
src/assets/pin-2.svg
+17
-0
pin.svg
src/assets/pin.svg
+7
-14
auth.service.ts
src/config/auth.service.ts
+1
-6
No files found.
src/app/cart/cart.page.html
View file @
0cce2daf
...
...
@@ -68,8 +68,7 @@
<p
class=
"textLeft"
>
Total Price:
</p>
</ion-col>
<ion-col>
<p
class=
"textRight"
>
A$
{{service.formatNumber(cartService.cartTotal.toFixed(2))}}
<p
class=
"textRight"
>
A$ {{service.formatNumber(cartService.cartTotal.toFixed(2))}}
</p>
</ion-col>
</ion-row>
...
...
@@ -114,8 +113,7 @@
<ion-row>
<ion-col
class=
"p0"
>
<h6>
{{addressService.custAddress.building}},
<br
/>
{{addressService.custAddress.landmark}},
{{addressService.custAddress.building}},
<br
/>
{{addressService.custAddress.landmark}},
<br
/>
{{addressService.custAddress.address}}
</h6>
</ion-col>
...
...
@@ -135,8 +133,7 @@
</label>
</div> -->
<div
class=
"payment_method"
>
<input
type=
"radio"
name=
"payments"
id=
"paypal"
name=
"radio-group"
(
click
)="
getwaypaypal
()"
checked=
"true"
/>
<input
type=
"radio"
name=
"payments"
id=
"paypal"
name=
"radio-group"
(
click
)="
getwaypaypal
()"
checked=
"true"
/>
<label
for=
"paypal"
>
<p>
PayPal
</p>
</label>
...
...
@@ -145,8 +142,7 @@
<input class="card_no borderNone widthFull" placeholder="PayPal ID" />
</div> -->
<div
class=
"payment_method"
>
<input
type=
"radio"
name=
"payments"
id=
"afterpay"
name=
"radio-group"
(
click
)="
getwayafterpay
()"
/>
<input
type=
"radio"
name=
"payments"
id=
"afterpay"
name=
"radio-group"
(
click
)="
getwayafterpay
()"
/>
<label
for=
"afterpay"
>
<p>
AfterPay
</p>
</label>
...
...
@@ -156,8 +152,7 @@
<input class="cv_number" placeholder="CVV" />
</div> -->
<div
class=
"payment_method"
>
<input
type=
"radio"
name=
"payments"
id=
"payk"
name=
"radio-group"
(
click
)="
getwaypayk
()"
/>
<input
type=
"radio"
name=
"payments"
id=
"payk"
name=
"radio-group"
(
click
)="
getwaypayk
()"
/>
<label
for=
"payk"
>
<p>
PayK
</p>
</label>
...
...
@@ -183,8 +178,7 @@
<hr
/>
<div
class=
"coupon_code"
>
<div
class=
"promo-row"
>
<input
class=
""
placeholder=
"COUPON CODE: GET50"
#
promo
/><button
class=
"add_btn apply_btn"
(
click
)="
promoApply
(
promo
.
value
)"
>
<input
class=
""
placeholder=
"COUPON CODE: GET50"
#
promo
/><button
class=
"add_btn apply_btn"
(
click
)="
promoApply
(
promo
.
value
)"
>
APPLY
</button>
</div>
...
...
@@ -258,8 +252,7 @@
</div>
<div
class=
"checkout"
(
click
)="
next
(
1
)"
>
CHECKOUT
</div>
</div>
<div
class=
"footer_btn"
*
ngIf=
"cartService.carts && cartService.carts.length > 0"
[
hidden
]="
currentIndex
!=
1
"
(
click
)="
next
(
2
);"
>
<div
class=
"footer_btn"
*
ngIf=
"cartService.carts && cartService.carts.length > 0"
[
hidden
]="
currentIndex
!=
1
"
(
click
)="
next
(
2
);"
>
PAY
</div>
...
...
@@ -290,9 +283,14 @@
</ion-grid>
</div>
<ion-content
class=
"sort_wrappper"
>
<agm-map
[
zoom
]="
20
"
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
disableDefaultUI
]="
false
"
[
zoomControl
]="
false
"
[
backgroundColor
]="'
rgba
(
29
,
27
,
130
,
0
.
2
)'"
>
<agm-marker
[
latitude
]="
lat
"
[
longitude
]="
lng
"
></agm-marker>
<agm-map
[
zoom
]="
20
"
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
disableDefaultUI
]="
false
"
[
zoomControl
]="
false
"
[
backgroundColor
]="'
rgba
(
29
,
27
,
130
,
0
.
2
)'"
>
<agm-marker
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
iconUrl
]="
{
url:
'./
assets
/
pin-2
.
svg
',
scaledSize:
{
width:
28
,
height:
40
}}"
></agm-marker>
</agm-map>
<div
class=
"add_address_wrapper"
>
<h5>
...
...
@@ -301,15 +299,12 @@
<div
class=
"clear"
></div>
</h5>
<ul
*
ngIf=
"addressService.addressList && addressService.addressList.length > 0"
>
<li
*
ngFor=
"let address of addressService.addressList; let i = index"
[
ngClass
]="{'
no-devlivery
'
:
!
address
.
nearest
}"
>
<li
*
ngFor=
"let address of addressService.addressList; let i = index"
[
ngClass
]="{'
no-devlivery
'
:
!
address
.
nearest
}"
>
<h4
*
ngIf=
"address.nearest === true"
>
DELIVERS TO
</h4>
<h4
*
ngIf=
"address.nearest === false"
>
DOES NOT DELIVER TO
</h4>
<div
class=
"floatLeft"
>
{{address.default}}
<input
class=
"styled-checkbox"
name=
"addressId"
id=
"styled-checkbox-{{i}}"
type=
"radio"
(
click
)="
setDefault
(
address
.
addressId
,
i
)"
[
value
]="
address
.
addressId
"
#
addressType
[
checked
]="
address
.
defaultVal =
=
1
"
/>
<input
class=
"styled-checkbox"
name=
"addressId"
id=
"styled-checkbox-{{i}}"
type=
"radio"
(
click
)="
setDefault
(
address
.
addressId
,
i
)"
[
value
]="
address
.
addressId
"
#
addressType
[
checked
]="
address
.
defaultVal =
=
1
"
/>
<label
for=
"styled-checkbox-{{i}}"
>
{{address.addressType}}
</label>
</div>
<div
class=
"floatLeft"
>
...
...
@@ -320,8 +315,7 @@
<div
class=
"clear"
></div>
</li>
</ul>
<div
class=
"textCenter"
*
ngIf=
"addressService.addressList && addressService.addressList.length === 0"
>
No
Address Found
</div>
<div
class=
"textCenter"
*
ngIf=
"addressService.addressList && addressService.addressList.length === 0"
>
No Address Found
</div>
</div>
<!-- <div class="loader" *ngIf="loader">
...
...
src/app/changeaddress/changeaddress.page.html
View file @
0cce2daf
...
...
@@ -19,9 +19,12 @@
</ion-header>
<ion-content>
<div
class=
"nearby_map"
>
<agm-map
[
latitude
]="
latitude
"
[
longitude
]="
longitude
"
[
zoom
]="
8
"
[
backgroundColor
]="'
rgba
(
29
,
27
,
130
,
0
.
2
)'"
>
<agm-marker
[
latitude
]="
latitude
"
[
longitude
]="
longitude
"
[
markerDraggable
]="
true
"
(
dragEnd
)="
markerDragEnd
($
event
)"
></agm-marker>
</agm-map>
<div
class=
"map-inner"
>
<agm-map
[
latitude
]="
latitude
"
[
longitude
]="
longitude
"
[
zoom
]="
8
"
[
backgroundColor
]="'
rgba
(
29
,
27
,
130
,
0
.
2
)'"
>
<agm-marker
[
markerDraggable
]="
true
"
(
dragEnd
)="
markerDragEnd
($
event
)"
></agm-marker>
</agm-map>
<span
class=
"map-pin"
><img
src=
"../../assets/pin.svg"
alt=
""
></span>
</div>
<form
(
ngSubmit
)="
onSubmit
(
addressForm
.
value
);
addressForm
.
reset
()"
#
addressForm=
"ngForm"
method=
"post"
class=
"form-horizontal"
>
<div
class=
"add_address_wrapper"
>
<h5>
DELIVERY
</h5>
...
...
src/app/changeaddress/changeaddress.page.scss
View file @
0cce2daf
.nearby_map
{
width
:
100%
;
height
:
100vh
;
.map-inner
{
height
:
calc
(
100%
-
348px
);
position
:
relative
;
.map-pin
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
-webkit-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
width
:
20px
;
img
{
margin-top
:
-23px
;
}
}
}
.overlay
{
position
:
absolute
;
top
:
0px
;
...
...
@@ -111,4 +126,24 @@
box-shadow
:
2px
0
0
white
,
4px
0
0
white
,
4px
-2px
0
white
,
4px
-4px
0
white
,
4px
-6px
0
white
,
4px
-8px
0
white
;
transform
:
rotate
(
45deg
);
}
}
@media
only
screen
and
(
max-width
:
350px
)
{
.nearby_map
{
.add_address_wrapper
{
padding
:
10px
20px
!
important
;
p
{
margin
:
2px
0
;
}
input
{
margin-bottom
:
5px
;
}
h6
{
margin
:
0
;
}
}
.map-inner
{
height
:
calc
(
100%
-
235px
);
}
}
}
\ No newline at end of file
src/app/home/home.page.html
View file @
0cce2daf
...
...
@@ -137,7 +137,7 @@
<agm-map
[
zoom
]="
20
"
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
disableDefaultUI
]="
false
"
[
zoomControl
]="
false
"
[
backgroundColor
]="'
rgba
(
29
,
27
,
130
,
0
.
2
)'"
>
<agm-marker
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
iconUrl
]="
{
url:
'./
assets
/
pin
.
svg
',
url:
'./
assets
/
pin
-2
.
svg
',
scaledSize:
{
width:
28
,
height:
40
...
...
src/app/nearby/nearby.page.html
View file @
0cce2daf
...
...
@@ -25,8 +25,8 @@
{
url:
'./
assets
/
pin
.
svg
',
scaledSize:
{
width:
28
,
height:
4
0
width:
100
,
height:
10
0
}}"
></agm-marker>
</agm-map>
<span
class=
"map-pin"
><img
src=
"../../assets/pin.svg"
alt=
""
></span>
...
...
src/app/nearby/nearby.page.scss
View file @
0cce2daf
...
...
@@ -14,7 +14,10 @@
left
:
50%
;
-webkit-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
width
:
25px
;
width
:
20px
;
img
{
margin-top
:
-23px
;
}
}
}
.overlay
{
...
...
src/assets/pin-2.svg
0 → 100644
View file @
0cce2daf
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"65.564"
height=
"99.014"
viewBox=
"0 0 65.564 99.014"
>
<g
id=
"Group_6"
data-name=
"Group 6"
transform=
"translate(-19.97 0.014)"
>
<g
id=
"Group_5"
data-name=
"Group 5"
transform=
"translate(-2.935 1.022)"
>
<ellipse
id=
"Ellipse_4"
data-name=
"Ellipse 4"
cx=
"17"
cy=
"6"
rx=
"17"
ry=
"6"
transform=
"translate(38.935 85.978)"
fill=
"#b5b5cd"
/>
<ellipse
id=
"Ellipse_6"
data-name=
"Ellipse 6"
cx=
"17"
cy=
"6"
rx=
"17"
ry=
"6"
transform=
"translate(38.935 85.978)"
fill=
"#b5b5cd"
/>
</g>
<g
id=
"Group_2"
data-name=
"Group 2"
transform=
"translate(3 -3)"
>
<circle
id=
"Ellipse_1"
data-name=
"Ellipse 1"
cx=
"24.5"
cy=
"24.5"
r=
"24.5"
transform=
"translate(25 11)"
fill=
"#fff"
/>
<g
id=
"pin"
transform=
"translate(-0.222 -0.104)"
>
<path
id=
"Path_1"
data-name=
"Path 1"
d=
"M49.8,96.9c-3.7-4.7-7.4-9.2-10.9-13.9A147.669,147.669,0,0,1,22.5,56.1a55.361,55.361,0,0,1-4.9-15.4,31.919,31.919,0,0,1,7.4-26A31.406,31.406,0,0,1,44.9,3.5,32.726,32.726,0,0,1,82,28.8c1.6,7.1.5,13.9-1.8,20.7A111.792,111.792,0,0,1,67.3,74.2,205.417,205.417,0,0,1,50.7,96,3.74,3.74,0,0,1,49.8,96.9Zm.3-84.6a23.475,23.475,0,1,0,16.66,6.911A23.6,23.6,0,0,0,50.1,12.3Z"
fill=
"#242052"
/>
<g
id=
"Group_1"
data-name=
"Group 1"
>
<path
id=
"Path_2"
data-name=
"Path 2"
d=
"M33.3,45.1V25.6L50,16.1l4.7,2.2L37.6,28l-.1,14.6,12.6,7,12.4-6.9-.2-9.4-7.9,4.5v6.1L50.7,46l-9.4-5.1V29.7l16.2-9.2,4.7,2.2L45.5,32.2v6.1L50.1,41l.1-5.7,16.5-9.4V45.1L50.1,54.5Z"
fill=
"#c9974d"
/>
</g>
</g>
</g>
</g>
</svg>
src/assets/pin.svg
View file @
0cce2daf
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"65.533"
height=
"99"
viewBox=
"0 0 65.533 99"
>
<g
id=
"Group_6"
data-name=
"Group 6"
transform=
"translate(-20 0)"
>
<g
id=
"Group_5"
data-name=
"Group 5"
transform=
"translate(-2.935 1.022)"
>
<ellipse
id=
"Ellipse_4"
data-name=
"Ellipse 4"
cx=
"17"
cy=
"6"
rx=
"17"
ry=
"6"
transform=
"translate(38.935 85.978)"
fill=
"#b5b5cd"
/>
<ellipse
id=
"Ellipse_6"
data-name=
"Ellipse 6"
cx=
"17"
cy=
"6"
rx=
"17"
ry=
"6"
transform=
"translate(38.935 85.978)"
fill=
"#b5b5cd"
/>
</g>
<g
id=
"Group_2"
data-name=
"Group 2"
transform=
"translate(3 -3)"
>
<circle
id=
"Ellipse_1"
data-name=
"Ellipse 1"
cx=
"24.5"
cy=
"24.5"
r=
"24.5"
transform=
"translate(25 11)"
fill=
"#fff"
/>
<g
id=
"pin"
transform=
"translate(-0.222 -0.104)"
>
<path
id=
"Path_1"
data-name=
"Path 1"
d=
"M49.8,96.9c-3.7-4.7-7.4-9.2-10.9-13.9A147.669,147.669,0,0,1,22.5,56.1a55.361,55.361,0,0,1-4.9-15.4,31.919,31.919,0,0,1,7.4-26A31.406,31.406,0,0,1,44.9,3.5,32.726,32.726,0,0,1,82,28.8c1.6,7.1.5,13.9-1.8,20.7A111.792,111.792,0,0,1,67.3,74.2,205.419,205.419,0,0,1,50.7,96,3.74,3.74,0,0,1,49.8,96.9Zm.3-84.6A23.6,23.6,0,1,0,73.6,35.9,23.475,23.475,0,0,0,50.1,12.3Z"
fill=
"#242052"
/>
<g
id=
"Group_1"
data-name=
"Group 1"
>
<path
id=
"Path_2"
data-name=
"Path 2"
d=
"M33.3,45.1V25.6L50,16.1l4.7,2.2L37.6,28l-.1,14.6,12.6,7,12.4-6.9-.2-9.4-7.9,4.5v6.1L50.7,46l-9.4-5.1V29.7l16.2-9.2,4.7,2.2L45.5,32.2v6.1L50.1,41l.1-5.7,16.5-9.4V45.1L50.1,54.5Z"
fill=
"#c9974d"
/>
</g>
</g>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"24"
height=
"50"
viewBox=
"0 0 24 50"
>
<g
id=
"Group_1"
data-name=
"Group 1"
transform=
"translate(-38)"
>
<path
id=
"Path_1"
data-name=
"Path 1"
d=
"M0,0H24V50H0Z"
transform=
"translate(38)"
fill=
"#fff"
opacity=
"0"
/>
<g
id=
"pin_1_"
data-name=
"pin (1)"
transform=
"translate(38)"
>
<line
id=
"Line_1"
data-name=
"Line 1"
y2=
"25"
transform=
"translate(12 24)"
fill=
"none"
stroke=
"#556080"
stroke-linecap=
"round"
stroke-miterlimit=
"10"
stroke-width=
"2"
/>
<circle
id=
"Ellipse_1"
data-name=
"Ellipse 1"
cx=
"12"
cy=
"12"
r=
"12"
fill=
"#242052"
/>
<ellipse
id=
"Ellipse_2"
data-name=
"Ellipse 2"
cx=
"3"
cy=
"2.5"
rx=
"3"
ry=
"2.5"
transform=
"translate(5 6)"
fill=
"#3d3873"
/>
</g>
</g>
</svg>
src/config/auth.service.ts
View file @
0cce2daf
...
...
@@ -374,11 +374,6 @@ export class AuthService {
}
resend
()
{
this
.
service
.
showToast
(
'OTP sent successfully'
,
'top'
,
'my-toast'
,
1000
);
this
.
service
.
showToast
(
'OTP sent successfully'
,
'top'
,
'my-toast'
,
1000
);
}
}
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