|
|
|
@ -2,7 +2,17 @@
|
|
|
|
|
<div class="content" id="threeDimensional"> |
|
|
|
|
|
|
|
|
|
<div class="header"> |
|
|
|
|
<button *ngFor="let item of allFence; let key = index;" [ngClass]="{'selectFence': selectFence === key}" (click)="toggleHeaderFence(key)">{{item}}</button> |
|
|
|
|
<button *ngFor="let item of allFence; let key = index;" [ngClass]="{'selectFence': selectFence === key}" (click)="toggleHeaderFence(key)"> |
|
|
|
|
<label nz-dropdown [nzDropdownMenu]="menu" [nzDisabled]="item != '基本信息'">{{item}}<i nz-icon nzType="caret-up" nzTheme="outline" *ngIf="key === 0"></i></label> |
|
|
|
|
</button> |
|
|
|
|
<nz-dropdown-menu #menu="nzDropdownMenu"> |
|
|
|
|
<ul nz-menu class="dropDown"> |
|
|
|
|
<li nz-menu-item><label nz-checkbox>毗邻</label></li> |
|
|
|
|
<li nz-menu-item><label nz-checkbox>区域</label></li> |
|
|
|
|
<li nz-menu-item><label nz-checkbox>图片</label></li> |
|
|
|
|
<li nz-menu-item><label nz-checkbox>点位</label></li> |
|
|
|
|
</ul> |
|
|
|
|
</nz-dropdown-menu> |
|
|
|
|
<div class="rightFence"> |
|
|
|
|
<img src="../../../assets/images/awningShow.png" [hidden]="!isOpenAwning" (click)="toggleHeaderAwning(false)"> |
|
|
|
|
<img src="../../../assets/images/awningHide.png" [hidden]="isOpenAwning" (click)="toggleHeaderAwning(true)"> |
|
|
|
@ -47,6 +57,45 @@
|
|
|
|
|
</div> |
|
|
|
|
<!-- 左侧建筑栏 --> |
|
|
|
|
|
|
|
|
|
<!-- 右侧属性栏 --> |
|
|
|
|
<div class="nature" *ngIf="isShowNature && selectFence === 0 && beforeOnePropertyData && beforeOnePropertyData.getPropertyData()" [ngStyle]="{'right': editMode? '5%' : null}"> |
|
|
|
|
<div class="natureHeader"><i nz-icon nzType="close-circle" nzTheme="outline" title="关闭" (click)="isShowNature = false;"></i></div> |
|
|
|
|
<div class="natureContent" *ngIf="beforeOnePropertyData.getPropertyData().info != undefined"> |
|
|
|
|
<div class="natureTitle">详情</div> |
|
|
|
|
<div><textarea [(ngModel)]="beforeOnePropertyData.getPropertyData().info"></textarea></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="natureContent" *ngIf="beforeOnePropertyData.getPropertyData().img != undefined"> |
|
|
|
|
<div class="natureTitle">图片</div> |
|
|
|
|
<div class="natureImg" *ngIf="beforeOnePropertyData.getPropertyData().img"><img [src]="beforeOnePropertyData.getPropertyData().img"></div> |
|
|
|
|
<div><a href="javascript:;" class="bottomPlanUpload natureUpload"><input type="file"><i nz-icon nzType="plus" nzTheme="outline"></i></a></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="nature natureLook" *ngIf="isShowNature && (selectFence === 1 || selectFence === 2) && beforeOnePropertyData" [ngStyle]="{'top': naturePosition.top,'right': naturePosition.right}"> |
|
|
|
|
<div *ngIf="selectFence === 1"> |
|
|
|
|
<div class="natureTitle">{{beforeOnePropertyData.getPropertyData().name}}</div> |
|
|
|
|
<div class="flowPower"> |
|
|
|
|
<div> |
|
|
|
|
<img src="../../../assets/images/flow.png"> |
|
|
|
|
<label><p>流量</p><p><input type="text" [(ngModel)]="beforeOnePropertyData.getPropertyData().flow" [disabled]="!editMode"></p></label> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<img src="../../../assets/images/power.png"> |
|
|
|
|
<label><p>功率</p><p><input type="text" [(ngModel)]="beforeOnePropertyData.getPropertyData().power" [disabled]="!editMode"></p></label> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="everyNature"><span>品牌 :</span><label>{{beforeOnePropertyData.getPropertyData().brand}}</label></div> |
|
|
|
|
<div class="everyNature"><span>油枪数量 :</span><label>{{beforeOnePropertyData.getPropertyData().oilGunNum}}</label></div> |
|
|
|
|
<div class="everyNature"><span>油品品号 :</span><label>{{beforeOnePropertyData.getPropertyData().oilProductNo}}</label></div> |
|
|
|
|
</div> |
|
|
|
|
<div *ngIf="selectFence === 2"> |
|
|
|
|
<div class="natureTitle">{{beforeOnePropertyData.getPropertyData().name}}</div> |
|
|
|
|
<div class="everyNature"><span>油品品号 :</span><label>{{beforeOnePropertyData.getPropertyData().oilProductNo}}</label></div> |
|
|
|
|
<div class="everyNature"><span>油罐容积 :</span><label>{{beforeOnePropertyData.getPropertyData().oilTankVolume}}</label></div> |
|
|
|
|
<div class="everyNature"><span>安全容积 :</span><label>{{beforeOnePropertyData.getPropertyData().safeVolume}}</label></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<!-- 右侧属性栏 --> |
|
|
|
|
|
|
|
|
|
<!-- 右侧图标栏 --> |
|
|
|
|
<div class="rightIcons" *ngIf="editMode && (selectFence === 0 || selectFence === 7)" [ngClass]="{'publicMoveUp': selectFence === 7}" [ngStyle]="{'width': selectFence === 0? '60px' : null}"> |
|
|
|
|
<div class="bottomCenter" id="bottomCenter"> |
|
|
|
|