Commit 6f876cc9 authored by 华国豪's avatar 华国豪 🙄

解放活动入口

parent e81904b6
...@@ -451,15 +451,14 @@ ...@@ -451,15 +451,14 @@
</div> </div>
</div> </div>
<!-- 冰糕活动跳转 --> <!-- 冰糕活动跳转 --><el-row style="margin: 20px 0;cursor: pointer;">
<!-- <el-row style="margin: 20px 0;cursor: pointer;">
<img <img
@click="FootgoUrl('IceCreamTask')" @click="FootgoUrl('IceCreamTask')"
class="huodong_img" class="huodong_img"
src="../assets/img/active/huodong_img1.png" src="../assets/img/active/huodong_img1.png"
alt alt
> >
</!--> </el-row>
<!-- 景点门票 --> <!-- 景点门票 -->
<div class="Ticket_spots"> <div class="Ticket_spots">
<ul class="common_ul_tab"> <ul class="common_ul_tab">
......
...@@ -321,12 +321,12 @@ ...@@ -321,12 +321,12 @@
</div> </div>
</li>--> </li>-->
<!-- 活动中心 --> <!-- 活动中心 -->
<!-- <li :class="{_active: navActive === 9}" style="width: auto;"> <li :class="{_active: navActive === 9}" style="width: auto;">
<div @click="handleSelect('/IceCreamTask', 9), navActive = 9"> <div @click="handleSelect('/IceCreamTask', 9), navActive = 9">
<img style="z-index: -1;position: absolute;top: -27px;" src="../../assets/img/task/nav_bg.png" alt=""> <img style="z-index: -1;position: absolute;top: -27px;" src="../../assets/img/task/nav_bg.png" alt="">
<li src="../../assets/img/task/nav_text.png" alt=""> <img src="../../assets/img/task/nav_text.png" alt="">
</div> </div>
</li>--> </li>
</ul> </ul>
</div> </div>
<!-- <div id="map-container" class="map-container"> <!-- <div id="map-container" class="map-container">
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
<img :src="item.imgs[0]" alt=""> <img :src="item.imgs[0]" alt="">
</div> </div>
<span class="info" @click="goDetails(item.id)" :title="item.name">{{item.name}}</span> <span class="info" @click="goDetails(item.id)" :title="item.name">{{item.name}}</span>
<span class="_d">可兑换:<span>{{item.residue}}</span></span> <span class="_d" v-if="item.residue !== 0">可兑换:<span>{{item.limited}}</span></span>
</div> </div>
<div class="bottom"> <div class="bottom">
<p class="price"><span class="_s">市场价:¥{{item.marketPrice}}</span></p> <p class="price"><span class="_s">市场价:¥{{item.marketPrice}}</span></p>
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
</template> </template>
</div> </div>
<template> <template>
<span v-if="item.residue < 1" class="no_dui">兑换</span> <span v-if="item.residue !== 0 && item.limited < 1" class="no_dui">兑换</span>
<span v-else @click="setExchangeGoods(item.id)">兑换</span> <span v-else @click="setExchangeGoods(item.id)">兑换</span>
</template> </template>
</div> </div>
......
...@@ -261,7 +261,7 @@ export default { ...@@ -261,7 +261,7 @@ export default {
} else if (res.data.resultCode == 10005) { } else if (res.data.resultCode == 10005) {
this.$router.go(-1) this.$router.go(-1)
} else { } else {
if (res.data.award) { if (res.data.award && res.data.award.mName!==null) {
this.MsgBus.$emit('openRaffleTickets', res.data.award) this.MsgBus.$emit('openRaffleTickets', res.data.award)
} }
successCall(res) successCall(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment