|
@@ -5,8 +5,8 @@
|
|
$ionicTabsDelegate.showBar(true);
|
|
$ionicTabsDelegate.showBar(true);
|
|
$scope.load(false);
|
|
$scope.load(false);
|
|
$ionicSlideBoxDelegate.start();
|
|
$ionicSlideBoxDelegate.start();
|
|
- $scope.step = storage.getObject('user').step;
|
|
|
|
- // $scope.step = 0;
|
|
|
|
|
|
+ // $scope.step = storage.getObject('user').step;
|
|
|
|
+ $scope.step = 0;
|
|
var width = window.screen.width;
|
|
var width = window.screen.width;
|
|
if(width>300&width<370){
|
|
if(width>300&width<370){
|
|
$scope.screenWidth = 0;
|
|
$scope.screenWidth = 0;
|
|
@@ -297,13 +297,13 @@
|
|
});
|
|
});
|
|
$scope.changeStep = function(){
|
|
$scope.changeStep = function(){
|
|
$scope.step = $scope.step + 1;
|
|
$scope.step = $scope.step + 1;
|
|
- homeService.changeStep().then(function(result){
|
|
|
|
- if(result.data.status_code==0){
|
|
|
|
- storage.setObject('user', result.data.data);
|
|
|
|
- }
|
|
|
|
- },function(error){
|
|
|
|
|
|
+ // homeService.changeStep().then(function(result){
|
|
|
|
+ // if(result.data.status_code==0){
|
|
|
|
+ // storage.setObject('user', result.data.data);
|
|
|
|
+ // }
|
|
|
|
+ // },function(error){
|
|
|
|
|
|
- })
|
|
|
|
|
|
+ // })
|
|
}
|
|
}
|
|
$scope.toUserDetail = function (id) {
|
|
$scope.toUserDetail = function (id) {
|
|
homeService.toUserDetail(id).then(function(result){
|
|
homeService.toUserDetail(id).then(function(result){
|