From 8b05b33e38747e7d0a9b23017ffb9526c867a689 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Tue, 7 Jun 2016 17:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=20=20=E4=B8=8D=E5=88=B7=E6=96=B0=E8=BF=94?= =?UTF-8?q?=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/javascripts/wechat/app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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){