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
43e28941
Commit
43e28941
authored
Mar 13, 2020
by
Adarsh K
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Searchbar Fix
parent
157f1ec7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
20 deletions
+51
-20
catagory.page.html
src/app/catagory/catagory.page.html
+23
-20
catagory.page.scss
src/app/catagory/catagory.page.scss
+28
-0
No files found.
src/app/catagory/catagory.page.html
View file @
43e28941
<ion-header>
<div
class=
"nav_header"
>
<ion-grid
class=
"no-gutter"
>
<ion-row
class=
"no-gutter"
>
<ion-col
class=
"no-gutter"
size=
"2"
>
<button
class=
"nav_btn nav_back floatLeft"
(
click
)="
goBack
()"
>
<img
src=
"../assets/Group22_2.png"
>
</button>
</ion-col>
<ion-col
class=
"no-gutter"
size=
"8"
>
<div
class=
"nav_title floatLeft"
>
<input
class=
"search_bar"
placeholder=
"Search here.. eg:shirts, retailers etc..."
(
click
)="
goToSearch
('
searchmodal
')"
>
</div>
</ion-col>
<ion-col
class=
"no-gutter"
size=
"2"
>
<button
class=
"nav_btn nav_search floatRight"
>
</button>
</ion-col>
</ion-row>
</ion-grid>
<div
class=
"custom-header"
>
<div
class=
"menu-sctn"
>
<ion-menu-toggle>
<button
class=
"nav_btn nav_menu floatLeft"
></button>
</ion-menu-toggle>
</div>
<div
class=
"mid-sctn"
>
<div
class=
"nav_title floatLeft relative"
>
<!-- <input class="search_bar" placeholder="Search here.. eg:shirts, retailers etc..." (click)="clickSearch()" (input)="searchFun($event.target.value)" #searchText> -->
<h1
class=
"search_bar"
(
click
)="
goToPage
('
searchmodal
')"
>
Search here.. eg:shirts, retailers etc...
</h1>
</div>
</div>
<div
class=
"search-sctn"
>
<button
class=
"nav_btn nav_search floatRight"
*
ngIf=
"!searchShow"
(
click
)="
goToPage
('
searchmodal
')"
></button>
</div>
</div>
</div>
</ion-header>
...
...
@@ -28,8 +29,10 @@
</div>
<div
class=
"featured_catagory_list"
>
<ul
*
ngIf=
"categoriesService.activecategories && categoriesService.activecategories.length > 0"
>
<li
*
ngFor=
"let categories of categoriesService.activecategories"
(
click
)="
goToPage
('
catstorelist
',
categories
)"
>
<img
[
src
]="
categories
.
catImage
"
onerror=
"this.src='../assets/handsome-man-outdoors-drinking-coffee-with-sunglasses-guy-with-beard-instagram-effect_1212-818@3x.png'"
>
<li
*
ngFor=
"let categories of categoriesService.activecategories"
(
click
)="
goToPage
('
catstorelist
',
categories
)"
>
<img
[
src
]="
categories
.
catImage
"
onerror=
"this.src='../assets/handsome-man-outdoors-drinking-coffee-with-sunglasses-guy-with-beard-instagram-effect_1212-818@3x.png'"
>
<div
class=
"featured_overlay"
>
<h4>
{{categories.catName}}
</h4>
</div>
...
...
src/app/catagory/catagory.page.scss
View file @
43e28941
...
...
@@ -345,3 +345,30 @@
}
}
}
.custom-header
{
display
:
flex
;
justify-content
:
space-between
;
.menu-sctn
{
width
:
15%
;
}
.mid-sctn
{
width
:
70%
;
display
:
flex
;
align-items
:
center
;
height
:
100%
;
margin-top
:
2px
;
}
.search-sctn
{
width
:
15%
;
}
h1
{
font-size
:
16px
;
margin
:
0
10px
;
text-align
:
left
;
overflow
:
hidden
;
white-space
:
nowrap
;
color
:
#6d6d6d
;
}
}
\ No newline at end of file
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