This commit is contained in:
Park Byung Eun 2022-07-11 08:19:19 +00:00
parent 266e2e3593
commit 849d8bb8b9
4 changed files with 271 additions and 502 deletions

View File

@ -128,7 +128,7 @@
matSort matSort
matSortDisableClear matSortDisableClear
> >
<div></div> <div class="hidden sm:block">요율</div>
<div class="hidden sm:block" [mat-sort-header]="'management'"> <div class="hidden sm:block" [mat-sort-header]="'management'">
관리 관리
</div> </div>
@ -162,18 +162,6 @@
상태 상태
</div> </div>
<div class="hidden sm:block" [mat-sort-header]="'top'">상부</div> <div class="hidden sm:block" [mat-sort-header]="'top'">상부</div>
<!-- <div class="hidden md:block" [mat-sort-header]="'sku'">SKU</div>
<div [mat-sort-header]="'name'">Name</div>
<div class="hidden sm:block" [mat-sort-header]="'price'">
Price
</div>
<div class="hidden lg:block" [mat-sort-header]="'stock'">
Stock
</div>
<div class="hidden lg:block" [mat-sort-header]="'active'">
Active
</div>
<div class="hidden sm:block">Details</div> -->
</div> </div>
<!-- Rows --> <!-- Rows -->
<ng-container *ngIf="casinomoneys$ | async as casinomoneys"> <ng-container *ngIf="casinomoneys$ | async as casinomoneys">
@ -237,7 +225,7 @@
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
LV.{{ casinomoney.level }} LV.{{ casinomoney.level }}
</div> </div>
</div>
<!-- id --> <!-- id -->
<ng-container *ngIf="users$ | async as users"> <ng-container *ngIf="users$ | async as users">
<ng-container <ng-container
@ -318,100 +306,7 @@
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
<button mat-flat-button [color]="'primary'">상부</button> <button mat-flat-button [color]="'primary'">상부</button>
</div> </div>
<!-- Image -->
<!-- <div class="flex items-center">
<div
class="relative flex flex-0 items-center justify-center w-12 h-12 mr-6 rounded overflow-hidden border"
>
<img
class="w-8"
*ngIf="user.thumbnail"
[alt]="'Product thumbnail image'"
[src]="user.thumbnail"
/>
<div
class="flex items-center justify-center w-full h-full text-xs font-semibold leading-none text-center uppercase"
*ngIf="!user.thumbnail"
>
NO THUMB
</div> </div>
</div>
</div> -->
<!-- SKU -->
<!-- <div class="hidden md:block truncate">
{{ user.sku }}
</div> -->
<!-- Name -->
<!-- <div class="truncate">
{{ user.name }}
</div> -->
<!-- Price -->
<!-- <div class="hidden sm:block">
{{ user.price | currency: "USD":"symbol":"1.2-2" }}
</div> -->
<!-- Stock -->
<!-- <div class="hidden lg:flex items-center">
<div class="min-w-4">{{ user.stock }}</div> -->
<!-- Low stock -->
<!-- <div
class="flex items-end ml-2 w-1 h-4 bg-red-200 rounded overflow-hidden"
*ngIf="user.stock < 20"
>
<div class="flex w-full h-1/3 bg-red-600"></div>
</div> -->
<!-- Medium stock -->
<!-- <div
class="flex items-end ml-2 w-1 h-4 bg-orange-200 rounded overflow-hidden"
*ngIf="user.stock >= 20 && user.stock < 30"
>
<div class="flex w-full h-2/4 bg-orange-400"></div>
</div> -->
<!-- High stock -->
<!-- <div
class="flex items-end ml-2 w-1 h-4 bg-green-100 rounded overflow-hidden"
*ngIf="user.stock >= 30"
>
<div class="flex w-full h-full bg-green-400"></div>
</div>
</div> -->
<!-- Active -->
<!-- <div class="hidden lg:block">
<ng-container *ngIf="user.active">
<mat-icon
class="text-green-400 icon-size-5"
[svgIcon]="'heroicons_solid:check'"
></mat-icon>
</ng-container>
<ng-container *ngIf="!user.active">
<mat-icon
class="text-gray-400 icon-size-5"
[svgIcon]="'heroicons_solid:x'"
></mat-icon>
</ng-container>
</div> -->
<!-- Details button -->
<!-- <div>
<button
class="min-w-10 min-h-7 h-7 px-2 leading-6"
mat-stroked-button
(click)="__toggleDetails(user.id)"
>
<mat-icon
class="icon-size-5"
[svgIcon]="
selectedUser?.id === user.id
? 'heroicons_solid:chevron-up'
: 'heroicons_solid:chevron-down'
"
></mat-icon>
</button>
</div> -->
</ng-container> </ng-container>
</ng-container> </ng-container>
</div> </div>

