更多修复
This commit is contained in:
parent
c9eddad45d
commit
c26d544772
|
@ -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,7 +144,9 @@ app.controller('ActivityController',function($anchorScroll, $location,$scope, $h
|
|||
|
||||
//跳到详情页
|
||||
$scope.goDetail = function(type, act_id,id){
|
||||
rms.save("yoffset", 'act_'+id);
|
||||
console.log($anchorScroll.yOffset);
|
||||
rms.save("yoffset", $anchorScroll.yOffset);
|
||||
|
||||
$location.path('/'+type+'/'+act_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue