버튼 수정

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

View File

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

View File

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