Discount updated

This commit is contained in:
Vion
2022-01-30 17:14:41 +08:00
parent ea82294c4c
commit 44766ef791
5 changed files with 35 additions and 12 deletions

View File

@@ -34,7 +34,7 @@
</i>
<span>
{{ item.couponAmount?item.couponAmount:(parseInt((item.discount)*10)+'折') }}
{{ item.couponAmount?item.couponAmount:(parseInt((1-item.discount)*10)+'折') }}
</span>
</div>
<strong>{{ item.couponName }}</strong>
@@ -43,7 +43,7 @@
<i :style='usercolor'>
{{ item.couponDesc }}
</i>
<div class="rc-userfont">
<div class="rc-userfont" :style="(item.validTo?'visibility:visible':'visibility:hidden')">
<strong>有效期</strong>
<span>{{item.validFrom}}</span>
<em>{{item.validTo}}</em>