Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 8d174c5

Browse files
authored
feat(TCalendar): 新增 TCalendar 日历控件 (#307)
2 parents b010cd8 + 13942c7 commit 8d174c5

5 files changed

Lines changed: 845 additions & 0 deletions

File tree

doc/TDesign.Docs.ServerSide/TDesign.xml

Lines changed: 155 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/TDesign.Docs.Shared/Layouts/NavMenu.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<TMenuItemGroup Title="数据展示">
4343
<TMenuItem Link="components/avatar">Avatar 头像</TMenuItem>
4444
<TMenuItem Link="components/badge">Badge 徽标</TMenuItem>
45+
<TMenuItem Link="components/calendar">Calendar 日历</TMenuItem>
4546
<TMenuItem Link="components/card">Card 卡片</TMenuItem>
4647
<TMenuItem Link="components/collapse">Collapse 折叠面板</TMenuItem>
4748
<TMenuItem Link="components/comment">Comment 评论</TMenuItem>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
@page "/components/calendar"
2+
3+
<PageHeader Title="Calendar 日历">
4+
按照日历形式展示数据或日期的容器。
5+
</PageHeader>
6+
7+
<LayoutContent AnchorItems="@(new[]{"示例"})">
8+
<Example Title="事项日历面板">
9+
<Description>在日期中可显示事项的日期显示容器。常用于有足够空间,且需要承载或显示事项信息时使用。</Description>
10+
<RunContent>
11+
<TCalendar/>
12+
</RunContent>
13+
<CodeContent>
14+
@Code.Create(@"
15+
```cshtml-razor
16+
```
17+
")
18+
</CodeContent>
19+
</Example>
20+
</LayoutContent>

doc/TDesign.Docs.WebAssembly/wwwroot/TDesign.xml

Lines changed: 155 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)