Mike 7 vuotta sitten
vanhempi
commit
1336e428fe
2 muutettua tiedostoa jossa 12 lisäystä ja 12 poistoa
  1. 9 9
      miaomiao/plugins/fetch.json
  2. 3 3
      miaomiao/www/js/controllers/add.js

+ 9 - 9
miaomiao/plugins/fetch.json

xqd
@@ -124,25 +124,25 @@
         "is_top_level": true,
         "variables": {}
     },
-    "jpush-phonegap-plugin": {
+    "cordova-plugin-wechat": {
         "source": {
-            "type": "git",
-            "url": "https://github.com/jpush/jpush-phonegap-plugin.git",
-            "subdir": "."
+            "type": "registry",
+            "id": "cordova-plugin-wechat@^1.4.0"
         },
         "is_top_level": true,
         "variables": {
-            "APP_KEY": "69838317211448192366f9d8"
+            "WECHATAPPID": "wxc5181c0d406023e6"
         }
     },
-    "cordova-plugin-wechat": {
+    "jpush-phonegap-plugin": {
         "source": {
-            "type": "registry",
-            "id": "cordova-plugin-wechat@^1.4.0"
+            "type": "git",
+            "url": "https://github.com/jpush/jpush-phonegap-plugin.git",
+            "subdir": "."
         },
         "is_top_level": true,
         "variables": {
-            "WECHATAPPID": "wxc5181c0d406023e6"
+            "APP_KEY": "69838317211448192366f9d8"
         }
     }
 }

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

xqd xqd
@@ -41,8 +41,8 @@
             };
             $scope.add = function () {
                 var data = {
-                    pics: ["https://www.ba/idu.com/img/bd_logo1.png"],
-                    //pics: $scope.imgs,
+                    // pics: ["https://www.ba/idu.com/img/bd_logo1.png"],
+                    pics: $scope.imgs,
                     video: $scope.video.server,
                     name: $scope.vm.name,
                     about: $scope.vm.about,
@@ -59,7 +59,7 @@
                 });
             };
             $scope.$on('$ionicView.beforeEnter', function () {
-                $scope.imgs=['http://q8.9026.com/attachment/e4459544b0fe0818ad79e35e0b0acaf8'];
+                $scope.imgs=[];
                 $scope.video = {};
                 $scope.vm={
                     name:'',