|
@@ -390,7 +390,8 @@
|
|
|
},
|
|
|
isWap: /Android|webOS|iPhone|Windows Phone|iPod|BlackBerry|SymbianOS/i.test(window.navigator.userAgent),
|
|
|
isBBS: /bbs./.test(location.host),
|
|
|
- isWx: window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == "micromessenger"
|
|
|
+ isWx: window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == "micromessenger",
|
|
|
+ isHezi:window.location.href.indexOf('hezi') > -1
|
|
|
}
|
|
|
|
|
|
function UDBLogin(appid, baseURL) {
|
|
@@ -704,7 +705,8 @@
|
|
|
$("body").append('<style>' + cssStyle + '</style>')
|
|
|
$("body").append(loginTipTpl({
|
|
|
isWap: Util.isWap,
|
|
|
- isBBS: Util.isBBS
|
|
|
+ isBBS: Util.isBBS,
|
|
|
+ isHezi: Util.isHezi
|
|
|
}))
|
|
|
var that = this
|
|
|
this.loginMaskObj = $(".account-login-mask")
|
|
@@ -794,7 +796,8 @@
|
|
|
var loginConfig = {
|
|
|
wap: Util.isWap,
|
|
|
type: type,
|
|
|
- dropYYLogin: false
|
|
|
+ dropYYLogin: false,
|
|
|
+ dropSinaLogin:true, //删除新浪微博登录
|
|
|
}
|
|
|
|
|
|
if (wxCustomization && Util.isWap) {
|
|
@@ -963,6 +966,10 @@
|
|
|
if (ret.bindList.length == 0) {
|
|
|
self.yyLoginTip.show()
|
|
|
self.loginMaskObj.show()
|
|
|
+ }else{
|
|
|
+ if(Util.isHezi){
|
|
|
+ window.open('login://close')
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
},
|