+
@@ -192,8 +192,8 @@ export default {
position: fixed;
z-index: 999;
border: solid 1px skyblue;
- width: 480px;
- height: 270px;
+ width: 400px;
+ height: 225px;
}
.flex-layouts{
display: flex;
@@ -220,8 +220,8 @@ export default {
.video{
border: solid 1px #000000;
background: #001529;
- width: 480px;
- height: 270px;
+ width: 400px;
+ height: 225px;
}
}
}
diff --git a/src/views/realTimeMonitoring/model.vue b/src/views/realTimeMonitoring/model.vue
index 46bb074..14c906c 100644
--- a/src/views/realTimeMonitoring/model.vue
+++ b/src/views/realTimeMonitoring/model.vue
@@ -119,6 +119,13 @@ export default {
console.log('mounted执行了')
},
methods: {
+ pauseEvent(e){
+ if(e.stopPropagation) e.stopPropagation();
+ if(e.preventDefault) e.preventDefault();
+ e.cancelBubble=true;
+ e.returnValue=false;
+ return false;
+ },
zoomDecStart(){
console.log('变倍-按下')
this.$axios.post('/camera/control/zoomDec/start/'+this.id, {
@@ -310,8 +317,10 @@ export default {
})
},
- leftStop(){
+ leftStop(e){
console.log('左转鼠标抬起')
+ // e.unbind('mousemove')
+ console.log(e)
this.$axios.post('/camera/control/left/stop/'+this.id, {
data: {}
}).then(res => {