1.2.37 • Published 2 years ago
@izilong/vue-ui v1.2.37
@izilong/vue-ui
- 安装|install
npm i @izilong/vue-ui
yarn add @izilong/vue-ui
- 使用|use
import VUI, {
Confirm,
Loading
VurtualList,
Notify,
} from '@izilong/vue-ui'
- 引入CSS
import '@izilong/vue-ui/dist/css/index.css'
API Reference
- 组件纵览
VUI
|-Confirm
|-Loading
|-Notify
|-VirtualList
- Confirm
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
|
title
|string
| Optional. title |content
|string
| Required. content |leftText
|number
| Optional. leftText |rightText
|number
| Optional. rightText |isMaskShow
|boolean
| Optional. is show mask |style
|object
| Optional. { top: 10%, left: 50% }
- Loading
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
|
imgSrc
|string
| Optional. import imgSrc from xxx |body
|string \| Element
| Optional. Element | string (document.querySelector) |tip
|string
| Optional. tip |duration
|number
| Optional. duration |isMaskShow
|boolean
| Optional. is show mask |style
|object
| Optional. { top: 10%, left: 50% }
- Notify
| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
|
type
|string
| Optional. primary | success | danger | warning | info |title
|string
| Optional. title |content
|string
| Required. content |duration
|number
| Optional. duration |style
|object
| Optional. {top: 10%, left: 50%}
- VirtualList
<VirtualList :listData="listData" :handlePullupLoad="addList"> <template #default="{ visibleListData, virtualIdx, positionList }"> <li class="item" v-for="(item, idx) of visibleListData" :data-virtual-idx="virtualIdx + idx" :key="item.id"> <span>{{item.id}}</span> <p>{{positionList[virtualIdx + idx]}}</p> <p class="txt">{{item.text}}</p> </li> </template> </VirtualList>
1.2.37
2 years ago
1.2.0
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.2.3
2 years ago
1.1.4
2 years ago
1.2.2
2 years ago
1.1.3
2 years ago
1.2.1
2 years ago
1.1.2
2 years ago
1.2.31
2 years ago
1.2.34
2 years ago
1.2.35
2 years ago
1.2.32
2 years ago
1.2.33
2 years ago
1.2.36
2 years ago
1.0.8
2 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago