Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d239baed
authored
Jul 23, 2021
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xx
parent
595b67ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
js/common2.js
js/common2.js
View file @
d239baed
var
mySwiper
=
null
,
mySwiper2
=
null
;
var
mask1
=
null
,
mask2
=
null
;
//彈窗
var
interval1
=
null
,
interval2
=
null
,
interval3
=
null
;
var
flag1
=
true
,
flag2
=
true
,
flag3
=
true
;
var
_url
=
'http://ceshi.yabolive.tv/web'
;
var
_url
=
'http://ceshi.yabolive.tv/web'
;
var
_url2
=
'http://test.ybact.yazhaiyabo.com/'
;
var
_url2
=
'http://test.ybact.yazhaiyabo.com/'
;
var
_url3
=
'http://ceshi.yabolive.tv'
;
var
_url3
=
'http://ceshi.yabolive.tv'
;
...
@@ -113,6 +125,17 @@ function getInit() {
...
@@ -113,6 +125,17 @@ function getInit() {
})
})
}
}
//跳转到规则
document
.
getElementsByClassName
(
'rule'
)[
0
].
onclick
=
function
(){
window
.
location
.
href
=
'rule.html'
+
location
.
search
;
}
//关闭弹窗
function
closeMasking
(){
layer
.
closeAll
();
}
function
getTime
(
time
)
{
function
getTime
(
time
)
{
var
timezone
=
8
;
//目标时区时间,东八区
var
timezone
=
8
;
//目标时区时间,东八区
var
offset_GMT
=
new
Date
(
time
).
getTimezoneOffset
();
// 本地时间和格林威治的时间差,单位为分钟
var
offset_GMT
=
new
Date
(
time
).
getTimezoneOffset
();
// 本地时间和格林威治的时间差,单位为分钟
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment