|
|
@ -56,7 +56,7 @@ |
|
|
|
<span>社区活动</span> |
|
|
|
<span @click="$router.push('/activity')">更多</span> |
|
|
|
</div> |
|
|
|
<div class="activity_content flex" v-for="(item, index) in activityList" :key="index"> |
|
|
|
<div class="activity_content flex" v-for="(item, index) in activityList" :key="index" @click="$router.push({ path: `/activityDetail`,query: { id:item.id} })"> |
|
|
|
<img :src="item.coverPic" alt="" class="mr10" style="width: 75px;height: 95px;"> |
|
|
|
<div class="flex flex-y flex1 flex-end" style="overflow: hidden;"> |
|
|
|
<div class="van-ellipsis">{{ item.activityName }}</div> |
|
|
@ -68,7 +68,7 @@ |
|
|
|
class="font-size14">{{ item.participants }}人</span> |
|
|
|
</div> |
|
|
|
<van-button type="info" size="small" round @click="handelClickJump(`activityDetail`,item)" |
|
|
|
:disabled="new Date(item.cutOffTime.replace(/-/g, '/')).getTime()<Date.now()">报名</van-button> |
|
|
|
:disabled="new Date(item.cutOffTime.replace(/-/g, '/')).getTime()<Date.now() || item.currentParticipants >= item.participants">报名</van-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -295,7 +295,7 @@ export default { |
|
|
|
let res = await communityPublicity(parm) |
|
|
|
if (res) { |
|
|
|
this.PublicityList = res.list.slice(0, 2) |
|
|
|
this.PublicityListImg = res.list.filter((item)=>item.coverPic) |
|
|
|
this.PublicityListImg = res.list.filter((item)=>item.top === 1) |
|
|
|
} |
|
|
|
}, |
|
|
|
handelChangeTags(val,title){ |
|
|
|