버튼 수정

This commit is contained in:
이담 정 2022-09-04 06:38:28 +00:00
parent c75347da04
commit 6494fece01
3 changed files with 21 additions and 11 deletions

View File

@ -185,21 +185,27 @@
<div class="hidden lg:block">
<!-- 배팅내역 -->
<span>
<button class="ml-4" mat-flat-button [color]="'primary'">
<mat-icon
[svgIcon]="'heroicons_outline:plus'"
></mat-icon>
<span class="ml-2 mr-1">회원정보</span>
<button
mat-flat-button
class="bet-mat-small-8"
[color]="'primary'"
(click)="viewUserDetail(message.id!)"
>
회원정보
</button>
</span>
<hr style="margin: 7px 0px" />
<!-- 회원정보 -->
<span>
<button class="ml-4" mat-flat-button [color]="'primary'">
<mat-icon
[svgIcon]="'heroicons_outline:plus'"
></mat-icon>
<span class="ml-2 mr-1">배팅리스트</span>
<button
mat-flat-button
class="bet-mat-small-8"
[color]="'primary'"
(click)="
viewCasino('eafcf73c-c98b-44a2-847b-751a3aebbaa6')
"
>
배팅리스트
</button>
</span>
<hr style="margin: 7px 0px" />

View File

@ -174,6 +174,10 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
let url: string = 'member/user/' + id;
this.router.navigateByUrl(url);
}
viewCasino(id: string): void {
let url: string = 'game/casino';
this.router.navigateByUrl(url);
}
// -----------------------------------------------------------------------------------------------------
// @ Private methods
// -----------------------------------------------------------------------------------------------------

View File

@ -143,7 +143,7 @@
[color]="'primary'"
(click)="viewCasino('eafcf73c-c98b-44a2-847b-751a3aebbaa6')"
>
배팅내역
배팅리스트
</button>
<hr style="margin: 7px 0px" />
<button