Forráskód Böngészése

feat:修改了部分bug

徐志豪 5 éve
szülő
commit
d4b9049fab

+ 1 - 1
config/api.js

@@ -1,4 +1,4 @@
-const API_BASE_URL = 'https://shop.4dkankan.com/platform-framework/api/';
+const API_BASE_URL = 'https://testshop.4dkankan.com/platform-framework/api/';
 // const API_BASE_URL = 'http://192.168.0.207:8080/platform-framework/api/';
 
 

+ 1 - 1
pages/goods/goods.js

@@ -186,7 +186,7 @@ Router({
 
   },
   getCheckedProductItem: function (key) {
-    console.log(this.data.productList)
+    console.log(this.data.productList, '1')
     return this.data.productList.filter(function (v) {
       console.log('----',v)
       console.log('--key--', key)

+ 1 - 1
pages/shopping/address/address.wxss

@@ -52,7 +52,7 @@ page{
 .address-list .default{
     width: 62.5rpx;
     height: 28rpx;
-    line-height: 28rpx;
+    line-height: 26rpx;
     text-align: center;
     font-size: 20rpx;
     color: #1fe4dc;

+ 12 - 0
pages/shopping/addressAdd/addressAdd.js

@@ -316,6 +316,18 @@ Page({
         wx.navigateBack({
           url: '/pages/shopping/address/address',
         })
+      } else{
+
+        wx.showModal({
+          title: '提示',
+          content: res.errmsg,
+          showCancel: false,
+          confirmColor:'#1fe4dc',
+          success: function (res) {
+
+          }
+        })
+     
       }
     });
 

+ 1 - 1
project.config.json

@@ -21,7 +21,7 @@
 	},
 	"compileType": "miniprogram",
 	"libVersion": "2.10.3",
-	"appid": "wxb4c0527aa20a6e9a",
+	"appid": "wx0509bd21546d1597",
 	"projectname": "wxshop",
 	"simulatorType": "wechat",
 	"simulatorPluginLibVersion": {},