memberRightExplainCtrl.js 570 B

12345678910111213141516171819
  1. angular.module('push')
  2. .controller('memberRightExplainCtrl', function ($scope) {
  3. if($scope.app){
  4. $scope.setStatusBar(0);
  5. }
  6. var activity = ['level', 'right'];
  7. $scope.act = activity[0];
  8. //切换到对应页面
  9. $scope.changeAct = function (num) {
  10. //获取关注/粉丝列表(访客列表暂时不做)0关注,1粉丝,2访客
  11. if (num == 0) {
  12. //切换到对应页面
  13. $scope.act = activity[num];
  14. } else if (num == 1) {
  15. //切换到对应页面
  16. $scope.act = activity[num];
  17. }
  18. }
  19. });