You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

102 lines
6.5 KiB

<UserControl x:Class="PCScreenSavers.Win.RichAD"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:PCScreenSavers.Win"
mc:Ignorable="d" d:DesignWidth="2180" Background="Transparent" Height="690" >
<UserControl.Resources>
<ImageBrush ImageSource="/PCScreenSavers;component/Images/richadbg.png" x:Key="BackgroundSponge" />
</UserControl.Resources>
<Grid>
<Grid Height="532" VerticalAlignment="Bottom" Background="{DynamicResource BackgroundSponge}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="512"></ColumnDefinition>
<ColumnDefinition ></ColumnDefinition>
<ColumnDefinition Width="580"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid Width="420" Grid.Column="0" Margin="46 52">
<Grid Panel.ZIndex="2" >
<Grid.RowDefinitions>
<RowDefinition Height="420"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="420"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.Background>
<SolidColorBrush Color="White"></SolidColorBrush>
</Grid.Background>
<Grid.Clip>
<RectangleGeometry x:Name="WinLogo" RadiusX="20" RadiusY="20" Rect="0,0,420,420"/>
</Grid.Clip>
<Image Source="/PCScreenSavers;component/Images/1.png" x:Name="ImgLogo" Width="420" Height="420" Stretch="Fill" >
</Image>
</Grid>
<!--<Border Width="420" Height="420" >
<Image Source="/PCScreenSavers;component/Images/bg_logo.png" Width="420" Height="420" Stretch="Fill" >
</Image>
</Border>-->
</Grid>
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="196"></RowDefinition>
<RowDefinition Height="80"></RowDefinition>
<RowDefinition Height="80"></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<TextBlock x:Name="TxtName" Grid.Row="0" FontSize="80" FontFamily="{StaticResource DINProBold}" FontWeight="Bold" HorizontalAlignment="Left" TextWrapping="Wrap" Text="LOUIS VUITTON" Foreground="#FDFDFD" Margin="0 50 0 0" Width="1090"></TextBlock>
<Image Grid.Row="1" Width="140" Height="48" VerticalAlignment="Center" HorizontalAlignment="Left" Source="/PCScreenSavers;component/Images/hot.png" Stretch="Fill">
</Image>
<Image Grid.Row="2" Width="140" Height="48" VerticalAlignment="Center" HorizontalAlignment="Left" Source="/PCScreenSavers;component/Images/Promotion.png" Stretch="Fill">
</Image>
<!--<Grid Grid.Row="1" >
<Grid.Background>
<SolidColorBrush Color="Red"></SolidColorBrush>
</Grid.Background>
<Grid.Clip>
<RectangleGeometry x:Name="hotshop" RadiusX="30" RadiusY="30" Rect="0,0,140,48"/>
</Grid.Clip>
<TextBlock x:Name="TxtHotShop" Grid.Row="0" FontSize="24" FontFamily="{StaticResource font}" HorizontalAlignment="Left" TextWrapping="Wrap" Text="热门店铺" Foreground="White" Margin="20 8 0 0"></TextBlock>
</Grid>-->
</Grid>
<Image Height="289" Width="482" Grid.Column="2" VerticalAlignment="Top" Source="/PCScreenSavers;component/Images/nav.png" Margin="0 -120 0 20" MouseDown="Image_MouseDown"></Image>
<Grid Grid.Column="2" Width="284" Height="340" Margin="0 0 -216 -80">
<Grid.Background>
<SolidColorBrush Color="White"></SolidColorBrush>
</Grid.Background>
<Grid.Clip>
<RectangleGeometry x:Name="WinLogo1" RadiusX="20" RadiusY="20" Rect="0,0,284,340"/>
</Grid.Clip>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="60"></RowDefinition>
</Grid.RowDefinitions>
<Grid Grid.Row="0" Margin="30 30 30 20">
<Grid.Background>
<SolidColorBrush Color="White"></SolidColorBrush>
</Grid.Background>
<Grid.Clip>
<RectangleGeometry x:Name="WinLogo2" RadiusX="20" RadiusY="20" Rect="0,0,224,224"/>
</Grid.Clip>
<Image Source="/PCScreenSavers;component/Images/QR.png" Stretch="Fill" >
</Image>
</Grid>
<TextBlock Grid.Row="1" FontSize="32" FontFamily="{StaticResource CNRegular}" FontWeight="Regular" HorizontalAlignment="Center" TextWrapping="Wrap" Text="扫一扫查看详情" Foreground="#808080"></TextBlock>
</Grid>
<!--<Grid Grid.Column="2" Grid.Row="1" Margin="3,0,-3,0">
<Grid.RowDefinitions>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
</Grid.RowDefinitions>
<TextBlock Grid.Column="0" Grid.Row="0" FontSize="22" FontFamily="{StaticResource font}" HorizontalAlignment="Right" VerticalAlignment="Bottom" TextWrapping="Wrap" Text="扫一扫二维码" Foreground="#333" Margin="0 0 10 -5"></TextBlock>
<TextBlock Grid.Column="0" Grid.Row="1" FontSize="26" FontFamily="{StaticResource font}" HorizontalAlignment="Right" TextWrapping="Wrap" Text="我来带您去!" Foreground="#333" FontWeight="ExtraBold" Margin="0 0 5 5"></TextBlock>
</Grid>-->
<!--<Image Grid.Column="3" Grid.RowSpan="2" Width="150" Height="150" Margin="0 10 50 10" Source="/PCScreenSavers;component/Images/QR.png" Stretch="Fill" WindowChrome.IsHitTestVisibleInChrome="True" x:Name="image" MouseDown="Image_MouseDown">
</Image>-->
</Grid>
</Grid>
</UserControl>