[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',
+6 -6
View File
@@ -28,6 +28,12 @@ export default {
vanSubmitBar: {
label: '合计:'
},
vanCoupon: {
valid: '有效期',
unlimited: '无使用门槛',
discount: discount => `${discount}`,
condition: (condition) => `${condition}元可用`
},
vanCouponCell: {
title: '优惠券',
tips: '使用优惠',
@@ -41,12 +47,6 @@ export default {
disabled: '不可使用优惠券',
placeholder: '请输入优惠码'
},
vanCouponItem: {
valid: '有效期',
unlimited: '无使用门槛',
discount: discount => `${discount}`,
condition: (condition) => `${condition}元可用`
},
vanAddressEdit: {
area: '地区',
postal: '邮政编码',
+6 -6
View File
@@ -28,6 +28,12 @@ export default {
vanSubmitBar: {
label: '合計:'
},
vanCoupon: {
valid: '有效期',
unlimited: '無使用門檻',
discount: discount => `${discount}`,
condition: (condition) => `滿${condition}元可用`
},
vanCouponCell: {
title: '優惠券',
tips: '使用優惠',
@@ -41,12 +47,6 @@ export default {
disabled: '不可使用優惠券',
placeholder: '請輸入優惠碼'
},
vanCouponItem: {
valid: '有效期',
unlimited: '無使用門檻',
discount: discount => `${discount}`,
condition: (condition) => `滿${condition}元可用`
},
vanAddressEdit: {
area: '地區',
postal: '郵政編碼',
+6 -6
View File
@@ -28,6 +28,12 @@ export default {
vanSubmitBar: {
label: '合計:'
},
vanCoupon: {
valid: '有效期限',
unlimited: '無使用門檻',
discount: discount => `${discount}`,
condition: (condition) => `滿${condition}元可用`
},
vanCouponCell: {
title: '優惠券',
tips: '使用優惠',
@@ -41,12 +47,6 @@ export default {
disabled: '不可使用優惠券',
placeholder: '請輸入優惠代碼'
},
vanCouponItem: {
valid: '有效期限',
unlimited: '無使用門檻',
discount: discount => `${discount}`,
condition: (condition) => `滿${condition}元可用`
},
vanAddressEdit: {
area: '地區',
postal: '郵遞區號',