diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index cb3680e..a034b60 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -17,6 +17,7 @@ import { PlanPassComponent } from '../app/plan-audit/plan-pass/plan-pass.compone
import {AuthGuard} from './auth.guard'
import {MTokenK1Component} from './m-token-k1/m-token-k1.component' //K1秘钥
import {ViewUnitDetailsPlanComponent} from './key-unit/view-unit-details-plan/view-unit-details-plan.component'
+import { TestComponent } from './test/test.component';
const routes: Routes = [
@@ -40,6 +41,8 @@ const routes: Routes = [
{ path:'keyUnit/viewunitinfoplans', component:ViewUnitDetailsPlanComponent,canActivate: [AuthGuard],},
{path:'getNoMToken',component:MTokenK1Component, canActivate: [AuthGuard],}, //K1秘钥验证失败是跳转页面
{ path: 'planAudit/planpass', component: PlanPassComponent },
+ { path: 'test', component: TestComponent },
+
];
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 254bcde..9ee49f3 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -37,7 +37,21 @@ export class AppComponent {
this.token.startUp()
})
}
-
+ // console.log(1234,document.documentElement.clientWidth)
+ function addMeta(name,content){//手动添加mate标签
+
+ let meta = document.createElement('meta');
+
+ meta.content=content;
+
+ meta.name=name;
+
+ document.getElementsByTagName('head')[0].appendChild(meta);
+
+ }
+ if(document.documentElement.clientWidth < 800){
+ addMeta('viewport','initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5, user-scalable=no,uc-fitscreen=yes,viewport-fit=cover')
+ }
}
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index acf3ce5..d09bb8d 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -22,12 +22,14 @@ import { CountdownModule } from 'ngx-countdown'; //倒计时插件
import { GISManagementModule } from './gis-management/gis-management.module';
import { DataCollectionModule } from './data-collection/data-collection.module';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
+import { TestComponent } from './test/test.component';
@NgModule({
declarations: [
AppComponent,
HomeComponent,
- MTokenK1Component
+ MTokenK1Component,
+ TestComponent
],
imports: [
BrowserModule,
diff --git a/src/app/data-collection/fire-force/fire-force.component.html b/src/app/data-collection/fire-force/fire-force.component.html
index ac53a0a..1a3a16d 100644
--- a/src/app/data-collection/fire-force/fire-force.component.html
+++ b/src/app/data-collection/fire-force/fire-force.component.html
@@ -105,7 +105,10 @@
-
+
+
+

+
请等待...
diff --git a/src/app/data-collection/fire-force/fire-force.component.scss b/src/app/data-collection/fire-force/fire-force.component.scss
index 76e67df..2e6718b 100644
--- a/src/app/data-collection/fire-force/fire-force.component.scss
+++ b/src/app/data-collection/fire-force/fire-force.component.scss
@@ -270,7 +270,15 @@
width: 100%;
height:500px;
position: relative;
+ transition: height 0.5s;
+ .putDown{
+ position: absolute;
+ right: 0;
+ top: -40px;
+ cursor: pointer;
+ }
.tabsbox{
+ margin-top: 10px;
width: 100%;
height: 40px;
overflow: hidden;
@@ -515,6 +523,10 @@
}
}
}
+ .noHeight{
+ height: 0px;
+ transition: height 0.5s;
+ }
}
@@ -611,7 +623,9 @@
}
.detailsbox{
height:338px;
+ transition: height 0.5s;
.tabsbox{
+ margin-top: 5px;
height: 38px;
line-height: 38px;
.tabs{
@@ -642,6 +656,7 @@
}
.contant{
height:300px;
+
p{
padding-left: 20px;
font-size: 14px;
@@ -672,5 +687,9 @@
}
}
}
+ .noHeight{
+ height: 0px;
+ transition: height 0.5s;
+ }
}
}
\ No newline at end of file
diff --git a/src/app/data-collection/fire-force/fire-force.component.ts b/src/app/data-collection/fire-force/fire-force.component.ts
index 077a144..1801063 100644
--- a/src/app/data-collection/fire-force/fire-force.component.ts
+++ b/src/app/data-collection/fire-force/fire-force.component.ts
@@ -1163,6 +1163,12 @@ export class FireForceComponent implements OnInit {
dialogRef.afterClosed().subscribe();
}
}
+
+ //收起展开列表
+ isPutDown:boolean = false
+ putDown(){
+ this.isPutDown = !this.isPutDown
+ }
}
diff --git a/src/app/data-collection/linkage-forces/linkage-forces.component.html b/src/app/data-collection/linkage-forces/linkage-forces.component.html
index 37e0431..014e2b2 100644
--- a/src/app/data-collection/linkage-forces/linkage-forces.component.html
+++ b/src/app/data-collection/linkage-forces/linkage-forces.component.html
@@ -83,7 +83,7 @@
-
+
请等待...
@@ -97,6 +97,9 @@
下载中...({{progressBarValue}}%)
+
+

