[improvement] Coupon: jsx (#2456)

This commit is contained in:
neverland
2019-01-07 15:50:51 +08:00
committed by GitHub
parent c6e1aaf5da
commit 7f853f694a
15 changed files with 471 additions and 479 deletions
+6 -6
View File
@@ -28,6 +28,12 @@ export default {
vanSubmitBar: {
label: 'Total'
},
vanCoupon: {
valid: 'Valid',
unlimited: 'Unlimited',
discount: discount => `${discount * 10}% off`,
condition: condition => `At least ${condition}`
},
vanCouponCell: {
title: 'Coupon',
tips: 'Select coupon',
@@ -41,12 +47,6 @@ export default {
disabled: 'Unavailable',
placeholder: 'Coupon code'
},
vanCouponItem: {
valid: 'Valid',
unlimited: 'Unlimited',
discount: discount => `${discount * 10}% off`,
condition: condition => `At least ${condition}`
},
vanAddressEdit: {
area: 'Area',
postal: 'Postal',