This commit is contained in:
Park Byung Eun 2022-08-14 03:47:40 +00:00
parent 3c943da2ef
commit 5cb66cf892
3 changed files with 35 additions and 2 deletions

View File

@ -204,8 +204,25 @@
<div>
<mat-checkbox></mat-checkbox>
</div>
<div>관리</div>
<div>요율</div>
<div class="hidden lg:block">
<div
mat-button
[matMenuTriggerFor]="menu"
style="cursor: pointer"
>
관리
</div>
<mat-menu #menu="matMenu">
<button mat-menu-item>보유금지급/회수</button>
<button mat-menu-item>수수료설정</button>
<button mat-menu-item>콤프지급/회수</button>
<button mat-menu-item>쿠폰머니지급/회수</button>
<button mat-menu-item>쪽지보내기</button>
<button mat-menu-item>배팅리스트</button>
<button mat-menu-item>강제로그아웃</button>
</mat-menu>
</div>
<div [matTooltip]="__getRateTooltop()">요율</div>
<div>
{{ user.highRank }}
</div>

View File

@ -46,6 +46,10 @@ import { IdentityService } from 'app/modules/polyglot/identity/services/identity
grid-template-columns: 20px 40px 40px 100px auto 40px 140px 140px 140px 140px 140px 140px;
}
}
.mat-tooltip {
white-space: pre-line;
}
`,
],
encapsulation: ViewEncapsulation.None,
@ -194,4 +198,12 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
__trackByFn(index: number, item: any): any {
return item.id || index;
}
__getRateTooltop(): string {
const tempRate = 0;
const resultTooltip = `
\n -바카라: ${tempRate}% \n -룰렛: ${tempRate}% \n -드레곤타이거: ${tempRate}% \n -그외:${tempRate}% \n 슬롯:${tempRate}% \n 카지노루징: ${tempRate}% \n 슬롯루징: ${tempRate}%
`;
return resultTooltip;
}
}

View File

@ -16,6 +16,8 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { MatRadioModule } from '@angular/material/radio';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatChipsModule } from '@angular/material/chips';
import { MatMenuModule } from '@angular/material/menu';
import { MatDividerModule } from '@angular/material/divider';
import { FuseCardModule } from '@fuse/components/card';
@ -49,6 +51,8 @@ import { userRoutes } from 'app/modules/admin/member/user/user.routing';
MatRadioModule,
MatCheckboxModule,
MatChipsModule,
MatMenuModule,
MatDividerModule,
FuseCardModule,
],