diff --git a/src/app/pages/plan/plan.component.html b/src/app/pages/plan/plan.component.html index 85e1e3c..bfe24c5 100644 --- a/src/app/pages/plan/plan.component.html +++ b/src/app/pages/plan/plan.component.html @@ -7,7 +7,7 @@

- +
@@ -21,4 +21,17 @@
+ + +
+ + 名称 + + + + +
+
+ +
\ No newline at end of file diff --git a/src/app/pages/plan/plan.component.ts b/src/app/pages/plan/plan.component.ts index f3e155a..e35940a 100644 --- a/src/app/pages/plan/plan.component.ts +++ b/src/app/pages/plan/plan.component.ts @@ -13,7 +13,7 @@ import { ObjectsService } from 'src/app/service/objects.service'; @Component({ selector: 'app-plan', templateUrl: './plan.component.html', - styleUrls: ['./plan.component.scss'] + styleUrls: ['./plan.component.scss','./publicPop.scss'] }) export class PlanComponent implements OnInit { @@ -69,6 +69,7 @@ export class PlanComponent implements OnInit { buildingUIItems: any[] = []; //左侧 建筑list beforeOneBuildingID: string = null; //选中 左侧建筑ID + isShowBuildingPop: boolean = false; //显隐 新增/编辑左侧建筑弹窗 isShowLeftBuilding: boolean = true; //显隐 建筑 toggleLeftBuilding(e) { this.isShowLeftBuilding = e }; //显隐 建筑 @@ -79,7 +80,7 @@ export class PlanComponent implements OnInit { //创建建筑 addModelBuilding() { - + console.log('add') } //编辑建筑 diff --git a/src/app/pages/plan/publicPop.scss b/src/app/pages/plan/publicPop.scss new file mode 100644 index 0000000..b6f81bd --- /dev/null +++ b/src/app/pages/plan/publicPop.scss @@ -0,0 +1,30 @@ +.keyMargin { + width: 100%; + margin-bottom: 10px; + text-align: center; + .mat-form-field { width: 100%; } + //上传CAD弹窗 inputfile + .uploadBackGround { + width: 125px; + padding: 0 25px; + height: 30px; + line-height: 30px; + position: relative; + cursor: pointer; + color: #0275e7; + font-size: 14px; + background: #fafafa; + border: 1px solid #0275e7; + border-radius: 5px; + overflow: hidden; + display: inline-block; + } + .uploadBackGround input { + position: absolute; + width: 100%; + right: 0; + top: 0; + opacity: 0; + cursor: pointer + } +} \ No newline at end of file