uniUI扩展组建
不包括基础组件,是基础组件的补充。
日历组件 Calendar 
直接使用HBuilderX导入插件。
在组件里面将会有使用方式。
<template><view class="content"><test v-if="flag" :title='title' @myEvent='getNum'></test><button type="default" @click="checkTest">切换test组件</button>这是子组件传递过来的数据{{num}}<test-a></test-a><test-b></test-b><uni-calendar:insert="true":lunar="true":start-date="'2019-3-2'":end-date="'2019-5-20'"@change="change"/></uni-calendar></view></template><script>import test from '../../components/test.vue'import testa from '../../components/a.vue'import testb from '../../components/b.vue'import uniCalendar from '../../components/uni-calendar/uni-calendar.vue'export default {data() {return {title: 'Hello',flag:true,num:0}},onLoad(options) {console.log('页面加载了',options)},onShow(){console.log('页面显示了')},onReady() {console.log('页面初次渲染完成了')},onHide() {console.log('页面隐藏了')},methods: {checkTest(){this.flag = !this.flag}},components:{test,"test-a":testa,"test-b":testb,"uni-calendar":uniCalendar},methods:{getNum(num){this.num = num},change(e){console.log(e)}}}</script><style>.content {display: flex;flex-direction: column;align-items: center;justify-content: center;}.logo {height: 200rpx;width: 200rpx;margin-top: 200rpx;margin-left: auto;margin-right: auto;margin-bottom: 50rpx;}.text-area {display: flex;justify-content: center;}.title {font-size: 36rpx;color: #8f8f94;}</style>

