memberComentCtrl.js 692 B

123456789101112131415161718192021
  1. angular.module('push')
  2. .controller('memberComentCtrl', function ($scope, $stateParams, UserService, $ionicSlideBoxDelegate, $timeout) {
  3. if($scope.app){
  4. $scope.setStatusBar(0);
  5. }
  6. $scope.user = UserService.user.user;
  7. $scope.type = $stateParams.type;//会员种类:1普通用户 2VIP用户 3个性定制会员
  8. $timeout(function () {
  9. $ionicSlideBoxDelegate.$getByHandle("memberslide").slide($scope.type - 1, 10);
  10. }, 10);
  11. $scope.myActiveSlide = 1;
  12. $scope.goMemberRightExplain = function () {
  13. $scope.go("memberRightExplain");
  14. };
  15. $scope.goRightDetail = function (index) {
  16. $scope.go('rightDetails', {index: index});
  17. };
  18. });