监控新增对焦按钮
This commit is contained in:
@@ -42,6 +42,9 @@
|
||||
<button id="warning" type="button" class="button layui-btn layui-btn-normal">
|
||||
报 警
|
||||
</button>
|
||||
<button id="af" type="button" class="button layui-btn layui-btn-normal">
|
||||
对 焦
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -89,6 +92,9 @@
|
||||
$('#warning').mouseup(function () {
|
||||
config('warning')
|
||||
})
|
||||
$('#af').mouseup(function () {
|
||||
config('af')
|
||||
})
|
||||
|
||||
function config(status) {
|
||||
$.post("/door/set.do", {status: status}, function (json) {
|
||||
@@ -144,18 +150,18 @@
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
margin-top: 10px;
|
||||
margin-left: 15%;
|
||||
margin-left: 1%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.myVideo {
|
||||
width: 70%;
|
||||
float: left;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.myButtons {
|
||||
width: 30%;
|
||||
float: right;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.button {
|
||||
|
||||
Reference in New Issue
Block a user