|
|
@ -68,7 +68,7 @@ |
|
|
|
<span>报名人数:</span> <span class="font-size18 orange">{{ item.participants }}</span>/<span |
|
|
|
class="font-size14">{{ item.participants }}人</span> |
|
|
|
</div> |
|
|
|
<van-button type="info" size="small" round @click="handelClickJump('activity')" |
|
|
|
<van-button type="info" size="small" round @click="handelClickJump(`activityDetail`,item)" |
|
|
|
:disabled="item.online !== 1">报名</van-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -282,7 +282,7 @@ export default { |
|
|
|
filterTagId(tagId){ |
|
|
|
return this.tagList.filter(item=>item.id === tagId)[0].tagName || '--'; |
|
|
|
}, |
|
|
|
handelClickJump(path) { |
|
|
|
handelClickJump(path,item) { |
|
|
|
if (path === 'event' || path === 'service' || path === 'activity') { |
|
|
|
if (this.$store.state.app.userInfo.mobile) { |
|
|
|
this.$router.push({ path: `/${path}` }); |
|
|
@ -290,8 +290,7 @@ export default { |
|
|
|
this.showRegister = true; |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$router.push({ path: `/${path}` }) |
|
|
|
console.log("1111" + path); |
|
|
|
this.$router.push({ path: `/${path}`,query:item }) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|