uni-app-uni ui
零。官方文档
一。例子:日历
- 文档选择扩展组件
- 点击使用hbuilderX导入插件
- 导入成功后,查看组件使用方法
- 使用组件
<template>
<view class="content">
<view>
<uni-calendar
:insert="true"
:lunar="true"
:start-date="'2019-3-2'"
:end-date="'2019-5-20'"
@change="change"
/>
</view>
</view>
</template>
<script>
import calendar from '../../components/uni-calendar/uni-calendar.vue'
export default {
data() {
return {}
},
methods: {
change(e) {
console.log("收到",e)
}
},
components: {
calendar
}
}
</script>

浙公网安备 33010602011771号