...
|
...
|
@@ -95,11 +95,15 @@ function getShoppingKey() { |
|
|
|
|
|
//根据页面内容重新设置通用底部的显示
|
|
|
function rePosFooter() {
|
|
|
var winH;
|
|
|
|
|
|
if ($footer.length === 0) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if ($('body').height() <= window.screen.availHeight - 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');
|
...
|
...
|
|