Authored by htoooth

fix click area

... ... @@ -29,7 +29,9 @@
</template>
<template v-else>
<div v-if="item.useNowLink" class="use-now" @click="onUseClick">立即使用</div>
<div class="use-wrapper" v-if="item.useNowLink" @click="onUseClick">
<div class="use-now">立即使用</div>
</div>
<span class="top-tip" v-if="item.is_overdue_soon === 'Y'"></span>
</template>
</div>
... ... @@ -63,6 +65,7 @@ export default {
this.show = !this.show;
},
onUseClick() {
console.log('huangtao');
this.$yoho.goPage('go.couponProductList', {
coupon_code: this.item.coupon_code,
coupon_id: this.item.coupon_id,
... ... @@ -243,6 +246,14 @@ export default {
}
}
.use-wrapper {
position: absolute;
width: 200px;
height: 150px;
right: 0;
bottom: 0;
}
.use-now {
font-size: 20px;
position: absolute;
... ...
... ... @@ -14,7 +14,7 @@
</div>
</div>
</div>
<div class="filter-wrapper" v-if="showFilter">
<div class="filter-wrapper" v-if="showFilter && filterList.length">
<div class="filter-mask" @click="onMaskClick"></div>
<FilterBar :list="filterList" v-model="selectFilterId" class="filter"></FilterBar>
</div>
... ...