敢为人鲜小程序前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
504 B

<template>
<view class="calendars">
<uv-calendars ref="calendars" @confirm="confirm" />
</view>
</template>
<script>
export default {
name: "Calendars",
data() {
return {
}
},
methods: {
//打开日历
open() {
this.$refs.calendars.open();
},
//用户选择了日期信息
confirm(e) {
this.$emit("select", e)
}
}
}
</script>
<style lang="scss" scoped>
.calendars {
&::v-deep .uv-calendar__header {
border-bottom: none !important;
}
}
</style>