diff --git a/src/views/realTimeMonitor/components/ptzDevice/ptzDraw.vue b/src/views/realTimeMonitor/components/ptzDevice/ptzDraw.vue index 4851ee4..f6a3203 100644 --- a/src/views/realTimeMonitor/components/ptzDevice/ptzDraw.vue +++ b/src/views/realTimeMonitor/components/ptzDevice/ptzDraw.vue @@ -6,6 +6,10 @@ direction="rtl" >
+
+ 开启 + 关闭 +
@@ -319,6 +323,18 @@ export default { this.termstatusFun(); }, + //单独开启 + openPowerFun() { + this.fucType = 0; + this.presetNum = 0; + this.termstatusFun(); + }, + //单独关闭 + closePowerFun() { + this.fucType = 9; + this.presetNum = 0; + this.termstatusFun(); + }, //控制上下左右 handleTop() { console.log("我点击了向上移动一个单位"); @@ -636,6 +652,10 @@ export default { //display: flex; padding: 12px; height: 100%; + .openClass { + display: flex; + justify-content: space-around; + } .ytTop { display: flex; height: 200px;