优化部分代码冗余

This commit is contained in:
lemon橪
2021-08-11 10:28:04 +08:00
parent 1fbb43c848
commit 464379178d
8 changed files with 6 additions and 169 deletions

View File

@@ -47,7 +47,7 @@
<text class="text-2" v-if="coupon.used_status == 1">将过期</text>
</view>
<image class="no-icon" v-if="navIndex == 1" src="@/static/img/used.png"></image>
<image class="no-icon" v-if="navIndex == 2" src="@/pages/floor/imgs/overdue.png"></image>
<image class="no-icon" v-if="navIndex == 2" src="@/static/img/overdue.png"></image>
<view class="receive" v-if="navIndex == 0" @click="useItNow(coupon)">
<text>立即</text><br />
<text>使用</text>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB