From ab0598cc26762aedae33894fc78462989e8302b4 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Sun, 21 Feb 2021 19:04:25 +0800
Subject: [PATCH] 聚合图集成,按钮选中样式调整
---
src/views/realTimePolice/real.vue | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/views/realTimePolice/real.vue b/src/views/realTimePolice/real.vue
index 812fb59..828ae42 100644
--- a/src/views/realTimePolice/real.vue
+++ b/src/views/realTimePolice/real.vue
@@ -37,21 +37,18 @@
<el-button
v-bind:class=" activeClass==1 ? 'btn-color' : '' "
size="small"
- type="primary"
@click="getBZdata(1)"
>本周
</el-button>
<el-button
v-bind:class=" activeClass==2 ? 'btn-color' : '' "
size="small"
- type="primary"
@click="getBYdata(2)"
>本月
</el-button>
<el-button
v-bind:class=" activeClass==3 ? 'btn-color' : '' "
size="small"
- type="primary"
@click="getQBdata(3)"
>全部
</el-button>
@@ -291,7 +288,7 @@
<iframe
id="mapDiv"
ref="mapDiv"
- src="http://36.134.81.48:18001/map/index.html"
+ src=" http://192.168.0.107:1888/map/index.html?openid=ClientManagement"
frameborder="0"
width="100%"
height="100%"
@@ -577,6 +574,7 @@
});
},
searchReset() {
+ this.activeClass = -1;
this.query = {};
this.onLoad(this.page);
},
@@ -781,7 +779,6 @@
}
},
handleStart(row) {
- debugger
this.$router.push({
path: `/real/video/${row.channelNumber}/${row.serialNumber}`
});
@@ -791,6 +788,7 @@
},
handleMap(row) {
this.showMap = true;
+ debugger
this.$nextTick(() => {
this.$refs.mapDiv.onload = () => {
window.frames[0].locationObj = {x: row.jd, y: row.wd};
@@ -1150,9 +1148,9 @@
}
.el-button.btn-color {
- background: #146ef6;
- border-color: #007aff;
- color: #FFF;
+ color: rgb(255, 255, 255);
+ background-color: rgb(64, 158, 255);
+ border-color: rgb(64, 158, 255);
}
</style>
--
Gitblit v1.9.3