Commit da4d1636 authored by Mac's avatar Mac

parent 7b165dbc
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
if (platform == 'H5' && ua.match(/MicroMessenger/i) != "micromessenger") { if (platform == 'H5' && ua.match(/MicroMessenger/i) != "micromessenger") {
// $('.wx_bg').css('display', "block"); $('.wx_bg').css('display', "block");
} else if (platform == 'H5') { } else if (platform == 'H5') {
this.initOpenid() this.initOpenid()
} }
...@@ -249,10 +249,7 @@ ...@@ -249,10 +249,7 @@
$('.app_share').css('display', "block"); $('.app_share').css('display', "block");
} }
if(login == false){
$('.click_use p').html('立即登录');
}
$.ajax({ $.ajax({
...@@ -561,6 +558,7 @@ ...@@ -561,6 +558,7 @@
window.location.href = 'https://activity.oytour.com/html/coupons.html'; window.location.href = 'https://activity.oytour.com/html/coupons.html';
} }
}else {// 没登录去登录页面登录 }else {// 没登录去登录页面登录
$('.click_use p').html('立即登录');
window.location.href = 'https://activity.oytour.com/html/login.html' window.location.href = 'https://activity.oytour.com/html/login.html'
// window.location.href = './login.html' // window.location.href = './login.html'
} }
......
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 to comment