feat(Sku): add stockThreshold prop (#4444)

This commit is contained in:
codpoe
2019-09-12 17:56:17 +08:00
committed by neverland
parent 927bf464bf
commit 54353f4210
5 changed files with 20 additions and 4 deletions
+1
View File
@@ -128,6 +128,7 @@ export default {
| hide-stock | 是否显示商品剩余库存 | *boolean* | `false` | - |
| hide-quota-text | 是否显示限购提示 | *boolean* | `false` | - |
| hide-selected-text | 是否隐藏已选提示 | *boolean* | `false` | - |
| stock-threshold | 库存阈值。低于这个值会把库存数高亮显示 | *boolean* | `50` | - |
| show-add-cart-btn | 是否显示加入购物车按钮 | *boolean* | `true` | - |
| buy-text | 购买按钮文字 | *string* | `立即购买` | - |
| add-cart-text | 加入购物车按钮文字 | *string* | `加入购物车` | - |