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

Commit

Permalink
feat(TCalendar): 新增 TCalendar 日历控件 (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
teacher-zhou authored Jul 17, 2023
2 parents b010cd8 + 13942c7 commit 8d174c5
Show file tree
Hide file tree
Showing 5 changed files with 845 additions and 0 deletions.
155 changes: 155 additions & 0 deletions doc/TDesign.Docs.ServerSide/TDesign.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions doc/TDesign.Docs.Shared/Layouts/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<TMenuItemGroup Title="数据展示">
<TMenuItem Link="components/avatar">Avatar 头像</TMenuItem>
<TMenuItem Link="components/badge">Badge 徽标</TMenuItem>
<TMenuItem Link="components/calendar">Calendar 日历</TMenuItem>
<TMenuItem Link="components/card">Card 卡片</TMenuItem>
<TMenuItem Link="components/collapse">Collapse 折叠面板</TMenuItem>
<TMenuItem Link="components/comment">Comment 评论</TMenuItem>
Expand Down
20 changes: 20 additions & 0 deletions doc/TDesign.Docs.Shared/Pages/Components/Data/CalendarPage.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@page "/components/calendar"

<PageHeader Title="Calendar 日历">
按照日历形式展示数据或日期的容器。
</PageHeader>

<LayoutContent AnchorItems="@(new[]{"示例"})">
<Example Title="事项日历面板">
<Description>在日期中可显示事项的日期显示容器。常用于有足够空间,且需要承载或显示事项信息时使用。</Description>
<RunContent>
<TCalendar/>
</RunContent>
<CodeContent>
@Code.Create(@"
```cshtml-razor
```
")
</CodeContent>
</Example>
</LayoutContent>
155 changes: 155 additions & 0 deletions doc/TDesign.Docs.WebAssembly/wwwroot/TDesign.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8d174c5

Please sign in to comment.