...
|
...
|
@@ -139,7 +139,8 @@ function reMarginFooter(fixedElement) { |
|
|
|
|
|
//页面通用底部位置及status设置
|
|
|
(function() {
|
|
|
var $op = $footer.children('.op-row');
|
|
|
var $op = $footer.children('.op-row'),
|
|
|
$backToTop = $('.back-to-top');
|
|
|
|
|
|
var user = getUser();
|
|
|
|
...
|
...
|
@@ -165,8 +166,8 @@ function reMarginFooter(fixedElement) { |
|
|
);
|
|
|
}
|
|
|
|
|
|
if ($op.find('.back-to-top').length > 0) {
|
|
|
backToTopHammer = new Hammer($op.find('.back-to-top')[0]);
|
|
|
if ($backToTop.length > 0) {
|
|
|
backToTopHammer = new Hammer($backToTop[0]);
|
|
|
backToTopHammer.on('tap', function(e) {
|
|
|
$(window).scrollTop(0);
|
|
|
e.srcEvent.preventDefault();
|
...
|
...
|
|