+
diff --git a/src/app/data-collection/linkage-forces/linkage-forces.component.scss b/src/app/data-collection/linkage-forces/linkage-forces.component.scss
index ddf644c..3aea706 100644
--- a/src/app/data-collection/linkage-forces/linkage-forces.component.scss
+++ b/src/app/data-collection/linkage-forces/linkage-forces.component.scss
@@ -233,6 +233,13 @@
width: 100%;
height:500px;
position: relative;
+ transition: height 0.5s;
+ .putDown{
+ position: absolute;
+ right: 0;
+ top: -40px;
+ cursor: pointer;
+ }
.tabsbox{
width: 100%;
height: 40px;
@@ -242,6 +249,7 @@
display: flex;
justify-content: space-between;
font-size: 15px;
+ margin-top: 10px;
.tabs{
div{
float: left;
@@ -479,6 +487,10 @@
}
}
}
+ .noHeight{
+ height: 0px;
+ transition: height 0.5s;
+ }
}
@@ -598,9 +610,11 @@
}
.detailsbox{
height:338px;
+ transition: height 0.5s;
.tabsbox{
height: 38px;
line-height: 38px;
+ margin-top: 5px;
.tabs{
div{
width: 90px;
@@ -659,5 +673,9 @@
}
}
}
+ .noHeight{
+ height: 0px;
+ transition: height 0.5s;
+ }
}
}
\ No newline at end of file
diff --git a/src/app/data-collection/linkage-forces/linkage-forces.component.ts b/src/app/data-collection/linkage-forces/linkage-forces.component.ts
index f113b29..c909728 100644
--- a/src/app/data-collection/linkage-forces/linkage-forces.component.ts
+++ b/src/app/data-collection/linkage-forces/linkage-forces.component.ts
@@ -896,6 +896,12 @@ export class LinkageForcesComponent implements OnInit {
}
}
+
+ //收起展开列表
+ isPutDown:boolean = false
+ putDown(){
+ this.isPutDown = !this.isPutDown
+ }
}
diff --git a/src/app/data-collection/water-collection/water-collection.component.html b/src/app/data-collection/water-collection/water-collection.component.html
index 2d07aa3..265fa73 100644
--- a/src/app/data-collection/water-collection/water-collection.component.html
+++ b/src/app/data-collection/water-collection/water-collection.component.html
@@ -70,7 +70,10 @@
-
+
+
+

