更多修复

lingbing
guange 9 years ago
parent c26d544772
commit 553a02c89d

@ -103,7 +103,7 @@ app.controller('ActivityController',function($anchorScroll, $location,$scope, $h
if (page <= 0 && $scope.activities.length >0){ //应该是返回过来的
loadPageConfig();
var yOffset = rms.get("yoffset");
$location.yOffset = yOffset;
$location.hash(yOffset);
return;
}
@ -144,8 +144,8 @@ app.controller('ActivityController',function($anchorScroll, $location,$scope, $h
//跳到详情页
$scope.goDetail = function(type, act_id,id){
console.log($anchorScroll.yOffset);
rms.save("yoffset", $anchorScroll.yOffset);
console.log($anchorScroll());
rms.save("yoffset", $anchorScroll());
$location.path('/'+type+'/'+act_id);
}

Loading…
Cancel
Save