商品楼层
吴少文 2023/4/4 vue
# 商品楼层
商品楼层展示组件
# 示例

# 组件属性
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|---|---|---|---|---|
| routeUrl | 跳转链接 | string | --- | -- |
| routeUrlMore | 更多跳转链接 | string | --- | -- |
| routeMoreParam | 更多跳转字段名 | string | --- | -- |
| idKey | 主键id对应的字段 | string | -- | -- |
| classifyImgKey | 分类图片对应的字段 | string | -- | -- |
| classifyNameKey | 分类名称对应的字段 | string | -- | -- |
| childrenKey | 商品数组对应的字段 | string | -- | -- |
| productImgKey | 商品图片对应的字段 | string | -- | -- |
| productNameKey | 商品名称对应的字段 | string | -- | -- |
| productPriceKey | 商品价格对应的字段 | string | -- | -- |
| productUnitKey | 商品单位对应的字段 | string | -- | -- |
| productLabelNameKey | 商品标签对应的字段(多个逗号拼接) | string | -- | -- |
| data | 数据 | array | -- | -- |
# data数据结构
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|---|---|---|---|---|
| idKey | 动态配置的id | string | -- | -- |
| classifyImgKey | 动态配置的分类图片 | string | -- | -- |
| classifyNameKey | 动态配置的分类名称 | string | -- | -- |
| childrenKey | 动态配置的商品数组 | string | -- | -- |
| productImgKey | 动态配置的商品图片 | string | -- | -- |
| productNameKey | 动态配置的商品名称 | string | -- | -- |
| productPriceKey | 动态配置的商品价格 | string | -- | -- |
| productUnitKey | 动态配置的商品单位 | string | -- | -- |
| productLabelNameKey | 动态配置的商品标签 | string | -- | -- |