Authored by 梁志锋

gulp ge文件

... ... @@ -301,6 +301,8 @@ $.extend({
}
});
FastClick.attach(document.body);
//暴露公共接口
window.cookie = cookie;
... ... @@ -1761,7 +1763,7 @@ $sideNav.on('touchend', 'li', function(e) {
// 返回一级导航,收起二级导航
$subNav.each(function() {
$(this).find('li').eq(0).on('touchstart', function() {
$(this).find('li').eq(0).on('click', function() {
$sideNav.css('pointer-events', 'none');
setTimeout(function() {
... ... @@ -5381,6 +5383,7 @@ if (goodsDiscountHammer && $discountFolder.children().length > 0) {
$('#limit-sale').on('touchend', function(e) {
var loginUrl = $('#loginUrl').val(),
time,
ifr;
e.stopPropagation();
... ... @@ -5394,15 +5397,19 @@ $('#limit-sale').on('touchend', function(e) {
rightBtnText: '打开Yoho!Buy有货APP'
}
}, function() {
ifr = document.createElement('iframe');
ifr.src = appUrl;
ifr.style.display = 'none';
document.body.appendChild(ifr);
window.location.href = appUrl;
window.setTimeout(function(){
document.body.removeChild(ifr);
ifr = document.createElement('iframe');
ifr.src = appUrl;
ifr.style.display = 'none';
document.body.appendChild(ifr);
window.location.href = appUrl;
time = Date.now();
window.setTimeout(function() {
document.body.removeChild(ifr);
if (Date.now()- time < 3200) {
window.location.href = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho';
},3000);
}
}, 3000);
}, undefined, true);
... ...
This diff could not be displayed because it is too large.