[improvement] update eslint config (#2288)
This commit is contained in:
@@ -111,7 +111,7 @@ export default {
|
||||
this.showList = false;
|
||||
this.chosenCoupon = index;
|
||||
},
|
||||
onExchange(code) {
|
||||
onExchange() {
|
||||
this.$toast(this.$t('exchange'));
|
||||
this.exchangedCoupons.push({
|
||||
...this.coupon,
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
v-if="!coupons.length"
|
||||
:class="b('empty')"
|
||||
>
|
||||
<img src="https://img.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png" >
|
||||
<img src="https://img.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png">
|
||||
<p>{{ $t('empty') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -64,7 +64,7 @@
|
||||
v-if="!disabledCoupons.length"
|
||||
:class="b('empty')"
|
||||
>
|
||||
<img src="https://img.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png" >
|
||||
<img src="https://img.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png">
|
||||
<p>{{ $t('empty') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -8,11 +8,9 @@ exports[`renders demo correctly 1`] = `
|
||||
<div class="van-cell__title"><span>优惠券</span>
|
||||
<!---->
|
||||
</div>
|
||||
<div class="van-cell__value"><span>2张可用</span></div>
|
||||
<i class="van-icon van-icon-arrow van-cell__right-icon" style="color:undefined;font-size:undefined;">
|
||||
<div class="van-cell__value"><span>2张可用</span></div> <i class="van-icon van-icon-arrow van-cell__right-icon" style="color:undefined;font-size:undefined;">
|
||||
<!---->
|
||||
<!---->
|
||||
</i>
|
||||
<!----></i>
|
||||
</div>
|
||||
<!---->
|
||||
</div>
|
||||
|
||||
@@ -6,11 +6,9 @@ exports[`coupon cell 1`] = `
|
||||
<div class="van-cell__title"><span>优惠券</span>
|
||||
<!---->
|
||||
</div>
|
||||
<div class="van-cell__value"><span>使用优惠</span></div>
|
||||
<i class="van-icon van-icon-arrow van-cell__right-icon">
|
||||
<div class="van-cell__value"><span>使用优惠</span></div> <i class="van-icon van-icon-arrow van-cell__right-icon">
|
||||
<!---->
|
||||
<!---->
|
||||
</i>
|
||||
<!----></i>
|
||||
</div>
|
||||
`;
|
||||
|
||||
@@ -20,10 +18,8 @@ exports[`coupon cell 2`] = `
|
||||
<div class="van-cell__title"><span>优惠券</span>
|
||||
<!---->
|
||||
</div>
|
||||
<div class="van-cell__value"><span>-¥1.00</span></div>
|
||||
<i class="van-icon van-icon-arrow van-cell__right-icon">
|
||||
<div class="van-cell__value"><span>-¥1.00</span></div> <i class="van-icon van-icon-arrow van-cell__right-icon">
|
||||
<!---->
|
||||
<!---->
|
||||
</i>
|
||||
<!----></i>
|
||||
</div>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user