{{header}} | +||||||
---|---|---|---|---|---|---|
{{item.order}} | +{{item.fireName}} | +{{item.drawLotsOrder}} | +{{item.testTime}} | +
+ {{items}} + |
+
+ {{items}} + |
+
+ {{items}} + |
+
From 74dd38a3a5c152e4a832cc53a9bf379ee4b6d8c9 Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Sat, 17 Oct 2020 13:53:11 +0800 Subject: [PATCH 1/3] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=20=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=A1=B5=E9=9D=A2=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 46 +++++------------ src/app/app-routing.module.ts | 2 + .../drawing-result.component.html | 27 ++++++++++ .../drawing-result.component.scss | 51 +++++++++++++++++++ .../drawing-result.component.spec.ts | 25 +++++++++ .../drawing-result.component.ts | 22 ++++++++ src/app/ui/ui.module.ts | 3 +- 7 files changed, 141 insertions(+), 35 deletions(-) create mode 100644 src/app/ui/drawing-result/drawing-result.component.html create mode 100644 src/app/ui/drawing-result/drawing-result.component.scss create mode 100644 src/app/ui/drawing-result/drawing-result.component.spec.ts create mode 100644 src/app/ui/drawing-result/drawing-result.component.ts diff --git a/package-lock.json b/package-lock.json index 5b2bab3..d275bfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16640,8 +16640,7 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "aproba": { "version": "1.2.0", @@ -16684,8 +16683,7 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "concat-map": { "version": "0.0.1", @@ -16696,8 +16694,7 @@ "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -16814,8 +16811,7 @@ "inherits": { "version": "2.0.4", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "ini": { "version": "1.3.5", @@ -16827,7 +16823,6 @@ "version": "1.0.0", "bundled": true, "dev": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -16857,7 +16852,6 @@ "version": "2.9.0", "bundled": true, "dev": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -16876,7 +16870,6 @@ "version": "0.5.1", "bundled": true, "dev": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -16979,7 +16972,6 @@ "version": "1.4.0", "bundled": true, "dev": true, - "optional": true, "requires": { "wrappy": "1" } @@ -17065,8 +17057,7 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "safer-buffer": { "version": "2.1.2", @@ -17102,7 +17093,6 @@ "version": "1.0.2", "bundled": true, "dev": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -17122,7 +17112,6 @@ "version": "3.0.1", "bundled": true, "dev": true, - "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -17166,14 +17155,12 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "yallist": { "version": "3.1.1", "bundled": true, - "dev": true, - "optional": true + "dev": true } } }, @@ -17611,8 +17598,7 @@ "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -17729,8 +17715,7 @@ "inherits": { "version": "2.0.4", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "ini": { "version": "1.3.5", @@ -17772,7 +17757,6 @@ "version": "2.9.0", "bundled": true, "dev": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -17791,7 +17775,6 @@ "version": "0.5.1", "bundled": true, "dev": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -17894,7 +17877,6 @@ "version": "1.4.0", "bundled": true, "dev": true, - "optional": true, "requires": { "wrappy": "1" } @@ -17980,8 +17962,7 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "safer-buffer": { "version": "2.1.2", @@ -18017,7 +17998,6 @@ "version": "1.0.2", "bundled": true, "dev": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -18081,14 +18061,12 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "yallist": { "version": "3.1.1", "bundled": true, - "dev": true, - "optional": true + "dev": true } } }, diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 833c96c..3b5e4ce 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -18,6 +18,7 @@ import {AuthGuard} from './auth.guard' import {MTokenK1Component} from './m-token-k1/m-token-k1.component' //K1秘钥 import { LuckDrawComponent } from './ui/luck-draw/luck-draw.component'; import {ResetComponent} from './ui/reset/reset.component' +import { DrawingResultComponent } from './ui/drawing-result/drawing-result.component'; const routes: Routes = [ @@ -35,6 +36,7 @@ const routes: Routes = [ }, */ {path:'',component:LuckDrawComponent}, {path:'Reset',component:ResetComponent}, + {path: 'drawingResult', component:DrawingResultComponent} // {path:'login', // component:LoginComponent}, diff --git a/src/app/ui/drawing-result/drawing-result.component.html b/src/app/ui/drawing-result/drawing-result.component.html new file mode 100644 index 0000000..fc6d596 --- /dev/null +++ b/src/app/ui/drawing-result/drawing-result.component.html @@ -0,0 +1,27 @@ +
{{header}} | +||||||
---|---|---|---|---|---|---|
{{item.order}} | +{{item.fireName}} | +{{item.drawLotsOrder}} | +{{item.testTime}} | +
+ {{items}} + |
+
+ {{items}} + |
+
+ {{items}} + |
+
{{header}} | +{{header}} | ||||
---|---|---|---|---|---|
{{item.order}} | {{item.fireName}} | {{item.drawLotsOrder}} | -{{item.testTime}} |
- {{items}} +{{items}} + |
+
+ {{items}} |
+
{{header}} | +|||||
---|---|---|---|---|---|
{{item.order}} | +{{item.fireName}} | +{{item.drawLotsOrder}} | +{{item.num}} |
- {{items}} +{{items}} |
- {{items}} +{{items}} |