Files
dvcp_v2_wxcp_app/src/project/saas/AppPropagandaStatistics/calendarInfo.vue

43 lines
774 B
Vue
Raw Normal View History

2022-07-12 18:10:42 +08:00
<template>
<div class="calendarInfo">
<uni-calendar :insert="true" :selected="selected" :lunar="false" @change="change"/>
</div>
</template>
<script>
import { uniCalendar } from "@dcloudio/uni-ui"
export default {
data() {
return {
date: '',
selected: [{date: '2022-07-12'}],
}
},
components: {
uniCalendar
},
methods: {
change(val) {
this.date = `${val.year} + '-' + ${val.month} + '-' + ${val.day}`
},
},
onShow() {},
}
</script>
<style lang="scss" scoped>
.calendarInfo {
::v-deep .uni-calendar-item__weeks-box-circle {
top: 77%;
right: 45%;
border-radius: 12px;
}
::v-deep .uni-calendar__header {
height: 76px;
}
::v-deep .uni-calendar__backtoday {
display: none
}
}
</style>