xiaohuangmao 4 年 前
コミット
670d097098
4 ファイル変更8 行追加4 行削除
  1. 4 1
      app.json
  2. 1 1
      config.js
  3. 2 1
      pages/components/blockItem/blockItem.js
  4. 1 1
      project.config.json

+ 4 - 1
app.json

@@ -23,7 +23,10 @@
     "pages/fcode/fcode",
     "pages/login/login",
     "pages/shareBonus/shareBonus",
-    "pages/handOutBonus/handOutBonus"
+    "pages/handOutBonus/handOutBonus",
+    "pages/phoneCharges/phoneCharges",
+    "pages/postage/postage",
+    "pages/postageManage/postageManage"
   ],
   "window": {
     "backgroundTextStyle": "dark",

+ 1 - 1
config.js

@@ -1,7 +1,7 @@
 // let api = "https://passport.lrlz.com/mobile/index.php";
 // let api = "http://www.xyzshops.cn/mobile/index.php";
-let api = "https://www.xyzshops.cn/mobile/index.php";
 // let api = "http://192.168.1.200/mobile/index.php";
+let api = "https://www.xyzshops.cn/mobile/index.php";
 let app = getApp();
 function getReq(data, callback, method)
 {

+ 2 - 1
pages/components/blockItem/blockItem.js

@@ -161,9 +161,10 @@ Component({
           break;
         }
         case "appjump": {
-          //let url = 'xyzshop://www.xyzshops.com/DirectBuy?goods_id=6217&num=1';
+          //let url = 'xyzshop://www.xyzshops.com/DirectBuyVGoods?goods_id=6217&num=1';
           let url = target_data;
           const [prefix, params] = parseAppjump(url);
+
           if(prefix == 'xyzshop://www.xyzshops.com/DirectBuyVGoods') {
             let goods_id = params['goods_id'];
             let num = params['num'];

+ 1 - 1
project.config.json

@@ -24,7 +24,7 @@
 			"outputPath": ""
 		},
 		"useIsolateContext": true,
-		"useCompilerModule": false,
+		"useCompilerModule": true,
 		"userConfirmedUseCompilerModuleSwitch": false
 	},
 	"compileType": "miniprogram",