...
|
...
|
@@ -48,8 +48,7 @@ var appInfo = { |
|
|
|
|
|
var isApp = /yoho/i.test(navigator.userAgent) || /app_version=/i.test(window.location.search) || !!window.yohoInterface;
|
|
|
var isMobile = /(iPhone|Android|iPad|iPod|iOS)/i.test(navigator.userAgent);
|
|
|
// var isWechat = /micromessenger/i.test(navigator.userAgent);
|
|
|
var isWechat = true;
|
|
|
var isWechat = /micromessenger/i.test(navigator.userAgent);
|
|
|
var ismyhbuy = /m\.yohobuy\.com/i.test(document.domain);
|
|
|
var isfeature = /feature\.yoho\.cn/i.test(document.domain) || /activity\.yoho\.cn/i.test(document.domain);
|
|
|
var downloadBlackLst = ['m.yohobuy.com/brands', 'm.yohobuy.com/passport'];
|
...
|
...
|
@@ -448,7 +447,7 @@ function setMiniAppDialog() { |
|
|
// 设定fontsize
|
|
|
util.setFontSize();
|
|
|
|
|
|
var css = require('../css/download.css')
|
|
|
var css = require('../css/wechat-mini-app.css');
|
|
|
|
|
|
var miniDom = document.createElement('div');
|
|
|
miniDom.innerHTML = util.getMiniAppDialog();
|
...
|
...
|
@@ -493,6 +492,11 @@ function setDownloadBar() { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
// 设定fontsize
|
|
|
util.setFontSize();
|
|
|
|
|
|
var css = require('../css/download.css');
|
|
|
|
|
|
var downloadDom = document.createElement('div');
|
|
|
downloadDom.innerHTML = util.getDownloadStr(isWechat);
|
|
|
yasDombar.appendChild(downloadDom);
|
...
|
...
|
|