|
|
@@ -1,7 +1,7 @@
|
|
|
function initCheck() {
|
|
|
addBreadMenu("/view/mytask/check.html", "视频稽查");
|
|
|
- $('#ex1').slider({tooltip: 'hide'});
|
|
|
- $("#ex1").on("slideStop", function(slideEvt) {
|
|
|
+ $('#ex1').slider({ tooltip: 'hide' });
|
|
|
+ $("#ex1").on("slideStop", function (slideEvt) {
|
|
|
setVideoProcess(slideEvt.value);
|
|
|
});
|
|
|
|
|
|
@@ -74,18 +74,30 @@ function initCheck() {
|
|
|
|
|
|
}
|
|
|
|
|
|
-function setfastorslow(type,speed){
|
|
|
- if(type==0){
|
|
|
+function setfastorslow(type, speed) {
|
|
|
+ if (type == 0) {
|
|
|
$("#fast_info").html("");
|
|
|
$("#slow_info").html("");
|
|
|
+ if ($("#full_fast_info")) {
|
|
|
+ $("#full_fast_info").html("");
|
|
|
+ $("#full_slow_info").html("");
|
|
|
+ }
|
|
|
}
|
|
|
- if(type==1){
|
|
|
- $("#fast_info").html(speed+"x");
|
|
|
+ if (type == 1) {
|
|
|
+ $("#fast_info").html(speed + "x");
|
|
|
$("#slow_info").html("");
|
|
|
+ if ($("#full_fast_info")) {
|
|
|
+ $("#full_fast_info").html(speed + "x");
|
|
|
+ $("#full_slow_info").html("");
|
|
|
+ }
|
|
|
}
|
|
|
- if(type==2){
|
|
|
- $("#slow_info").html(speed+"x");
|
|
|
+ if (type == 2) {
|
|
|
+ $("#slow_info").html(speed + "x");
|
|
|
$("#fast_info").html("");
|
|
|
+ if ($("#full_fast_info")) {
|
|
|
+ $("#full_fast_info").html("");
|
|
|
+ $("#full_slow_info").html(speed + "x");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -100,25 +112,25 @@ var layer_full = null;
|
|
|
|
|
|
function fullscreen() {
|
|
|
var height = window.innerWidth * 0.8 * 1 / 2.0 + 90
|
|
|
-
|
|
|
- var contenthtml = ' <div class="tab-content" id="full_tabcontent" style="height:400px;text-align: center;background:black;">'+
|
|
|
-' <p style="padding-top:180px;font-size:20px">加载中...</p>'+
|
|
|
-' <!--<i class="icon icon-spin icon-spinner icon-5x" style="margin-top:100px"></i>-->'+
|
|
|
-' </div>'+
|
|
|
-' <div class="row" class="col-md-12" style="padding:5px 10px 5px 10px;text-align:center;margin:0px">'+
|
|
|
-' <input id="full_ex1" class="col-md-12" type="text" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="0"'+
|
|
|
-' />'+
|
|
|
-' </div>'+
|
|
|
-' <div class="row" style="padding:0px 5px 0px 5px;text-align:center;margin:0px">'+
|
|
|
-' <select class="form-control" id="full_video_list" style="width:200px;float:left;display:none;"></select>'+
|
|
|
-' <div class="btn-group" style="float:right;">'+
|
|
|
-' <button type="button" class="btn btn-info" onclick="doAction(\'start\')"><i class="icon icon-play-circle icon-2x"></i></button>'+
|
|
|
-' <button type="button" class="btn btn-info" onclick="doAction(\'stop\')"><i class="icon icon-pause icon-2x"></i></button>'+
|
|
|
-' <button type="button" class="btn btn-info" onclick="doAction(\'fast\')"><i class="icon icon-forward icon-2x"></i></button>'+
|
|
|
-' <button type="button" class="btn btn-info" onclick="doAction(\'slow\')"><i class="icon icon-backward icon-2x"></i></button>'+
|
|
|
-' <button type="button" class="btn btn-success" onclick="doAction(\'screenshot\')"><i class="icon icon-camera icon-2x"></i></button>'+
|
|
|
-' </div>'+
|
|
|
-' </div>';
|
|
|
+
|
|
|
+ var contenthtml = ' <div class="tab-content" id="full_tabcontent" style="height:400px;text-align: center;background:black;">' +
|
|
|
+ ' <p style="padding-top:180px;font-size:20px">加载中...</p>' +
|
|
|
+ ' <!--<i class="icon icon-spin icon-spinner icon-5x" style="margin-top:100px"></i>-->' +
|
|
|
+ ' </div>' +
|
|
|
+ ' <div class="row" class="col-md-12" style="padding:5px 10px 5px 10px;text-align:center;margin:0px">' +
|
|
|
+ ' <input id="full_ex1" class="col-md-12" type="text" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="0"' +
|
|
|
+ ' />' +
|
|
|
+ ' </div>' +
|
|
|
+ ' <div class="row" style="padding:0px 5px 0px 5px;text-align:center;margin:0px">' +
|
|
|
+ ' <select class="form-control" id="full_video_list" style="width:200px;float:left;display:none;"></select>' +
|
|
|
+ ' <div class="btn-group" style="float:right;">' +
|
|
|
+ ' <button type="button" class="btn btn-info" onclick="doAction(\'start\')"><i class="icon icon-play-circle icon-2x"></i></button>' +
|
|
|
+ ' <button type="button" class="btn btn-info" onclick="doAction(\'stop\')"><i class="icon icon-pause icon-2x"></i></button>' +
|
|
|
+ ' <button type="button" class="btn btn-info" onclick="doAction(\'fast\')"><i class="icon icon-forward icon-2x"></i><span id=\"full_fast_info\"></span></button>' +
|
|
|
+ ' <button type="button" class="btn btn-info" onclick="doAction(\'slow\')"><span id=\"full_slow_info\"></span><i class="icon icon-backward icon-2x"></i></button>' +
|
|
|
+ ' <button type="button" class="btn btn-success" onclick="doAction(\'screenshot\')"><i class="icon icon-camera icon-2x"></i></button>' +
|
|
|
+ ' </div>' +
|
|
|
+ ' </div>';
|
|
|
|
|
|
|
|
|
layer_full = layer.open({
|
|
|
@@ -131,12 +143,17 @@ function fullscreen() {
|
|
|
content: "<div id='layer_content' >" + contenthtml + "</div>",
|
|
|
success: function (layero, index) {
|
|
|
|
|
|
- $('#full_ex1').slider({ tooltip: 'hide' });
|
|
|
+ $('#full_ex1').slider({ tooltip: 'hide' });
|
|
|
$("#full_ex1").on("slideStop", function (slideEvt) {
|
|
|
setVideoProcess(slideEvt.value);
|
|
|
});
|
|
|
$("#full_ex1").val($("#ex1").value)
|
|
|
- $("#full_ex1").slider({step: 5, min: 0, max: maxVV});
|
|
|
+ $("#full_ex1").slider({ step: 5, min: 0, max: maxVV });
|
|
|
+
|
|
|
+
|
|
|
+ $("#full_fast_info").html($("#fast_info").html());
|
|
|
+ $("#full_slow_info").html($("#slow_info").html());
|
|
|
+
|
|
|
|
|
|
$("#full_tabcontent").css("height", (height - 90) + "px");
|
|
|
$("#full_tabcontent").css("width", "100%");
|
|
|
@@ -342,12 +359,12 @@ function showChangeUser() {
|
|
|
var pic = "../../images/body-bg.png";
|
|
|
if (data[i].pic) pic = base_image_server_url + data[i].pic;
|
|
|
str = '<div style="width:90px;float:left;margin:5px;">'
|
|
|
- + '<a class="card" href="javascript:void(0)" onclick="showBigImg(\'' + pic+ '\')">'
|
|
|
+ + '<a class="card" href="javascript:void(0)" onclick="showBigImg(\'' + pic + '\')">'
|
|
|
+ '<img src="' + pic + '" alt="" style="height:100px;width:90px;">'
|
|
|
+ '<div class="card-heading"><strong>' + name + '</strong></div>'
|
|
|
+ '<div class="card-actions">'
|
|
|
- + '<button type="button" class="btn btn-mini btn-danger" onclick="changePerson(\'' + data[i].id + '\')">选择</button>'
|
|
|
- + '</div>'
|
|
|
+ + '<button type="button" class="btn btn-mini btn-danger" onclick="changePerson(\'' + data[i].id + '\')">选择</button>'
|
|
|
+ + '</div>'
|
|
|
+ '</a>'
|
|
|
+ '</div>';
|
|
|
userStr += str;
|
|
|
@@ -372,10 +389,10 @@ function changePerson(id) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-function showBigImg(src){
|
|
|
- $('#userBigImg').attr("src",src);
|
|
|
+function showBigImg(src) {
|
|
|
+ $('#userBigImg').attr("src", src);
|
|
|
layer.open({
|
|
|
- offset:'r',
|
|
|
+ offset: 'r',
|
|
|
type: 1,
|
|
|
title: false,
|
|
|
closeBtn: 1,
|