YanaDH hace 7 años
padre
commit
093092d3de

+ 4 - 4
miaomiao/www/js/config/config.js

xqd
@@ -1,12 +1,12 @@
 (function (app) {
     //全局配置 
     app.constant("config", {
-          server: 'http://q8.9026.com/',
-          imgServer: 'http://q8.9026.com/attachment/'
+          //server: 'http://q8.9026.com/',
+          //imgServer: 'http://q8.9026.com/attachment/'
         //server: 'http://localhost:8092/',
         //imgServer: 'http://localhost:8092/attachment/'
 
-        //server: 'http://miao.beiyuesi.com/',
-        //imgServer: 'http://miao.beiyuesi.com/attachment/'
+        server: 'http://miao.beiyuesi.com/',
+        imgServer: 'http://miao.beiyuesi.com/attachment/'
     });
 })(angular.module('app'));

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

xqd
@@ -41,7 +41,7 @@
             };
             $scope.add = function () {
                 var data = {
-                     //pics: ["https://www.ba/idu.com/img/bd_logo1.png"],
+                     //pics: ["https://www.baidu.com/img/bd_logo1.png"],
                     pics: $scope.imgs,
                     video: $scope.video.server,
                     name: $scope.vm.name,

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

xqd xqd xqd
@@ -453,7 +453,8 @@
                 });
                 $interval.cancel($scope.multi.promise);
                 msg.text("发送成功");
-            })
+            });
+
         };
 
         $scope.collectionDream = function(is_collection){
@@ -560,7 +561,7 @@
                     homeService.myInfo().then(function (result) {
                         $scope.user = result.data.data;
                     });
-                })
+                });
             };
             //充值
             $scope.charge = function(number){
@@ -843,6 +844,7 @@
                         }
                     }
                 }
+
             };
             $scope.collectionDream = function(is_collection){
                 homeService.collectionDream(id,is_collection).then(function(result){

+ 1 - 1
miaomiao/www/templates/my/my-dream.html

xqd
@@ -18,7 +18,7 @@
                </div>
                <div style="padding-bottom: 8px" class="item item-thumbnail-left reply-content">
                    <div style="float:left; height: 60px; width: 60px">
-                       <img ng-src="{{dream.pic}}" />
+                       <img ng-src="{{dream.img.pic}}" />
                    </div>
                    <div style="float:left; width: 50%; margin-left: 10px; margin-right: 10px; height: 60px; overflow: hidden">
                        <h2>{{dream.name}}</h2>