From e1ba3b80798a4900ac49c47258aeea78e09d6393 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Fri, 12 Mar 2021 23:02:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=95=86=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../merchant-detail.component.html | 1 + .../merchant-detail.component.scss | 0 .../merchant-detail.component.spec.ts | 25 ++++ .../merchant-detail.component.ts | 15 ++ .../merchant-edit.component.html | 132 +++++++++++++++++ .../merchant-edit.component.scss | 6 + .../merchant-edit/merchant-edit.component.ts | 133 ++++++++++++++++++ .../merchant-list.component.html | 109 ++++++++++++++ .../merchant-list.component.scss | 4 + .../merchant-list/merchant-list.component.ts | 94 +++++++++++++ .../admin/merchant/merchant-routing.module.ts | 7 +- src/app/admin/merchant/merchant.module.ts | 16 ++- .../user/user-list/user-list.component.html | 11 +- .../user/user-list/user-list.component.ts | 3 +- src/app/app-routing.module.ts | 5 + src/app/services/merchant.service.ts | 53 +++++++ src/styles.scss | 13 ++ 17 files changed, 617 insertions(+), 10 deletions(-) create mode 100644 src/app/admin/merchant/merchant-detail/merchant-detail.component.html create mode 100644 src/app/admin/merchant/merchant-detail/merchant-detail.component.scss create mode 100644 src/app/admin/merchant/merchant-detail/merchant-detail.component.spec.ts create mode 100644 src/app/admin/merchant/merchant-detail/merchant-detail.component.ts create mode 100644 src/app/admin/merchant/merchant-edit/merchant-edit.component.html create mode 100644 src/app/admin/merchant/merchant-edit/merchant-edit.component.scss create mode 100644 src/app/admin/merchant/merchant-edit/merchant-edit.component.ts create mode 100644 src/app/admin/merchant/merchant-list/merchant-list.component.html create mode 100644 src/app/admin/merchant/merchant-list/merchant-list.component.scss create mode 100644 src/app/admin/merchant/merchant-list/merchant-list.component.ts create mode 100644 src/app/services/merchant.service.ts diff --git a/src/app/admin/merchant/merchant-detail/merchant-detail.component.html b/src/app/admin/merchant/merchant-detail/merchant-detail.component.html new file mode 100644 index 0000000..62ffba3 --- /dev/null +++ b/src/app/admin/merchant/merchant-detail/merchant-detail.component.html @@ -0,0 +1 @@ +
merchant-detail works!
diff --git a/src/app/admin/merchant/merchant-detail/merchant-detail.component.scss b/src/app/admin/merchant/merchant-detail/merchant-detail.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/admin/merchant/merchant-detail/merchant-detail.component.spec.ts b/src/app/admin/merchant/merchant-detail/merchant-detail.component.spec.ts new file mode 100644 index 0000000..51c0eb3 --- /dev/null +++ b/src/app/admin/merchant/merchant-detail/merchant-detail.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MerchantDetailComponent } from './merchant-detail.component'; + +describe('MerchantDetailComponent', () => { + let component: MerchantDetailComponent; + let fixture: ComponentFixture