logistic.page.js
595 Bytes
/**
* 物流信息页面
* @author: 赵彪<bill.zhao@yoho.cn>
* @date: 2015/12/02
*/
let $ = require('yoho-jquery');
let $footer = $('#yoho-footer'),
winH = window.outerHeight,
bodyH = document.body.offsetHeight,
footH = $footer.height();
require('common');
function addFooterTopBorder() {
if (footH + bodyH > winH) {
window.rePosFooter();
} else {
$footer.css('border-top', '1px solid #f1f1f1');
}
}
$(document).ready(addFooterTopBorder);
require('./recommend-for-you-user-center');
// 提前触发lazyload
$(window).scrollTop(1).scrollTop(0);