$scope.tabStatus = 2;//设置默认状态为全部 /*star显示效果*/ $scope.tabStatusChange = function (status) { $scope.tabStatus = status; }