Commit a4fdee1c370ae10ce270aeae3b65aa58aa58cd61

Authored by 泉州测试
1 parent ff1f74be

幸运购海报

packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
@@ -328,6 +328,7 @@ Page({ @@ -328,6 +328,7 @@ Page({
328 prom_id=fir_arr[2]; 328 prom_id=fir_arr[2];
329 this.data.prom_type=prom_type; 329 this.data.prom_type=prom_type;
330 this.data.prom_id=prom_id; 330 this.data.prom_id=prom_id;
  331 + this.data.group_id = fir_arr[2];
331 } 332 }
332 333
333 334
@@ -763,7 +764,7 @@ Page({ @@ -763,7 +764,7 @@ Page({
763 } 764 }
764 }).then(res => { 765 }).then(res => {
765 if (res.data.code == 0) { 766 if (res.data.code == 0) {
766 - console.log('成团信息=======》', res.data.data); 767 + // console.log('成团信息=======》', res.data.data);
767 if(res.data.data.pageData && res.data.data.pageData.length == 0) { 768 if(res.data.data.pageData && res.data.data.pageData.length == 0) {
768 let obj = { 769 let obj = {
769 day: '00', 770 day: '00',
@@ -787,7 +788,7 @@ Page({ @@ -787,7 +788,7 @@ Page({
787 }; 788 };
788 789
789 } else { 790 } else {
790 - this.data.isTimeUp = true; 791 + // this.data.isTimeUp = true;
791 th.setData({ 792 th.setData({
792 isTimeUp: true, 793 isTimeUp: true,
793 }); 794 });
@@ -1139,6 +1140,9 @@ Page({ @@ -1139,6 +1140,9 @@ Page({
1139 }); 1140 });
1140 }); 1141 });
1141 1142
  1143 +
  1144 + console.log('hidddddnnnnnnnn------>>>>', this.data.btnHidden, this.data.isTimeUp)
  1145 +
1142 1146
1143 }, 1147 },
1144 1148
@@ -3737,7 +3741,7 @@ Page({ @@ -3737,7 +3741,7 @@ Page({
3737 djs: obj, 3741 djs: obj,
3738 isTimeUp: true, 3742 isTimeUp: true,
3739 }); 3743 });
3740 - console.log('i am here'); 3744 + // console.log('i am here');
3741 return false; 3745 return false;
3742 } 3746 }
3743 3747
@@ -4635,7 +4639,8 @@ Page({ @@ -4635,7 +4639,8 @@ Page({
4635 var unit = that.data.screenWidth / 750 * 1.35; //基础单位, 4639 var unit = that.data.screenWidth / 750 * 1.35; //基础单位,
4636 var path2 = that.data.data.original_img; 4640 var path2 = that.data.data.original_img;
4637 var scene = th.data.gid + ""; 4641 var scene = th.data.gid + "";
4638 - scene+="."+th.data.sele_g.prom_type+"."+th.data.sele_g.prom_id; 4642 + scene+="."+th.data.sele_g.prom_type+"."+th.data.luckGoInfo.id;
  4643 + // th.data.sele_g.prom_id
4639 4644
4640 var user_id = getApp().globalData.user_id ? getApp().globalData.user_id : 0; 4645 var user_id = getApp().globalData.user_id ? getApp().globalData.user_id : 0;
4641 if (user_id > 0) { 4646 if (user_id > 0) {
@@ -4653,7 +4658,7 @@ Page({ @@ -4653,7 +4658,7 @@ Page({
4653 // var path3 = os.url + "/api/wx/open/app/user/getWeAppEwm/" + 4658 // var path3 = os.url + "/api/wx/open/app/user/getWeAppEwm/" +
4654 // os.stoid + "?sceneValue=" + scene + "&pageValue=packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo"; 4659 // os.stoid + "?sceneValue=" + scene + "&pageValue=packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo";
4655 4660
4656 - console.log(path3); 4661 + console.log('path3......',path3);
4657 4662
4658 4663
4659 // 读取文件成功则OK-- 4664 // 读取文件成功则OK--