| xqd
@@ -159,16 +159,16 @@
|
|
|
$scope.toshare = true;
|
|
|
};
|
|
|
$scope.shareDream = function(){
|
|
|
- $state.go("app.shareDream",{item:$scope.user});
|
|
|
+ $state.go("app.my_shareDream",{item:$scope.user});
|
|
|
};
|
|
|
$scope.toDetail = function (id) {
|
|
|
- $state.go('app.home_dreamdetail',{id:id});
|
|
|
+ $state.go('app.my_dreamdetail',{id:id});
|
|
|
};
|
|
|
$scope.toOldDream = function(){
|
|
|
- $state.go("app.oldDream");
|
|
|
+ $state.go("app.myOldDream");
|
|
|
};
|
|
|
$scope.toSupportDream = function(){
|
|
|
- $state.go("app.supportDream");
|
|
|
+ $state.go("app.mySupportDream");
|
|
|
};
|
|
|
$scope.collectionDream = function(is_collection){
|
|
|
homeService.collectionDream(id,is_collection).then(function(result){
|
| xqd
@@ -177,6 +177,18 @@
|
|
|
};
|
|
|
}]);
|
|
|
|
|
|
+ app.controller('mySupportDreamCtrl', ["$scope","homeService", "$stateParams","$state", "msg"
|
|
|
+ , function ($scope,homeService,$stateParams, $state, msg) {
|
|
|
+ $scope.toDetail = function(){
|
|
|
+ $state.go("app.attention_Detail")
|
|
|
+ }
|
|
|
+ }]);
|
|
|
+ app.controller('oldDreamCtrl', ["$scope","homeService", "$stateParams","$state", "msg"
|
|
|
+ , function ($scope,homeService,$stateParams, $state, msg) {
|
|
|
+ $scope.toDetail = function(){
|
|
|
+ $state.go("app.attention_Detail")
|
|
|
+ }
|
|
|
+ }]);
|
|
|
app.controller('messageReplyCtrl', ["$scope","$ionicTabsDelegate", "$state", "myService", "msg","storage"
|
|
|
, function ($scope,$ionicTabsDelegate, $state,myService, msg, storage) {
|
|
|
|