|
|
|
@ -49,7 +49,6 @@ tojion:function(){
|
|
|
|
|
activeId:options.id, |
|
|
|
|
}); |
|
|
|
|
that.getActiveDetail(); |
|
|
|
|
that.getOtherActive(); |
|
|
|
|
that.addviews(options.id); |
|
|
|
|
}, |
|
|
|
|
getActiveDetail:function(){ |
|
|
|
@ -80,6 +79,7 @@ tojion:function(){
|
|
|
|
|
content |
|
|
|
|
}) |
|
|
|
|
this.getclubInfo(datas.clubId); |
|
|
|
|
this.getOtherActive(); |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
Tomap:function(e){ |
|
|
|
@ -119,6 +119,11 @@ tojion:function(){
|
|
|
|
|
url: '../../club/clubDetail/clubDetail?id='+this.data.company.clubId, |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
otherJump: function(e){ |
|
|
|
|
wx.navigateTo({ |
|
|
|
|
url: 'activeDetail?id='+e.currentTarget.dataset.id |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
getclubInfo:function(id){ |
|
|
|
|
var that = this; |
|
|
|
|
const imgUrl = wx.getStorageSync('imgUrl'); |
|
|
|
@ -173,7 +178,6 @@ tojion:function(){
|
|
|
|
|
}; |
|
|
|
|
re.request(Api.getOtherActive(), postData, header).then((res) => { |
|
|
|
|
let datas = res.data.data; |
|
|
|
|
console.log(datas); |
|
|
|
|
for(let i=0;i<datas.length;i++){ |
|
|
|
|
if(datas[i].activityLogo){ |
|
|
|
|
datas[i].activityLogo = imgUrl + datas[i].activityLogo |
|
|
|
|