File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
src/ComputerLock/Components Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ <MudDialog >
2+ <DialogContent >
3+ <MudPaper Elevation =" 0" Class =" px-3 py-2 d-flex flex-column align-center" >
4+ <MudText Typo =" Typo.subtitle1" Class =" mb-2" Color =" Color.Secondary" >
5+ 如果你喜欢这款软件,不妨支持一下作者!
6+ </MudText >
7+
8+ <MudChip T =" string" Label =" true" >请使用微信扫一扫</MudChip >
9+
10+ <MudImage Src =" images/wxPay.jpg"
11+ Width =" 320" Height =" 320"
12+ Elevation =" 4"
13+ Class =" rounded-lg" />
14+
15+ <MudDivider Class =" my-2" />
16+
17+ <MudText Typo =" Typo.caption" Color =" Color.Secondary" Class =" mb-1" >
18+ 已有 <strong >5</strong > 人支持
19+ </MudText >
20+
21+ <MudButton Variant =" Variant.Filled" Color =" Color.Primary" Href =" https://jiuling.cc/donation" >
22+ 查看打赏记录
23+ </MudButton >
24+ </MudPaper >
25+ </DialogContent >
26+ <DialogActions >
27+ <MudButton OnClick =" Close" >关闭</MudButton >
28+ </DialogActions >
29+ </MudDialog >
Original file line number Diff line number Diff line change 1+ namespace ComputerLock . Components ;
2+
3+ public partial class Donation
4+ {
5+ [ CascadingParameter ]
6+ private IMudDialogInstance MudDialog { get ; set ; } = null ! ;
7+ private void Close ( ) => MudDialog . Cancel ( ) ;
8+ }
You can’t perform that action at this time.
0 commit comments