Authored by Rock Zhang

更新到20151206213静态资源

... ... @@ -112,11 +112,15 @@ function getShoppingKey() {
//根据页面内容重新设置通用底部的显示
function rePosFooter() {
var winH;
if ($footer.length === 0) {
return;
}
if ($('body').height() <= $(window).height() - parseInt($footer.css('height'), 0)) {
winH = Math.min($(window).height(), window.screen.availHeight);
if ($('body').height() <= winH - parseInt($footer.css('height'), 0)) {
$footer.addClass('bottom');
} else {
$footer.removeClass('bottom');
... ... @@ -1980,6 +1984,8 @@ chHammer.on('tap', function() {
localStorage.removeItem('historys');
$history.html('');
window.rePosFooter();
});
$input.on('input', function() {
... ... @@ -2027,6 +2033,8 @@ $('#search').on('touchend', function() {
$history.html(html);
$clearHistory.removeClass('hide');
window.rePosFooter();
}
}
}());
... ... @@ -7703,7 +7711,7 @@ function hideWeChatPay() {
var $payApps = $('.app');
$payApps.each(function(idx, app) {
if ($(app).attr('id') === 'weixin') {
if ($(app).parent().attr('id') === 'weixin') {
$(app).parent().css('display', 'none');
return false;
}
... ...
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.