B站下载姬添加直播用户名显示
新增/修改B站直播时自动获取直播用户名
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
, page: true
|
||||
, cols: [[
|
||||
{ field: "id", title: "id", width: 80, sort: true, fixed: 'left' }
|
||||
, { field: 'title', title: '直播间', width: 200 }
|
||||
, { field: 'cid', title: 'cid', width: 100 }
|
||||
, { field: 'url', title: 'url', width: 400 }
|
||||
, { field: 'status', title: '状态', width: 80 }
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
})
|
||||
})
|
||||
$(document).ready(function () {
|
||||
let mobile = navigator.userAgent.toLowerCase().match(/android/i) == "android" || navigator.userAgent.toLowerCase().match(/iphone os/i) == "iphone os";
|
||||
let mobile = navigator.userAgent.toLowerCase().match(/android/i) === "android" || navigator.userAgent.toLowerCase().match(/iphone os/i) === "iphone os";
|
||||
if (mobile) {
|
||||
$('.layui-body').css('left', '0')
|
||||
$('.layui-body').css('top', '150px')
|
||||
|
||||
Reference in New Issue
Block a user