Commit 158f9fce3247a0c644d6d93f2b8f3ebc56978ae5

Authored by yvan.ni
1 parent 418bce06

分享的优化

packageA/pages/serviceCard_pd/team_show/team_show.js
@@ -973,6 +973,14 @@ Page({ @@ -973,6 +973,14 @@ Page({
973 url+="?first_leader="+getApp().globalData.user_id; 973 url+="?first_leader="+getApp().globalData.user_id;
974 } 974 }
975 975
  976 + if(url.indexOf('goods_id')==-1){
  977 + url+="&goods_id="+this.data.goods.id;
  978 + }
  979 +
  980 + if(url.indexOf('tg_id')==-1){
  981 + url+="&tg_id="+this.data.teamgroup.id;
  982 + }
  983 +
976 return { 984 return {
977 path:url, 985 path:url,
978 title: "拼团", 986 title: "拼团",
pages/team/team_show/team_show.js
@@ -982,6 +982,14 @@ Page({ @@ -982,6 +982,14 @@ Page({
982 url+="?first_leader="+getApp().globalData.user_id; 982 url+="?first_leader="+getApp().globalData.user_id;
983 } 983 }
984 984
  985 + if(url.indexOf('goods_id')==-1){
  986 + url+="&goods_id="+this.data.goods.goods_id;
  987 + }
  988 + if(url.indexOf('tg_id')==-1){
  989 + url+="&tg_id="+this.data.teamgroup.id;
  990 + }
  991 +
  992 +
985 return { 993 return {
986 path:url, 994 path:url,
987 title: "商品分类", 995 title: "商品分类",