File tree Expand file tree Collapse file tree 2 files changed +1
-50
lines changed Expand file tree Collapse file tree 2 files changed +1
-50
lines changed Original file line number Diff line number Diff line change 1313 </MudPaper >
1414 }
1515
16- </MudPaper >
17-
18-
19- @code
20- {
21-
22- private void GoToPage (Video video )
23- {
24- Nav .NavigateTo ($" playmedia/{video .Id }" );
25- }
26- protected override async Task OnInitializedAsync ()
27- {
28- Datas .OnChange += StateHasChanged ;
29- // await Datas.InitializeAsync();
30- }
31-
32- public void Dispose ()
33- {
34- Datas .OnChange -= StateHasChanged ;
35- }
36- }
16+ </MudPaper >
Original file line number Diff line number Diff line change 6767 </MudGrid >
6868</MudPaper >
6969
70- @code
71- {
72- bool _show = true ;
73- [Parameter ] public string VideId { get ; set ; } = string .Empty ;
74- public async Task GoToPage (Video video )
75- {
76- await LoadGiscud (video .CommentName );
77- Nav .NavigateTo ($" playmedia/{video .Id }" );
78- }
79- async Task LoadGiscud (string id )
80- {
81- await Js .InvokeVoidAsync (" loadDisqus" , Nav .Uri , id );
82- }
83- void ShowComment ()
84- {
85- _show = false ;
86- StateHasChanged ();
87- }
88- protected override async Task OnInitializedAsync ()
89- {
90- Datas .OnChange += StateHasChanged ;
91- // await Datas.InitializeAsync();
92- }
93-
94- public void Dispose ()
95- {
96- Datas .OnChange -= StateHasChanged ;
97- }
98- }
9970<style >
10071 .video-container {
10172 position : relative ;
You can’t perform that action at this time.
0 commit comments