dev #14717 Добавить меню в андрод WPAL: remove back arrow from guest card
This commit is contained in:
parent
19577e272f
commit
9d00a32d4f
@ -1,11 +1,9 @@
|
||||
<div class="container">
|
||||
<div class="block">
|
||||
<h1 class="title">{{title}}</h1>
|
||||
</div>
|
||||
<div class="block">
|
||||
<div class="back">
|
||||
<mat-icon *ngIf="backEvent" style="cursor: pointer;" aria-hidden="false" aria-label="Назад" fontIcon="arrow_back_ios" class="back-arrow" (click)="back()"></mat-icon>
|
||||
</div>
|
||||
<h1 class="title">{{title}}</h1>
|
||||
<!-- <div class="plug"></div> -->
|
||||
<div *ngIf="showDropdown" class="backdrop" (click)="closeMenu()"></div>
|
||||
<div class="menu">
|
||||
|
||||
@ -22,11 +22,11 @@
|
||||
gap: 10px;
|
||||
.block {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.back {
|
||||
width: 40px;
|
||||
width: 64px;
|
||||
}
|
||||
.back-arrow {
|
||||
font-size: 16px;
|
||||
@ -44,16 +44,10 @@
|
||||
font-size: 17px;
|
||||
line-height: 22px;
|
||||
margin: 0 auto;
|
||||
|
||||
}
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 40px;
|
||||
}
|
||||
.menu {
|
||||
position: relative;
|
||||
width: 64px;
|
||||
|
||||
.menu__dropdown {
|
||||
z-index: 110;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<app-navbar title="Карта гостя" [backEvent]="showBack ? logout : undefined"></app-navbar>
|
||||
<app-navbar title="Карта гостя"></app-navbar>
|
||||
<ng-container *ngIf="!authService.loading && authService.userInfo">
|
||||
<div class="guest-card">
|
||||
<div class="top-info">
|
||||
|
||||
@ -4,7 +4,6 @@ import { ExitComponent } from 'src/app/components/exit/exit.component';
|
||||
import { CookiesService } from 'src/app/services/cookies.service';
|
||||
import { MessageService } from 'primeng/api';
|
||||
import { MessagingService } from 'src/app/services/messaging.service';
|
||||
import { DeviceType, getTypeDevice } from 'src/app/utils';
|
||||
import { AuthService } from 'src/app/services/auth.service';
|
||||
|
||||
@Component({
|
||||
@ -16,7 +15,6 @@ export class GuestCardComponent implements OnInit {
|
||||
public qrCodeSize: number = 85;
|
||||
private isQrCodeClicked: boolean = false;
|
||||
public Math: Math = Math;
|
||||
public showBack: boolean = false;
|
||||
public phone?: string;
|
||||
|
||||
constructor(
|
||||
@ -28,8 +26,6 @@ export class GuestCardComponent implements OnInit {
|
||||
) { }
|
||||
|
||||
ngOnInit(): void {
|
||||
this.showBack = getTypeDevice() === DeviceType.android;
|
||||
|
||||
this.phone = this.cookiesService.getItem('phone-number') || this.authService.userInfo?.phone;
|
||||
|
||||
this.requestPermission();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user