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>
|
<div class="text-4xl font-extrabold tracking-tight">User</div>
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
<div class="flex shrink-0 items-center mt-6 sm:mt-0 sm:ml-4">
|
||||||
|
<!-- 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 -->
|
<!-- Memo -->
|
||||||
<mat-form-field>
|
<div
|
||||||
<input matInput type="text" />
|
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>
|
</mat-form-field>
|
||||||
<button mat-flat-button [color]="'primary'">메모저장</button>
|
<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 -->
|
<!-- SelectBox -->
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="리스트수">
|
<mat-select placeholder="리스트수">
|
||||||
<mat-option value="40">40</mat-option>
|
<mat-option value="40">40</mat-option>
|
||||||
<mat-option value="60">60</mat-option>
|
<mat-option value="60">60</mat-option>
|
||||||
|
@ -27,7 +58,7 @@
|
||||||
<mat-option value="100">100</mat-option>
|
<mat-option value="100">100</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="레벨">
|
<mat-select placeholder="레벨">
|
||||||
<mat-option value="level1">LV.1</mat-option>
|
<mat-option value="level1">LV.1</mat-option>
|
||||||
<mat-option value="level2">LV.2</mat-option>
|
<mat-option value="level2">LV.2</mat-option>
|
||||||
|
@ -35,7 +66,7 @@
|
||||||
<mat-option value="level4">LV.4</mat-option>
|
<mat-option value="level4">LV.4</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="상태">
|
<mat-select placeholder="상태">
|
||||||
<mat-option value="">정상</mat-option>
|
<mat-option value="">정상</mat-option>
|
||||||
<mat-option value="">대기</mat-option>
|
<mat-option value="">대기</mat-option>
|
||||||
|
@ -45,18 +76,18 @@
|
||||||
<mat-option value="">정지</mat-option>
|
<mat-option value="">정지</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="제한">
|
<mat-select placeholder="제한">
|
||||||
<mat-option value="">카지노제한</mat-option>
|
<mat-option value="">카지노제한</mat-option>
|
||||||
<mat-option value="">슬롯제한</mat-option>
|
<mat-option value="">슬롯제한</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="입금">
|
<mat-select placeholder="입금">
|
||||||
<mat-option value="">계좌입금</mat-option>
|
<mat-option value="">계좌입금</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="아이디">
|
<mat-select placeholder="아이디">
|
||||||
<mat-option value="">아이디</mat-option>
|
<mat-option value="">아이디</mat-option>
|
||||||
<mat-option value="">닉네임</mat-option>
|
<mat-option value="">닉네임</mat-option>
|
||||||
|
@ -65,7 +96,7 @@
|
||||||
<mat-option value="">파트너수동지급</mat-option>
|
<mat-option value="">파트너수동지급</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="가입일 정렬">
|
<mat-select placeholder="가입일 정렬">
|
||||||
<mat-option value="">가입일 정렬</mat-option>
|
<mat-option value="">가입일 정렬</mat-option>
|
||||||
<mat-option value="">아이디 정렬</mat-option>
|
<mat-option value="">아이디 정렬</mat-option>
|
||||||
|
@ -78,7 +109,7 @@
|
||||||
<mat-option value="">차익 정렬</mat-option>
|
<mat-option value="">차익 정렬</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field fxFlex class="bet-mat-form-field-wrapper-mb-0 mr-2">
|
||||||
<mat-select placeholder="내림차순">
|
<mat-select placeholder="내림차순">
|
||||||
<mat-option value="">내림차순</mat-option>
|
<mat-option value="">내림차순</mat-option>
|
||||||
<mat-option value="">오름차순</mat-option>
|
<mat-option value="">오름차순</mat-option>
|
||||||
|
@ -86,7 +117,8 @@
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
<mat-form-field
|
<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
|
<mat-icon
|
||||||
class="icon-size-5"
|
class="icon-size-5"
|
||||||
|
@ -102,13 +134,13 @@
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<!-- Add user button -->
|
<!-- Add user button -->
|
||||||
<button
|
<button
|
||||||
class="ml-4"
|
|
||||||
mat-flat-button
|
mat-flat-button
|
||||||
[color]="'primary'"
|
[color]="'primary'"
|
||||||
|
fxFlex
|
||||||
(click)="__createProduct()"
|
(click)="__createProduct()"
|
||||||
>
|
>
|
||||||
<mat-icon [svgIcon]="'heroicons_outline:plus'"></mat-icon>
|
<mat-icon [svgIcon]="'heroicons_outline:search'"></mat-icon>
|
||||||
<span class="ml-2 mr-1">Add</span>
|
<span class="ml-2 mr-1">Search</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,36 +157,40 @@
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div
|
<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"
|
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>
|
||||||
<div class="hidden sm:block">관리</div>
|
<mat-checkbox></mat-checkbox>
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'signinId'">
|
</div>
|
||||||
|
<div>관리</div>
|
||||||
|
<div>요율</div>
|
||||||
|
<div>
|
||||||
아이디
|
아이디
|
||||||
</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'nickname'">
|
|
||||||
닉네임
|
닉네임
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
상태
|
||||||
</div>
|
</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>
|
<hr style="margin: 7px 0px" />
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'phoneNumber'">
|
|
||||||
연락처
|
연락처
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'reserve'">
|
<div class="hidden md:block">보유금</div>
|
||||||
보유금
|
<div class="hidden md:block">
|
||||||
</div>
|
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'gameMoney'">
|
|
||||||
게임중머니
|
게임중머니
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
금일콤프
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block" [mat-sort-header]="'casinoCash'">
|
<div class="hidden md:block">총입출</div>
|
||||||
카지노->캐쉬
|
<div class="hidden lg:block">카지노->캐쉬</div>
|
||||||
</div>
|
<div class="hidden lg:block">로그</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>
|
</div>
|
||||||
<!-- Rows -->
|
<!-- Rows -->
|
||||||
<ng-container *ngIf="users$ | async as users">
|
<ng-container *ngIf="users$ | async as users">
|
||||||
|
@ -162,116 +198,66 @@
|
||||||
<div
|
<div
|
||||||
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
class="inventory-grid grid items-center gap-4 py-3 px-6 md:px-8 border-b"
|
||||||
>
|
>
|
||||||
<!-- management -->
|
<div>
|
||||||
<!-- rate -->
|
<mat-checkbox></mat-checkbox>
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
<button
|
|
||||||
mat-button
|
|
||||||
color="primary"
|
|
||||||
matTooltip="요율확인
|
|
||||||
카지노-바카라: 0%
|
|
||||||
카지노-룰렛: 0%
|
|
||||||
카지노-드레곤타이거: 0%
|
|
||||||
카지노-그외: 0%
|
|
||||||
슬롯: 0%
|
|
||||||
카지노루징: 0%
|
|
||||||
슬롯루징: 0%"
|
|
||||||
>
|
|
||||||
요율
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="hidden sm:block truncate">
|
<div>관리</div>
|
||||||
<button mat-flat-button [color]="'primary'">
|
<div>요율</div>
|
||||||
<mat-form-field>
|
<div>
|
||||||
<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!)"
|
|
||||||
>
|
|
||||||
{{ user.signinId }}
|
{{ user.signinId }}
|
||||||
</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<!-- nickname -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ user.nickname }}
|
{{ user.nickname }}
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
|
{{ user.state }}
|
||||||
</div>
|
</div>
|
||||||
<!-- accountHolder -->
|
<div>
|
||||||
<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">
|
|
||||||
{{ user.highRank }}
|
{{ user.highRank }}
|
||||||
</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<!-- rank -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ user.rank }}
|
{{ user.rank }}
|
||||||
</div>
|
<hr style="margin: 7px 0px" />
|
||||||
<!-- level -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ user.level }}
|
{{ user.level }}
|
||||||
</div>
|
</div>
|
||||||
<!-- casinoCash -->
|
<div class="hidden sm:block">
|
||||||
<div class="hidden sm:block truncate">
|
{{ 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 mat-flat-button [color]="'primary'">
|
||||||
게임머니확인
|
게임머니확인
|
||||||
</button>
|
</button>
|
||||||
|
<hr style="margin: 7px 0px" />
|
||||||
<button mat-flat-button [color]="'primary'">
|
<button mat-flat-button [color]="'primary'">
|
||||||
게임머니회수
|
게임머니회수
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hidden lg:block">
|
||||||
<!-- todayComp -->
|
가입{{ user.registDate }}
|
||||||
<div class="hidden sm:block truncate">
|
<hr style="margin: 7px 0px" />
|
||||||
{{ user.todayComp }}P
|
최종{{ user.finalSigninDate }}
|
||||||
</div>
|
<hr style="margin: 7px 0px" />
|
||||||
|
|
||||||
<!-- 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
|
|
||||||
}}
|
|
||||||
IP{{ user.ip }}
|
IP{{ user.ip }}
|
||||||
</div>
|
</div>
|
||||||
|
<!-- management -->
|
||||||
<!-- state -->
|
|
||||||
<div class="hidden sm:block truncate">
|
|
||||||
{{ user.state }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
|
@ -41,18 +41,22 @@ import { Router } from '@angular/router';
|
||||||
/* language=SCSS */
|
/* language=SCSS */
|
||||||
`
|
`
|
||||||
.inventory-grid {
|
.inventory-grid {
|
||||||
grid-template-columns: 60px auto 40px;
|
/* CB 관리 요율 아이디 상위 */
|
||||||
|
grid-template-columns: 20px 40px 40px auto 140px;
|
||||||
|
|
||||||
@screen sm {
|
@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 {
|
@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 {
|
@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>;
|
users$!: Observable<User[] | undefined>;
|
||||||
|
|
||||||
|
__isSearchOpened = false;
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
searchInputControl = new FormControl();
|
searchInputControl = new FormControl();
|
||||||
selectedUser?: User;
|
selectedUser?: User;
|
||||||
|
@ -184,6 +189,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
*/
|
*/
|
||||||
__toggleDetails(productId: string): void {}
|
__toggleDetails(productId: string): void {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* toggle the search
|
||||||
|
* Used in 'bar'
|
||||||
|
*/
|
||||||
|
__onClickSearch(): void {
|
||||||
|
this.__isSearchOpened = !this.__isSearchOpened;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Track by function for ngFor loops
|
* Track by function for ngFor loops
|
||||||
*
|
*
|
||||||
|
|
|
@ -2,3 +2,7 @@
|
||||||
/* @ Import/write your custom styles here.
|
/* @ Import/write your custom styles here.
|
||||||
/* @ Styles from this file will override 'vendors.scss' and Beteran's base styles.
|
/* @ 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