Appearance
引入组件
局部引入
ts
// parent.vue
const FNomore = defineAsyncComponent(() => import('@/components/formaui/f-nomore/f-nomore.vue'))基础用法
html
<f-nomore></f-nomore>
<f-nomore text="自定义文字"></f-nomore>
<f-nomore is-dot></f-nomore>插槽
| 名称 | 说明 |
|---|---|
| - | - |
属性
| 名称 | 类型 | 说明 | 默认值 |
|---|---|---|---|
text | string | 自定义文字 | 加载中 |
textColor | string | 自定义文字颜色 | type=row:#888888/type=column:#FFFFFF |
fontSize | string | 自定义文字大小 | 26rpx |
isDot | boolean | 是否显示为点 | false |
margin | string | 自定义外边距type=row时生效 | 0 |
padding | string | 自定义内边距type=row时生效 | 0 |
事件
| 事件名 | 说明 | 回调参数 |
|---|---|---|
| - | - | - |
