Mike 7 gadi atpakaļ
vecāks
revīzija
606e702320

+ 1 - 0
miaomiao/www/js/controllers/add.js

xqd
@@ -63,6 +63,7 @@
                     about:'',
                     coin:''
                 };
+                $ionicTabsDelegate.showBar(false);
             });
             $scope.$on('$ionicView.leave', function () {
                 $ionicTabsDelegate.showBar(true);

+ 3 - 3
miaomiao/www/js/services/commonservice.js

xqd
@@ -15,10 +15,10 @@
                 var defaultCameraOptions = {
                     quality: 80,
                     sourceType: Camera.PictureSourceType.CAMERA,
-                    // allowEdit: true,
+                    allowEdit: true,
                     encodingType: 0,//0为jpg,1为png
-                    // targetHeight: 400,
-                    targetWidth: 750,
+                    targetHeight: 400,
+                    targetWidth: 400,
                     correctOrientation: true,
                 };
                 var options = angular.extend(defaultCameraOptions, cameraOptions);

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

xqd
@@ -31,7 +31,7 @@
                             </div>
                         </ion-slide-page>
                         <ion-slide-page ng-repeat="img in dream.imgs" >
-                            <div class="box banner" style="height: 220px; width: 100%">
+                            <div class="box banner" style="width: 100%">
 
                         <div class="dream-images" style="background-image:url({{img.pic}});" style="width: 100%;"></div>
                             </div>