From 9178ebab86112d0b044d3923731daef36f61d6c5 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 24 Oct 2017 22:19:44 -0500 Subject: [PATCH] [new feature] Coupon add 'showExchangeBar' prop && add empty style (#243) * [bugfix] Checkbox border render error in weixin browser * [bugfix] TreeSelect dependency path error * [bugfix] Swipe should clear autoplay timer when destroyed * [bugfix] Optimize component dependency analyze when build style entry * merge * update yarn.lock * update README.md * update README.md * update README.md * update README.md * update README.md * [Doc] add more badges in README.md * update README.md * [bugfix] Address & Contact list style * fix: contact test cases * [bugfix] popup style missing when build style entry * [bugfix] Search: onSearch event arguments missing * [Doc] add demo pages * update zan-doc@0.3.7 * fix: build entry error * [Doc] add goods demo * [bugfix] button primary background color * [Doc] update doc detail * [new feature] Coupon add 'showExchangeBar' prop && add empty style --- docs/examples-docs/zh-CN/coupon.md | 1 + docs/src/components/demo-list.vue | 36 +++++++++++++++++------ docs/src/doc.config.js | 12 ++++---- package.json | 2 +- packages/coupon-list/index.vue | 14 +++++++-- packages/vant-css/src/coupon-list.css | 42 +++++++++++++++++++++++++-- yarn.lock | 6 ++-- 7 files changed, 89 insertions(+), 24 deletions(-) diff --git a/docs/examples-docs/zh-CN/coupon.md b/docs/examples-docs/zh-CN/coupon.md index 316c0255c..261025cd5 100644 --- a/docs/examples-docs/zh-CN/coupon.md +++ b/docs/examples-docs/zh-CN/coupon.md @@ -160,6 +160,7 @@ export default { | closeButtonText | 列表底部按钮文字 | `String` | 不使用优惠 | - | | disabledListTitle | 不可用券列表标题 | `String` | 不可用优惠 | - | | inputPlaceholder | 输入框文字提示 | `String` | 请输入优惠码 | - | +| showExchangeBar | 是否展示兑换栏 | `Boolean` | `true` | - | ### CouponList Event diff --git a/docs/src/components/demo-list.vue b/docs/src/components/demo-list.vue index 80614eaca..154a1f782 100644 --- a/docs/src/components/demo-list.vue +++ b/docs/src/components/demo-list.vue @@ -1,7 +1,10 @@