|
@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
<div> |
|
|
<div class='container m-bot50' :style="this.phone=='Phone'?'':'height: 80vh; overflow: auto;'"> |
|
|
<div class='container m-bot50' :style="this.phone=='Phone'?'':'height: 85vh; overflow: auto;'"> |
|
|
<div class="card"> |
|
|
<div class="card"> |
|
|
<img :src="info.coverPic" alt="" style="width: 100%;"> |
|
|
<img :src="info.coverPic" alt="" style="width: 100%;"> |
|
|
<div class="m-top15 p0"> |
|
|
<div class="m-top15 p0"> |
|
@ -39,7 +39,7 @@ |
|
|
</van-cell-group> |
|
|
</van-cell-group> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="bot_btn flex flex-center2 " :style="this.phone=='Phone'?'height:50px;bottom:0':'height: 50px;bottom:8vh;'"> |
|
|
<div class="bot_btn flex flex-center2 " :style="this.phone=='Phone'?'height:50px;bottom:0':'height: 50px;bottom:5vh;'"> |
|
|
<div class="flex1 flex flex-center1 flex-center2">报名人数:<span class="orange font-size18">{{ |
|
|
<div class="flex1 flex flex-center1 flex-center2">报名人数:<span class="orange font-size18">{{ |
|
|
info.currentParticipants || 0 }}</span> / {{ info.participants }}人</div> |
|
|
info.currentParticipants || 0 }}</span> / {{ info.participants }}人</div> |
|
|
<div class="flex1 flex flex-center1 flex-center2"> |
|
|
<div class="flex1 flex flex-center1 flex-center2"> |
|
@ -66,7 +66,6 @@ import registerDialog from '@/components/registerDialog'; |
|
|
import { setConfig } from '@/utils/jweixin' |
|
|
import { setConfig } from '@/utils/jweixin' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@ -91,6 +90,7 @@ export default { |
|
|
if(this.$route.query.flag === 'share'){ |
|
|
if(this.$route.query.flag === 'share'){ |
|
|
await this.getById(this.$route.query.id) |
|
|
await this.getById(this.$route.query.id) |
|
|
} |
|
|
} |
|
|
|
|
|
await this.share() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|