list item is refined
This commit is contained in:
parent
f753247ea1
commit
d2abfc4254
|
@ -13,13 +13,44 @@
|
|||
<div class="text-4xl font-extrabold tracking-tight">User</div>
|
||||
<!-- Actions -->
|
||||
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
||||
<!-- Memo -->
|
||||
<mat-form-field>
|
||||
<input matInput type="text" />
|
||||
</mat-form-field>
|
||||
<button mat-flat-button [color]="'primary'">메모저장</button>
|
||||
<!-- Search -->
|
||||
<div>
|
||||
<span>총회원수:<span style="color: red">38</span>명</span>
|
||||
<span>진행중금액:<span style="color: red">0</span>원</span>
|
||||
<span>총 보유머니:<span style="color: red">21,437,873</span>원</span
|
||||
>
|
||||
<span>총 콤프:<span style="color: red">394,860</span>원</span
|
||||
>
|
||||
<span>총 합계:<span style="color: blue">21,832,733</span>원</span>
|
||||
</div>
|
||||
<button mat-icon-button (click)="__onClickSearch()">
|
||||
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Memo -->
|
||||
<div
|
||||
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
||||
>
|
||||
<mat-form-field
|
||||
class="bet-mat-form-field-wrapper-mb-0 mr-2"
|
||||
style="width: 100%"
|
||||
>
|
||||
<textarea matInput cdkTextareaAutosize cdkAutosizeMinRows="2"></textarea>
|
||||
</mat-form-field>
|
||||
<button mat-flat-button [color]="'primary'">메모저장</button>
|
||||
</div>
|
||||
|
||||
<!-- Search -->
|
||||
<div
|
||||
*ngIf="__isSearchOpened"
|
||||
class="relative flex flex-col sm:flex-row flex-0 sm:items-center sm:justify-between py-4 px-6 md:px-8 border-b"
|
||||
>
|
||||
<!-- Actions -->
|
||||
<div fxLayout="row wrap" class="items-center mt-6 sm:mt-0 sm:ml-0">
|
||||
<!-- SelectBox -->
|
||||
<mat-form-field>
|
||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||
<mat-select placeholder="리스트수">
|
||||
<mat-option value="40">40</mat-option>
|
||||
<mat-option value="60">60</mat-option>
|
||||
|
@ -27,7 +58,7 @@
|
|||
<mat-option value="100">100</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||
<mat-select placeholder="레벨">
|
||||
<mat-option value="level1">LV.1</mat-option>
|
||||
<mat-option value="level2">LV.2</mat-option>
|
||||
|
@ -35,7 +66,7 @@
|
|||
<mat-option value="level4">LV.4</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||
<mat-select placeholder="상태">
|
||||
<mat-option value="">정상</mat-option>
|
||||
<mat-option value="">대기</mat-option>
|
||||
|
@ -45,18 +76,18 @@
|
|||
<mat-option value="">정지</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||
<mat-select placeholder="제한">
|
||||
<mat-option value="">카지노제한</mat-option>
|
||||
<mat-option value="">슬롯제한</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||
<mat-select placeholder="입금">
|
||||
<mat-option value="">계좌입금</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||
<mat-select placeholder="아이디">
|
||||
<mat-option value="">아이디</mat-option>
|
||||
<mat-option value="">닉네임</mat-option>
|
||||
|
@ -65,7 +96,7 @@
|
|||
<mat-option value="">파트너수동지급</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||
<mat-select placeholder="가입일 정렬">
|
||||
<mat-option value="">가입일 정렬</mat-option>
|
||||
<mat-option value="">아이디 정렬</mat-option>
|
||||
|
@ -78,7 +109,7 @@
|
|||
<mat-option value="">차익 정렬</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||
<mat-select placeholder="내림차순">
|
||||
<mat-option value="">내림차순</mat-option>
|
||||
<mat-option value="">오름차순</mat-option>
|
||||
|
@ -86,7 +117,8 @@
|
|||
</mat-form-field>
|
||||
<!-- Search -->
|
||||
<mat-form-field
|
||||
class="fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded min-w-64"
|
||||
fxFlex
|
||||
class="fuse-mat-rounded min-w-64 bet-mat-form-field-wrapper-mb-0 mr-2"
|
||||
>
|
||||
<mat-icon
|
||||
class="icon-size-5"
|
||||
|
@ -102,13 +134,13 @@
|
|||
</mat-form-field>
|
||||
<!-- Add user button -->
|
||||
<button
|
||||
class="ml-4"
|
||||
mat-flat-button
|
||||
[color]="'primary'"
|
||||
fxFlex
|
||||
(click)="__createProduct()"
|
||||
>
|
||||
<mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon>
|
||||
<span class="ml-2 mr-1">Add</span>
|
||||
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||
<span class="ml-2 mr-1">Search</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -125,36 +157,40 @@
|
|||
<!-- Header -->
|
||||
<div
|
||||
class="inventory-grid z-10 sticky top-0 grid gap-4 py-4 px-6 md:px-8 shadow text-md font-semibold text-secondary bg-gray-50 dark:bg-black dark:bg-opacity-5"
|
||||
matSort
|
||||
matSortDisableClear
|
||||
>
|
||||
<div class="hidden sm:block">요율</div>
|
||||
<div class="hidden sm:block">관리</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'signinId'">
|
||||
<div>
|
||||
<mat-checkbox></mat-checkbox>
|
||||
</div>
|
||||
<div>관리</div>
|
||||
<div>요율</div>
|
||||
<div>
|
||||
아이디
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'nickname'">
|
||||
<hr style="margin: 7px 0px" />
|
||||
닉네임
|
||||
<hr style="margin: 7px 0px" />
|
||||
상태
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'accountHolder'">
|
||||
<div>
|
||||
상위
|
||||
<hr style="margin: 7px 0px" />
|
||||
등급
|
||||
<hr style="margin: 7px 0px" />
|
||||
레벨
|
||||
</div>
|
||||
<div class="hidden sm:block">
|
||||
예금주
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'phoneNumber'">
|
||||
<hr style="margin: 7px 0px" />
|
||||
연락처
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'reserve'">
|
||||
보유금
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'gameMoney'">
|
||||
<div class="hidden md:block">보유금</div>
|
||||
<div class="hidden md:block">
|
||||
게임중머니
|
||||
<hr style="margin: 7px 0px" />
|
||||
금일콤프
|
||||
</div>
|
||||
<div class="hidden sm:block" [mat-sort-header]="'casinoCash'">
|
||||
카지노->캐쉬
|
||||
</div>
|
||||
<div class="hidden sm:block">금일콤프</div>
|
||||
<div class="hidden sm:block">총입출</div>
|
||||
<div class="hidden sm:block">로그</div>
|
||||
<div class="hidden sm:block">상태</div>
|
||||
<div class="hidden md:block">총입출</div>
|
||||
<div class="hidden lg:block">카지노->캐쉬</div>
|
||||
<div class="hidden lg:block">로그</div>
|
||||
</div>
|
||||
<!-- Rows -->
|
||||
<ng-container *ngIf="users$ | async as users">
|
||||
|
@ -162,116 +198,66 @@
|
|||
<div
|
||||
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
||||
>
|
||||
<!-- management -->
|
||||
<!-- rate -->
|
||||
<div class="hidden sm:block truncate">
|
||||
<button
|
||||
mat-button
|
||||
color="primary"
|
||||
matTooltip="요율확인
|
||||
카지노-바카라: 0%
|
||||
카지노-룰렛: 0%
|
||||
카지노-드레곤타이거: 0%
|
||||
카지노-그외: 0%
|
||||
슬롯: 0%
|
||||
카지노루징: 0%
|
||||
슬롯루징: 0%"
|
||||
>
|
||||
요율
|
||||
</button>
|
||||
<div>
|
||||
<mat-checkbox></mat-checkbox>
|
||||
</div>
|
||||
<div class="hidden sm:block truncate">
|
||||
<button mat-flat-button [color]="'primary'">
|
||||
<mat-form-field>
|
||||
<mat-select placeholder="관리">
|
||||
<mat-option value="">보유금지급/회수</mat-option>
|
||||
<mat-option value="">수수료설정</mat-option>
|
||||
<mat-option value="">콤프지급/회수</mat-option>
|
||||
<mat-option value="">쿠폰머니지급/회수</mat-option>
|
||||
<mat-option value="">쪽지보내기</mat-option>
|
||||
<mat-option value="">베팅리스트</mat-option>
|
||||
<mat-option value="">강제로그아웃</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
관리
|
||||
</button>
|
||||
</div>
|
||||
<!-- id -->
|
||||
<div
|
||||
class="hidden sm:block truncate"
|
||||
(click)="viewUserDetail(user.id!)"
|
||||
>
|
||||
<div>관리</div>
|
||||
<div>요율</div>
|
||||
<div>
|
||||
{{ user.signinId }}
|
||||
</div>
|
||||
<!-- nickname -->
|
||||
<div class="hidden sm:block truncate">
|
||||
<hr style="margin: 7px 0px" />
|
||||
{{ user.nickname }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
{{ user.state }}
|
||||
</div>
|
||||
<!-- accountHolder -->
|
||||
<div class="hidden sm:block truncate">
|
||||
{{ user.accountHolder }}
|
||||
</div>
|
||||
<!-- contact -->
|
||||
<div class="hidden sm:block truncate">
|
||||
{{ user.phoneNumber }}
|
||||
</div>
|
||||
<!-- gameMoney -->
|
||||
<div class="hidden sm:block truncate">
|
||||
{{ user.gameMoney }}
|
||||
</div>
|
||||
<!-- reserve -->
|
||||
<div class="hidden sm:block truncate">
|
||||
캐쉬{{ user.ownCash }} 콤프{{ user.ownComp }} 쿠폰{{
|
||||
user.ownCoupon
|
||||
}}
|
||||
</div>
|
||||
<!-- highRank -->
|
||||
<div class="hidden sm:block truncate">
|
||||
<div>
|
||||
{{ user.highRank }}
|
||||
</div>
|
||||
<!-- rank -->
|
||||
<div class="hidden sm:block truncate">
|
||||
<hr style="margin: 7px 0px" />
|
||||
{{ user.rank }}
|
||||
</div>
|
||||
<!-- level -->
|
||||
<div class="hidden sm:block truncate">
|
||||
<hr style="margin: 7px 0px" />
|
||||
{{ user.level }}
|
||||
</div>
|
||||
<!-- casinoCash -->
|
||||
<div class="hidden sm:block truncate">
|
||||
<div class="hidden sm:block">
|
||||
{{ user.accountHolder }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
{{ user.phoneNumber }}
|
||||
</div>
|
||||
<div class="hidden md:block">
|
||||
캐쉬{{ user.ownCash }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
콤프{{ user.ownComp }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
쿠폰{{ user.ownCoupon }}
|
||||
</div>
|
||||
<div class="hidden md:block">
|
||||
{{ user.gameMoney }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
{{ user.todayComp }}P
|
||||
</div>
|
||||
<div class="hidden md:block">
|
||||
입금{{ user.totalDeposit }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
출금{{ user.totalWithdraw }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
차익{{ user.balance }}
|
||||
</div>
|
||||
<div class="hidden lg:block">
|
||||
<button mat-flat-button [color]="'primary'">
|
||||
게임머니확인
|
||||
</button>
|
||||
<hr style="margin: 7px 0px" />
|
||||
<button mat-flat-button [color]="'primary'">
|
||||
게임머니회수
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- todayComp -->
|
||||
<div class="hidden sm:block truncate">
|
||||
{{ user.todayComp }}P
|
||||
</div>
|
||||
|
||||
<!-- total -->
|
||||
<div class="hidden sm:block truncate">
|
||||
입금{{ user.totalDeposit }} 출금{{
|
||||
user.totalWithdraw
|
||||
}}
|
||||
차익{{ user.balance }}
|
||||
</div>
|
||||
|
||||
<!-- log -->
|
||||
<div class="hidden sm:block truncate">
|
||||
가입{{ user.registDate }} 최종{{
|
||||
user.finalSigninDate
|
||||
}}
|
||||
<div class="hidden lg:block">
|
||||
가입{{ user.registDate }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
최종{{ user.finalSigninDate }}
|
||||
<hr style="margin: 7px 0px" />
|
||||
IP{{ user.ip }}
|
||||
</div>
|
||||
|
||||
<!-- state -->
|
||||
<div class="hidden sm:block truncate">
|
||||
{{ user.state }}
|
||||
</div>
|
||||
<!-- management -->
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
|
|
|
@ -41,18 +41,22 @@ import { Router } from '@angular/router';
|
|||
/* language=SCSS */
|
||||
`
|
||||
.inventory-grid {
|
||||
grid-template-columns: 60px auto 40px;
|
||||
/* CB 관리 요율 아이디 상위 */
|
||||
grid-template-columns: 20px 40px 40px auto 140px;
|
||||
|
||||
@screen sm {
|
||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px;
|
||||
/* CB 관리 요율 아이디 상위 예금주 */
|
||||
grid-template-columns: 20px 40px 40px auto 140px 140px 140px 140px;
|
||||
}
|
||||
|
||||
@screen md {
|
||||
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px;
|
||||
/* CB 관리 요율 아이디 상위 예금주 보유금 게임중머니 총입출 */
|
||||
grid-template-columns: 20px 40px 40px auto 140px 140px 140px 140px 140px;
|
||||
}
|
||||
|
||||
@screen lg {
|
||||
grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px;
|
||||
/* CB 관리 요율 아이디 상위 예금주 보유금 게임중머니 총입출 카지노 로그 */
|
||||
grid-template-columns: 20px 40px 40px auto 140px 140px 140px 140px 140px 140px 160px;
|
||||
}
|
||||
}
|
||||
`,
|
||||
|
@ -67,6 +71,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
|
||||
users$!: Observable<User[] | undefined>;
|
||||
|
||||
__isSearchOpened = false;
|
||||
isLoading = false;
|
||||
searchInputControl = new FormControl();
|
||||
selectedUser?: User;
|
||||
|
@ -184,6 +189,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||
*/
|
||||
__toggleDetails(productId: string): void {}
|
||||
|
||||
/**
|
||||
* toggle the search
|
||||
* Used in 'bar'
|
||||
*/
|
||||
__onClickSearch(): void {
|
||||
this.__isSearchOpened = !this.__isSearchOpened;
|
||||
}
|
||||
|
||||
/**
|
||||
* Track by function for ngFor loops
|
||||
*
|
||||
|
|
|
@ -2,3 +2,7 @@
|
|||
/* @ Import/write your custom styles here.
|
||||
/* @ Styles from this file will override 'vendors.scss' and Beteran's base styles.
|
||||
/* ----------------------------------------------------------------------------------------------------- */
|
||||
|
||||
.mat-form-field.bet-mat-form-field-wrapper-mb-0>.mat-form-field-wrapper {
|
||||
margin-bottom: 0em;
|
||||
}
|
Loading…
Reference in New Issue
Block a user