YanaDH vor 7 Jahren
Ursprung
Commit
30618e1c52

+ 2 - 3
miaomiao/www/js/controllers/home.js

xqd xqd
@@ -421,11 +421,11 @@
                 $scope.toshare  = false;
                 msg.confirm('确定拉黑?').then(function(result){
                     if(result==true){
-                        $scope.toUserDetail($scope.blackUser_id);
+                        $scope.delete($scope.blackUser_id);
                     }
                 })
             }
-            $scope.toUserDetail = function(blackUser_id){
+            $scope.delete = function(blackUser_id){
                 homeService.toUserDetail(blackUser_id).then(function(result){
                     var blackUser = result.data.data;
                     var res = storage.getObject('reportUser');
@@ -452,7 +452,6 @@
                     $ionicHistory.goBack();
                     
                 },function(error){
-
                 })
             };
 

+ 1 - 1
miaomiao/www/templates/home/dream-detail.html

xqd
@@ -59,7 +59,7 @@
                     </div>
                 </div>
             </div>
-            <div ng-if="type==1 && user.id == dream.user_id" style="position: fixed; bottom: -8px; width: 100%; z-index: 5;background: #fff;border-top: 1px solid #ECF2F7;height: 68px">
+            <div ng-if="type==1 && user.id == dream.user_id" style="position: absolute; bottom: -8px; width: 100%; z-index: 5;background: #fff;border-top: 1px solid #ECF2F7;height: 68px">
                 <div class="row">
                     <div class="col dreamButton">
                         <button ng-click="openSupport()" class="button button-outline button-calm" style="border: 1px solid #00C3DA">