|
|
@ -2,7 +2,8 @@ |
|
|
|
<div class="titlebox" *ngIf="pattern == 'edit'"> |
|
|
|
<div class="titlebox" *ngIf="pattern == 'edit'"> |
|
|
|
<div class="titleitembox" cdkDropList cdkDropListOrientation="horizontal" (cdkDropListDropped)="drop($event)"> |
|
|
|
<div class="titleitembox" cdkDropList cdkDropListOrientation="horizontal" (cdkDropListDropped)="drop($event)"> |
|
|
|
<div cdkDrag class="item" *ngFor="let item of planTemplateData;let key = index" (click)="clickTitleItem(item)" |
|
|
|
<div cdkDrag class="item" *ngFor="let item of planTemplateData;let key = index" (click)="clickTitleItem(item)" |
|
|
|
[ngClass]="{'selectedItem': selectedItem == item.groupName}" [title]="item.groupName"> |
|
|
|
[ngClass]="{'selectedItem': selectedItem == item.groupName}" [title]="item.groupName" |
|
|
|
|
|
|
|
[cdkDragDisabled]="item.groupName == '封面'"> |
|
|
|
{{key + 1}}.{{item.groupName}} |
|
|
|
{{key + 1}}.{{item.groupName}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -174,10 +175,10 @@ |
|
|
|
<span>建筑列表</span> |
|
|
|
<span>建筑列表</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="buildingBody"> |
|
|
|
<div class="buildingBody"> |
|
|
|
<div class="buildName" *ngFor="let item of planTemplateData[1].building;let i=index"> |
|
|
|
<div class="buildName" *ngFor="let item of selectedContent.building;let i=index"> |
|
|
|
<mat-checkbox class="example-margin" color='primary' [(ngModel)]="item.completed" |
|
|
|
<mat-checkbox class="example-margin" color='primary' [(ngModel)]="item.completed" |
|
|
|
(change)='clickBuilding(item,i)'></mat-checkbox> |
|
|
|
(change)='clickBuilding(item,i)'></mat-checkbox> |
|
|
|
<span>{{item.name}}</span> |
|
|
|
<span [title]="item.name">{{item.name}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -680,7 +681,7 @@ |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
overflow-y: auto;"> |
|
|
|
overflow-y: auto;"> |
|
|
|
<div *ngFor="let itemunit of planTemplateData[1].building;let uniti=index"> <!-- style="border-bottom: 3px solid #999;" --> |
|
|
|
<div *ngFor="let itemunit of item.building;let uniti=index"> <!-- style="border-bottom: 3px solid #999;" --> |
|
|
|
<div *ngIf="itemunit.completed"> |
|
|
|
<div *ngIf="itemunit.completed"> |
|
|
|
<div class="unithead" style=" height: 40px; |
|
|
|
<div class="unithead" style=" height: 40px; |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|