Authored by ccbikai(👎🏻🍜)

Merge branch 'hotfix/mkt' into gray

... ... @@ -20,9 +20,6 @@ var _ChannelVary = {
lifestyle: 4
};
// 尝试打开 APP
require('./common/open-app');
function cookie(name) {
var cookies = document.cookie,
cookieVal;
... ... @@ -222,12 +219,20 @@ $.extend({
$footer.removeClass('hide');
// 单击下载按钮 - 接受微信商城或者第三方来源的数据埋点信息
if (queryString().union_type) {
setCookie('unionTypeYas', queryString().union_type, {
let mktc = queryString().union_type || queryString().mkt_code || '';
if (mktc) {
setCookie('unionTypeYas', mktc, {
path: '/'
});
setCookie('mkt_code', mktc, {
path: '/'
});
}
// 尝试打开 APP
require('./common/open-app');
}());
$header.on('touchstart', 'a', function() {
... ...