|
@@ -43,7 +43,9 @@ $(function () {
|
|
|
function go_kf () {
|
|
|
var isWeiXinBrowser =
|
|
|
navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
|
|
|
- window.location.href = isWeiXinBrowser
|
|
|
+ var isH5 = window.location.href.indexOf('h5')!==-1
|
|
|
+ var isApp = window.location.href.indexOf('app')!==-1
|
|
|
+ window.location.href = isWeiXinBrowser&&!isH5&&!isApp
|
|
|
? '/big/wx/page/customer?auto=1'
|
|
|
: '/jyapp/free/customer?auto=1'
|
|
|
|