Commit af730269eb256e03023810fd0139820de11569b7

Authored by yvan.ni
1 parent 8a4e9596

测试分享的bug优化

packageC/pages/presell/goodsInfo/goodsInfo.js
@@ -1538,7 +1538,7 @@ Page({ @@ -1538,7 +1538,7 @@ Page({
1538 1538
1539 1539
1540 1540
1541 - var url = "/packageC/pages/presell/goodsInfo/goodsInfo?goods_id=" + th.data.gid; 1541 + var url = "/packageC/pages/presell/goodsInfo/goodsInfo?goods_id=" + th.data.gid+"&pre_id="+th.data.pre_arr.id;
1542 if (getApp().globalData.user_id) { 1542 if (getApp().globalData.user_id) {
1543 url += "&first_leader=" + getApp().globalData.user_id; 1543 url += "&first_leader=" + getApp().globalData.user_id;
1544 } 1544 }
@@ -1558,6 +1558,9 @@ Page({ @@ -1558,6 +1558,9 @@ Page({
1558 }; 1558 };
1559 1559
1560 ob.title += '\n' + th.data.presellForm.share_remark; 1560 ob.title += '\n' + th.data.presellForm.share_remark;
  1561 +
  1562 +
  1563 + console.log(ob,888);
1561 1564
1562 1565
1563 return ob; 1566 return ob;
@@ -2688,7 +2691,8 @@ Page({ @@ -2688,7 +2691,8 @@ Page({
2688 var app = getApp(); 2691 var app = getApp();
2689 var unit = that.data.screenWidth / 750 * 1.35; //基础单位, 2692 var unit = that.data.screenWidth / 750 * 1.35; //基础单位,
2690 var path2 = that.data.data.original_img; 2693 var path2 = that.data.data.original_img;
2691 - var scene = th.data.gid + ""; 2694 +
  2695 + var scene = th.data.gid + "_"+th.data.pre_arr.id;
2692 var user_id = getApp().globalData.user_id ? getApp().globalData.user_id : 0; 2696 var user_id = getApp().globalData.user_id ? getApp().globalData.user_id : 0;
2693 if (user_id > 0) { 2697 if (user_id > 0) {
2694 scene += "_" + user_id; 2698 scene += "_" + user_id;
@@ -2699,9 +2703,10 @@ Page({ @@ -2699,9 +2703,10 @@ Page({
2699 if (!user_id) scene += "_0"; 2703 if (!user_id) scene += "_0";
2700 scene += "_" + getApp().globalData.room_id; 2704 scene += "_" + getApp().globalData.room_id;
2701 } 2705 }
  2706 +
2702 ///二微码 2707 ///二微码
2703 var path3 = os.url + "/api/wx/open/app/user/getWeAppEwm/" + 2708 var path3 = os.url + "/api/wx/open/app/user/getWeAppEwm/" +
2704 - os.stoid + "?sceneValue=" + scene + "&pageValue=pages/goods/goodsInfo/goodsInfo"; 2709 + os.stoid + "?sceneValue=" + scene + "&pageValue=packageC/pages/presell/goodsInfo/goodsInfo";
2705 2710
2706 console.log(path3); 2711 console.log(path3);
2707 2712