# uni-group ## Instructions 组件名:uni-group 代码块: uGroup 点击下载&安装 ### Syntax - 使用 ``(或 ``,当需要包裹子节点时)。 - 遇到平台差异时,建议使用条件编译(`#ifdef / #endif`)显式处理。 #### Properties | 属性名 | 类型 | 默认值 | 说明 | | --- | --- | --- | --- | | title | String | - | 主标题 | | top | Number | - | 分组间隔 | | mode | String | '' | 模式 ,card 为卡片模式 | #### Events See official docs for full events list: `https://uniapp.dcloud.net.cn/component/uniui/uni-group.html` #### Platform Compatibility See official docs for platform support table: `https://uniapp.dcloud.net.cn/component/uniui/uni-group.html` ### Examples ### Example (Example 1) ```vue 分组1 的内容 分组1 的内容 分组2 的内容 分组2 的内容 ``` ### Example (Example 2) ```html 分组1 的内容 分组1 的内容 分组2 的内容 分组2 的内容 ``` ### Example (Example 3) ```vue ``` ### Example (Example 4) ```html ``` Reference: - [Official Documentation](https://uniapp.dcloud.net.cn/component/uniui/uni-group.html) - [Plugin Marketplace](https://ext.dcloud.net.cn/plugin?name=group) - [Local Example](examples/uni-ui/uni-group.vue)