View File

@ -45,15 +45,15 @@ import { Router } from '@angular/router';
grid-template-columns: 60px auto 40px; grid-template-columns: 60px auto 40px;
@screen sm { @screen sm {
grid-template-columns: 60px auto 60px 72px; grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px;
} }
@screen md { @screen md {
grid-template-columns: 60px 60px auto 112px 72px; grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px;
} }
@screen lg { @screen lg {
grid-template-columns: 60px 60px auto 112px 96px 96px 72px; grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px;
} }
} }
`, `,

View File

@ -11,6 +11,7 @@
</div> </div>
<!-- Title --> <!-- Title -->
<div class="text-4xl font-extrabold tracking-tight">장기미접속회원</div> <div class="text-4xl font-extrabold tracking-tight">장기미접속회원</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">
<!-- button --> <!-- button -->
@ -20,6 +21,9 @@
<button mat-flat-button [color]="'primary'">90일</button> <button mat-flat-button [color]="'primary'">90일</button>
<button mat-flat-button [color]="'primary'">120일</button> <button mat-flat-button [color]="'primary'">120일</button>
<button mat-flat-button [color]="'primary'">가입후미접속</button> <button mat-flat-button [color]="'primary'">가입후미접속</button>
</div>
</div>
<!-- Main --> <!-- Main -->
<div class="flex flex-auto overflow-hidden"> <div class="flex flex-auto overflow-hidden">
<!-- Products list --> <!-- Products list -->
@ -36,39 +40,25 @@
matSortDisableClear matSortDisableClear
> >
<div></div> <div></div>
<div class="hidden sm:block" [mat-sort-header]="'rank'"> <div class="hidden sm:block" [mat-sort-header]="'rank'">등급</div>
등급 <div class="hidden sm:block" [mat-sort-header]="'id'">아이디</div>
</div>
<div class="hidden sm:block" [mat-sort-header]="'id'">
아이디
</div>
<div class="hidden sm:block" [mat-sort-header]="'nickname'"> <div class="hidden sm:block" [mat-sort-header]="'nickname'">
닉네임 닉네임
</div> </div>
<div <div class="hidden sm:block" [mat-sort-header]="'accountHolder'">
class="hidden sm:block"
[mat-sort-header]="'accountHolder'"
>
예금주 예금주
</div> </div>
<div class="hidden sm:block" [mat-sort-header]="'level'"> <div class="hidden sm:block" [mat-sort-header]="'level'">
레벨 레벨
</div> </div>
<div <div class="hidden sm:block" [mat-sort-header]="'calculateType'">
class="hidden sm:block"
[mat-sort-header]="'calculateType'"
>
정산종류 정산종류
</div> </div>
<div class="hidden sm:block" [mat-sort-header]="'contact'"> <div class="hidden sm:block" [mat-sort-header]="'contact'">
연락처 연락처
</div> </div>
<div class="hidden sm:block" [mat-sort-header]="'cash'"> <div class="hidden sm:block" [mat-sort-header]="'cash'">캐쉬</div>
캐쉬 <div class="hidden sm:block" [mat-sort-header]="'comp'">콤프</div>
</div>
<div class="hidden sm:block" [mat-sort-header]="'comp'">
콤프
</div>
<div class="hidden sm:block" [mat-sort-header]="'charge'"> <div class="hidden sm:block" [mat-sort-header]="'charge'">
충전금 충전금
</div> </div>
@ -97,26 +87,11 @@
<div class="hidden sm:block" [mat-sort-header]="'members'"> <div class="hidden sm:block" [mat-sort-header]="'members'">
회원수 회원수
</div> </div>
<!-- <div class="hidden md:block" [mat-sort-header]="'sku'">SKU</div>
<div [mat-sort-header]="'name'">Name</div>
<div class="hidden sm:block" [mat-sort-header]="'price'">
Price
</div>
<div class="hidden lg:block" [mat-sort-header]="'stock'">
Stock
</div>
<div class="hidden lg:block" [mat-sort-header]="'active'">
Active
</div>
<div class="hidden sm:block">Details</div> -->
</div> </div>
<!-- Rows --> <!-- Rows -->
<ng-container *ngIf="unconnecteds$ | async as unconnecteds"> <ng-container *ngIf="unconnecteds$ | async as unconnecteds">
<ng-container <ng-container
*ngFor=" *ngFor="let unconnected of unconnecteds; trackBy: __trackByFn"
let unconnected of unconnecteds;
trackBy: __trackByFn
"
> >
<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"
@ -126,18 +101,13 @@
{{ unconnected.rank }} {{ unconnected.rank }}
</div> </div>
<!-- id --> <!-- id -->
<ng-container *ngIf="users$ | async as users">
<ng-container
*ngFor="let user of users; trackBy: __trackByFn"
>
<div <div
class="hidden sm:block truncate" class="hidden sm:block truncate"
(click)="viewUserDetail(user.id!)" (click)="viewUserDetail(unconnected.id!)"
> >
{{ unconnected.id }} {{ unconnected.id }}
</div> </div>
</ng-container>
</ng-container>
<!-- nickname --> <!-- nickname -->
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ unconnected.nickname }} {{ unconnected.nickname }}
@ -220,100 +190,6 @@
<div class="hidden sm:block truncate"> <div class="hidden sm:block truncate">
{{ unconnected.members }} {{ unconnected.members }}
</div> </div>
<!-- Image -->
<!-- <div class="flex items-center">
<div
class="relative flex flex-0 items-center justify-center w-12 h-12 mr-6 rounded overflow-hidden border"
>
<img
class="w-8"
*ngIf="user.thumbnail"
[alt]="'Product thumbnail image'"
[src]="user.thumbnail"
/>
<div
class="flex items-center justify-center w-full h-full text-xs font-semibold leading-none text-center uppercase"
*ngIf="!user.thumbnail"
>
NO THUMB
</div>
</div>
</div> -->
<!-- SKU -->
<!-- <div class="hidden md:block truncate">
{{ user.sku }}
</div> -->
<!-- Name -->
<!-- <div class="truncate">
{{ user.name }}
</div> -->
<!-- Price -->
<!-- <div class="hidden sm:block">
{{ user.price | currency: "USD":"symbol":"1.2-2" }}
</div> -->
<!-- Stock -->
<!-- <div class="hidden lg:flex items-center">
<div class="min-w-4">{{ user.stock }}</div> -->
<!-- Low stock -->
<!-- <div
class="flex items-end ml-2 w-1 h-4 bg-red-200 rounded overflow-hidden"
*ngIf="user.stock < 20"
>
<div class="flex w-full h-1/3 bg-red-600"></div>
</div> -->
<!-- Medium stock -->
<!-- <div
class="flex items-end ml-2 w-1 h-4 bg-orange-200 rounded overflow-hidden"
*ngIf="user.stock >= 20 && user.stock < 30"
>
<div class="flex w-full h-2/4 bg-orange-400"></div>
</div> -->
<!-- High stock -->
<!-- <div
class="flex items-end ml-2 w-1 h-4 bg-green-100 rounded overflow-hidden"
*ngIf="user.stock >= 30"
>
<div class="flex w-full h-full bg-green-400"></div>
</div>
</div> -->
<!-- Active -->
<!-- <div class="hidden lg:block">
<ng-container *ngIf="user.active">
<mat-icon
class="text-green-400 icon-size-5"
[svgIcon]="'heroicons_solid:check'"
></mat-icon>
</ng-container>
<ng-container *ngIf="!user.active">
<mat-icon
class="text-gray-400 icon-size-5"
[svgIcon]="'heroicons_solid:x'"
></mat-icon>
</ng-container>
</div> -->
<!-- Details button -->
<!-- <div>
<button
class="min-w-10 min-h-7 h-7 px-2 leading-6"
mat-stroked-button
(click)="__toggleDetails(user.id)"
>
<mat-icon
class="icon-size-5"
[svgIcon]="
selectedUser?.id === user.id
? 'heroicons_solid:chevron-up'
: 'heroicons_solid:chevron-down'
"
></mat-icon>
</button>
</div> -->
</div> </div>
</ng-container> </ng-container>
</ng-container> </ng-container>
@ -340,6 +216,4 @@
</ng-template> </ng-template>
</div> </div>
</div> </div>
</div>
</div>
</div> </div>

View File

@ -44,15 +44,15 @@ import { Router } from '@angular/router';
grid-template-columns: 60px auto 40px; grid-template-columns: 60px auto 40px;
@screen sm { @screen sm {
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 72px; grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px;
} }
@screen md { @screen md {
grid-template-columns: 60px 60px 60px 60px 60px 60px auto 112px 72px; grid-template-columns: 60px 60px 60px 60px 60px 60px auto 60px 60px;
} }
@screen lg { @screen lg {
grid-template-columns: 50px 50px 50px 50px 70px 40px 60px 60px auto 112px 96px 96px 72px; grid-template-columns: 60px 70px 70px 70px 70px 100px 60px 60px auto 60px 60px 60px 60px;
} }
} }
`, `,