From 608f4cfead0e27208443c103a818a0a61921da23 Mon Sep 17 00:00:00 2001 From: youmengting <2080639302@qq.com> Date: Thu, 23 Mar 2023 13:47:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/admin/login/login.module.ts | 2 + .../admin/login/login/login.component.html | 13 ++ .../admin/login/login/login.component.less | 6 +- src/app/admin/login/login/login.component.ts | 18 ++- .../verification-code.component.html | 5 + .../verification-code.component.scss | 0 .../verification-code.component.ts | 123 ++++++++++++++++++ .../verification-code.module.ts | 14 ++ src/environments/environment.ts | 2 +- 9 files changed, 179 insertions(+), 4 deletions(-) create mode 100644 src/app/common/verification-code/verification-code.component.html create mode 100644 src/app/common/verification-code/verification-code.component.scss create mode 100644 src/app/common/verification-code/verification-code.component.ts create mode 100644 src/app/common/verification-code/verification-code.module.ts diff --git a/src/app/admin/login/login.module.ts b/src/app/admin/login/login.module.ts index 20e6060..f3095b5 100644 --- a/src/app/admin/login/login.module.ts +++ b/src/app/admin/login/login.module.ts @@ -5,6 +5,7 @@ import { LoginRoutingModule } from './login-routing.module'; import { LoginComponent } from './login/login.component'; import {NgZorroAntdModule} from 'ng-zorro-antd'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; +import { VerificationCodeModule } from 'src/app/common/verification-code/verification-code.module'; @NgModule({ @@ -13,6 +14,7 @@ import {FormsModule, ReactiveFormsModule} from '@angular/forms'; CommonModule, LoginRoutingModule, NgZorroAntdModule, + VerificationCodeModule, ReactiveFormsModule, FormsModule, ] diff --git a/src/app/admin/login/login/login.component.html b/src/app/admin/login/login/login.component.html index 40d020c..3ded497 100644 --- a/src/app/admin/login/login/login.component.html +++ b/src/app/admin/login/login/login.component.html @@ -22,6 +22,19 @@ + +