diff --git a/src/api/bigScreenApi/index.js b/src/api/bigScreenApi/index.js new file mode 100644 index 0000000..4e0bf79 --- /dev/null +++ b/src/api/bigScreenApi/index.js @@ -0,0 +1,28 @@ +import request from "@/utils/request" + +// 重点区域 +export function regionalsettings(params){ + return request({ + url:'/jn/regionalsettings/list', + method:'get', + params + }) +} + +// 重点路段 +export function roadsetting(params){ + return request({ + url:'/jn/roadsetting/list', + method:'get', + params + }) +} + +// 围栏 +export function fence(params){ + return request({ + url:'/jn/fence/list', + method:'get', + params + }) +} \ No newline at end of file diff --git a/src/views/bigScreen/components/mapRightContent.vue b/src/views/bigScreen/components/mapRightContent.vue index 9b5d154..9f39cc1 100644 --- a/src/views/bigScreen/components/mapRightContent.vue +++ b/src/views/bigScreen/components/mapRightContent.vue @@ -4,13 +4,13 @@ * @Author: JC9527 * @Date: 2023-08-15 11:09:57 * @LastEditors: JC9527 - * @LastEditTime: 2023-08-18 18:42:16 + * @LastEditTime: 2023-12-11 17:00:41 --> @@ -64,27 +64,27 @@ export default { ], areaArray:[ { - area:'网格1', + name:'网格1', event:60, resolved:40, unsolved:20 },{ - area:'网格2', + name:'网格2', event:60, resolved:40, unsolved:20 },{ - area:'网格3', + name:'网格3', event:60, resolved:40, unsolved:20 },{ - area:'网格1', + name:'网格1', event:60, resolved:40, unsolved:20 },{ - area:'网格2', + name:'网格2', event:60, resolved:40, unsolved:20 @@ -94,8 +94,41 @@ export default { relativeHeight:{ height:'', }, + quyuArray:[], + weilanArray:[], + luduanArray:[], } }, + props:['quyuData', 'weilanData', 'luduanData'], + watch:{ + quyuData:{ + handler(newQuyu){ + // console.log(newQuyu,'区域'); + if(newQuyu) { + this.quyuArray = newQuyu + } + }, + immediate:true, + }, + weilanData:{ + handler(newWeilan){ + // console.log(newWeilan,'围栏'); + if(newWeilan) { + this.weilanArray = newWeilan + } + }, + immediate:true, + }, + luduanData:{ + handler(newLuduan){ + // console.log(newLuduan,'路段'); + if(newLuduan) { + this.luduanArray = newLuduan + } + }, + immediate:true, + }, + }, methods:{ getDomHeight(){ this.$nextTick(()=>{ diff --git a/src/views/bigScreen/index.vue b/src/views/bigScreen/index.vue index c0ae97d..9a45665 100644 --- a/src/views/bigScreen/index.vue +++ b/src/views/bigScreen/index.vue @@ -4,7 +4,7 @@ * @Author: JC9527 * @Date: 2023-08-14 14:40:02 * @LastEditors: JC9527 - * @LastEditTime: 2023-08-18 20:37:07 + * @LastEditTime: 2023-12-11 15:46:02 --> @@ -251,6 +331,7 @@ export default { font-family: "Source Han Sans CN-Medium"; font-weight: 500; color: #e9f4ff; + padding-left: 15px; } .el-input__inner::placeholder { /* 在这里添加你想要修改的 placeholder 样式 */ @@ -279,6 +360,7 @@ export default { display: flex; align-items: center; justify-content: center; + cursor: pointer; img { width: 24px; margin-right: 5px; @@ -326,15 +408,15 @@ export default { padding: 15px 74px 0 14px; width: 100%; height: 400px; - // #personageTrackMap { - // width: 100%; - // height: 100%; - // background-color: #fff; - // } - img { + #personageTrackMap { width: 100%; height: 100%; + background-color: #fff; } + // img { + // width: 100%; + // height: 100%; + // } } } } diff --git a/src/views/components/shop/components/tab2.vue b/src/views/components/shop/components/tab2.vue index ddce890..8df53e0 100644 --- a/src/views/components/shop/components/tab2.vue +++ b/src/views/components/shop/components/tab2.vue @@ -48,13 +48,15 @@ -
-
- 重置 -
-
@@ -144,6 +146,7 @@ export default { .search-gr { display: flex; + flex-wrap: wrap; margin: 10px 0; .itemtwo { @@ -171,7 +174,7 @@ export default { } } .right { - background-image: url("../../../../assets/images/timebg.png"); + background-image: url("~@/assets/images/timebg.png"); // width: 120px; // height: 35px; background-size: 100% 100%; @@ -181,7 +184,7 @@ export default { } ::v-deep .el-date-editor { background-color: transparent; - width: 120px; + width: 200px; .el-input__inner { background-color: transparent; border: none; @@ -199,19 +202,18 @@ export default { font-family: "Source Han Sans CN-Regular"; font-weight: 400; color: #d3eef2; - -webkit-background-clip: text; - -webkit-text-fill-color: rgba(211, 238, 242, 0.2); + line-height: 20px; } } ::v-deep .el-select { background-color: transparent; - width: 120px; + width: 200px; .el-input .el-input__suffix .el-input__suffix-inner .el-icon-arrow-up::before { content: ""; - background: url("../../../../assets/images/pull-bottom.png") center + background: url("~@/assets/images/pull-bottom.png") center center no-repeat; background-size: 100% 100%; position: absolute; @@ -243,8 +245,7 @@ export default { font-family: "Source Han Sans CN-Regular"; font-weight: 400; color: #d3eef2; - -webkit-background-clip: text; - -webkit-text-fill-color: rgba(211, 238, 242, 0.2); + line-height: 20px; } } .data_icon { @@ -262,7 +263,7 @@ export default { border: 1px solid rgba(181, 207, 255, 0.5); .el-input__inner { background-color: transparent; - width: 120px; + width: 200px; height: 30px; color: #fff; border: none; @@ -288,6 +289,10 @@ export default { } } } + .btns { + display: flex; + margin-top: 15px; + } .btn-reset { display: flex; align-items: center; @@ -298,7 +303,7 @@ export default { .icon-reset { width: 24px; height: 24px; - background-image: url("../../../../assets/images/icon-reset.png"); + background-image: url("~@/assets/images/icon-reset.png"); background-size: 100% 100%; background-repeat: no-repeat; } @@ -321,7 +326,7 @@ export default { .icon-search { width: 24px; height: 24px; - background-image: url("../../../../assets/images/icon-search.png"); + background-image: url("~@/assets/images/icon-search.png"); background-size: 100% 100%; background-repeat: no-repeat; } diff --git a/src/views/components/shop/components/tab3.vue b/src/views/components/shop/components/tab3.vue index c01b895..96c5ab7 100644 --- a/src/views/components/shop/components/tab3.vue +++ b/src/views/components/shop/components/tab3.vue @@ -48,13 +48,15 @@
-
-
- 重置 -
-
@@ -142,6 +144,7 @@ export default { .search-gr { display: flex; + flex-wrap: wrap; margin: 10px 0; .itemtwo { @@ -169,7 +172,7 @@ export default { } } .right { - background-image: url("../../../../assets/images/timebg.png"); + background-image: url("~@/assets/images/timebg.png"); // width: 120px; // height: 35px; background-size: 100% 100%; @@ -179,7 +182,7 @@ export default { } ::v-deep .el-date-editor { background-color: transparent; - width: 120px; + width: 200px; .el-input__inner { background-color: transparent; border: none; @@ -197,19 +200,18 @@ export default { font-family: "Source Han Sans CN-Regular"; font-weight: 400; color: #d3eef2; - -webkit-background-clip: text; - -webkit-text-fill-color: rgba(211, 238, 242, 0.2); + line-height: 20px; } } ::v-deep .el-select { background-color: transparent; - width: 120px; + width: 200px; .el-input .el-input__suffix .el-input__suffix-inner .el-icon-arrow-up::before { content: ""; - background: url("../../../../assets/images/pull-bottom.png") center + background: url("~@/assets/images/pull-bottom.png") center center no-repeat; background-size: 100% 100%; position: absolute; @@ -241,8 +243,7 @@ export default { font-family: "Source Han Sans CN-Regular"; font-weight: 400; color: #d3eef2; - -webkit-background-clip: text; - -webkit-text-fill-color: rgba(211, 238, 242, 0.2); + line-height: 20px; } } .data_icon { @@ -260,7 +261,7 @@ export default { border: 1px solid rgba(181, 207, 255, 0.5); .el-input__inner { background-color: transparent; - width: 120px; + width: 200px; height: 30px; color: #fff; border: none; @@ -286,6 +287,10 @@ export default { } } } + .btns { + display: flex; + margin-top: 15px; + } .btn-reset { display: flex; align-items: center; diff --git a/src/views/components/shop/components/tab4.vue b/src/views/components/shop/components/tab4.vue index dd5ab5a..1a8ce33 100644 --- a/src/views/components/shop/components/tab4.vue +++ b/src/views/components/shop/components/tab4.vue @@ -122,6 +122,7 @@ export default { .search-gr { display: flex; + flex-wrap: wrap; margin: 10px 0; .itemtwo { @@ -149,7 +150,7 @@ export default { } } .right { - background-image: url("../../../../assets/images/timebg.png"); + background-image: url("~@/assets/images/timebg.png"); // width: 120px; // height: 35px; background-size: 100% 100%; @@ -159,7 +160,7 @@ export default { } ::v-deep .el-date-editor { background-color: transparent; - width: 120px; + width: 200px; .el-input__inner { background-color: transparent; border: none; @@ -177,13 +178,12 @@ export default { font-family: "Source Han Sans CN-Regular"; font-weight: 400; color: #d3eef2; - -webkit-background-clip: text; - -webkit-text-fill-color: rgba(211, 238, 242, 0.2); + line-height: 20px; } } ::v-deep .el-select { background-color: transparent; - width: 120px; + width: 200px; .el-input .el-input__suffix .el-input__suffix-inner @@ -221,8 +221,7 @@ export default { font-family: "Source Han Sans CN-Regular"; font-weight: 400; color: #d3eef2; - -webkit-background-clip: text; - -webkit-text-fill-color: rgba(211, 238, 242, 0.2); + line-height: 20px; } } .data_icon { @@ -240,7 +239,7 @@ export default { border: 1px solid rgba(181, 207, 255, 0.5); .el-input__inner { background-color: transparent; - width: 120px; + width: 200px; height: 30px; color: #fff; border: none; @@ -276,7 +275,7 @@ export default { .icon-reset { width: 24px; height: 24px; - background-image: url("../../../../assets/images/icon-reset.png"); + background-image: url("~@/assets/images/icon-reset.png"); background-size: 100% 100%; background-repeat: no-repeat; } @@ -299,7 +298,7 @@ export default { .icon-search { width: 24px; height: 24px; - background-image: url("../../../../assets/images/icon-search.png"); + background-image: url("~@/assets/images/icon-search.png"); background-size: 100% 100%; background-repeat: no-repeat; } diff --git a/src/views/components/shop/index.vue b/src/views/components/shop/index.vue index 2c84b9a..9dd0937 100644 --- a/src/views/components/shop/index.vue +++ b/src/views/components/shop/index.vue @@ -1,11 +1,3 @@ -