+
diff --git a/src/app/data-collection/water-collection/water-collection.component.scss b/src/app/data-collection/water-collection/water-collection.component.scss
index dd72757..5aee980 100644
--- a/src/app/data-collection/water-collection/water-collection.component.scss
+++ b/src/app/data-collection/water-collection/water-collection.component.scss
@@ -217,6 +217,14 @@
.detailsbox{
width: 100%;
height:500px;
+ transition: height 0.5s;
+ position: relative;
+ .putDown{
+ position: absolute;
+ right: 0;
+ top: -40px;
+ cursor: pointer;
+ }
.tabsbox{
width: 100%;
height: 40px;
@@ -224,6 +232,7 @@
display: flex;
justify-content: space-between;
font-size: 15px;
+ margin-top: 10px;
.tabs{
div{
float: left;
@@ -323,6 +332,10 @@
}
}
}
+ .noHeight{
+ height: 0px;
+ transition: height 0.5s;
+ }
}
.addWaterBox{
@@ -417,8 +430,10 @@
}
.detailsbox{
height:338px;
+ transition: height 0.5s;
.tabsbox{
height: 38px;
+ margin-top: 5px;
line-height: 38px;
.tabs{
div{
@@ -469,6 +484,10 @@
}
}
}
+ .noHeight{
+ height: 0px;
+ transition: height 0.5s;
+ }
}
}
diff --git a/src/app/data-collection/water-collection/water-collection.component.ts b/src/app/data-collection/water-collection/water-collection.component.ts
index 3e6b7a7..9be0559 100644
--- a/src/app/data-collection/water-collection/water-collection.component.ts
+++ b/src/app/data-collection/water-collection/water-collection.component.ts
@@ -134,6 +134,7 @@ export class WaterCollectionComponent implements OnInit {
}
ngOnInit(): void {
+ console.log(88888,navigator.userAgent)
this.getAllWaterData()
setTimeout(() => {
this.createMap()
@@ -647,6 +648,13 @@ export class WaterCollectionComponent implements OnInit {
})//取消
}
}
+
+
+ //收起展开列表
+ isPutDown:boolean = false
+ putDown(){
+ this.isPutDown = !this.isPutDown
+ }
}
diff --git a/src/app/gis-management/allaround/allaround.component.scss b/src/app/gis-management/allaround/allaround.component.scss
index 9f85c28..dd828a2 100644
--- a/src/app/gis-management/allaround/allaround.component.scss
+++ b/src/app/gis-management/allaround/allaround.component.scss
@@ -114,15 +114,41 @@
.rotateA {transform: rotate(90deg) scale(0.75);}
.rotateB {transform: rotate(180deg)}
.rotateC {transform: rotate(270deg) scale(0.75);}
-@media screen and (max-width:1400px){
+@media screen and (max-width:1200px){
.bigimgbox{
- width:920px;
- height: 600px;
+ width: 880px;
+ height: 580px;
+ //预览图片
+ .previewImgBox {
+ width: 800px;
+ height: 475px;
+ text-align: center;
+ }
}
- //预览图片
- .previewImgBox {
- width: 800px;
- height: 500px;
- text-align: center;
+}
+@media screen and (min-width:1200px) and (max-width:1400px){
+ .bigimgbox{
+ width:880px;
+ height: 610px;
+ //预览图片
+ .previewImgBox {
+ width: 800px;
+ height: 500px;
+ text-align: center;
+ }
+ }
+
+}
+@media screen and (min-width:1400px) and (max-width:1600px){
+ .bigimgbox{
+ width:1110px;
+ height: 660px;
+ //预览图片
+ .previewImgBox {
+ width: 900px;
+ height: 550px;
+ text-align: center;
+ }
}
+
}
diff --git a/src/app/gis-management/fire-facilities/fire-facilities.component.scss b/src/app/gis-management/fire-facilities/fire-facilities.component.scss
index 537daea..180645e 100644
--- a/src/app/gis-management/fire-facilities/fire-facilities.component.scss
+++ b/src/app/gis-management/fire-facilities/fire-facilities.component.scss
@@ -220,14 +220,31 @@
}
}
}
- @media screen and (max-width:1300px){
+ @media screen and (max-width:1200px){
.imageList{
- width:911px;
- height:570px;
+ width: 880px;
+ height: 580px;
+ .imageListBox {
+ .imagesBox{
+ width:262px;
+ }
+ }
+ }
+ }
+ @media screen and (min-width:1200px) and (max-width:1400px){
+ .imageList{
+ width: 880px;
+ height: 610px;
.imageListBox {
.imagesBox{
width:275px;
}
}
}
+ }
+ @media screen and (min-width:1400px) and (max-width:1600px){
+ .imageList{
+ width:1110px;
+ height: 660px;
+ }
}
\ No newline at end of file
diff --git a/src/app/gis-management/fire-facilities/realistic-picture.component.scss b/src/app/gis-management/fire-facilities/realistic-picture.component.scss
index d340e20..9858e7f 100644
--- a/src/app/gis-management/fire-facilities/realistic-picture.component.scss
+++ b/src/app/gis-management/fire-facilities/realistic-picture.component.scss
@@ -177,10 +177,22 @@
margin: 20px auto;
}
}
-@media screen and (max-width:1300px){
+@media screen and (max-width:1200px){
.imgDiaLogBox{
- width: 920px;
- height: 600px;
+ width: 880px;
+ height: 580px;
+ //预览图片
+ .previewImgBox {
+ width: 800px;
+ height: 475px;
+ text-align: center;
+ }
+ }
+}
+@media screen and (min-width:1200px) and (max-width:1400px){
+ .imgDiaLogBox{
+ width: 880px;
+ height: 610px;
//预览图片
.previewImgBox {
width: 800px;
@@ -189,4 +201,17 @@
}
}
}
+@media screen and (min-width:1400px) and (max-width:1600px){
+ .imgDiaLogBox{
+ width:1110px;
+ height: 660px;
+ //预览图片
+ .previewImgBox {
+ width: 900px;
+ height: 550px;
+ text-align: center;
+ }
+ }
+}
+
diff --git a/src/app/gis-management/gis-labeling/gis-labeling.component.html b/src/app/gis-management/gis-labeling/gis-labeling.component.html
index 19fe6b8..bb452b1 100644
--- a/src/app/gis-management/gis-labeling/gis-labeling.component.html
+++ b/src/app/gis-management/gis-labeling/gis-labeling.component.html
@@ -22,18 +22,18 @@