Commit d239baed by dabai

xx

parent 595b67ac
Showing with 23 additions and 0 deletions
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(); // 本地时间和格林威治的时间差,单位为分钟
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment