Skip to content

Commit

Permalink
perf(calendar): add custom-wrapper (#2838)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu authored Jan 15, 2024
1 parent 147e43f commit b9d5719
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions packages/nutui-taro-demo/src/dentry/pages/calendar/index.vue
Original file line number Diff line number Diff line change
@@ -1,31 +1,49 @@
<template>
<Demo class="calendar-demo">
<h2>{{ t('single') }}</h2>
<Single />
<custom-wrapper>
<Single />
</custom-wrapper>

<h2>{{ t('range') }}</h2>
<Range />
<custom-wrapper>
<Range />
</custom-wrapper>

<h2>{{ t('multiple') }}</h2>
<Multiple />
<custom-wrapper>
<Multiple />
</custom-wrapper>

<h2>{{ t('week') }}</h2>
<Week />
<custom-wrapper>
<Week />
</custom-wrapper>

<h2>{{ t('disabled') }}</h2>
<Disabled />
<custom-wrapper>
<Disabled />
</custom-wrapper>

<h2>{{ t('singleQuick') }}</h2>
<SingleQuick />
<custom-wrapper>
<SingleQuick />
</custom-wrapper>

<h2>{{ t('rangeQuick') }}</h2>
<RangeQuick />
<custom-wrapper>
<RangeQuick />
</custom-wrapper>

<h2>{{ t('custom') }}</h2>
<Custom />
<custom-wrapper>
<Custom />
</custom-wrapper>

<h2>{{ t('tiled') }}</h2>
<Tiled />
<custom-wrapper>
<Tiled />
</custom-wrapper>
</Demo>
</template>

Expand Down

0 comments on commit b9d5719

Please sign in to comment.