diff --git a/public/javascripts/wechat/app.js b/public/javascripts/wechat/app.js index 54c4bd90e..4e1df0381 100644 --- a/public/javascripts/wechat/app.js +++ b/public/javascripts/wechat/app.js @@ -111,7 +111,12 @@ app.controller('ActivityController',function($anchorScroll, $location,$scope, $h alert("获取openid出错:"+response); } ); - }; + } else { + $timeout(function(){ + window.scrollTo(0, rms.get("yoffset")); + }); + + } //跳到详情页 $scope.goDetail = function(type, act_id,id){