introduce
uni-ui is a cross-end ui library provided by DCloud. It is a cross-full-end ui framework based on vue components, flex layout, and no dom.
uni-ui does not include basic components, it is a supplement to basic components
features
High performance (automatic differential update data, optimize logic layer and view layer communication loss, background stop)
full end
style extension
Collaborate with uniCloud
Automatic integration with uni statistics to achieve no-management
uni-ui complies with the full set of DCloud component specifications
use
In the template of the new uni-app project in HBuilderX, select the uni-ui template
Install components individually via uni_modules
If you have not created a uni-ui project template, you can also install a required component separately through uni_modules in your project. The following table is a list of uni-ui extension components. Click each component to import the component to the project on the details page. After importing, you can use it directly without import and registration
component name |
Component description |
uni-badge |
|
uni-calendar |
|
uni-card |
|
uni-collapse |
|
uni-combox |
|
uni-countdown |
|
uni-data-checkbox |
|
uni-data-picker |
|
uni-dateformat |
|
uni-datetime-picker |
|
uni-drawer |
|
uni-easyinput |
|
uni-fab |
|
uni-fav |
|
uni-file-picker |
|
uni-forms |
|
uni-goods-nav |
|
uni-grid |
|
uni-group |
|
uni-icons |
|
uni-indexed-list |
|
uni-link |
|
uni-list |
|
uni-load-more |
|
uni-nav-bar |
|
uni-notice-bar |
|
uni-number-box |
|
uni-pagination |
|
uni-popup |
|
uni-rate |
|
uni-row |
|
uni-search-bar |
|
uni-segmented-control |
|
uni-steps |
|
uni-swipe-action |
|
uni-swiper-dot |
|
uni-table |
|
uni-tag |
|
uni-title |
|
uni-transition |
注意:下载最新的组件目前仅支持 uni_modules ,非 uni_modules 版本最高支持到组件的1.2.10版本
通过 uni_modules 导入全部组件
如果想一次把所有uni-ui组件导入到项目中,只需要导入一个 uni-ui 组件即可 点击去导入。
如果没有自动导入其他组件,可以在 uni-ui 组件目录上右键选择 安装三方插件依赖 即可。
以上是常用使用uni-ui的三种方式