diff --git a/template/uni-app/pages/index/components/coupon.vue b/template/uni-app/pages/index/components/coupon.vue index fe1454ea9..1041657df 100644 --- a/template/uni-app/pages/index/components/coupon.vue +++ b/template/uni-app/pages/index/components/coupon.vue @@ -17,9 +17,8 @@ {{ $t(`无门槛券`) }} - {{ $t(`已领取`) }} - {{ $t(`去领取`) }} - {{ $t(`已过期`) }} + {{ $t(`已领取`) }} + {{ $t(`去领取`) }} @@ -40,9 +39,8 @@ {{ $t(`无门槛券`) }} - {{ $t(`已领取`) }} - {{ $t(`去领取`) }} - {{ $t(`已过期`) }} + {{ $t(`已领取`) }} + {{ $t(`去领取`) }} @@ -63,9 +61,8 @@ {{ $t(`无门槛券`) }} - {{ $t(`已领取`) }} - {{ $t(`立即领取`) }} - {{ $t(`已过期`) }} + {{ $t(`已领取`) }} + {{ $t(`立即领取`) }} @@ -74,7 +71,7 @@ - + {{ item.type | typeFilter }} @@ -115,9 +112,8 @@ {{ $t(`无门槛券`) }} - {{ $t(`已领取`) }} - {{ $t(`领取`) }} - {{ $t(`已过期`) }} + {{ $t(`已领取`) }} + {{ $t(`领取`) }} @@ -157,7 +153,7 @@ }, filters:{ typeFilter(val){ - let obj = { + let obj = { 0: '通用券', 1: '品类券', 2: '商品券', @@ -700,4 +696,4 @@ color: var(--coupon4-color); } } - \ No newline at end of file +