Dialog_Sponsor.xaml 4.3 KB
Newer Older
C
chao 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
<chao:BaseDialog
    x:Class="Jvedio.Dialog_Sponsor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:chao="https://gitee.com/secret/chao-controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:hc="https://handyorg.github.io/handycontrol"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="赞助我"
    Width="500"
    Height="350"
    MinHeight="0"
    Background="{DynamicResource Window.InnerDialog.Background}"
    ContentRendered="BaseDialog_ContentRendered"
    WindowStartupLocation="CenterScreen"
    mc:Ignorable="d">




    <Grid>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="*" />
                <RowDefinition Height="auto" />
            </Grid.RowDefinitions>
            <StackPanel Grid.Row="0" Orientation="Horizontal">

                <TextBlock
                    Margin="5"
                    Padding="10"
                    Style="{StaticResource BaseTextBlock}"
                    Text="如果您喜欢Jvedio,可以使用以下方式赞助我~"
                    TextAlignment="Left" />
            </StackPanel>
            <TextBlock
                Grid.Row="1"
                Margin="20,5"
                FontSize="10"
                Foreground="{DynamicResource Button.Disabled.BorderBrush}"
                Style="{StaticResource BaseTextBlock}"
                Text="更新源:github"
                TextAlignment="Left" />
            <Grid Grid.Row="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="5*" />
                    <ColumnDefinition Width="5*" />
                </Grid.ColumnDefinitions>
                <Border
                    Grid.Column="0"
                    Width="200"
                    Height="200"
                    Padding="20"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Background="{DynamicResource Window.Side.Background}"
                    CornerRadius="10">
                    <Grid>
                        <hc:LoadingCircle
                            Height="40"
                            DotCount="5"
                            DotDiameter="5"
                            Foreground="{DynamicResource Global.Foreground}"
                            Visibility="{Binding Loading, Converter={StaticResource BoolToVisibilityConverter}}" />
                        <Image Name="wechat" />
                    </Grid>

                </Border>
                <Border
                    Grid.Column="1"
                    Width="200"
                    Height="200"
                    Padding="20"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Background="{DynamicResource Window.Side.Background}"
                    CornerRadius="10">
                    <Grid>
                        <hc:LoadingCircle
                            Height="40"
                            DotCount="5"
                            DotDiameter="5"
                            Foreground="{DynamicResource Global.Foreground}"
                            Visibility="{Binding Loading, Converter={StaticResource BoolToVisibilityConverter}}" />
                        <Image Name="alipay" />
                    </Grid>

                </Border>

            </Grid>
            <Grid Grid.Row="3" Margin="10">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="5*" />
                    <ColumnDefinition Width="5*" />
                </Grid.ColumnDefinitions>
                <TextBlock
                    HorizontalAlignment="Center"
                    VerticalAlignment="Top"
                    Style="{StaticResource BaseTextBlock}"
                    Text="WeChat" />
                <TextBlock
                    Grid.Column="1"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Top"
                    Style="{StaticResource BaseTextBlock}"
                    Text="Alipay" />
            </Grid>
        </Grid>
    </Grid>
</chao:BaseDialog>