Commit 597ef32e3f2a7d80cea52ac521c7bc8efa6a73fd
Merge branch 'dev'
Showing
3 changed files
with
3 additions
and
1060 deletions
src/main/java/com/cnlive/shenhe/utils/AuditPass.java
src/main/resources/application.properties
| ... | ... | @@ -45,8 +45,8 @@ sync_users_api=http://api.cnlive.com/open/api2/inner2/shenhe/getuser |
| 45 | 45 | sync_users_app_key=314a9dd4-a9b7-4c12-bbbe-1150a36491ae |
| 46 | 46 | |
| 47 | 47 | #\u7528\u6237\u4e91\u8bf7\u6c42\u67e5\u8be2\u7528\u6237\u4fe1\u606f |
| 48 | -queryUserByMobile=http://120.92.63.227/CnliveM2/user/readUserByUserName.action?userName= | |
| 49 | -queryUserByUserId=http://120.92.63.227/CnliveM2/user/readUserByUid.action?uid= | |
| 48 | +queryUserByMobile=http://user.api.cnlive.com/CnliveM2/user/readUserByUserName.action?userName= | |
| 49 | +queryUserByUserId=http://user.api.cnlive.com/CnliveM2/user/readUserByUid.action?uid= | |
| 50 | 50 | |
| 51 | 51 | #\u70b9\u64ad\u4e91\u9700\u8981\u7684\u5e38\u91cf |
| 52 | 52 | url=http://mam.innerapi.cnlive.com/v1/inner/ShenHeInfo/shenheNotify | ... | ... |
src/main/resources/templates/page/liveDetail2.html deleted
100644 → 0
| 1 | -<!DOCTYPE html> | |
| 2 | -<html lang="zh" xmlns:th="http://www.thymeleaf.org"> | |
| 3 | -<head th:replace="../templates/common/head::head"></head> | |
| 4 | -<body class="hold-transition skin-blue sidebar-mini"> | |
| 5 | - | |
| 6 | - <div class="wrapper"> | |
| 7 | - <div th:replace="../templates/common/frame::frame"></div> | |
| 8 | - | |
| 9 | -<div class="content-wrapper"> | |
| 10 | - <section class="content-header"> | |
| 11 | - <h1> 直播详情</h1> | |
| 12 | - <ol class="breadcrumb"> | |
| 13 | - <li><a href="/"><i class="fa fa-dashboard"></i> 首页</a></li> | |
| 14 | - <li class="active"><a href="/live">直播审核</a></li> | |
| 15 | - </ol> | |
| 16 | - </section> | |
| 17 | - | |
| 18 | - <section class="content"> | |
| 19 | - <div class="row"> | |
| 20 | - <div class="col-xs-12"> | |
| 21 | - <div class="box box-info"> | |
| 22 | - <div class="box-body form-horizontal"> | |
| 23 | - | |
| 24 | - <div class="form-group" style="margin-bottom: 6px;"> | |
| 25 | - <label for="activity_id" class="control-label col-sm-2">直播id:</label> | |
| 26 | - <div class="col-sm-2"> | |
| 27 | - <h5>223_b9c79a010ff84d07a34bfec67d3b3f1a</h5> | |
| 28 | - </div> | |
| 29 | - | |
| 30 | - <label for="channel_name" class="control-label col-sm-2">主播昵称:</label> | |
| 31 | - <div class="col-sm-2"> | |
| 32 | - <h5>非凡娱乐1-无logo</h5> | |
| 33 | - </div> | |
| 34 | - | |
| 35 | - <label for="partner_id" class="control-label col-sm-2">spId简称:</label> | |
| 36 | - <div class="col-sm-2"> | |
| 37 | - <h5>非凡娱乐</h5> | |
| 38 | - </div> | |
| 39 | - | |
| 40 | - <label for="mark" class="control-label col-sm-2">是否白名单:</label> | |
| 41 | - <div class="col-sm-2"> | |
| 42 | - <h5>否</h5> | |
| 43 | - </div> | |
| 44 | - | |
| 45 | - <label for="frame_start_time" class="control-label col-sm-2">直播开始时间:</label> | |
| 46 | - <div class="col-sm-2"> | |
| 47 | - <h5 id="frame_start_time">2019-07-09 12:31:29</h5> | |
| 48 | - </div> | |
| 49 | - | |
| 50 | - <label for="frame_end_time" class="control-label col-sm-2">直播结束时间:</label> | |
| 51 | - <div class="col-sm-2"> | |
| 52 | - <h5 id="frame_end_time">2019-07-09 13:23:18</h5> | |
| 53 | - </div> | |
| 54 | -</div> | |
| 55 | -<hr> | |
| 56 | - | |
| 57 | -<div id="tabContents" class="tab-content"> | |
| 58 | - | |
| 59 | - <div id="tabHome" class="tab-pane fade in active padding-t-15 "> | |
| 60 | - <div class="col-sm-5"> | |
| 61 | - <div class="form-group" style="margin-bottom: 6px;"> | |
| 62 | - <label for="activity_status" class="control-label col-sm-3">直播状态:</label> | |
| 63 | - <div class="col-sm-9 "> | |
| 64 | - <h5>已结束--直播时长:0天 0小时51分49秒 </h5> | |
| 65 | - </div> | |
| 66 | - </div> | |
| 67 | - <hr> | |
| 68 | - <div class="form-group"> | |
| 69 | - <label for="cover_img_url1" class="control-label col-sm-3">封面图:</label> | |
| 70 | - <div class="col-sm-9 popover-options"> | |
| 71 | - <a href="Javascript:void(0);" title="" | |
| 72 | - data-container="body" data-toggle="popover" | |
| 73 | - data-content='<img src="http://yweb0.cnliveimg.com/bc/223/2019/0709/1562636742524_6367.jpg" width="400px" alt="封面图">'> | |
| 74 | - <img src='http://yweb0.cnliveimg.com/bc/223/2019/0709/1562636742524_6367.jpg' width="160px" alt="封面图"> | |
| 75 | - </a> | |
| 76 | - | |
| 77 | - </div> | |
| 78 | - </div> | |
| 79 | - <div class="form-group" style="margin-bottom: 6px;"> | |
| 80 | - <label for="activity_name" class="control-label col-sm-3">直播标题:</label> | |
| 81 | - <div class="col-sm-9"> | |
| 82 | - <h5 style="font-size:1.5em; font-weight: bold;">黄龄新专辑分享会 无logo</h5> | |
| 83 | - </div> | |
| 84 | - </div> | |
| 85 | - <div class="form-group intro" style="margin-bottom: 6px;"> | |
| 86 | - <label for="activity_intro" class="control-label col-sm-3">直播简介:</label> | |
| 87 | - <div class="col-sm-9"> | |
| 88 | - <h5 style="font-size:1.0em; font-weight: bold;"> </h5> | |
| 89 | - </div> | |
| 90 | - </div> | |
| 91 | - <hr> | |
| 92 | - <div class="form-group"> | |
| 93 | - <div class="col-sm-12"> | |
| 94 | - <div class="modal-body" style="height:480px"> | |
| 95 | - <embed name="cnlive" width="100%" height="100%" id="cnlive" | |
| 96 | - src="http://data.cnlive.com/export/UuidPlayerMain.swf" | |
| 97 | - flashVars="hasBorder=false&appid=82_irej0pbo53&type=live&model=2&videoURL=rtmp://ffyl.rtmps2.cnlive.com/live-ffyl-223/223_ffyl1-nologo" | |
| 98 | - type="application/x-shockwave-flash" wmode="window" quility="high" | |
| 99 | - allowscriptaccess="always" allowfullscreen="true"> | |
| 100 | - </div> | |
| 101 | - | |
| 102 | - </div> | |
| 103 | - </div> | |
| 104 | - <br> | |
| 105 | - <hr> | |
| 106 | - <div class="form-group "> | |
| 107 | - <label for="state" class="control-label col-sm-3">审核状态:</label> | |
| 108 | - <div class="col-sm-9 "> | |
| 109 | - <h5 id="state">已审 通过</h5> | |
| 110 | - </div> | |
| 111 | - </div> | |
| 112 | - | |
| 113 | - <div class="form-group "> | |
| 114 | - <label for="state" class="control-label col-sm-3">审核日志:</label> | |
| 115 | - <div class="col-sm-9 "> | |
| 116 | - <h5 id="state">1:系统审核;2019-07-09 13:25:01;点播审核可信,系统自动审核 | |
| 117 | -<br/> | |
| 118 | -2:系统审核;2019-07-09 13:23:18;通过:直播未认领正常结束 | |
| 119 | -<br/></h5> | |
| 120 | - </div> | |
| 121 | - </div> | |
| 122 | - | |
| 123 | - <div class="form-group "> | |
| 124 | - <label for="auditor" class="control-label col-sm-3">审核员:</label> | |
| 125 | - <div class="col-sm-9 "> | |
| 126 | - <h5 id="auditor">系统审核 </h5> | |
| 127 | - </div> | |
| 128 | - </div> | |
| 129 | - | |
| 130 | - <div class="form-group"> | |
| 131 | - <label class='control-label col-sm-3' for="attr_tags">常用审核意见:</label> | |
| 132 | - <div class="col-sm-9"> | |
| 133 | - <select class="form-control select2" multiple="multiple" | |
| 134 | - data-placeholder="选择常用审核意见,可多选" name="attr_tags[]" id="attr_tags" | |
| 135 | - style="width: 100%;"> | |
| 136 | - </select> | |
| 137 | - </div> | |
| 138 | - </div><!-- /.form-group --> | |
| 139 | - | |
| 140 | - <div class="form-group"> | |
| 141 | - <label for="msg" class="control-label col-sm-3">审核备注</label> | |
| 142 | - <div class="col-sm-9"> | |
| 143 | - <textarea name="msg" id="msg" cols="5" rows="5" | |
| 144 | - class="form-control"></textarea> | |
| 145 | - </div> | |
| 146 | - </div> | |
| 147 | - </div> | |
| 148 | - <!--可无视--> | |
| 149 | -<style> | |
| 150 | - .small_pic { | |
| 151 | - display: inline-block; | |
| 152 | - width: 25%; | |
| 153 | - height: 25%; | |
| 154 | - /*height: 120px;*/ | |
| 155 | - text-align: center; | |
| 156 | - zoom: 1; | |
| 157 | - margin: 10px 0; | |
| 158 | - } | |
| 159 | - | |
| 160 | - .small_pic a { | |
| 161 | - width: 120%; | |
| 162 | - display: -webkit-flex; | |
| 163 | - display: flex; | |
| 164 | - align-items: center; | |
| 165 | - justify-content: center; | |
| 166 | - border: 1px solid #ccc; | |
| 167 | - background: #fff; | |
| 168 | - margin: 0 auto; | |
| 169 | - } | |
| 170 | - | |
| 171 | - .small_pic img { | |
| 172 | - max-width: 100%; | |
| 173 | - /*height: 100px;*/ | |
| 174 | - /*height: 80%;*/ | |
| 175 | - } | |
| 176 | - | |
| 177 | -</style> | |
| 178 | -<style type="text/css"> | |
| 179 | - /*自适应圆角投影*/ | |
| 180 | - .round_shade_box { | |
| 181 | - width: 1px; | |
| 182 | - height: 1px; | |
| 183 | - font-size: 0; | |
| 184 | - display: none; | |
| 185 | - _background: white; | |
| 186 | - _border: 1px solid #cccccc; | |
| 187 | - } | |
| 188 | - | |
| 189 | - .round_shade_top { | |
| 190 | - margin: 0 12px 0 10px; | |
| 191 | - background: url(image/zxx_round_shade.png) repeat-x -20px -40px; | |
| 192 | - _background: white; | |
| 193 | - zoom: 1; | |
| 194 | - } | |
| 195 | - | |
| 196 | - .round_shade_topleft { | |
| 197 | - width: 11px; | |
| 198 | - height: 10px; | |
| 199 | - background: url(image/zxx_round_shade.png) no-repeat 0 0; | |
| 200 | - _background: none; | |
| 201 | - float: left; | |
| 202 | - margin-left: -11px; | |
| 203 | - position: relative; | |
| 204 | - } | |
| 205 | - | |
| 206 | - .round_shade_topright { | |
| 207 | - width: 12px; | |
| 208 | - height: 10px; | |
| 209 | - background: url(image/zxx_round_shade.png) no-repeat -29px 0; | |
| 210 | - _background: none; | |
| 211 | - float: right; | |
| 212 | - margin-right: -12px; | |
| 213 | - position: relative; | |
| 214 | - } | |
| 215 | - | |
| 216 | - .round_shade_centerleft { | |
| 217 | - background: url(image/zxx_round_shade.png) no-repeat 0 -1580px; | |
| 218 | - _background: none; | |
| 219 | - } | |
| 220 | - | |
| 221 | - .round_shade_centerright { | |
| 222 | - background: url(image/zxx_round_shade.png) no-repeat right -80px; | |
| 223 | - _background: none; | |
| 224 | - } | |
| 225 | - | |
| 226 | - .round_shade_center { | |
| 227 | - display: -webkit-flex; | |
| 228 | - display: flex; | |
| 229 | - align-items: center; | |
| 230 | - justify-content: center; | |
| 231 | - border: 1px solid #ccc; | |
| 232 | - background: #fff; | |
| 233 | - margin: 0 auto; | |
| 234 | - /*margin-top: 443px;*/ | |
| 235 | - max-height: 1200px; | |
| 236 | - } | |
| 237 | - | |
| 238 | - .round_shade_bottom { | |
| 239 | - margin: 0 12px 0 11px; | |
| 240 | - background: url(image/zxx_round_shade.png) repeat-x -20px bottom; | |
| 241 | - _background: white; | |
| 242 | - zoom: 1; | |
| 243 | - } | |
| 244 | - | |
| 245 | - .round_shade_bottomleft { | |
| 246 | - width: 11px; | |
| 247 | - height: 10px; | |
| 248 | - background: url(image/zxx_round_shade.png) no-repeat 0 -30px; | |
| 249 | - _background: none; | |
| 250 | - float: left; | |
| 251 | - margin-left: -11px; | |
| 252 | - position: relative; | |
| 253 | - } | |
| 254 | - | |
| 255 | - .round_shade_bottomright { | |
| 256 | - width: 12px; | |
| 257 | - height: 10px; | |
| 258 | - background: url(image/zxx_round_shade.png) no-repeat -29px -30px; | |
| 259 | - _background: none; | |
| 260 | - float: right; | |
| 261 | - margin-right: -12px; | |
| 262 | - position: relative; | |
| 263 | - } | |
| 264 | - | |
| 265 | - .round_shade_top:after, .round_shade_bottom:after, .zxx_zoom_box:after { | |
| 266 | - display: block; | |
| 267 | - content: "."; | |
| 268 | - height: 0; | |
| 269 | - clear: both; | |
| 270 | - overflow: hidden; | |
| 271 | - visibility: hidden; | |
| 272 | - } | |
| 273 | - | |
| 274 | - .round_box_close { | |
| 275 | - padding: 6px 6px; | |
| 276 | - font-size: 10px; | |
| 277 | - color: #ffffff; | |
| 278 | - text-decoration: none; | |
| 279 | - border: 1px solid #cccccc; | |
| 280 | - -moz-border-radius: 4px; | |
| 281 | - -webkit-border-radius: 4px; | |
| 282 | - background: #000000; | |
| 283 | - opacity: 0.8; | |
| 284 | - filter: alpha(opacity=80); | |
| 285 | - position: absolute; | |
| 286 | - right: 0px; | |
| 287 | - top: 50px; | |
| 288 | - } | |
| 289 | - | |
| 290 | - .round_box_close:hover { | |
| 291 | - opacity: 0.95; | |
| 292 | - filter: alpha(opacity=95); | |
| 293 | - } | |
| 294 | - | |
| 295 | - /*自适应圆角投影结束*/ | |
| 296 | - .zxx_zoom_left { | |
| 297 | - width: 45%; | |
| 298 | - float: left; | |
| 299 | - margin-top: 20px; | |
| 300 | - border-right: 1px solid #dddddd; | |
| 301 | - } | |
| 302 | - | |
| 303 | - .zxx_zoom_left h4 { | |
| 304 | - margin: 5px 0px 15px 5px; | |
| 305 | - font-size: 1.1em; | |
| 306 | - } | |
| 307 | - | |
| 308 | - /*.small_pic {*/ | |
| 309 | - /*display: inline-block;*/ | |
| 310 | - /*width: 10%;*/ | |
| 311 | - /*height: 150px;*/ | |
| 312 | - /*font-size: 1px;*/ | |
| 313 | - /*text-align: center;*/ | |
| 314 | - /**display: inline;*/ | |
| 315 | - /*zoom: 1;*/ | |
| 316 | - /*vertical-align: middle;*/ | |
| 317 | - /*}*/ | |
| 318 | - | |
| 319 | - /*.small_pic img {*/ | |
| 320 | - /*padding: 3px;*/ | |
| 321 | - /*background: #ffffff;*/ | |
| 322 | - /*border: 1px solid #cccccc;*/ | |
| 323 | - /*vertical-align: middle;*/ | |
| 324 | - /*}*/ | |
| 325 | - | |
| 326 | - .zxx_zoom_right { | |
| 327 | - width: 50%; | |
| 328 | - float: left; | |
| 329 | - margin-top: 20px; | |
| 330 | - padding-left: 2%; | |
| 331 | - } | |
| 332 | - | |
| 333 | - .zxx_zoom_right h4 { | |
| 334 | - margin: 5px 0px; | |
| 335 | - font-size: 1.1em; | |
| 336 | - } | |
| 337 | - | |
| 338 | - .zxx_zoom_right p.zxx_zoom_word { | |
| 339 | - line-height: 1.5; | |
| 340 | - font-size: 1.05em; | |
| 341 | - letter-spacing: 1px; | |
| 342 | - margin: 0 0 35px; | |
| 343 | - padding-top: 5px; | |
| 344 | - } | |
| 345 | -</style> | |
| 346 | - | |
| 347 | -<!--js放大的效果--> | |
| 348 | -<script type="text/javascript" src="http://shenhe.cnlive.com/enlarge/js/content_zoom.js"></script> | |
| 349 | - | |
| 350 | -<!--点击放大的div--> | |
| 351 | - <div class="pic_big" id="pic_287" style="display:none;"><img | |
| 352 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000287"/> | |
| 353 | - </div> | |
| 354 | - <div class="pic_big" id="pic_288" style="display:none;"><img | |
| 355 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000288"/> | |
| 356 | - </div> | |
| 357 | - <div class="pic_big" id="pic_289" style="display:none;"><img | |
| 358 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000289"/> | |
| 359 | - </div> | |
| 360 | - <div class="pic_big" id="pic_290" style="display:none;"><img | |
| 361 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000290"/> | |
| 362 | - </div> | |
| 363 | - <div class="pic_big" id="pic_291" style="display:none;"><img | |
| 364 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000291"/> | |
| 365 | - </div> | |
| 366 | - <div class="pic_big" id="pic_292" style="display:none;"><img | |
| 367 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000292"/> | |
| 368 | - </div> | |
| 369 | - <div class="pic_big" id="pic_293" style="display:none;"><img | |
| 370 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000293"/> | |
| 371 | - </div> | |
| 372 | - <div class="pic_big" id="pic_294" style="display:none;"><img | |
| 373 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000294"/> | |
| 374 | - </div> | |
| 375 | - <div class="pic_big" id="pic_295" style="display:none;"><img | |
| 376 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000295"/> | |
| 377 | - </div> | |
| 378 | - <div class="pic_big" id="pic_296" style="display:none;"><img | |
| 379 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000296"/> | |
| 380 | - </div> | |
| 381 | - <div class="pic_big" id="pic_297" style="display:none;"><img | |
| 382 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000297"/> | |
| 383 | - </div> | |
| 384 | - <div class="pic_big" id="pic_298" style="display:none;"><img | |
| 385 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000298"/> | |
| 386 | - </div> | |
| 387 | - <div class="pic_big" id="pic_299" style="display:none;"><img | |
| 388 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000299"/> | |
| 389 | - </div> | |
| 390 | - <div class="pic_big" id="pic_300" style="display:none;"><img | |
| 391 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000300"/> | |
| 392 | - </div> | |
| 393 | - <div class="pic_big" id="pic_301" style="display:none;"><img | |
| 394 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000301"/> | |
| 395 | - </div> | |
| 396 | - <div class="pic_big" id="pic_302" style="display:none;"><img | |
| 397 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000302"/> | |
| 398 | - </div> | |
| 399 | - <div class="pic_big" id="pic_303" style="display:none;"><img | |
| 400 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000303"/> | |
| 401 | - </div> | |
| 402 | - <div class="pic_big" id="pic_304" style="display:none;"><img | |
| 403 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000304"/> | |
| 404 | - </div> | |
| 405 | - <div class="pic_big" id="pic_305" style="display:none;"><img | |
| 406 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000305"/> | |
| 407 | - </div> | |
| 408 | - <div class="pic_big" id="pic_306" style="display:none;"><img | |
| 409 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000306"/> | |
| 410 | - </div> | |
| 411 | - <div class="pic_big" id="pic_307" style="display:none;"><img | |
| 412 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000307"/> | |
| 413 | - </div> | |
| 414 | - <div class="pic_big" id="pic_308" style="display:none;"><img | |
| 415 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000308"/> | |
| 416 | - </div> | |
| 417 | - <div class="pic_big" id="pic_309" style="display:none;"><img | |
| 418 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000309"/> | |
| 419 | - </div> | |
| 420 | - <div class="pic_big" id="pic_310" style="display:none;"><img | |
| 421 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000310"/> | |
| 422 | - </div> | |
| 423 | - | |
| 424 | -<div class="form-group col-sm-7" id="flush" onload="load()"> | |
| 425 | - <div class="col-sm-12" id="flush"> | |
| 426 | - | |
| 427 | - <button type="button" class="btn btn-success btn-xs margin-r-5" | |
| 428 | - value="" style="font-size:1.5em;">刷新 | |
| 429 | - </button> | |
| 430 | - <span style="font-size:1.5em;">抽帧截图 (默认最新24张,友情提示:点击图片放大,再次点击恢复):</span> | |
| 431 | - <br/> <span style="color:red; font-size:1.5em;">(注:直播抽帧隔2h重置一下抽帧)</span> | |
| 432 | - </div> | |
| 433 | - | |
| 434 | -</div> | |
| 435 | -<!--抽帧做页面刷新操作 ---每30秒刷新一次 start--> | |
| 436 | - | |
| 437 | -<div class="form-group col-sm-7" onload="load()"> | |
| 438 | - | |
| 439 | - <div class="col-sm-12" id="add_pic"> | |
| 440 | - <!--点击放大的div--> | |
| 441 | - <div class="pic_big" id="pic_287" style="display:none;"><img | |
| 442 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000287"/> | |
| 443 | - </div> | |
| 444 | - <div class="pic_big" id="pic_288" style="display:none;"><img | |
| 445 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000288"/> | |
| 446 | - </div> | |
| 447 | - <div class="pic_big" id="pic_289" style="display:none;"><img | |
| 448 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000289"/> | |
| 449 | - </div> | |
| 450 | - <div class="pic_big" id="pic_290" style="display:none;"><img | |
| 451 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000290"/> | |
| 452 | - </div> | |
| 453 | - <div class="pic_big" id="pic_291" style="display:none;"><img | |
| 454 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000291"/> | |
| 455 | - </div> | |
| 456 | - <div class="pic_big" id="pic_292" style="display:none;"><img | |
| 457 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000292"/> | |
| 458 | - </div> | |
| 459 | - <div class="pic_big" id="pic_293" style="display:none;"><img | |
| 460 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000293"/> | |
| 461 | - </div> | |
| 462 | - <div class="pic_big" id="pic_294" style="display:none;"><img | |
| 463 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000294"/> | |
| 464 | - </div> | |
| 465 | - <div class="pic_big" id="pic_295" style="display:none;"><img | |
| 466 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000295"/> | |
| 467 | - </div> | |
| 468 | - <div class="pic_big" id="pic_296" style="display:none;"><img | |
| 469 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000296"/> | |
| 470 | - </div> | |
| 471 | - <div class="pic_big" id="pic_297" style="display:none;"><img | |
| 472 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000297"/> | |
| 473 | - </div> | |
| 474 | - <div class="pic_big" id="pic_298" style="display:none;"><img | |
| 475 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000298"/> | |
| 476 | - </div> | |
| 477 | - <div class="pic_big" id="pic_299" style="display:none;"><img | |
| 478 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000299"/> | |
| 479 | - </div> | |
| 480 | - <div class="pic_big" id="pic_300" style="display:none;"><img | |
| 481 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000300"/> | |
| 482 | - </div> | |
| 483 | - <div class="pic_big" id="pic_301" style="display:none;"><img | |
| 484 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000301"/> | |
| 485 | - </div> | |
| 486 | - <div class="pic_big" id="pic_302" style="display:none;"><img | |
| 487 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000302"/> | |
| 488 | - </div> | |
| 489 | - <div class="pic_big" id="pic_303" style="display:none;"><img | |
| 490 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000303"/> | |
| 491 | - </div> | |
| 492 | - <div class="pic_big" id="pic_304" style="display:none;"><img | |
| 493 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000304"/> | |
| 494 | - </div> | |
| 495 | - <div class="pic_big" id="pic_305" style="display:none;"><img | |
| 496 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000305"/> | |
| 497 | - </div> | |
| 498 | - <div class="pic_big" id="pic_306" style="display:none;"><img | |
| 499 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000306"/> | |
| 500 | - </div> | |
| 501 | - <div class="pic_big" id="pic_307" style="display:none;"><img | |
| 502 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000307"/> | |
| 503 | - </div> | |
| 504 | - <div class="pic_big" id="pic_308" style="display:none;"><img | |
| 505 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000308"/> | |
| 506 | - </div> | |
| 507 | - <div class="pic_big" id="pic_309" style="display:none;"><img | |
| 508 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000309"/> | |
| 509 | - </div> | |
| 510 | - <div class="pic_big" id="pic_310" style="display:none;"><img | |
| 511 | - src="http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000310"/> | |
| 512 | - </div> | |
| 513 | - <div style="float:left;" class="small_pic"> | |
| 514 | - <div style="padding:5px;" class="col-sm-8"> | |
| 515 | - <a href="#pic_310"> | |
| 516 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000310_s' alt="抽帧图"> | |
| 517 | - </a> | |
| 518 | - <p>13:23:08</p> | |
| 519 | - </div> | |
| 520 | - </div> | |
| 521 | - <div style="float:left;" class="small_pic"> | |
| 522 | - <div style="padding:5px;" class="col-sm-8"> | |
| 523 | - <a href="#pic_309"> | |
| 524 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000309_s' alt="抽帧图"> | |
| 525 | - </a> | |
| 526 | - <p>13:22:58</p> | |
| 527 | - </div> | |
| 528 | - </div> | |
| 529 | - <div style="float:left;" class="small_pic"> | |
| 530 | - <div style="padding:5px;" class="col-sm-8"> | |
| 531 | - <a href="#pic_308"> | |
| 532 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000308_s' alt="抽帧图"> | |
| 533 | - </a> | |
| 534 | - <p>13:22:48</p> | |
| 535 | - </div> | |
| 536 | - </div> | |
| 537 | - <div style="float:left;" class="small_pic"> | |
| 538 | - <div style="padding:5px;" class="col-sm-8"> | |
| 539 | - <a href="#pic_307"> | |
| 540 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000307_s' alt="抽帧图"> | |
| 541 | - </a> | |
| 542 | - <p>13:22:38</p> | |
| 543 | - </div> | |
| 544 | - </div> | |
| 545 | - <div style="float:left;" class="small_pic"> | |
| 546 | - <div style="padding:5px;" class="col-sm-8"> | |
| 547 | - <a href="#pic_306"> | |
| 548 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000306_s' alt="抽帧图"> | |
| 549 | - </a> | |
| 550 | - <p>13:22:28</p> | |
| 551 | - </div> | |
| 552 | - </div> | |
| 553 | - <div style="float:left;" class="small_pic"> | |
| 554 | - <div style="padding:5px;" class="col-sm-8"> | |
| 555 | - <a href="#pic_305"> | |
| 556 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000305_s' alt="抽帧图"> | |
| 557 | - </a> | |
| 558 | - <p>13:22:18</p> | |
| 559 | - </div> | |
| 560 | - </div> | |
| 561 | - <div style="float:left;" class="small_pic"> | |
| 562 | - <div style="padding:5px;" class="col-sm-8"> | |
| 563 | - <a href="#pic_304"> | |
| 564 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000304_s' alt="抽帧图"> | |
| 565 | - </a> | |
| 566 | - <p>13:22:08</p> | |
| 567 | - </div> | |
| 568 | - </div> | |
| 569 | - <div style="float:left;" class="small_pic"> | |
| 570 | - <div style="padding:5px;" class="col-sm-8"> | |
| 571 | - <a href="#pic_303"> | |
| 572 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000303_s' alt="抽帧图"> | |
| 573 | - </a> | |
| 574 | - <p>13:21:58</p> | |
| 575 | - </div> | |
| 576 | - </div> | |
| 577 | - <div style="float:left;" class="small_pic"> | |
| 578 | - <div style="padding:5px;" class="col-sm-8"> | |
| 579 | - <a href="#pic_302"> | |
| 580 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000302_s' alt="抽帧图"> | |
| 581 | - </a> | |
| 582 | - <p>13:21:48</p> | |
| 583 | - </div> | |
| 584 | - </div> | |
| 585 | - <div style="float:left;" class="small_pic"> | |
| 586 | - <div style="padding:5px;" class="col-sm-8"> | |
| 587 | - <a href="#pic_301"> | |
| 588 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000301_s' alt="抽帧图"> | |
| 589 | - </a> | |
| 590 | - <p>13:21:38</p> | |
| 591 | - </div> | |
| 592 | - </div> | |
| 593 | - <div style="float:left;" class="small_pic"> | |
| 594 | - <div style="padding:5px;" class="col-sm-8"> | |
| 595 | - <a href="#pic_300"> | |
| 596 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000300_s' alt="抽帧图"> | |
| 597 | - </a> | |
| 598 | - <p>13:21:28</p> | |
| 599 | - </div> | |
| 600 | - </div> | |
| 601 | - <div style="float:left;" class="small_pic"> | |
| 602 | - <div style="padding:5px;" class="col-sm-8"> | |
| 603 | - <a href="#pic_299"> | |
| 604 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000299_s' alt="抽帧图"> | |
| 605 | - </a> | |
| 606 | - <p>13:21:18</p> | |
| 607 | - </div> | |
| 608 | - </div> | |
| 609 | - <div style="float:left;" class="small_pic"> | |
| 610 | - <div style="padding:5px;" class="col-sm-8"> | |
| 611 | - <a href="#pic_298"> | |
| 612 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000298_s' alt="抽帧图"> | |
| 613 | - </a> | |
| 614 | - <p>13:21:08</p> | |
| 615 | - </div> | |
| 616 | - </div> | |
| 617 | - <div style="float:left;" class="small_pic"> | |
| 618 | - <div style="padding:5px;" class="col-sm-8"> | |
| 619 | - <a href="#pic_297"> | |
| 620 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000297_s' alt="抽帧图"> | |
| 621 | - </a> | |
| 622 | - <p>13:20:58</p> | |
| 623 | - </div> | |
| 624 | - </div> | |
| 625 | - <div style="float:left;" class="small_pic"> | |
| 626 | - <div style="padding:5px;" class="col-sm-8"> | |
| 627 | - <a href="#pic_296"> | |
| 628 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000296_s' alt="抽帧图"> | |
| 629 | - </a> | |
| 630 | - <p>13:20:48</p> | |
| 631 | - </div> | |
| 632 | - </div> | |
| 633 | - <div style="float:left;" class="small_pic"> | |
| 634 | - <div style="padding:5px;" class="col-sm-8"> | |
| 635 | - <a href="#pic_295"> | |
| 636 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000295_s' alt="抽帧图"> | |
| 637 | - </a> | |
| 638 | - <p>13:20:38</p> | |
| 639 | - </div> | |
| 640 | - </div> | |
| 641 | - <div style="float:left;" class="small_pic"> | |
| 642 | - <div style="padding:5px;" class="col-sm-8"> | |
| 643 | - <a href="#pic_294"> | |
| 644 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000294_s' alt="抽帧图"> | |
| 645 | - </a> | |
| 646 | - <p>13:20:28</p> | |
| 647 | - </div> | |
| 648 | - </div> | |
| 649 | - <div style="float:left;" class="small_pic"> | |
| 650 | - <div style="padding:5px;" class="col-sm-8"> | |
| 651 | - <a href="#pic_293"> | |
| 652 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000293_s' alt="抽帧图"> | |
| 653 | - </a> | |
| 654 | - <p>13:20:18</p> | |
| 655 | - </div> | |
| 656 | - </div> | |
| 657 | - <div style="float:left;" class="small_pic"> | |
| 658 | - <div style="padding:5px;" class="col-sm-8"> | |
| 659 | - <a href="#pic_292"> | |
| 660 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000292_s' alt="抽帧图"> | |
| 661 | - </a> | |
| 662 | - <p>13:20:08</p> | |
| 663 | - </div> | |
| 664 | - </div> | |
| 665 | - <div style="float:left;" class="small_pic"> | |
| 666 | - <div style="padding:5px;" class="col-sm-8"> | |
| 667 | - <a href="#pic_291"> | |
| 668 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000291_s' alt="抽帧图"> | |
| 669 | - </a> | |
| 670 | - <p>13:19:58</p> | |
| 671 | - </div> | |
| 672 | - </div> | |
| 673 | - <div style="float:left;" class="small_pic"> | |
| 674 | - <div style="padding:5px;" class="col-sm-8"> | |
| 675 | - <a href="#pic_290"> | |
| 676 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000290_s' alt="抽帧图"> | |
| 677 | - </a> | |
| 678 | - <p>13:19:48</p> | |
| 679 | - </div> | |
| 680 | - </div> | |
| 681 | - <div style="float:left;" class="small_pic"> | |
| 682 | - <div style="padding:5px;" class="col-sm-8"> | |
| 683 | - <a href="#pic_289"> | |
| 684 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000289_s' alt="抽帧图"> | |
| 685 | - </a> | |
| 686 | - <p>13:19:38</p> | |
| 687 | - </div> | |
| 688 | - </div> | |
| 689 | - <div style="float:left;" class="small_pic"> | |
| 690 | - <div style="padding:5px;" class="col-sm-8"> | |
| 691 | - <a href="#pic_288"> | |
| 692 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000288_s' alt="抽帧图"> | |
| 693 | - </a> | |
| 694 | - <p>13:19:28</p> | |
| 695 | - </div> | |
| 696 | - </div> | |
| 697 | - <div style="float:left;" class="small_pic"> | |
| 698 | - <div style="padding:5px;" class="col-sm-8"> | |
| 699 | - <a href="#pic_287"> | |
| 700 | - <img src='http://120.92.200.154/screenshot?id=shenhe-223_b9c79a010ff84d07a34bfec67d3b3f1a&t=000287_s' alt="抽帧图"> | |
| 701 | - </a> | |
| 702 | - <p>13:19:18</p> | |
| 703 | - </div> | |
| 704 | - </div> | |
| 705 | - | |
| 706 | - <div class="col-sm-12"> | |
| 707 | - <span id="more" style="font-size:1.8em; float:left;"><a href="javascript:;">查看全部(共310 | |
| 708 | - 张)</a></span> | |
| 709 | - </div> | |
| 710 | - </div> | |
| 711 | - | |
| 712 | -</div> | |
| 713 | -<script> | |
| 714 | - $("#flush").click(function () { | |
| 715 | - var row_id = $("#live_id").val(); | |
| 716 | - if (typeof(row_id) == "undefined") { | |
| 717 | - return false; | |
| 718 | - } | |
| 719 | - var time = Date.parse(new Date()); | |
| 720 | - $.ajax({ | |
| 721 | - type: 'GET', | |
| 722 | - cache: false, | |
| 723 | - dataType: "html", | |
| 724 | - data: {'_token': 'OPAYyJTsfW7AcH6OGqWNVICiRup24V6nL2mFM9t6', 'time': time, 'row_id': row_id}, | |
| 725 | - url: '/live/flush_ajax', | |
| 726 | - success: function (msg) { | |
| 727 | - //eval将字符串转成对象数组 | |
| 728 | - $("#add_pic").html(msg); | |
| 729 | -// var message = eval(msg); | |
| 730 | -// if (message['errorCode'] == 0) { | |
| 731 | -// } | |
| 732 | - }, | |
| 733 | - error: function (msg) { | |
| 734 | - console.log("failed"); | |
| 735 | - } | |
| 736 | - }); | |
| 737 | - }); | |
| 738 | - | |
| 739 | - /*点击更多加载分页*/ | |
| 740 | -// $("#more").click(function () { | |
| 741 | -// var row_id = $("#live_id").val(); | |
| 742 | -// if (typeof(row_id) == "undefined") { | |
| 743 | -// return false; | |
| 744 | -// } | |
| 745 | -// var time = Date.parse(new Date()); | |
| 746 | -// // window.location.href = '/live/more?'+'row_id='+row_id + '&time='+ time; | |
| 747 | -// window.open('/live/more?' + 'row_id=' + row_id + '&time=' + time); | |
| 748 | -// | |
| 749 | -// }); | |
| 750 | - /*点击放大*/ | |
| 751 | - $(document).ready(function () { | |
| 752 | - $('div.small_pic a').fancyZoom({scaleImg: true, closeOnClick: true}); | |
| 753 | - $('#zoom_word_1').fancyZoom({width: 400, height: 200}); | |
| 754 | - $('#zoom_word_2').fancyZoom(); | |
| 755 | - $('#zoom_flash').fancyZoom(); | |
| 756 | - }); | |
| 757 | - | |
| 758 | - | |
| 759 | -</script>; | |
| 760 | - </div> | |
| 761 | -</div> | |
| 762 | - | |
| 763 | -<!--抽帧做页面刷新操作 ---每5分钟刷新一次 end--> | |
| 764 | - | |
| 765 | -<div class="form-group"> | |
| 766 | - <input type="text" hidden="hidden" id="live_id" value="10391"> | |
| 767 | -</div> | |
| 768 | - | |
| 769 | -<div class="form-group"> | |
| 770 | - <input type="text" hidden="hidden" id="host" value="shenhe.cnlive.com"> | |
| 771 | -</div> | |
| 772 | - | |
| 773 | -<!-- 预览对话框 --> | |
| 774 | -<div class="modal fade" id="preview" role="dialog" aria-hidden="true"> | |
| 775 | - <div class="modal-dialog" style="width: 670px;"> | |
| 776 | - <div class="modal-content"> | |
| 777 | - <div class="modal-header"> | |
| 778 | - <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> | |
| 779 | - × | |
| 780 | - </button> | |
| 781 | - <h5 class="modal-title" id="myModalLabel"> | |
| 782 | - 视频预览 | |
| 783 | - </h5> | |
| 784 | - </div> | |
| 785 | - <div class="modal-body"> | |
| 786 | - <embed name="cnlive" width="640" height="450" id="cnlive" | |
| 787 | - src="http://data.cnlive.com/export/UuidPlayerMain.swf" | |
| 788 | - flashVars="hasBorder=false&appid=82_irej0pbo53&type=live&model=2&videoURL=" | |
| 789 | - type="application/x-shockwave-flash" wmode="window" quility="high" | |
| 790 | - allowscriptaccess="always" allowfullscreen="true"> | |
| 791 | - </div> | |
| 792 | - </div><!-- /.modal-content --> | |
| 793 | - </div><!-- /.modal --> | |
| 794 | -</div> | |
| 795 | - | |
| 796 | -<div class="box-footer"> | |
| 797 | - <div class="col-sm-4"> | |
| 798 | - <button type="button" class="btn btn-warning pull-right" onclick="offline_live(10391)">下线直播 | |
| 799 | - </button> | |
| 800 | - </div> | |
| 801 | - | |
| 802 | - <div class="col-sm-1"> | |
| 803 | - <button type="button" class="btn btn-warning pull-right" onclick="offline_anchor(10391)">下线主播 | |
| 804 | - </button> | |
| 805 | - </div> | |
| 806 | - | |
| 807 | - <div class="col-sm-1"> | |
| 808 | - <button type="button" class="btn btn-primary pull-right" id="back">返回列表</button> | |
| 809 | - </div> | |
| 810 | -</div> | |
| 811 | - | |
| 812 | -<!-- 确认弹出框 --> | |
| 813 | -<div class="modal" id="action_note" role="dialog" aria-labelledby="myModalLabel"> | |
| 814 | - <div class="modal-dialog"> | |
| 815 | - <div class="modal-content"> | |
| 816 | - <div class="modal-header"> | |
| 817 | - <button type="button" class="close" data-dismiss="modal"> ×</button> | |
| 818 | - <h4 class="modal-title">温馨提示</h4> | |
| 819 | - </div> | |
| 820 | - <div class="modal-body" id="msg2"></div> | |
| 821 | - <div class="modal-footer"> | |
| 822 | - <button type="button" class="btn btn-default " data-dismiss="modal" id="action_note_no">取消 | |
| 823 | - </button> | |
| 824 | - <button type="button" class="btn btn-primary" id="action_note_yes">确认</button> | |
| 825 | - <input type="hidden" name="action_note_type" id="action_note_type" value=""/> | |
| 826 | - <input type="hidden" name="action_note_id" id="action_note_id" value=""/> | |
| 827 | - </div> | |
| 828 | - </div> | |
| 829 | - </div> | |
| 830 | -</div> | |
| 831 | - | |
| 832 | -<!-- Select2 todo xiaohu --> | |
| 833 | -<script src="/admin-lte/js/select2/select2.full.min.js"></script> | |
| 834 | -<!-- Select2 todo xiaohu --> | |
| 835 | -<link rel="stylesheet" href="/admin-lte/css/select2/select2.min.css" type="text/css"/> | |
| 836 | -<link rel="stylesheet" href="/admin-lte/css/AdminLTE.min.css" type="text/css"/> | |
| 837 | - | |
| 838 | -<script> | |
| 839 | - //列表中的操作 | |
| 840 | - function preview(url) { | |
| 841 | - $('#cnlive').attr('flashVars', "hasBorder=false&appid=82_irej0pbo53&type=live&model=2&videoURL=" + url); | |
| 842 | - $('#preview').modal('show'); | |
| 843 | - $('.close').click(function () { | |
| 844 | - $('.preview').attr('display', 'none'); | |
| 845 | - }) | |
| 846 | - } | |
| 847 | - | |
| 848 | - $(function () { | |
| 849 | - $('#begin_date').datetimepicker({ | |
| 850 | - format: 'YYYY/MM/DD HH:mm', | |
| 851 | - locale: 'zh-cn' | |
| 852 | - }); | |
| 853 | - $('#end_date').datetimepicker({ | |
| 854 | - format: 'YYYY/MM/DD HH:mm', | |
| 855 | - locale: 'zh-cn' | |
| 856 | - }); | |
| 857 | - }); | |
| 858 | - | |
| 859 | - | |
| 860 | - /*通过*/ | |
| 861 | - $("#pass").click(function () { | |
| 862 | - var row_id = $("#live_id").val(); | |
| 863 | - var attr_tags = $('#attr_tags').val();//获取标签属性信息 | |
| 864 | - var msg = $('#msg').val(); //获取审核msg | |
| 865 | - if (typeof(row_id) == "undefined") { | |
| 866 | - return false; | |
| 867 | - } | |
| 868 | - $.ajax({ | |
| 869 | - type: 'get', | |
| 870 | - data: {'_token': 'OPAYyJTsfW7AcH6OGqWNVICiRup24V6nL2mFM9t6', 'attr_tags': attr_tags, 'msg': msg}, | |
| 871 | - url: '/live/pass/' + row_id, | |
| 872 | - success: function (data) { | |
| 873 | - window.location.href = '/live'; | |
| 874 | - } | |
| 875 | - }); | |
| 876 | - }); | |
| 877 | - | |
| 878 | - /*点击更多加载分页*/ | |
| 879 | - $("#more").click(function () { | |
| 880 | - var row_id = $("#live_id").val(); | |
| 881 | - if (typeof(row_id) == "undefined") { | |
| 882 | - return false; | |
| 883 | - } | |
| 884 | - var time = Date.parse(new Date()); | |
| 885 | - window.open('/live/more?' + 'row_id=' + row_id + '&time=' + time); | |
| 886 | - }); | |
| 887 | - | |
| 888 | -</script> | |
| 889 | - | |
| 890 | -<script> | |
| 891 | - | |
| 892 | - $(function () { | |
| 893 | - //Initialize Select2 Elements | |
| 894 | - $(".select2").select2(); | |
| 895 | - }); | |
| 896 | - /*返回列表*/ | |
| 897 | - $("#back").click(function () { | |
| 898 | - console.log('222') | |
| 899 | - var state = 0; | |
| 900 | - window.location.href = '/live/filter/' + state; | |
| 901 | - }); | |
| 902 | - /*下线主播*/ | |
| 903 | - function offline_anchor(id) { | |
| 904 | - | |
| 905 | - var attr_tags = $('#attr_tags').val();//获取标签属性信息 | |
| 906 | - var msg = $('#msg').val(); //获取审核msg | |
| 907 | - if (attr_tags == null && msg == '') { //两个都为空 不行 | |
| 908 | - alert('请输入审核备注或者常用审核意见!'); | |
| 909 | - return false; | |
| 910 | - } | |
| 911 | - | |
| 912 | - $('#msg2').html('您确认下线主播吗?'); | |
| 913 | - $('#action_note').show(); | |
| 914 | - $("#action_note_type").val('offline_anchor'); | |
| 915 | - $("#action_note_id").val(id); | |
| 916 | - } | |
| 917 | - /*下线直播*/ | |
| 918 | - function offline_live(id) { | |
| 919 | - | |
| 920 | - var attr_tags = $('#attr_tags').val();//获取标签属性信息 | |
| 921 | - var msg = $('#msg').val(); //获取审核msg | |
| 922 | - if (attr_tags == null && msg == '') { //两个都为空 不行 | |
| 923 | - alert('请输入审核备注或者常用审核意见!'); | |
| 924 | - return false; | |
| 925 | - } | |
| 926 | - | |
| 927 | - $('#msg2').html('您确认下线直播吗?'); | |
| 928 | - $('#action_note').show(); | |
| 929 | - $("#action_note_type").val('offline_live'); | |
| 930 | - $("#action_note_id").val(id); | |
| 931 | - } | |
| 932 | - //弹出框取消 | |
| 933 | - $("#action_note_no").click(function () { | |
| 934 | - $("#action_note").hide(); | |
| 935 | - }); | |
| 936 | - //弹出框确认 | |
| 937 | - $("#action_note_yes").click(function () { | |
| 938 | - var action_note_type = $("#action_note_type").val(); | |
| 939 | - var id = $("#action_note_id").val(); | |
| 940 | - var state = 0; | |
| 941 | - if (action_note_type == 'reject') { | |
| 942 | - var row_id = $("#live_id").val(); | |
| 943 | - var attr_tags = $('#attr_tags').val();//获取标签属性信息 | |
| 944 | - var msg = $('#msg').val(); //获取审核msg | |
| 945 | - if (attr_tags == null && msg == '') { //两个都为空 不行 | |
| 946 | - alert('请输入审核备注或者常用审核意见!'); | |
| 947 | - return false; | |
| 948 | - } | |
| 949 | - if (typeof(row_id) == "undefined") { | |
| 950 | - return false; | |
| 951 | - } | |
| 952 | - $.ajax({ | |
| 953 | - type: 'get', | |
| 954 | - data: {'_token': 'OPAYyJTsfW7AcH6OGqWNVICiRup24V6nL2mFM9t6', 'attr_tags': attr_tags, 'msg': msg}, | |
| 955 | - url: '/live/reject/' + row_id, | |
| 956 | - success: function (data) { | |
| 957 | - window.location.href = '/live' + '/filter/' + state; | |
| 958 | - } | |
| 959 | - }); | |
| 960 | - } else if (action_note_type == 'offline_live') { | |
| 961 | - var id = $("#live_id").val(); | |
| 962 | - var attr_tags = $('#attr_tags').val();//获取标签属性信息 | |
| 963 | - var msg = $('#msg').val(); //获取审核msg | |
| 964 | - if (attr_tags == null && msg == '') { | |
| 965 | - alert('请输入审核备注或者常用审核意见!'); | |
| 966 | - return false; | |
| 967 | - } | |
| 968 | - if (typeof(id) == "undefined") { | |
| 969 | - return false; | |
| 970 | - } | |
| 971 | - $.ajax({ | |
| 972 | - type: 'get', | |
| 973 | - data: {'_token': 'OPAYyJTsfW7AcH6OGqWNVICiRup24V6nL2mFM9t6', 'attr_tags': attr_tags, 'msg': msg}, | |
| 974 | - url: '/live/offline_live/' + id, | |
| 975 | - success: function (data) { | |
| 976 | - window.location.href = '/live' + '/filter/' + state; | |
| 977 | - } | |
| 978 | - }); | |
| 979 | - } else if (action_note_type == 'offline_anchor') { | |
| 980 | - var id = $("#live_id").val(); | |
| 981 | - var attr_tags = $('#attr_tags').val();//获取标签属性信息 | |
| 982 | - var msg = $('#msg').val(); //获取审核msg | |
| 983 | - if (attr_tags == null && msg == '') { | |
| 984 | - alert('请输入审核备注或者常用审核意见!'); | |
| 985 | - return false; | |
| 986 | - } | |
| 987 | - if (typeof(id) == "undefined") { | |
| 988 | - return false; | |
| 989 | - } | |
| 990 | - $.ajax({ | |
| 991 | - type: 'get', | |
| 992 | - data: {'_token': 'OPAYyJTsfW7AcH6OGqWNVICiRup24V6nL2mFM9t6', 'attr_tags': attr_tags, 'msg': msg}, | |
| 993 | - url: '/live/offline_anchor/' + id, | |
| 994 | - success: function (data) { | |
| 995 | - window.location.href = '/live' + '/filter/' + state; | |
| 996 | - } | |
| 997 | - }); | |
| 998 | - } | |
| 999 | - | |
| 1000 | - }); | |
| 1001 | - | |
| 1002 | - | |
| 1003 | -</script> | |
| 1004 | - </div> | |
| 1005 | - </div> | |
| 1006 | - </div> | |
| 1007 | - </div> | |
| 1008 | - </section> | |
| 1009 | - </div> | |
| 1010 | - | |
| 1011 | - | |
| 1012 | - <footer class="main-footer" style='font-size:18px;'> | |
| 1013 | - <div class="pull-right hidden-xs" > | |
| 1014 | - <b>Version</b> 1.2 | |
| 1015 | - <span><a href="/scan_update_logs">查看更新日志</a></span> | |
| 1016 | - </div> | |
| 1017 | - <strong>© 2017-2018 <a href="http://www.cnlive.com"> 视讯中国 CNLive</a></strong> 版权所有. | |
| 1018 | -</footer> | |
| 1019 | - | |
| 1020 | - | |
| 1021 | - <!-- Control Sidebar --> | |
| 1022 | -<aside class="control-sidebar control-sidebar-dark"> | |
| 1023 | - <!-- Create the tabs --> | |
| 1024 | - <ul class="nav nav-tabs nav-justified control-sidebar-tabs"> | |
| 1025 | - <li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li> | |
| 1026 | - <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li> | |
| 1027 | - </ul> | |
| 1028 | - <!-- Tab panes --> | |
| 1029 | - <div class="tab-content"> | |
| 1030 | - <!-- Home tab content --> | |
| 1031 | - <div class="tab-pane" id="control-sidebar-home-tab"> | |
| 1032 | - </div><!-- /.tab-pane --> | |
| 1033 | - </div> | |
| 1034 | -</aside><!-- /.control-sidebar --> | |
| 1035 | -<!-- Add the sidebar's background. This div must be placed | |
| 1036 | - immediately after the control sidebar --> | |
| 1037 | -<div class="control-sidebar-bg"></div> | |
| 1038 | - | |
| 1039 | - </div><!-- ./wrapper --> | |
| 1040 | - </body> | |
| 1041 | - | |
| 1042 | - | |
| 1043 | -<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip --> | |
| 1044 | -<script type="text/javascript"> | |
| 1045 | - $('div.alert').not('.alert-danger').delay(3000).slideUp(300); | |
| 1046 | -</script> | |
| 1047 | - | |
| 1048 | -<!-- AdminLTE App --> | |
| 1049 | -<script src="/admin-lte/js/app.min.js"></script> | |
| 1050 | -<!-- AdminLTE for demo purposes --> | |
| 1051 | -<script src="/admin-lte/js/sidebar.js"></script> | |
| 1052 | - | |
| 1053 | - | |
| 1054 | - | |
| 1055 | - | |
| 1056 | - | |
| 1057 | - | |
| 1058 | -</html> |