diff --git a/src/app/navigation/navigation.component.html b/src/app/navigation/navigation.component.html index 8d01999..985c8e0 100644 --- a/src/app/navigation/navigation.component.html +++ b/src/app/navigation/navigation.component.html @@ -9,8 +9,8 @@
  • 基本信息
  • - -
  • 平面图
  • +
  • 平面图
  • +
  • H5平面图
  • 四周毗邻
  • @@ -32,8 +32,12 @@
    +
    +
    +
    +
    diff --git a/src/app/navigation/navigation.component.scss b/src/app/navigation/navigation.component.scss index bdeb9c4..a20053b 100644 --- a/src/app/navigation/navigation.component.scss +++ b/src/app/navigation/navigation.component.scss @@ -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{ height: 100%; overflow: hidden; + display: flex; + flex-direction: column; } \ No newline at end of file diff --git a/src/app/ui/allaround/allaround.component.scss b/src/app/ui/allaround/allaround.component.scss index 3f723b9..dd30c2b 100644 --- a/src/app/ui/allaround/allaround.component.scss +++ b/src/app/ui/allaround/allaround.component.scss @@ -1,6 +1,6 @@ .content { width: 100%; - height: 90%; + height: 100%; padding: 10px; overflow-y: auto; } diff --git a/src/app/ui/basicinfo/basicinfo.component.html b/src/app/ui/basicinfo/basicinfo.component.html index e9348f1..7dcf0e6 100644 --- a/src/app/ui/basicinfo/basicinfo.component.html +++ b/src/app/ui/basicinfo/basicinfo.component.html @@ -1,4 +1,4 @@ -
    +
    diff --git a/src/app/ui/collection-tools/collection-tools.component.scss b/src/app/ui/collection-tools/collection-tools.component.scss index 79c996d..8e5d717 100644 --- a/src/app/ui/collection-tools/collection-tools.component.scss +++ b/src/app/ui/collection-tools/collection-tools.component.scss @@ -4,7 +4,7 @@ } .content { width: 100%; - height: 93%; + height: 100%; overflow: hidden; box-sizing: border-box; padding: 3px; diff --git a/src/app/ui/collection-tools/collection-tools.component.ts b/src/app/ui/collection-tools/collection-tools.component.ts index 69cb08c..0bcd0c8 100644 --- a/src/app/ui/collection-tools/collection-tools.component.ts +++ b/src/app/ui/collection-tools/collection-tools.component.ts @@ -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 { + this.getSitePlan() // 监听canvas组件选中素材事件 this.canvas.on("select",obj=>{ //选中素材属性注入函数 diff --git a/src/app/ui/fire-fighting-device/fire-fighting-device.component.scss b/src/app/ui/fire-fighting-device/fire-fighting-device.component.scss index 1a71206..1c380c2 100644 --- a/src/app/ui/fire-fighting-device/fire-fighting-device.component.scss +++ b/src/app/ui/fire-fighting-device/fire-fighting-device.component.scss @@ -1,6 +1,6 @@ .content { width: 100%; - height: 90%; + height: 100%; padding: 10px; overflow-y: auto; .contentBox { diff --git a/src/app/ui/function-division/function-division.component.scss b/src/app/ui/function-division/function-division.component.scss index e74bcf1..0fa0a04 100644 --- a/src/app/ui/function-division/function-division.component.scss +++ b/src/app/ui/function-division/function-division.component.scss @@ -1,6 +1,6 @@ .content { width: 100%; - height: 90%; + height: 100%; overflow-y: auto; padding: 10px 0 0 10px; display: flex; diff --git a/src/app/ui/key-site/key-site.component.scss b/src/app/ui/key-site/key-site.component.scss index 3fbf2eb..08d9639 100644 --- a/src/app/ui/key-site/key-site.component.scss +++ b/src/app/ui/key-site/key-site.component.scss @@ -1,6 +1,6 @@ .content { width: 100%; - height: 90%; + height: 100%; padding: 10px; overflow-y: auto; .contentBox{ diff --git a/src/app/ui/realistic-picture/realistic-picture.component.scss b/src/app/ui/realistic-picture/realistic-picture.component.scss index cfbc003..075375c 100644 --- a/src/app/ui/realistic-picture/realistic-picture.component.scss +++ b/src/app/ui/realistic-picture/realistic-picture.component.scss @@ -1,7 +1,7 @@ .content { margin: 0 0 0 10px; width: 100%; - height: 90%; + height: 100%; overflow-y: auto; display: flex; .leftBox { diff --git a/src/app/ui/uploading-cad/uploading-cad.component.html b/src/app/ui/uploading-cad/uploading-cad.component.html index 3deec43..c312b3b 100644 --- a/src/app/ui/uploading-cad/uploading-cad.component.html +++ b/src/app/ui/uploading-cad/uploading-cad.component.html @@ -18,7 +18,7 @@
    -
    +
    diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts index 55bd311..1e6b9d7 100644 --- a/src/app/working-area/working-area.component.ts +++ b/src/app/working-area/working-area.component.ts @@ -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; } diff --git a/src/styles.scss b/src/styles.scss index 5c78b2e..88ed855 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -4,6 +4,7 @@ html,body{ height: 100%; margin:0 auto; padding:0; + overflow: hidden; } 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;