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
87561df4
Commit
87561df4
authored
Feb 19, 2020
by
Arjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fixed
parent
6f2da630
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
91 additions
and
87 deletions
+91
-87
address.page.html
src/app/address/address.page.html
+33
-30
address.page.scss
src/app/address/address.page.scss
+55
-54
app.component.html
src/app/app.component.html
+1
-1
storelist.page.scss
src/app/storelist/storelist.page.scss
+2
-2
No files found.
src/app/address/address.page.html
View file @
87561df4
<div
class=
"nav_header"
>
<div
class=
"nav_header"
>
<button
class=
"nav_btn nav_back floatLeft"
(
click
)="
goBack
()"
>
<button
class=
"nav_btn nav_back floatLeft"
(
click
)="
goBack
()"
>
<img
src=
"../assets/Group17_2.png"
/>
<img
src=
"../assets/Group17_2.png"
/>
</button>
</button>
<div
class=
"nav_title floatLeft"
>
<div
class=
"nav_title floatLeft"
>
<h4>
Address
</h4>
<h4>
Address
</h4>
</div>
</div>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</div>
</div>
<ion-content>
<ion-content>
<div
class=
"address-wrapper"
*
ngIf=
"addressService.addressList"
>
<div
class=
"address-wrapper"
*
ngIf=
"addressService.addressList"
>
<ion-grid
*
ngFor=
"let address of addressService.addressList; let i = index"
>
<ion-grid
*
ngFor=
"let address of addressService.addressList; let i = index"
>
<ion-row>
<ion-row>
<ion-col
size=
"1"
>
<ion-col
size=
"1"
>
<input
type=
"radio"
id=
"address_{{i}}"
class=
"address-radio"
name=
"address"
<input
type=
"radio"
id=
"address_{{i}}"
class=
"address-radio"
name=
"address"
(
change
)="
setDefault
(
address
.
addressId
)"
[
checked
]="
address
.
defaultVal =
=
1
"
/>
(
change
)="
setDefault
(
address
.
addressId
)"
[
checked
]="
address
.
defaultVal =
=
1
"
/>
</ion-col>
</ion-col>
<ion-col
size=
"9"
>
<ion-col
size=
"9"
>
<h1>
{{address.addressType}}
</h1>
<h1>
{{address.addressType}}
</h1>
<h1>
{{address.address}}
</h1>
<h1>
{{address.address}}
</h1>
<p>
{{address.building}}, {{address.landmark}}
</p>
<p>
{{address.building}}, {{address.landmark}}
</p>
</ion-col>
</ion-col>
<ion-col
size=
"2"
[
hidden
]="
address
.
defaultVal =
=
1
"
><button
class=
"show-btn"
(
click
)="
addressService
.
deleteAddress
(
address
.
addressId
)"
>
<ion-col
size=
"2"
[
hidden
]="
address
.
defaultVal =
=
1
"
><button
class=
"show-btn"
(
click
)="
addressService
.
deleteAddress
(
address
.
addressId
)"
>
<img
src=
"../../assets/delete.png"
/></button></ion-col>
<img
src=
"../../assets/delete.png"
/></button></ion-col>
</ion-row>
</ion-row>
</ion-grid>
</ion-grid>
<div
class=
"address-btn-wrapper"
>
<button
class=
"show-btn"
(
click
)="
goToPage
('
nearby
')"
>
Add New Address
</button>
</div>
</div>
</div>
</ion-content>
</ion-content>
<ion-footer>
<div
class=
"address-btn-wrapper"
>
<button
class=
"show-btn"
(
click
)="
goToPage
('
nearby
')"
>
Add New Address
</button>
</div>
</ion-footer>
<div
class=
"loader"
*
ngIf=
"loader"
>
<div
class=
"loader"
*
ngIf=
"loader"
>
<div
class=
"lds-ripple"
>
<div
class=
"lds-ripple"
>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/address/address.page.scss
View file @
87561df4
.address-wrapper
{
.address-wrapper
{
padding
:
15px
;
padding-bottom
:
11%
;
.address-radio
{
background-image
:
url('../../assets/radio.png')
;
-webkit-appearance
:
none
;
background-repeat
:
no-repeat
;
background-position
:
center
;
background-size
:
25px
;
height
:
auto
;
padding
:
15px
;
padding
:
15px
;
border-radius
:
5px
;
padding-bottom
:
11%
;
outline
:
none
;
.address-radio
{
transition
:
all
0
.6s
ease-in-out
;
background-image
:
url('../../assets/radio.png')
;
}
-webkit-appearance
:
none
;
.address-radio
:checked
{
background-repeat
:
no-repeat
;
background-image
:
url('../../assets/radio-checked.png')
;
background-position
:
center
;
}
background-size
:
25px
;
.address-radio
:checked
+
.show-btn
{
height
:
auto
;
opacity
:
1
;
padding
:
15px
;
}
border-radius
:
50%
;
h1
{
outline
:
none
;
font-size
:
18px
;
transition
:
all
0
.6s
ease-in-out
;
margin-top
:
6px
;
}
padding-left
:
10px
;
.address-radio
:checked
{
}
background-image
:
url('../../assets/radio-checked.png')
;
p
{
}
margin-top
:
20px
;
.address-radio
:checked
+
.show-btn
{
padding-left
:
10px
;
opacity
:
1
;
color
:
#b0aec7
;
}
}
h1
{
button
{
font-size
:
18px
;
background
:
none
;
margin-top
:
6px
;
outline
:
none
;
padding-left
:
10px
;
}
}
img
{
p
{
width
:
35px
;
margin-top
:
20px
;
}
padding-left
:
10px
;
color
:
#b0aec7
;
}
button
{
background
:
none
;
outline
:
none
;
}
img
{
width
:
35px
;
}
}
}
.address-btn-wrapper
{
.address-btn-wrapper
{
padding
:
15px
;
position
:
fixed
;
padding-top
:
0
;
bottom
:
0
;
padding-bottom
:
10px
;
left
:
0
;
background-color
:
#fff
;
right
:
0
;
position
:
fixed
;
background-color
:
#fff
;
bottom
:
0px
;
padding
:
2
0px
;
left
:
0
;
text-align
:
center
;
right
:
0
;
z-index
:
9
;
button
{
button
{
width
:
100%
;
width
:
100%
;
background-color
:
#29285b
;
background-color
:
#29285b
;
color
:
#fff
;
color
:
#fff
;
border-radius
:
8px
;
border-radius
:
8px
;
height
:
45px
;
height
:
45px
;
font-size
:
16px
;
font-size
:
16px
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
}
}
}
}
\ No newline at end of file
src/app/app.component.html
View file @
87561df4
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</ion-app>
</ion-app>
<div
class=
"common_tab"
[
hidden
]="
fetchCase
()
===
true
"
*
ngIf=
"!isSearchOpen"
>
<div
class=
"common_tab"
[
hidden
]="
fetchCase
()
===
true
"
*
ngIf=
"!isSearchOpen"
>
<
button
(
click
)="
istoggle
()"
></button
>
<
!-- <button (click)="istoggle()"></button> --
>
<ul>
<ul>
<li
(
click
)="
goToPage
('
home
')"
>
<li
(
click
)="
goToPage
('
home
')"
>
<div
class=
"icon_sec m1_icon"
[
class
.
m1_icon_act
]="
sec_active1
"
(
click
)="
setActive1
()"
></div>
<div
class=
"icon_sec m1_icon"
[
class
.
m1_icon_act
]="
sec_active1
"
(
click
)="
setActive1
()"
></div>
...
...
src/app/storelist/storelist.page.scss
View file @
87561df4
...
@@ -145,12 +145,12 @@
...
@@ -145,12 +145,12 @@
width
:
120px
;
width
:
120px
;
height
:
125px
;
height
:
125px
;
float
:
left
;
float
:
left
;
background-color
:
#a8a8a8
;
// background-color: #f1f1f1
;
border-radius
:
8px
;
border-radius
:
8px
;
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
object-fit
:
co
ver
;
object-fit
:
co
ntain
;
object-position
:
center
;
object-position
:
center
;
}
}
}
}
...
...
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