| xqd
@@ -339,8 +339,9 @@
|
|
|
|
|
|
})
|
|
|
};
|
|
|
- $scope.toDetail = function(){
|
|
|
- $state.go("app.attention_Detail",{user_id:user_id,items:$scope.items})
|
|
|
+ $scope.toDetail = function(id){
|
|
|
+ $state.go('app.my_dreamdetail',{id:id});
|
|
|
+ // $state.go("app.attention_Detail",{user_id:user_id,items:$scope.items})
|
|
|
}
|
|
|
}]);
|
|
|
app.controller('myOldDreamCtrl', ["$scope","homeService", "$stateParams","$state", "msg"
|
| xqd
@@ -358,14 +359,11 @@
|
|
|
|
|
|
})
|
|
|
};
|
|
|
- $scope.toDetail = function(){
|
|
|
- $state.go("app.attention_Detail",{user_id:user_id,items:$scope.items})
|
|
|
+ $scope.toDetail = function(id){
|
|
|
+ $state.go('app.my_dreamdetail',{id:id});
|
|
|
+ // $state.go("app.attention_Detail",{user_id:user_id,items:$scope.items})
|
|
|
};
|
|
|
}]);
|
|
|
- //app.controller('messageReplyCtrl', ["$scope","$ionicTabsDelegate", "$state", "myService", "msg","storage"
|
|
|
- // , function ($scope,$ionicTabsDelegate, $state,myService, msg, storage) {
|
|
|
- //
|
|
|
- // }]);
|
|
|
app.controller('personalLetterCtrl', ["$scope","$ionicTabsDelegate", '$location',"$state", "myService", "msg","storage"
|
|
|
, function ($scope,$ionicTabsDelegate,$location, $state,myService, msg, storage) {
|
|
|
$scope.$on('$ionicView.beforeEnter', function () {
|