平台兼容性
uni-app
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
- | - | - | - | - | √ | - | - | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
- | - | - | - | - | - | - | - | - | - | - |
Weex Ui
一个基于 Weex 的富交互、轻量级、高性能的 UI 组件库
预览

你可以通过飞猪、淘宝、天猫、Weex Playground 或者浏览器扫码体验
在 nvue 中使用 Weex Ui
- 初始化工程
npm init -y
- 安装
npm i weex-ui -S
- 在nvue里面使用
<template> <div> <wxc-cell label="标题" title="Weex Ui" :has-arrow="true" @wxcCellClicked="wxcCellClicked" :has-margin="true"></wxc-cell> </div> </template> <script> import { WxcCell } from 'weex-ui'; export default { components: { WxcCell }, methods: { wxcCellClicked (e) { console.log(e) } } }; </script>
Tis:
Weex Ui
各组件文档请参考 Weex Ui。- 点击下载按钮,下载的是一个使用了 Weex Ui 的项目,在项目根目录执行
npm install
,然后点击真机运行即可体验。