更多修复

lingbing
guange 9 years ago
parent 553a02c89d
commit 03357388bd

@ -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.hash(yOffset);
$location.yOffset = yOffset;
return;
}
@ -144,9 +144,7 @@ app.controller('ActivityController',function($anchorScroll, $location,$scope, $h
//跳到详情页
$scope.goDetail = function(type, act_id,id){
console.log($anchorScroll());
rms.save("yoffset", $anchorScroll());
rms.save("yoffset",'act_'+id);
$location.path('/'+type+'/'+act_id);
}

Loading…
Cancel
Save