diff --git a/packages/grid-item/index.ts b/packages/grid-item/index.ts index ceecd1f7..2d94d6be 100644 --- a/packages/grid-item/index.ts +++ b/packages/grid-item/index.ts @@ -15,6 +15,7 @@ VantComponent({ props: { icon: String, + iconColor: String, dot: Boolean, info: null, badge: null, diff --git a/packages/grid-item/index.wxml b/packages/grid-item/index.wxml index a27c06f1..ede970ca 100644 --- a/packages/grid-item/index.wxml +++ b/packages/grid-item/index.wxml @@ -10,7 +10,7 @@ - + diff --git a/packages/grid/README.md b/packages/grid/README.md index ddbde094..03bf740b 100644 --- a/packages/grid/README.md +++ b/packages/grid/README.md @@ -149,6 +149,7 @@ | --- | --- | --- | --- | --- | | text | 文字 | _string_ | - | - | | icon | 图标名称或图片链接,可选值见 [Icon 组件](#/icon) | _string_ | - | - | +| icon-color | 图标颜色 | _string_ | - | - | | dot | 是否显示图标右上角小红点 | _boolean_ | `false` | - | | badge | 图标右上角徽标的内容 | _string \| number_ | - | - | | url | 点击后跳转的链接地址 | _string_ | - | - |