@ -9,8 +9,8 @@
<!-- basicinfo -->
<li [routerLink]="['/datacollection/basicinfo']" routerLinkActive="router-link-active">基本信息</li>
<!-- plan -->
<!-- <li [routerLink]="['/datacollection/plan']" routerLinkActive="router-link-active">平面图</li> -->
<li [routerLink]="['/datacollection/collectionTools']" routerLinkActive="router-link-active">平面图</li>
<li [routerLink]="['/datacollection/plan']" routerLinkActive="router-link-active">平面图</li>
<li [routerLink]="['/datacollection/collectionTools']" routerLinkActive="router-link-active">H5平面图</li>
<!-- allaround -->
<li [routerLink]="['/datacollection/allaround']" routerLinkActive="router-link-active">四周毗邻</li>
<!-- fire-fighting-device -->
@ -32,8 +32,12 @@
</button>
<div class="example-sidenav-content">
<div style="height: 64px;">
<app-tabbar (toggleDarkTheme)="switchTheme($event)" (defaulttheme)="defaulttheme()" (redtheme)="redtheme()"></app-tabbar>
</div>
<div style="flex: 1; overflow: hidden;">
<router-outlet></router-outlet>
</mat-sidenav-container>
@ -3,7 +3,7 @@
width: 100%;
height:100%;
border: 1px solid rgba(0, 0, 0, 0.5);
overflow: hidden;
}
mat-accordion{
height: 100%;
@ -145,4 +145,6 @@ mat-sidenav{
.example-sidenav-content{
display: flex;
flex-direction: column;
@ -1,6 +1,6 @@
.content {
height: 90%;
padding: 10px;
overflow-y: auto;
@ -1,4 +1,4 @@
<div style="height: 100%;display: flex; flex-direction: column;">
<div style="height: 100%;display: flex; flex-direction: column;overflow: hidden;">
<!-- header -->
<mat-accordion>
<mat-expansion-panel expanded>
@ -4,7 +4,7 @@
height: 93%;
box-sizing: border-box;
padding: 3px;
@ -426,8 +426,6 @@ export class CollectionToolsComponent implements OnInit {
this.getAllLibrary()
this.getAllBuildings()
this.getSitePlan()
let that = this
window.setTimeout(()=>{
document.getElementById("functionalDomainContent").oncontextmenu = function (event) {
@ -439,9 +437,8 @@ export class CollectionToolsComponent implements OnInit {
ngAfterViewInit(): void {
// 监听canvas组件选中素材事件
this.canvas.on("select",obj=>{
//选中素材属性注入函数
.contentBox {
padding: 10px 0 0 10px;
.contentBox{
@ -1,7 +1,7 @@
margin: 0 0 0 10px;
.leftBox {
@ -18,7 +18,7 @@
<div style="overflow-y: auto;height: 90%;">
<div style="overflow-x: hidden;overflow-y: auto;height: 90%;">
<table mat-table [dataSource]="CADList">
<ng-container matColumnDef="checked">
@ -501,8 +501,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
this.setPaintMode(PaintMode.endPaint);
this.resetCanvas();
this.destroyBackgroundImage();
if (this.canvasData.selectStorey.imageUrl === null
||this.canvasData.selectStorey.imageUrl === undefined) {
if (!this.canvasData.selectStorey.imageUrl) {
return;
@ -4,6 +4,7 @@ html,body{
margin:0 auto;
padding:0;
ul,ol,dl,li,dt,dd,p,form,input,h1,h2,h3,h4,h5,h6,section,article,aside,header,footer,nav,figure,time,mark,main,canvas{
margin:0;