You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

home-details.page.html 1.5 KiB

преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <ion-content *ngIf="newsDetails">
  2. <header class="topbar">
  3. <button (click)="back()" class="close-article-button active">
  4. <ion-icon name="close"></ion-icon>
  5. </button>
  6. </header>
  7. <div class="image-holder">
  8. <figure *ngIf="!newsDetails.images">
  9. <img [src]="image_url + newsDetails.image_path + newsDetails.image_file_name">
  10. </figure>
  11. <figure *ngIf="newsDetails.images">
  12. <img [src]="image_url + newsDetails.images[0].data.imagePath + newsDetails.images[0].data.imageName">
  13. </figure>
  14. <a *ngIf="newsDetails.hls_url" [href]="newsDetails.hls_url" target="_blank">
  15. <button>
  16. <ion-icon name="play"></ion-icon>
  17. </button>
  18. </a>
  19. <h4> {{ newsDetails.title }} </h4>
  20. </div>
  21. <section class="content">
  22. <div class="details" *ngIf="newsDetails.full_text || newsDetails.desc" [innerHtml]="transformYourHtml(newsDetails.full_text ? newsDetails.full_text : newsDetails.desc)">
  23. </div>
  24. <ng-container *ngIf="newsDetails.images">
  25. <figure *ngFor="let image of newsDetails.images">
  26. <img [src]="image_url + getLowRestImagePath(image.data.imagePath) + image.data.imageName">
  27. </figure>
  28. </ng-container>
  29. </section>
  30. <ion-fab vertical="bottom" horizontal="start" slot="fixed">
  31. <ion-fab-button class="share-button">
  32. <ion-icon name="share-social-outline"></ion-icon>
  33. </ion-fab-button>
  34. </ion-fab>
  35. </ion-content>