提交商品添加

2.0-dev
袁野 1 year ago
parent 6ea5256ef6
commit 010eedbe34
  1. 29
      src/app/admin/login/login/login.component.html
  2. 14
      src/app/admin/order-manage/mobile-recharge-order-list/mobile-recharge-order-list.component.html
  3. 8
      src/app/services/login.service.ts

@ -9,30 +9,6 @@
<div class="body-content-right-title">嗨森逛后台登录</div> <div class="body-content-right-title">嗨森逛后台登录</div>
<form nz-form [nzLayout]="'vertical'" class="login-form" [formGroup]="loginForm" (ngSubmit)="submitLogin()"> <form nz-form [nzLayout]="'vertical'" class="login-form" [formGroup]="loginForm" (ngSubmit)="submitLogin()">
<!-- <div class="form-item">
<div class="form-item-label"><h3>用户名</h3></div>
<div class="form-item-control">
<input type="text" formControlName="loginName" placeholder="请输入您的用户名">
</div>
</div>
<div class="form-item">
<div class="form-item-label"><h3>&nbsp;&nbsp;&nbsp;</h3></div>
<div class="form-item-control">
<input type="password" formControlName="password" placeholder="请输入您的密码">
</div>
</div>
<div class="form-item">
<div class="form-item-label"><h3>&nbsp;&nbsp;</h3></div>
<div class="form-item-control" nz-row [nzGutter]="16">
<input nz-col nzSpan="14" type="text" formControlName="vertifyCode" placeholder="请输入验证码">
<app-verification-code nz-col nzSpan="10" (validate)="validateFun($event)" ></app-verification-code>
</div>
</div> -->
<nz-form-item> <nz-form-item>
<nz-form-label nzRequired nzFor="loginName" class="form-item-label"><h3>用户名</h3></nz-form-label> <nz-form-label nzRequired nzFor="loginName" class="form-item-label"><h3>用户名</h3></nz-form-label>
<nz-form-control nzErrorTip="请输入您的用户名!" class="form-item-control"> <nz-form-control nzErrorTip="请输入您的用户名!" class="form-item-control">
@ -60,11 +36,6 @@
</nz-form-item> </nz-form-item>
<!--<div class="forget-pwd">
<a routerLink="/retrieveAdminPwd">忘记密码</a>
</div>-->
<div class="from-btn"> <div class="from-btn">
<button >登录</button> <button >登录</button>
</div> </div>

@ -16,16 +16,14 @@
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
<div nz-col nzSpan="8"> <div nz-col nzSpan="8">
<nz-form-item> <nz-form-item>
<nz-form-label [nzSpan]="8">标题</nz-form-label> <nz-form-label [nzSpan]="8">下单手机号</nz-form-label>
<nz-form-control [nzSpan]="14"> <nz-form-control [nzSpan]="14">
<input nz-input formControlName="title" /> <input nz-input formControlName="memPhone" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
<div nz-col nzSpan="8"> <div nz-col nzSpan="8">
<nz-form-item> <nz-form-item>
<nz-form-label [nzSpan]="8">标题</nz-form-label> <nz-form-label [nzSpan]="8">标题</nz-form-label>
@ -34,10 +32,6 @@
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
</div>
<div nz-row *ngIf="isCollapse">
<div nz-col nzSpan="8"> <div nz-col nzSpan="8">
<nz-form-item> <nz-form-item>
<nz-form-label [nzSpan]="8">异常订单</nz-form-label> <nz-form-label [nzSpan]="8">异常订单</nz-form-label>
@ -49,6 +43,10 @@
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
</div>
<div nz-row *ngIf="isCollapse">
<div nz-col nzSpan="8"> <div nz-col nzSpan="8">
<nz-form-item> <nz-form-item>
<nz-form-label [nzSpan]="8">交易状态</nz-form-label> <nz-form-label [nzSpan]="8">交易状态</nz-form-label>

@ -20,9 +20,11 @@ export class LoginService {
* @return data * @return data
*/ */
public userLogin(params: object, callBack) { public userLogin(params: object, callBack) {
this.http.post(environment.baseUrl + 'login/userLogin', params).subscribe(data => {
callBack(data); console.log(params);
}); this.http.post(environment.baseUrl + 'login/userLogin', params).subscribe(data => {
callBack(data);
});
} }
/** /**

Loading…
Cancel
Save