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
522787f4
Commit
522787f4
authored
Feb 04, 2020
by
Adarsh K
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into adarsh
parents
aafd89b7
e324df3e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
nearby.page.html
src/app/nearby/nearby.page.html
+1
-5
productdetail.page.scss
src/app/productdetail/productdetail.page.scss
+4
-0
productlist.page.html
src/app/productlist/productlist.page.html
+2
-2
cart.service.ts
src/config/cart.service.ts
+1
-1
No files found.
src/app/nearby/nearby.page.html
View file @
522787f4
<div
class=
"nav_header"
>
<div
class=
"nav_header"
>
<button
<button
class=
"nav_btn nav_back floatLeft"
(
click
)="
goBack
()"
>
class=
"nav_btn nav_back floatLeft"
(
click
)="
goBack
()"
*
ngIf=
"type === 0"
>
<img
src=
"../assets/Group17_2.png"
/>
<img
src=
"../assets/Group17_2.png"
/>
</button>
</button>
<div
class=
"nav_title floatLeft"
>
<div
class=
"nav_title floatLeft"
>
...
...
src/app/productdetail/productdetail.page.scss
View file @
522787f4
...
@@ -408,6 +408,10 @@
...
@@ -408,6 +408,10 @@
.fav
{
.fav
{
background-image
:
url('../../assets/Group56_2.png')
;
background-image
:
url('../../assets/Group56_2.png')
;
}
}
.fav_active
{
background-image
:
url('../../assets/heart.png')
;
}
.share
{
.share
{
background-image
:
url('../../assets/Group57_2.png')
;
background-image
:
url('../../assets/Group57_2.png')
;
}
}
...
...
src/app/productlist/productlist.page.html
View file @
522787f4
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
<ul
<
!-- <
ul
[class.grid_view]="onGrid"
[class.grid_view]="onGrid"
*ngIf="prodService.product && prodService.product.length > 0"
*ngIf="prodService.product && prodService.product.length > 0"
>
>
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
>
>
</p>
</p>
</li>
</li>
</ul>
</ul>
-->
<div
class=
"no-result-wrapper"
*
ngIf=
"prodService.product.length === 0"
>
<div
class=
"no-result-wrapper"
*
ngIf=
"prodService.product.length === 0"
>
<img
src=
"../../assets/basket.png"
/>
<img
src=
"../../assets/basket.png"
/>
...
...
src/config/cart.service.ts
View file @
522787f4
...
@@ -189,7 +189,7 @@ export class CartsService {
...
@@ -189,7 +189,7 @@ export class CartsService {
}
}
addCount
(
index
)
{
addCount
(
index
)
{
const
qty
=
this
.
carts
[
index
].
qty
+
1
;
const
qty
=
Number
(
this
.
carts
[
index
].
qty
)
+
1
;
// Converts string to Number
this
.
cartTotal
=
0
;
this
.
cartTotal
=
0
;
this
.
carts
[
index
].
qty
=
qty
;
this
.
carts
[
index
].
qty
=
qty
;
this
.
afs
this
.
afs
...
...
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