From 1d72fd6ad51080deab1482dd8fe9ca456f907bcf Mon Sep 17 00:00:00 2001 From: rex Date: Mon, 8 Oct 2018 20:45:56 +0800 Subject: [PATCH] =?UTF-8?q?[new=20feature]=20Card:=20=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0=E5=9B=BE=E7=89=87=E6=87=92?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=B1=9E=E6=80=A7=20(#707)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/card/README.md | 1 + packages/card/index.ts | 1 + packages/card/index.wxml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/card/README.md b/packages/card/README.md index ebcef294..7c54e40b 100644 --- a/packages/card/README.md +++ b/packages/card/README.md @@ -56,6 +56,7 @@ | currency | 货币符号 | `String` | `¥` | | thumb-link | 点击左侧图片后的跳转链接 | `String` | - | | link-type | 链接跳转类型,可选值为 `redirectTo` `switchTab` `reLaunch` | `String` | `navigateTo` | +| lazy-load | 是否开启图片懒加载 | `String` | `false` | ### Slot diff --git a/packages/card/index.ts b/packages/card/index.ts index 09edba20..ef2e56f0 100644 --- a/packages/card/index.ts +++ b/packages/card/index.ts @@ -17,6 +17,7 @@ VantComponent({ title: String, price: String, centered: Boolean, + lazyLoad: Boolean, thumbLink: String, linkType: { type: String, diff --git a/packages/card/index.wxml b/packages/card/index.wxml index d7dba72c..5e8b3411 100644 --- a/packages/card/index.wxml +++ b/packages/card/index.wxml @@ -1,6 +1,6 @@ - +