summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/components/city-select/city-select/city-select.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/shared/components/city-select/city-select/city-select.component.html')
-rw-r--r--usecaseui-portal/src/app/shared/components/city-select/city-select/city-select.component.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/shared/components/city-select/city-select/city-select.component.html b/usecaseui-portal/src/app/shared/components/city-select/city-select/city-select.component.html
index e66d25f7..1da7a71b 100644
--- a/usecaseui-portal/src/app/shared/components/city-select/city-select/city-select.component.html
+++ b/usecaseui-portal/src/app/shared/components/city-select/city-select/city-select.component.html
@@ -1,6 +1,6 @@
<div class="city-select">
<div *ngFor="let area of areaList; let i = index">
- <nz-form-control [nzSpan]="!ind ? 4 : 4" [nzOffset]="i && !ind ? 7 : 0" class="subnet_params_area"
+ <nz-form-control [nzSpan]="computeSpan(ind)" [nzOffset]="computeOffset(ind, i)" class="subnet_params_area"
*ngFor="let item of area; let ind = index">
<nz-select [(ngModel)]="item.selected" [name]="'area' + i + ind" (nzOpenChange)="handleChange(area, item)"
(ngModelChange)=" handleChangeSelected(area, item) ">
@@ -8,10 +8,10 @@
</nz-option>
</nz-select>
</nz-form-control>
- <nz-form-control [nzSpan]="1">
+ <nz-form-control [nzSpan]="2">
<div class="validation_alert_area">{{checkArea(area)}}</div>
</nz-form-control>
- <nz-form-control [nzSpan]="1" [nzOffset]="2">
+ <nz-form-control [nzSpan]="1">
<button nz-button nzType="primary" type="button" nzSize="small" class="subnet_params_button" *ngIf="!i"
(click)="creatAreaList()">
<i nz-icon class="anticon anticon-plus subnet_params_icon"></i>