-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e4ace3
commit 25fc969
Showing
9 changed files
with
103 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 属性面板 | ||
|
||
```vue | ||
<sm-attribute-panel | ||
:attrbiutes="[ | ||
{ | ||
"attribute": "链接", | ||
"alias": "bbb", | ||
"attributeValue": "www.test1.com" | ||
}, | ||
{ | ||
"attribute": "文本", | ||
"alias": "text", | ||
"attributeValue": "test1" | ||
} | ||
]" | ||
></sm-attribute-panel> | ||
``` | ||
|
||
### Attributes | ||
|
||
| 参数 | 说明 | 类型 | 可选值 | 默认值 | | ||
| :------------- | :------------------------------------------------------------------------------------- | :------ | :----- | :----- | | ||
| showIcon | 显示分页 | boolean | - | false | | ||
| currentIndex | 当前页索引 | number | - | 0 | | ||
| paginationText | 自定义分页文本 | string | - | | ||
| total | 总分页数 | number | - | - | | ||
| title | 标题 | string | - | - | | ||
| attributes | 属性数据 | array | - | [] | | ||
| columns | 列配置, 具体属性参考[表格列配置文档](https://1x.antdv.com/components/table-cn/#Column) | array | - | [] | | ||
| showBorder | 显示边框 | boolean | - | true | | ||
|
||
> 支持[主题混入参数](/zh/api/mixin/mixin.md#theme) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters