client: Windows 客户端(WinUI3 壳 + agent-core;调试用 Electron 壳存档);localserver token 改为常数时间比较
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<Page
|
||||
x:Class="EveryPublish.Client.Pages.ChallengesPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Grid Margin="32" RowSpacing="16">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" Spacing="8">
|
||||
<TextBlock Text="二次验证挑战" Style="{StaticResource TitleTextBlockStyle}"/>
|
||||
<TextBlock Text="平台要求扫码/验证码时在此处理;超时可在网页端一键重发。" Foreground="{ThemeResource TextFillColorSecondaryBrush}"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" Spacing="12">
|
||||
<ListView x:Name="ChallengeList" SelectionChanged="ChallengeList_SelectionChanged">
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Padding="8" Spacing="4">
|
||||
<TextBlock FontWeight="SemiBold">
|
||||
<Run Text="平台:"/><Run Text="{Binding Platform}"/>
|
||||
<Run Text=" 类型:"/><Run Text="{Binding Kind}"/>
|
||||
</TextBlock>
|
||||
<TextBlock Text="{Binding Prompt}" TextWrapping="Wrap" Foreground="{ThemeResource TextFillColorSecondaryBrush}"/>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
<TextBlock x:Name="EmptyText" Text="暂无待处理挑战" Foreground="{ThemeResource TextFillColorSecondaryBrush}"/>
|
||||
<StackPanel x:Name="SolvePanel" Spacing="8" Visibility="Collapsed" MaxWidth="420">
|
||||
<Image x:Name="QrImage" MaxHeight="220" MaxWidth="220" Visibility="Collapsed" HorizontalAlignment="Left"/>
|
||||
<TextBlock x:Name="SolveHint" Text="验证码 / 确认值"/>
|
||||
<TextBox x:Name="ValueBox" PlaceholderText="输入收到的验证码"/>
|
||||
<Button x:Name="SolveButton" Content="提交" Style="{StaticResource AccentButtonStyle}" Click="Solve_Click" HorizontalAlignment="Left"/>
|
||||
<TextBlock x:Name="SolveResult" Text="" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user