Commit 473e2629 by 瞿伟康

fix

parent 864904a5
......@@ -6,13 +6,11 @@ GLOBAL.tap = GLOBAL.isMobile ? "tap" : "click";
$(function () {
var header = $("#header")
var footer = $("#footer")
var footerHeight = footer.height()
var headerHeight = header.height()
var wrapProduct = $(".wrap-fix-product")
var wrapHeader = $(".wrap-fix-header")
if (wrapHeader.size() > 0) {
wrapHeader.height(document.documentElement.clientHeight - wrapHeader.offset().top - footerHeight)
wrapHeader.height(document.documentElement.clientHeight - wrapHeader.offset().top)
}
if (wrapProduct.size() > 0) {
var wrapProductHeight = document.documentElement.clientHeight - wrapProduct.offset().top
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment