no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<ion-content no-padding>
|
<ion-content no-padding>
|
||||||
<ion-grid>
|
<ion-grid>
|
||||||
<ion-row align-items-stretch>
|
<ion-row align-items-stretch>
|
||||||
<ion-col col-4 *ngFor="let current of profiles" (tap)="profileTapped($event, current)" [style.backgroundImage]="getBackgroundThumbnail(current.details.pic)"></ion-col>
|
<ion-col col-4 class="profile" *ngFor="let current of profiles" (tap)="profileTapped($event, current)" [style.backgroundImage]="getBackgroundThumbnail(current.details.pic)"></ion-col>
|
||||||
</ion-row>
|
</ion-row>
|
||||||
</ion-grid>
|
</ion-grid>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
page-grid {
|
page-grid {
|
||||||
|
|
||||||
.col {
|
ion-col {
|
||||||
|
|
||||||
|
&.profile {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
border: 1px solid #000000;
|
border: 1px solid #000000;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0 0 33%;
|
padding: 0 0 33%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export class GridPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getBackgroundThumbnail(pics) {
|
getBackgroundThumbnail(pics) {
|
||||||
return this._sanitizer.bypassSecurityTrustStyle('url(' + pics.thumb + ')');
|
return this._sanitizer.bypassSecurityTrustStyle('url(https://appsby.fitz.guru/urge/' + pics.thumb + ')');
|
||||||
}
|
}
|
||||||
|
|
||||||
profileTapped(event, profile) {
|
profileTapped(event, profile) {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export class ProfilePage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getBackground(pics) {
|
getBackground(pics) {
|
||||||
return this._sanitizer.bypassSecurityTrustStyle('url(' + pics.detail + ')');
|
return this._sanitizer.bypassSecurityTrustStyle('url(https://appsby.fitz.guru/urge/' + pics.detail + ')');
|
||||||
}
|
}
|
||||||
|
|
||||||
markFavorite(event, profile) {
|
markFavorite(event, profile) {
|
||||||
|
|||||||
Reference in New Issue
Block a user