Commit 41b72afbe3b9ad94f131456e71834978f936d945
1 parent
ebbbd6fb
卡项分享
Showing
1 changed file
with
17 additions
and
17 deletions
packageA/pages/goodsInfo/goodsInfo.js
| ... | ... | @@ -1031,7 +1031,7 @@ Page({ |
| 1031 | 1031 | } |
| 1032 | 1032 | |
| 1033 | 1033 | |
| 1034 | - var url="/pages/goods/goodsInfo/goodsInfo?goods_id=" + th.data.gid; | |
| 1034 | + var url="/packageA/pages/goodsInfo/goodsInfo?goods_id=" + th.data.gid; | |
| 1035 | 1035 | if(getApp().globalData.user_id){ |
| 1036 | 1036 | url+="&first_leader="+getApp().globalData.user_id; |
| 1037 | 1037 | } |
| ... | ... | @@ -1049,25 +1049,25 @@ Page({ |
| 1049 | 1049 | path:url, |
| 1050 | 1050 | imageUrl: img, |
| 1051 | 1051 | }; |
| 1052 | - if(th.data.prom_type==6){ | |
| 1053 | - title+='\n'+th.data.prom_act.share_remark; | |
| 1054 | - ob.title=title; | |
| 1055 | - ob.desc=th.data.prom_act.share_remark; | |
| 1056 | - } | |
| 1052 | + // if(th.data.prom_type==6){ | |
| 1053 | + // title+='\n'+th.data.prom_act.share_remark; | |
| 1054 | + // ob.title=title; | |
| 1055 | + // ob.desc=th.data.prom_act.share_remark; | |
| 1056 | + // } | |
| 1057 | 1057 | |
| 1058 | 1058 | //如果是积分购的时候 |
| 1059 | - if(th.data.prom_type==4){ | |
| 1060 | - var name = th.data.prom_act.name; | |
| 1061 | - //-- 积分购的 -- | |
| 1062 | - var pri0 = th.data.prom_act.addmoney; | |
| 1063 | - var integral=th.data.prom_act.integral; | |
| 1064 | - var text=""; | |
| 1065 | - if(integral){text=integral+"积分"; } | |
| 1066 | - if(pri0 && integral){ text+="+";} | |
| 1067 | - if(pri0){ text+="¥"+pri0;} | |
| 1059 | + // if(th.data.prom_type==4){ | |
| 1060 | + // var name = th.data.prom_act.name; | |
| 1061 | + // //-- 积分购的 -- | |
| 1062 | + // var pri0 = th.data.prom_act.addmoney; | |
| 1063 | + // var integral=th.data.prom_act.integral; | |
| 1064 | + // var text=""; | |
| 1065 | + // if(integral){text=integral+"积分"; } | |
| 1066 | + // if(pri0 && integral){ text+="+";} | |
| 1067 | + // if(pri0){ text+="¥"+pri0;} | |
| 1068 | 1068 | |
| 1069 | - ob.title= text+" "+name; | |
| 1070 | - } | |
| 1069 | + // ob.title= text+" "+name; | |
| 1070 | + // } | |
| 1071 | 1071 | |
| 1072 | 1072 | return ob; |
| 1073 | 1073 | ... | ... |