dfdf
This commit is contained in:
parent
3956068c85
commit
9d351bb809
7 changed files with 11 additions and 7 deletions
|
|
@ -70,9 +70,11 @@ $pre-img-ratios: append($pre-img-ratios, $home-categories-img-ratio);
|
|||
|
||||
.category-image
|
||||
{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 50%;
|
||||
height: 50%;
|
||||
border-radius: 2px;
|
||||
top:25%;
|
||||
left:25%;
|
||||
}
|
||||
|
||||
.category-bg
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
"id":"booking",
|
||||
"title":"Prenota",
|
||||
"image":"img/feeds/news.jpg",
|
||||
"image":"img/Cart.png",
|
||||
"home_sources":[
|
||||
{
|
||||
"id":"Trenitalia",
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
{
|
||||
"id":"shop",
|
||||
"title":"Spendi i crediti",
|
||||
"image":"img/Cart.png",
|
||||
"image":"img/Present.png",
|
||||
"home_sources":[
|
||||
{
|
||||
"id":"McDonald",
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 1.7 KiB |
BIN
hackatonApp/www/img/Present.png
Normal file
BIN
hackatonApp/www/img/Present.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
BIN
hackatonApp/www/img/ScoreBkg.png
Normal file
BIN
hackatonApp/www/img/ScoreBkg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 193 KiB |
|
|
@ -8,20 +8,22 @@
|
|||
<ion-content>
|
||||
<div class="list card">
|
||||
|
||||
<div class="item item-thumbnail-left">
|
||||
<div class="item item-thumbnail-left" style="background-image: url('img/ScoreBkg.png');">
|
||||
<img src="">
|
||||
<h2>Punti {{user.score}}</h2>
|
||||
<p>dkdkdk</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row categories-list">
|
||||
|
||||
<div ng-repeat="category in home_categories" class="col col-50">
|
||||
<a class="home-category" ui-sref="app.category({categoryId: (category.id | slugify)})">
|
||||
<div class="category-bg"></div>
|
||||
|
||||
<pre-img ratio="_1_1" helper-class="square-image">
|
||||
<img class="category-image" ng-src="{{category.image}}" spinner-on-load>
|
||||
|
||||
</pre-img>
|
||||
<div class="category-bg"></div>
|
||||
<span class="category-title">{{category.title}}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue