Authored by 梁志锋

gulp ge文件

... ... @@ -5317,8 +5317,6 @@ var goodsDiscountEl = document.getElementById('goodsDiscount'),
var $cart = $('.cart-bar');
var limitSaleHammer = (limitSaleHammer = document.getElementById('limit-sale')) && new Hammer(limitSaleHammer);
var appUrl = $('input[name="limitCodeUrl"]').val();
var dialog = require("js/me/dialog");
... ... @@ -5383,13 +5381,8 @@ if (goodsDiscountHammer && $discountFolder.children().length > 0) {
$('#limit-sale').on('touchend', function(e) {
var loginUrl = $('#loginUrl').val(),
u = navigator.userAgent,
ifr;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1,
isIPhone = u.indexOf('iPhone') > -1,
isIPad = u.indexOf('iPad') > -1;
e.stopPropagation();
if(loginUrl) {
... ... @@ -5401,7 +5394,6 @@ $('#limit-sale').on('touchend', function(e) {
rightBtnText: '打开Yoho!Buy有货APP'
}
}, function() {
ifr = document.createElement('iframe');
ifr.src = appUrl;
ifr.style.display = 'none';
... ... @@ -5409,12 +5401,8 @@ $('#limit-sale').on('touchend', function(e) {
window.location.href = appUrl;
window.setTimeout(function(){
document.body.removeChild(ifr);
if (isAndroid) {
window.location.href = 'http://yoho-apps.qiniudn.com/YohoBuy_YOHO.apk';
} else if (isIPhone || isIPad) {
window.location.href = 'https://itunes.apple.com/cn/app/yoho!-you-huo/id490655927?mt=8';
}
},3000)
window.location.href = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho';
},3000);
}, undefined, true);
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.