|
|
@ -107,7 +107,7 @@ app.controller('ActivityController',function($anchorScroll, $location,$scope, $h
|
|
|
|
|
|
|
|
|
|
|
|
rms.save("activities", $scope.activities);
|
|
|
|
rms.save("activities", $scope.activities);
|
|
|
|
|
|
|
|
|
|
|
|
rms.save("yoffset", $document.body.scrollHeight);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.has_more = (response.data.count + response.data.page * 10) < response.data.all_count;
|
|
|
|
$scope.has_more = (response.data.count + response.data.page * 10) < response.data.all_count;
|
|
|
|
|
|
|
|
|
|
|
@ -135,7 +135,7 @@ app.controller('ActivityController',function($anchorScroll, $location,$scope, $h
|
|
|
|
|
|
|
|
|
|
|
|
//跳到详情页
|
|
|
|
//跳到详情页
|
|
|
|
$scope.goDetail = function(type, act_id,id){
|
|
|
|
$scope.goDetail = function(type, act_id,id){
|
|
|
|
rms.save("yoffset",'act_'+id);
|
|
|
|
rms.save("yoffset", $document.body.scrollHeight);
|
|
|
|
$location.path('/'+type+'/'+act_id);
|
|
|
|
$location.path('/'+type+'/'+act_id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|