diff --git a/package.json b/package.json
index 6c2f6f5ac..1da2b34b6 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,9 @@
"et:list": "gulp themes"
},
"dependencies": {
+ "@antv/l7": "^2.9.14",
+ "@antv/l7-draw": "^3.0.5",
+ "@antv/l7-maps": "^2.9.14",
"@riophae/vue-treeselect": "^0.4.0",
"@tinymce/tinymce-vue": "^3.2.8",
"async-validator": "^4.2.5",
diff --git a/src/assets/img/modules/visual/fenlei-box.png b/src/assets/img/modules/visual/fenlei-box.png
new file mode 100644
index 000000000..531f8a811
Binary files /dev/null and b/src/assets/img/modules/visual/fenlei-box.png differ
diff --git a/src/assets/img/shuju/fiveLayer/ep_qt.png b/src/assets/img/shuju/fiveLayer/ep_qt.png
new file mode 100644
index 000000000..ec5bfbf20
Binary files /dev/null and b/src/assets/img/shuju/fiveLayer/ep_qt.png differ
diff --git a/src/assets/img/shuju/grid/pos-green.png b/src/assets/img/shuju/grid/pos-green.png
new file mode 100644
index 000000000..a4bf392e0
Binary files /dev/null and b/src/assets/img/shuju/grid/pos-green.png differ
diff --git a/src/assets/img/shuju/grid/pos-red.png b/src/assets/img/shuju/grid/pos-red.png
new file mode 100644
index 000000000..f0ab35472
Binary files /dev/null and b/src/assets/img/shuju/grid/pos-red.png differ
diff --git a/src/assets/img/shuju/grid/pos-yellow.png b/src/assets/img/shuju/grid/pos-yellow.png
new file mode 100644
index 000000000..91ff243b0
Binary files /dev/null and b/src/assets/img/shuju/grid/pos-yellow.png differ
diff --git a/src/assets/scss/main-shuju.scss b/src/assets/scss/main-shuju.scss
index 092ff7964..a74a552f5 100644
--- a/src/assets/scss/main-shuju.scss
+++ b/src/assets/scss/main-shuju.scss
@@ -1,15 +1,18 @@
@import "~@/element-ui/theme-variables.scss";
-@import "./variables.scss";
+@import "./shuju-variables.scss";
+@import "./c/config";
+@import "./c/function";
+@import "./modules/visual/c/common.scss";
-// $navbar--height: 60px;
-body {
+.g-main {
+ padding: 10px 20px 10px;
}
.m-iframe {
position: relative;
- width: 100vw;
- height: calc(100vh - 55px);
- margin: -10px;
+ box-sizing: content-box;
+ width: calc(100% + 20px);
+ margin: -10px -20px -10px;
z-index: 100;
}
@@ -19,6 +22,8 @@ body {
background-image: url(../img/shuju/bg.jpg);
background-size: cover;
background-position: center 0;
+ height: 100%;
+ @include scrollBar;
.el-card + .el-card {
margin-top: 15px;
@@ -171,6 +176,10 @@ body {
// box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
background: linear-gradient(180deg, #00023f, #176dec);
box-shadow: 0px 3px 16px 0px rgba(187, 187, 227, 0.35);
+ font-size: 19px;
+ .el-menu-item {
+ font-size: 19px;
+ }
.navbar--colorful {
.navbar__body {
@@ -229,17 +238,17 @@ body {
display: flex;
justify-content: center;
align-items: center;
- padding: 5px;
+ padding: 10px 20px;
margin: 0;
width: 100%;
height: 100%;
- font-size: 24px;
+ font-size: 28px;
+ font-weight: bold;
text-transform: uppercase;
white-space: nowrap;
// overflow: hidden;
transition: width 0.3s;
font-family: FZZCHJW;
- font-weight: normal;
color: #ffffff;
background: linear-gradient(0deg, #03c7ff 24.609375%, #ffffff 81.0791015625%);
-webkit-background-clip: text;
@@ -288,6 +297,7 @@ body {
.navbar__menu {
background-color: transparent;
border-bottom: 0 !important;
+
a:focus,
a:hover {
text-decoration: none;
@@ -349,7 +359,7 @@ body {
position: absolute;
display: none;
padding: 0 10px;
- width: 120px;
+ width: 160px;
left: -100px;
right: -100px;
margin: 0 auto;
@@ -360,6 +370,9 @@ body {
border-top: 1px dashed rgba(#fff, 0.4);
color: rgba(#fff, 0.7);
transition: all ease 0.5s;
+ padding: 10px 0;
+ line-height: $navbar--height * 0.5;
+
&.z-on {
font-weight: bold;
}
@@ -409,13 +422,14 @@ body {
}
.navbar__icon-menu {
vertical-align: middle;
- font-size: 16px;
+ font-size: 20px;
}
.el-dropdown {
color: #fff;
+ font-size: 16px;
.el-icon-arrow-down {
width: auto;
- font-size: 12px;
+ font-size: 16px;
margin: 0 0 0 5px;
transition: transform 0.3s;
}
@@ -459,9 +473,9 @@ body {
.navbar__avatar {
.el-dropdown-link {
> img {
- width: 36px;
+ width: 42px;
height: auto;
- margin-right: 5px;
+ margin-right: 7px;
border-radius: 100%;
vertical-align: middle;
}
diff --git a/src/assets/scss/modules/visual/basicInfoMain.scss b/src/assets/scss/modules/visual/basicInfoMain.scss
index 819f2df36..af79b78a1 100644
--- a/src/assets/scss/modules/visual/basicInfoMain.scss
+++ b/src/assets/scss/modules/visual/basicInfoMain.scss
@@ -3,7 +3,8 @@
@import "./c/common";
.div_top {
margin-left: 10px;
- height: 35px;
+ height: 40px;
+ line-height: 35px;
.router_line {
width: 212px;
height: 1px;
@@ -12,8 +13,8 @@
/* opacity: 0.09; */
}
.div_router {
- margin-top: 5px;
font-size: 16px;
+ font-weight: bold;
.router_parents {
color: #a0c3d9;
@@ -40,7 +41,7 @@
width: 100%;
// padding: 10px 5px 13px;
// margin-top: 8px;
- height: calc(88vh - 15px);
+ height: calc(825px - 15px);
color: #fff;
// background: url('../../../img/modules/visual/warning-box.png') no-repeat
// center;
@@ -109,10 +110,9 @@
box-sizing: border-box;
width: 100%;
- height: calc(88vh - 10px);
+ height: calc(825px - 10px);
color: #fff;
- background: url('../../../img/modules/visual/warning-box.png') no-repeat
- center;
+ background: url("../../../img/modules/visual/fenlei-box.png") no-repeat center;
background-size: 100% 100%;
// padding: 45px 21px 35px 24px;
@@ -208,13 +208,12 @@
.div_community_info {
box-sizing: border-box;
- flex: 0 0 calc(100vw - 620px);
- // width: calc(100vw - 560px);
+ flex: 0 0 calc(1919px - 620px);
+ // width: calc(1919px - 560px);
- height: calc(88vh - 10px);
+ height: calc(825px - 10px);
color: #fff;
- background: url('../../../img/modules/visual/warning-box.png') no-repeat
- center;
+ background: url("../../../img/modules/visual/warning-box.png") no-repeat center;
background-size: 100% 100%;
.div_select {
@@ -253,11 +252,11 @@
box-sizing: border-box;
margin-top: 9px;
- height: calc(88vh - 120px);
+ height: calc(825px - 120px);
}
.div_room {
- // height: calc(88vh - 40px);
+ // height: calc(825px - 40px);
// margin-top: 9px;
display: flex;
flex-wrap: wrap;
@@ -271,15 +270,19 @@
box-shadow: 0 0 10px inset #1a5afd;
}
.item {
- background-color: #011168;
margin-top: 12px;
- width: 244px;
+ width: 242px;
height: 190px;
border: 1px solid #037ddc;
border-radius: 8px;
text-align: center;
margin-left: 11px;
position: relative;
+ background-color: rgba(#000, 0.3);
+
+ &:nth-child(5n + 1) {
+ margin-left: 0;
+ }
// &:first-child {
// margin-left: 0;
@@ -317,19 +320,18 @@
justify-content: flex-start;
// margin-left: 7px;
- .div_icon_item{
- .icon_img{
+ .div_icon_item {
+ .icon_img {
margin-left: 5px;
width: 21px;
height: 20px;
}
- .icon_name{
+ .icon_name {
text-align: center;
display: flex;
justify-content: center;
}
}
-
}
.div_user:hover {
cursor: pointer;
@@ -362,7 +364,7 @@
}
.div_room::after {
- content: '';
+ content: "";
flex: 1;
}
}
@@ -424,6 +426,7 @@
width: 370px;
height: 470px;
overflow: hidden;
+ pointer-events: none;
.wrap {
display: flex;
@@ -433,6 +436,7 @@
transform: translateX(-5px);
transition: all ease 1s;
border-radius: 4px;
+ pointer-events: auto;
}
.wrap-hidden {
@@ -443,7 +447,7 @@
width: 320px;
height: 470px;
color: #fff;
- background: url('../../../img/modules/visual/box-2.png') no-repeat center;
+ background: url("../../../img/modules/visual/box-2.png") no-repeat center;
background-size: 100% 100%;
padding: 45px 20px 35px 20px;
@@ -578,7 +582,5 @@
}
}
}
-
-
}
}
diff --git a/src/assets/scss/modules/visual/distributionAnalyze.scss b/src/assets/scss/modules/visual/distributionAnalyze.scss
index e341f70fa..fff1af839 100644
--- a/src/assets/scss/modules/visual/distributionAnalyze.scss
+++ b/src/assets/scss/modules/visual/distributionAnalyze.scss
@@ -1,9 +1,10 @@
-@import '../../c/config';
-@import '../../c/function';
-@import './c/common';
+@import "../../c/config";
+@import "../../c/function";
+@import "./c/common";
.title {
- padding: 10px;
+ margin-bottom: 10px;
+ padding: 4px 2px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
@@ -37,7 +38,7 @@
color: #fff;
}
.second-title-label::after {
- content: '';
+ content: "";
position: absolute;
top: 50%;
left: 20px;
@@ -63,7 +64,7 @@
}
.el-icon-arrow-up:before {
- content: '\e78f';
+ content: "\e78f";
}
// .el-select__caret:before {
// content: '\E790'
@@ -117,11 +118,11 @@
flex-direction: row;
// flex-wrap: wrap;
justify-content: space-between;
- height: calc(100vh - 190px);
+ height: calc(988px - 190px);
.g-l {
width: 40%;
- height: calc(100vh - 200px);
+ height: calc(988px - 200px);
.echart-line {
margin-left: 30px;
@@ -149,11 +150,11 @@
.g-r {
width: 55%;
- height: calc(100vh - 210px);
+ height: calc(988px - 210px);
.r-map {
position: relative;
- height: calc(100vh - 210px - 50px);
+ height: calc(988px - 210px - 50px);
width: 100%;
.map {
diff --git a/src/assets/scss/modules/visual/duoyuanfenxi.scss b/src/assets/scss/modules/visual/duoyuanfenxi.scss
index 12032815a..da5ae4d1b 100644
--- a/src/assets/scss/modules/visual/duoyuanfenxi.scss
+++ b/src/assets/scss/modules/visual/duoyuanfenxi.scss
@@ -6,12 +6,12 @@
.g-cpt-resi {
display: flex;
flex-direction: row;
- height: calc(100vh - 180px);
+ height: calc(988px - 180px);
.g-l {
flex-shrink: 0;
width: 700px;
- height: calc(100vh - 230px);
+ height: calc(988px - 230px);
.l_top {
height: 385px;
@@ -21,7 +21,7 @@
}
.l_bottom {
- height: calc(100vh - 230px - 385px);
+ height: calc(988px - 230px - 385px);
margin-top: 40px;
}
}
@@ -29,8 +29,8 @@
.g-r {
text-align: center;
margin: 20px 10px 20px;
- width: calc(100vw - 700px);
- height: calc(100vh - 180px - 20px);
+ width: calc(1919px - 700px);
+ height: calc(988px - 180px - 20px);
}
}
diff --git a/src/assets/scss/modules/visual/fiveLayerMap.scss b/src/assets/scss/modules/visual/fiveLayerMap.scss
index ed0ffedde..abe74a6b8 100644
--- a/src/assets/scss/modules/visual/fiveLayerMap.scss
+++ b/src/assets/scss/modules/visual/fiveLayerMap.scss
@@ -3,7 +3,8 @@
@import "./c/common";
.div_top {
margin-left: 10px;
- height: 35px;
+ height: 40px;
+ line-height: 35px;
.router_line {
width: 212px;
height: 1px;
@@ -12,8 +13,8 @@
/* opacity: 0.09; */
}
.div_router {
- margin-top: 5px;
font-size: 16px;
+ font-weight: bold;
.router_parents {
color: #a0c3d9;
@@ -37,10 +38,10 @@
.div_map {
box-sizing: border-box;
- width: 100%;
+ width: 1920px - 630px - 20px;
// padding: 10px 5px 13px;
// margin-top: 8px;
- height: calc(88vh - 15px);
+ height: calc(810px);
color: #fff;
// background: url('../../../img/modules/visual/warning-box.png') no-repeat
// center;
@@ -49,17 +50,14 @@
}
.div_data {
- flex: 0 0 610px;
+ width: 630px;
margin-left: 12px;
.div_tips{
box-sizing: border-box;
width: 100%;
- height: 302px;
+ height: 300px;
color: #fff;
- background: url('../../../img/modules/visual/warning-box.png') no-repeat
- center;
- background-size: 100% 100%;
.div_coverage{
padding: 30px 10px 32px 10px;
@@ -89,9 +87,12 @@
}
.div_category {
+ @include scrollBar;
box-sizing: border-box;
- height:238px;
- padding:0 10px 20px;
+ height:176px;
+ padding:0 10px 0;
+ overflow-y: auto;
+ overflow-x: hidden;
.category_item {
@@ -159,17 +160,14 @@
box-sizing: border-box;
width: 100%;
margin-top:10px;
- height: calc(88vh - 302px - 10px);
+ height: calc(810px - 302px - 10px);
color: #fff;
- background: url('../../../img/modules/visual/warning-box.png') no-repeat
- center;
- background-size: 100% 100%;
- padding: 32px 21px 20px 20px;
+ overflow-x: hidden;
.div_search_list {
- margin: 0 auto;
+ margin: 6px auto;
text-align: center;
- width: 559px;
+ width: 570px;
height: 48px;
background-color: #011168;
border-radius: 4px;
@@ -194,14 +192,14 @@
.btn {
text-align: center;
flex: 0 0 113px;
- height: 48px;
+ height: 52px;
background: linear-gradient(90deg, #1A5AFD, #26C4FF);
border-radius: 0px 4px 4px 0px;
font-size: 20px;
font-family: PingFang SC;
font-weight: 400;
color: #ffffff;
- line-height: 48px;
+ line-height: 52px;
}
.btn:hover {
cursor: pointer;
@@ -210,17 +208,16 @@
.tb {
- height: calc(88vh - 302px - 10px - 150px);
+ height: calc(810px - 302px - 20px - 150px);
overflow-y: auto;
@include scrollBar;
margin-top:20px;
}
.m-pagination {
- position: absolute;
+ // position: absolute;
box-sizing: border-box;
- right: 5px;
- bottom: 5px;
+ margin-top: 2px;
width: 100%;
height: 40px;
display: flex;
@@ -252,10 +249,10 @@
.div_community_info {
box-sizing: border-box;
- flex: 0 0 calc(100vw - 620px);
- // width: calc(100vw - 560px);
+ flex: 0 0 calc(1919px - 620px);
+ // width: calc(1919px - 560px);
- height: calc(88vh - 10px);
+ height: calc(810px - 10px);
color: #fff;
background: url('../../../img/modules/visual/warning-box.png') no-repeat
center;
@@ -297,11 +294,11 @@
box-sizing: border-box;
margin-top: 9px;
- height: calc(88vh - 120px);
+ height: calc(810px - 120px);
}
.div_room {
- // height: calc(88vh - 40px);
+ // height: calc(810px - 40px);
// margin-top: 9px;
display: flex;
flex-wrap: wrap;
diff --git a/src/assets/scss/modules/visual/heart.scss b/src/assets/scss/modules/visual/heart.scss
index f0c964cb6..536a22b3a 100644
--- a/src/assets/scss/modules/visual/heart.scss
+++ b/src/assets/scss/modules/visual/heart.scss
@@ -47,7 +47,8 @@
.m-tb {
width: 33%;
.title {
- padding: 10px;
+ margin-bottom: 10px;
+ padding: 4px 2px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
@@ -64,7 +65,7 @@
}
}
.tb {
- height: calc(100vh - 230px);
+ height: calc(988px - 230px);
overflow-y: auto;
@include scrollBar;
}
diff --git a/src/assets/scss/modules/visual/houseStatic.scss b/src/assets/scss/modules/visual/houseStatic.scss
index fb6f31ae6..f89104834 100644
--- a/src/assets/scss/modules/visual/houseStatic.scss
+++ b/src/assets/scss/modules/visual/houseStatic.scss
@@ -1,5 +1,5 @@
.warning-box{
- padding: 0 21px 20px 24px
+ padding: 0 ;
}
.no-data{
margin-top:50px;
@@ -11,6 +11,9 @@
display: flex;
align-items: center;
cursor: pointer;
+ margin-bottom: 10px;
+ padding: 4px 2px;
+
.title-icon {
display: block;
width: 46px;
@@ -60,7 +63,7 @@
}
}
.title-label {
- font-size: 20px;
+ font-size: 22px;
font-weight: 800;
::v-deep .el-input {
width: 180px;
@@ -107,23 +110,25 @@
flex-grow:0;
flex-shrink:0;
width:50%;
-
height: 100%;
+
.div-chart{
display: flex;
width: 100%;
+ flex-wrap: wrap;
.echart-wr{
+ position: relative;
flex-shrink: 0;
height: 420px;
width: 70%;
}
.div-tip{
flex-shrink: 0;
- width: 30%;
+ width: 25%;
display: flex;
flex-direction: column;
justify-content: center;
- margin-left:20px;
+ margin-left:5%;
margin-top: -23px;
display: flex;
@@ -151,11 +156,11 @@
.div-tip2{
flex-shrink: 0;
- width: 30%;
+ width: 25%;
display: flex;
flex-direction: column;
justify-content: center;
- margin-left:20px;
+ margin-left:5%;
margin-top: -23px;
display: flex;
diff --git a/src/assets/scss/modules/visual/incident-info.scss b/src/assets/scss/modules/visual/incident-info.scss
index ed3aacad8..c305a4c4d 100644
--- a/src/assets/scss/modules/visual/incident-info.scss
+++ b/src/assets/scss/modules/visual/incident-info.scss
@@ -1,6 +1,6 @@
-@import '../../c/config';
-@import '../../c/function';
-@import './c/common';
+@import "../../c/config";
+@import "../../c/function";
+@import "./c/common";
.m-pop {
@include shield;
@@ -103,7 +103,18 @@
.info-content {
margin: 20px 0;
}
-
+
+ .info-pics {
+ display: flex;
+ margin: 20px 0;
+ img {
+ display: block;
+ width: 32%;
+ height: 90px;
+ margin-right: 9px;
+ object-fit: cover;
+ }
+ }
.info-prop {
position: relative;
@@ -123,7 +134,7 @@
}
&::before {
- content: '';
+ content: "";
display: block;
position: absolute;
top: 9px;
@@ -134,18 +145,6 @@
border-radius: 3px;
margin-right: 10px;
}
-
- .info-pics {
- display: flex;
- margin: 20px 0;
- img {
- display: block;
- width: 32%;
- height: 90px;
- margin-right: 9px;
- object-fit: cover;
- }
- }
}
}
@@ -265,7 +264,7 @@
padding-right: 10px;
&::before {
- content: '';
+ content: "";
position: absolute;
z-index: 1;
display: block;
@@ -290,7 +289,7 @@
padding-top: 1px;
&::before {
- content: '';
+ content: "";
display: block;
position: absolute;
top: -5px;
diff --git a/src/assets/scss/modules/visual/issue-info.scss b/src/assets/scss/modules/visual/issue-info.scss
index e4672951d..dc3fe2fdb 100644
--- a/src/assets/scss/modules/visual/issue-info.scss
+++ b/src/assets/scss/modules/visual/issue-info.scss
@@ -1,6 +1,6 @@
-@import '../../c/config';
-@import '../../c/function';
-@import './c/common';
+@import "../../c/config";
+@import "../../c/function";
+@import "./c/common";
.m-pop {
@include shield;
@@ -68,6 +68,18 @@
line-height: 30px;
}
+ .info-pics {
+ display: flex;
+ margin: 10px 0;
+ img {
+ display: block;
+ width: 32%;
+ height: 90px;
+ margin-right: 9px;
+ object-fit: cover;
+ }
+ }
+
.info-prop {
position: relative;
margin: 10px 0;
@@ -78,17 +90,6 @@
flex: 0 0 1;
font-size: 14px;
}
- .info-pics {
- display: flex;
- margin: 10px 0;
- img {
- display: block;
- width: 32%;
- height: 90px;
- margin-right: 9px;
- object-fit: cover;
- }
- }
> span,
> div {
display: block;
@@ -96,7 +97,7 @@
}
&::before {
- content: '';
+ content: "";
display: block;
position: absolute;
top: 9px;
diff --git a/src/assets/scss/modules/visual/people.scss b/src/assets/scss/modules/visual/people.scss
index f9379e7f8..747b9218c 100644
--- a/src/assets/scss/modules/visual/people.scss
+++ b/src/assets/scss/modules/visual/people.scss
@@ -24,7 +24,8 @@
position: relative;
.title {
- padding: 10px;
+ margin-bottom: 10px;
+ padding: 4px 2px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
@@ -187,7 +188,8 @@
width: 1180px;
.title {
- padding: 10px;
+ margin-bottom: 10px;
+ padding: 4px 2px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
@@ -294,7 +296,8 @@
margin-top: 10px;
.title {
- padding: 10px;
+ margin-bottom: 10px;
+ padding: 4px 2px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
@@ -447,7 +450,8 @@
.m-tb {
.title {
- padding: 10px;
+ margin-bottom: 10px;
+ padding: 4px 2px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
@@ -479,7 +483,8 @@
width: calc(50% - 3px);
.title {
- padding: 10px;
+ margin-bottom: 10px;
+ padding: 4px 2px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
diff --git a/src/assets/scss/modules/visual/personCategory.scss b/src/assets/scss/modules/visual/personCategory.scss
index a756b8c18..77d9988fe 100644
--- a/src/assets/scss/modules/visual/personCategory.scss
+++ b/src/assets/scss/modules/visual/personCategory.scss
@@ -8,7 +8,7 @@
color: #fff;
// background: url("../../../img/modules/visual/warning-box.png") no-repeat center;
background-size: 100% 100%;
- padding: 15px 21px 15px 24px;
+ // padding: 15px 21px 15px 24px;
@@ -159,7 +159,7 @@
&-bottom {
box-sizing: border-box;
width: 100%;
- // height: calc(100vh - 535px);
+ // height: calc(988px - 535px);
min-height: 300px;
margin-top: 60px;
}
diff --git a/src/assets/scss/modules/visual/processAnalyze.scss b/src/assets/scss/modules/visual/processAnalyze.scss
index ba44dbfaa..1a4b3f3db 100644
--- a/src/assets/scss/modules/visual/processAnalyze.scss
+++ b/src/assets/scss/modules/visual/processAnalyze.scss
@@ -6,12 +6,12 @@
.g-cpt-resi {
display: flex;
flex-direction: row;
- height: calc(100vh - 180px);
+ height: calc(988px - 180px);
.g-l {
flex-shrink: 0;
width: 700px;
- height: calc(100vh - 230px);
+ height: calc(988px - 230px);
.l_top {
height: 385px;
@@ -24,7 +24,7 @@
}
}
.l_bottom {
- height: calc(100vh - 230px - 385px);
+ height: calc(988px - 230px - 385px);
margin-top: 20px;
}
}
@@ -32,8 +32,8 @@
.g-r {
text-align: center;
margin: 20px 10px 20px;
- width: calc(100vw - 700px);
- height: calc(100vh - 180px - 20px);
+ width: calc(1919px - 700px);
+ height: calc(988px - 180px - 20px);
}
}
@@ -119,7 +119,7 @@
.g-r {
.r-map {
position: relative;
- height: calc(100vh - 180px - 20px - 70px);
+ height: calc(988px - 180px - 20px - 70px);
width: 100%;
.map {
diff --git a/src/assets/scss/modules/visual/resibuzz.scss b/src/assets/scss/modules/visual/resibuzz.scss
index 6d43913ed..049be1804 100644
--- a/src/assets/scss/modules/visual/resibuzz.scss
+++ b/src/assets/scss/modules/visual/resibuzz.scss
@@ -9,19 +9,19 @@
flex-direction: row;
// flex-wrap: wrap;
// justify-content: center;
- height: calc(100vh - 180px);
+ height: calc(988px - 180px);
.g-l {
flex-shrink: 0;
width: 600px;
- height: calc(100vh - 180px);
+ height: calc(988px - 180px);
}
.g-r {
text-align: center;
margin: 40px 0 0 19px;
- width: calc(100vw - 60px - 600px);
- // height: calc(100vh - 170px - 20px);
+ width: calc(1919px - 60px - 600px);
+ // height: calc(988px - 170px - 20px);
}
}
@@ -30,7 +30,7 @@
position: relative;
height: 100%;
.tb {
- height: calc(100vh - 170px - 50px - 50px);
+ height: calc(988px - 170px - 50px - 50px);
overflow-y: auto;
@include scrollBar;
}
diff --git a/src/assets/scss/modules/visual/searchPerson.scss b/src/assets/scss/modules/visual/searchPerson.scss
index 6be528e10..fe9489fd0 100644
--- a/src/assets/scss/modules/visual/searchPerson.scss
+++ b/src/assets/scss/modules/visual/searchPerson.scss
@@ -1,5 +1,5 @@
-.div_people_search{
- min-height:100%;
+.div_people_search {
+ min-height: 100%;
box-sizing: border-box;
}
@@ -36,6 +36,7 @@
font-weight: 400;
color: #ffffff;
line-height: 53px;
+ background: linear-gradient(90deg, #1a5afd, #26c4ff);
}
.btn:hover {
cursor: pointer;
@@ -51,8 +52,7 @@
// height: calc(88vh - 200px);
height: 485px;
color: #fff;
- background: url('../../../img/modules/visual/warning-box.png') no-repeat
- center;
+ background: url("../../../img/modules/visual/warning-box.png") no-repeat center;
background-size: 100% 100%;
}
@@ -123,16 +123,15 @@
}
&-tr:hover {
- background: url('../../../img/modules/visual/hover-bac.png') no-repeat
- center;
+ background: url("../../../img/modules/visual/hover-bac.png") no-repeat center;
background-size: 100% 100%;
}
}
- &-status{
- margin-top:20px;
+ &-status {
+ margin-top: 20px;
- .no-data{
+ .no-data {
display: flex;
justify-content: center;
}
@@ -159,7 +158,7 @@
}
.pagination {
box-sizing: border-box;
- padding-right:180px;
+ padding-right: 180px;
padding-bottom: 20px;
margin-top: 40px;
diff --git a/src/assets/scss/modules/visual/search_1.scss b/src/assets/scss/modules/visual/search_1.scss
index ffb46b67f..b7606f26c 100644
--- a/src/assets/scss/modules/visual/search_1.scss
+++ b/src/assets/scss/modules/visual/search_1.scss
@@ -3,7 +3,8 @@
@import './c/common';
.title {
- padding: 10px;
+ margin-bottom: 10px;
+ padding: 4px 2px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
diff --git a/src/assets/scss/modules/visual/shijianchulifenxi.scss b/src/assets/scss/modules/visual/shijianchulifenxi.scss
index ca099bed4..79dfe912c 100644
--- a/src/assets/scss/modules/visual/shijianchulifenxi.scss
+++ b/src/assets/scss/modules/visual/shijianchulifenxi.scss
@@ -6,12 +6,12 @@
.g-cpt-resi {
display: flex;
flex-direction: row;
- height: calc(100vh - 180px);
+ height: calc(988px - 180px);
.g-l {
flex-shrink: 0;
width: 700px;
- height: calc(100vh - 230px);
+ height: calc(988px - 230px);
.l_top {
height: 355px;
@@ -21,7 +21,7 @@
}
.l_bottom {
- height: calc(100vh - 200px - 365px);
+ height: calc(988px - 200px - 365px);
margin-top: 0;
}
}
@@ -29,8 +29,8 @@
.g-r {
text-align: center;
margin: 20px 10px 20px;
- width: calc(100vw - 700px);
- height: calc(100vh - 180px - 20px);
+ width: calc(1919px - 700px);
+ height: calc(988px - 180px - 20px);
}
}
@@ -74,7 +74,7 @@
position: relative;
height: 100%;
.tb {
- height: calc(100vh - 170px - 50px - 50px);
+ height: calc(988px - 170px - 50px - 50px);
overflow-y: auto;
@include scrollBar;
}
diff --git a/src/assets/scss/modules/visual/shijianfenleifenxi.scss b/src/assets/scss/modules/visual/shijianfenleifenxi.scss
index c4f19da31..6d0bcedce 100644
--- a/src/assets/scss/modules/visual/shijianfenleifenxi.scss
+++ b/src/assets/scss/modules/visual/shijianfenleifenxi.scss
@@ -6,12 +6,12 @@
.g-cpt-resi {
display: flex;
flex-direction: row;
- height: calc(100vh - 180px);
+ height: calc(988px - 180px);
.g-l {
flex-shrink: 0;
width: 700px;
- height: calc(100vh - 230px);
+ height: calc(988px - 230px);
.l_top {
height: 385px;
@@ -21,7 +21,7 @@
}
.l_bottom {
- height: calc(100vh - 230px - 385px);
+ height: calc(988px - 230px - 385px);
margin-top: 20px;
}
}
@@ -29,8 +29,8 @@
.g-r {
text-align: center;
margin: 20px 10px 20px;
- width: calc(100vw - 700px);
- height: calc(100vh - 180px - 20px);
+ width: calc(1919px - 700px);
+ height: calc(988px - 180px - 20px);
}
}
@@ -80,7 +80,7 @@
position: relative;
height: 100%;
.tb {
- height: calc(100vh - 170px - 50px - 50px);
+ height: calc(988px - 170px - 50px - 50px);
overflow-y: auto;
@include scrollBar;
}
diff --git a/src/assets/scss/modules/visual/typeAnalyze.scss b/src/assets/scss/modules/visual/typeAnalyze.scss
index 0d1accf74..f1f31dffd 100644
--- a/src/assets/scss/modules/visual/typeAnalyze.scss
+++ b/src/assets/scss/modules/visual/typeAnalyze.scss
@@ -8,19 +8,19 @@
flex-direction: row;
// flex-wrap: wrap;
// justify-content: center;
- height: calc(100vh - 180px);
+ height: calc(988px - 180px);
.g-l {
flex-shrink: 0;
width: 600px;
- height: calc(100vh - 180px);
+ height: calc(988px - 180px);
}
.g-r {
text-align: center;
margin: 40px 0 0 19px;
- width: calc(100vw - 60px - 600px);
- // height: calc(100vh - 140px - 20px);
+ width: calc(1919px - 60px - 600px);
+ // height: calc(988px - 140px - 20px);
}
}
@@ -29,7 +29,7 @@
position: relative;
height: 100%;
.tb {
- height: calc(100vh - 170px - 50px - 50px);
+ height: calc(988px - 170px - 50px - 50px);
overflow-y: auto;
@include scrollBar;
}
diff --git a/src/assets/scss/modules/visual/warning.scss b/src/assets/scss/modules/visual/warning.scss
index 265c38895..bfb320658 100644
--- a/src/assets/scss/modules/visual/warning.scss
+++ b/src/assets/scss/modules/visual/warning.scss
@@ -8,7 +8,7 @@
color: #fff;
// background: url("../../../img/modules/visual/warning-box.png") no-repeat center;
background-size: 100% 100%;
- padding: 45px 21px 35px 24px;
+ padding-top: 40px;
&-top {
display: flex;
@@ -26,8 +26,7 @@
border: 1px solid #1043c0;
box-shadow: 0px 83px 150px 0px #002790;
border-radius: 8px;
- margin-right: 15px;
- margin-bottom: 15px;
+ margin: 10px 12px;
&-img {
display: flex;
diff --git a/src/assets/scss/shuju-card.scss b/src/assets/scss/shuju-card.scss
index 4af07fd81..f331fd282 100644
--- a/src/assets/scss/shuju-card.scss
+++ b/src/assets/scss/shuju-card.scss
@@ -1,5 +1,6 @@
@import "c/config";
@import "c/function";
+@import "./modules/visual/c/common";
.m-card {
position: relative;
@@ -37,6 +38,7 @@
&.card-line-t {
background-image: url(../img/shuju/card/line-t.png);
+ background-size: auto 22px;
left: 22px;
right: 240px;
top: 0;
@@ -44,6 +46,7 @@
}
&.card-line-r {
background-image: url(../img/shuju/card/line-r.png);
+ background-size: 22px auto;
top: 22px;
bottom: 22px;
right: 0;
@@ -51,6 +54,7 @@
}
&.card-line-b {
background-image: url(../img/shuju/card/line-b.png);
+ background-size: auto 22px;
left: 22px;
right: 240px;
bottom: 0;
@@ -58,6 +62,7 @@
}
&.card-line-l {
background-image: url(../img/shuju/card/line-l.png);
+ background-size: 22px auto;
top: 22px;
bottom: 22px;
left: 0;
@@ -69,5 +74,7 @@
min-height: 200px;
background-image: url(../img/shuju/card/bg.png);
background-repeat: repeat;
+ overflow-y: auto;
+ @include scrollBar;
}
}
diff --git a/src/assets/scss/shuju-variables.scss b/src/assets/scss/shuju-variables.scss
new file mode 100644
index 000000000..70ce5241b
--- /dev/null
+++ b/src/assets/scss/shuju-variables.scss
@@ -0,0 +1,24 @@
+// Base
+$base--line-height: 1.15;
+
+// Navbar
+$navbar--height: 75px;
+
+// Sidebar
+$sidebar--width: 230px;
+$sidebar--width-fold: 100px;
+$sidebar--background-color-dark: #263238;
+$sidebar--text-color-dark: #8a979e;
+$sidebar--menu-item-height: 48px;
+
+// Content
+$content--padding: 10px;
+$content--background-color: #f1f4f5;
+$content--card-header-height: 60px;
+$content--tabs-header-height: 38px;
+// Content, 填充整屏高度(非tabs状态) = 整屏高度 - 导航条高度 - aui-content上下内边距高度
+$content--fill-height: calc(100vh - #{$navbar--height} - #{$content--padding * 2});
+// Content, 填充整屏高度(是tabs状态) = 整屏高度 - 导航条高度 - tabs组件header高度 - tabs组件content上下内边距高度
+$content--fill-height-tabs: calc(
+ 100vh - #{$navbar--height} - #{$content--tabs-header-height} - #{$content--padding * 2}
+);
diff --git a/src/js/store/index.js b/src/js/store/index.js
index 276c7f83c..7ebb31e94 100644
--- a/src/js/store/index.js
+++ b/src/js/store/index.js
@@ -8,7 +8,7 @@ import { requestPost } from "@/js/dai/request";
import { dateFormats } from "@/utils/index";
Vue.use(Vuex);
-let interTimer = null
+let interTimer = null;
export default new Vuex.Store({
namespaced: true,
state: {
@@ -42,6 +42,9 @@ export default new Vuex.Store({
tipsList: [],
tipsTime: [],
inIframe: window.self !== window.top,
+ fixed1920: {
+ height: document.documentElement.clientHeight,
+ },
},
modules: {
user,
@@ -56,69 +59,71 @@ export default new Vuex.Store({
});
},
SET_TIPS_LIST(state, tipsList) {
- let _list = state.tipsList
+ let _list = state.tipsList;
// state.tipsList = _list.concat(tipsList)
- state.tipsList = tipsList
+ state.tipsList = tipsList;
},
SET_TIPS_TIME(state, time) {
- state.tipsTime = time
- }
+ state.tipsTime = time;
+ },
},
actions: {
clearInter() {
- clearInterval(interTimer)
+ clearInterval(interTimer);
},
setInterval({ commit, dispatch, state }) {
interTimer = setInterval(() => {
- const _t = dateFormats('YYYY-mm-dd HH:MM', (new Date(new Date().toLocaleDateString()).getTime()))
- const _tt = new Date(_t).getTime()
- console.log('230000---', _t)
- const t = dateFormats('YYYY-mm-dd HH:MM', (new Date().getTime()))
- const nt = new Date(t).getTime()
+ const _t = dateFormats(
+ "YYYY-mm-dd HH:MM",
+ new Date(new Date().toLocaleDateString()).getTime()
+ );
+ const _tt = new Date(_t).getTime();
+ console.log("230000---", _t);
+ const t = dateFormats("YYYY-mm-dd HH:MM", new Date().getTime());
+ const nt = new Date(t).getTime();
// 判断当前时间是否为 00:00
if (nt == _tt) {
- dispatch('setTipsTime')
- return
+ dispatch("setTipsTime");
+ return;
}
- let times = state.tipsTime
- console.log('nt---000', nt)
+ let times = state.tipsTime;
+ console.log("nt---000", nt);
state.tipsTime.forEach((item, index) => {
- const _t = new Date(item).getTime()
+ const _t = new Date(item).getTime();
if (_t == nt) {
- clearInterval(interTimer)
- dispatch('setTipsList', item)
- times.splice(index, 1)
- commit('SET_TIPS_TIME', times)
+ clearInterval(interTimer);
+ dispatch("setTipsList", item);
+ times.splice(index, 1);
+ commit("SET_TIPS_TIME", times);
}
- })
- }, 60000)
+ });
+ }, 60000);
},
setTipsList({ commit }, time) {
return new Promise(async (resolve, reject) => {
- const url = '/gov/project/memoAttr/memosToRemind'
+ const url = "/gov/project/memoAttr/memosToRemind";
const params = {
- remindTime: time || ''
- }
- const { data, code, msg } = await requestPost(url, params)
+ remindTime: time || "",
+ };
+ const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
- commit('SET_TIPS_LIST', data)
- resolve()
- } else reject(msg)
- })
+ commit("SET_TIPS_LIST", data);
+ resolve();
+ } else reject(msg);
+ });
},
setTipsTime({ commit, dispatch }) {
return new Promise(async (resolve, reject) => {
- if (interTimer) clearInterval(interTimer)
- const url = '/gov/project/memoAttr/memoTime'
-
- const { data, code, msg } = await requestPost(url)
+ if (interTimer) clearInterval(interTimer);
+ const url = "/gov/project/memoAttr/memoTime";
+
+ const { data, code, msg } = await requestPost(url);
if (code === 0) {
-
- commit('SET_TIPS_TIME', data)
- if (data.length > 0) dispatch('setInterval')
- resolve()
- } else reject(msg)
- })
- }
- }
+ commit("SET_TIPS_TIME", data);
+ if (data.length > 0) dispatch("setInterval");
+ resolve();
+ } else reject(msg);
+ });
+ },
+ },
});
diff --git a/src/utils/index.js b/src/utils/index.js
index c2232ac77..b2b65d7b2 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -144,4 +144,13 @@ export function computedCard(idCard) {
sex = '1';
return {age , sex, birth}
}
+// 将数组分成小块数组的集合
+export function spliceIntoChunks(arr, chunkSize) {
+ const res = [];
+ while (arr.length > 0) {
+ const chunk = arr.splice(0, chunkSize);
+ res.push(chunk);
+ }
+ return res;
+}
diff --git a/src/views/components/fixed1920.vue b/src/views/components/fixed1920.vue
new file mode 100644
index 000000000..e98ab3115
--- /dev/null
+++ b/src/views/components/fixed1920.vue
@@ -0,0 +1,62 @@
+
+
+
+
+
+
diff --git a/src/views/main-shuju/main-content.vue b/src/views/main-shuju/main-content.vue
index 4d6a73a3e..b9914005e 100644
--- a/src/views/main-shuju/main-content.vue
+++ b/src/views/main-shuju/main-content.vue
@@ -1,5 +1,5 @@
-
+
@@ -18,6 +18,7 @@
height="100%"
frameborder="0"
scrolling="yes"
+ :style="{ height: $store.state.fixed1920.height - 100 + 'px' }"
/>
diff --git a/src/views/main-shuju/main.vue b/src/views/main-shuju/main.vue
index 4abb6808f..d6d29c1b6 100644
--- a/src/views/main-shuju/main.vue
+++ b/src/views/main-shuju/main.vue
@@ -1,25 +1,28 @@
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy 2.vue b/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy 2.vue
index 7ee8f5f85..050beb36c 100644
--- a/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy 2.vue
+++ b/src/views/modules/visual/communityGovern/fivelayers/mapIndex copy 2.vue
@@ -92,7 +92,7 @@