2
0

2 Commits c2b4d041c9 ... 0a90f1de0f

Autor SHA1 Nachricht Datum
  yzc 0a90f1de0f 1 vor 2 Jahren
  yzc af47b68701 v1 vor 2 Jahren

+ 9 - 5
pages/order/confirmOreder/confirmOreder.js

@@ -88,6 +88,7 @@ Page({
     },
 
     changeClose2(e) {
+        // console.log(e)
         this.setData({
             show2: !this.data.show2,
             remark: this.data.remark
@@ -204,9 +205,10 @@ Page({
             address: that.data.address,
 
         }, "post").then(function (res) {
+          
             if (res.code != 200) {
                 wx.showLoading({
-                    title: res.message.msg,
+                    title: res.original.message.msg,
                 })
                 setTimeout(function () {
                     wx.hideLoading({
@@ -221,7 +223,7 @@ Page({
             }
            
         }).catch(function (err) {
-            console.log(222);
+            console.log(err);
         })
     },
     updateaddr(e) {
@@ -261,9 +263,10 @@ Page({
             user_remark: that.data.remark,
             address_id:that.data.address_id
         }, "post").then(function (res) {
-            if (res.original.code != 200) {
+            console.log(res)
+            if (res.code != 200) {
                 wx.showLoading({
-                    title: res.original.message.msg,
+                    title: res.message.msg,
                 })
                 setTimeout(function () {
                     wx.hideLoading({
@@ -280,7 +283,8 @@ Page({
 
 
         }).catch(function (err) {
-            console.log(222);
+            // console.log(222);
+            console.log(err)
         })
     },
 

+ 1 - 1
pages/order/confirmOreder/confirmOreder.wxml

@@ -127,7 +127,7 @@
         </view>
 
 
-        <view class="btn btn-sky" bindtap="{{useraddr.id?'updateaddr':'addsave'}}" data-id="{{useraddr.id}}">
+        <view class="btn btn-sky" bindtap="{{useraddr.id?'updateaddr':'addAddress'}}" data-id="{{useraddr.id}}">
             保存并使用
         </view>
     </view>

+ 1 - 1
pages/tabber/my/index.wxss

@@ -3,7 +3,7 @@
     width: 750rpx;
     height: 100vh;
 }
-button {}
+/* button {} */
 
 .page1 {
     background: linear-gradient(180deg, #F4F3F8 0%, #F6F6F6 100%);

+ 4 - 5
project.config.json

@@ -8,7 +8,6 @@
       }
     ]
   },
-  
   "setting": {
     "urlCheck": false,
     "es6": true,
@@ -36,7 +35,6 @@
       "disablePlugins": [],
       "outputPath": ""
     },
-    "enableEngineNative": false,
     "useIsolateContext": false,
     "userConfirmedBundleSwitch": false,
     "packNpmManually": false,
@@ -50,12 +48,13 @@
     "disableUseStrict": false,
     "minifyWXML": true,
     "showES6CompileOption": false,
-    "useCompilerPlugins": false
+    "useCompilerPlugins": false,
+    "ignoreUploadUnusedFiles": true
   },
-  "cloudfunctionRoot": "./cloudfunction",
+  "cloudfunctionRoot": "cloudfunction/",
   "compileType": "miniprogram",
   "libVersion": "2.22.0",
-  "appid": "wxb824dbe860d7480d",
+  "appid": "wx0b37183822da9c21",
   "projectname": "%E6%B5%B7%E6%98%9F%E7%94%A8%E6%88%B7%E7%AB%AF",
   "cloudfunctionTemplateRoot": "cloudfunctionTemplate",
   "watchOptions": {