...
|
...
|
@@ -300,13 +300,17 @@ exports.getDownloadStr = function(isWechat) { |
|
|
str += '<a class="download-go" id="download-go" href="https://union.yoho.cn/union/app-downloads.html">下载领取</a></div>';
|
|
|
}
|
|
|
|
|
|
if (/AliApp/i.test(navigator.userAgent)) {
|
|
|
return ''
|
|
|
}
|
|
|
|
|
|
return str;
|
|
|
}
|
|
|
|
|
|
exports.getAppPath = function() {
|
|
|
var dataSet = document.getElementById('main-wrap').dataset || {};
|
|
|
var appPath = dataSet.apppath;
|
|
|
|
|
|
|
|
|
appPath = (appPath || '').replace('yohobuy://yohobuy.com/goapp?','') || 'openby:yohobuy={"action":"go.home","params":{"gender":"1","channel":"2"}}';
|
|
|
return appPath;
|
|
|
}
|
...
|
...
|
|