From 006e8527857850dfd01371384afa532af5a001f7 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 12 二月 2025 14:58:56 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp --- packages/components/src/Calendar/Calendar.vue | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/packages/components/src/Calendar/Calendar.vue b/packages/components/src/Calendar/Calendar.vue new file mode 100644 index 0000000..251bdbb --- /dev/null +++ b/packages/components/src/Calendar/Calendar.vue @@ -0,0 +1,43 @@ +<template> + <div class="bole-calendar-wrapper"> + <div class="bole-calendar-inner"> + <nut-calendar-card v-model="model" class="bole-calendar"></nut-calendar-card> + </div> + <div class="bole-calendar-arrow"> + <DownArrow :size="12" /> + </div> + </div> +</template> + +<script setup lang="ts"> +import { DownArrow } from '@nutui/icons-vue-taro'; + +defineOptions({ + name: 'Calendar', +}); + +// type Props = {}; + +// const props = withDefaults(defineProps<Props>(), {}); +const model = defineModel<Date | Date[]>(); +</script> + +<style lang="scss"> +@import '@/styles/common.scss'; + +.bole-calendar-wrapper { + .bole-calendar { + background-color: transparent; + } + + .bole-calendar-inner { + height: 500px; + overflow: hidden; + } + + .bole-calendar-arrow { + display: flex; + justify-content: center; + } +} +</style> -- Gitblit v1.9.1