diff --git a/docs/src/WapApp.vue b/docs/src/WapApp.vue index 2b9ba22d8..ed9347633 100644 --- a/docs/src/WapApp.vue +++ b/docs/src/WapApp.vue @@ -43,7 +43,7 @@ body { color: #333; line-height: 1; background-color: #f8f8f8; - font-family: Arial, Helvetica, "STHeiti STXihei", "Microsoft YaHei", Tohoma, sans-serif; + font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif; -webkit-font-smoothing: antialiased; } diff --git a/packages/coupon-cell/index.vue b/packages/coupon-cell/index.vue index 8aa6de031..58088f50e 100644 --- a/packages/coupon-cell/index.vue +++ b/packages/coupon-cell/index.vue @@ -35,7 +35,7 @@ export default create({ const { coupons } = this; const coupon = coupons[this.chosenCoupon]; if (coupon) { - return `${this.$t('reduce')}¥${(coupon.value / 100).toFixed(2)}`; + return `-¥${(coupon.value / 100).toFixed(2)}`; } return coupons.length === 0 ? this.$t('tips') : this.$t('count', coupons.length); } diff --git a/packages/coupon-list/test/__snapshots__/demo.spec.js.snap b/packages/coupon-list/test/__snapshots__/demo.spec.js.snap index 9d381068f..72f39f565 100644 --- a/packages/coupon-list/test/__snapshots__/demo.spec.js.snap +++ b/packages/coupon-list/test/__snapshots__/demo.spec.js.snap @@ -6,7 +6,7 @@ exports[`renders demo correctly 1`] = `