|
|
@@ -1,16 +1,108 @@ |
|
|
|
<hc:Window x:Class="HKCardIN.Views.RootView" |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
xmlns:viewModels="clr-namespace:HKCardIN.ViewModels" |
|
|
|
xmlns:hc="https://handyorg.github.io/handycontrol" |
|
|
|
mc:Ignorable="d" |
|
|
|
d:DataContext="{d:DesignInstance Type=viewModels:RootViewModel}" |
|
|
|
Title="{Binding Title}" |
|
|
|
WindowStartupLocation="CenterScreen" |
|
|
|
ShowTitle="True" |
|
|
|
Height="450" |
|
|
|
Width="800"> |
|
|
|
<TextBlock Text="Hello World" HorizontalAlignment="Center" VerticalAlignment="Center" /> |
|
|
|
<hc:Window |
|
|
|
x:Class="HKCardIN.Views.RootView" |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
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" |
|
|
|
xmlns:viewModels="clr-namespace:HKCardIN.ViewModels" |
|
|
|
Title="海科智慧一卡通平台" |
|
|
|
Width="800" |
|
|
|
Height="500" |
|
|
|
d:DataContext="{d:DesignInstance Type=viewModels:RootViewModel}" |
|
|
|
ShowMaxButton="False" |
|
|
|
ShowTitle="True" |
|
|
|
WindowStartupLocation="CenterScreen" |
|
|
|
mc:Ignorable="d"> |
|
|
|
<Grid> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition /> |
|
|
|
<ColumnDefinition /> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<StackPanel Margin="0,12,0,0"> |
|
|
|
<Grid> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition /> |
|
|
|
<ColumnDefinition /> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Border |
|
|
|
Width="100" |
|
|
|
Height="120" |
|
|
|
BorderBrush="BlanchedAlmond" |
|
|
|
BorderThickness="1"> |
|
|
|
<Border.Effect> |
|
|
|
<DropShadowEffect ShadowDepth="1" Color="Black" /> |
|
|
|
</Border.Effect> |
|
|
|
<Image |
|
|
|
Width="100" |
|
|
|
Height="120" |
|
|
|
Source="/HKResouces/头像.png" |
|
|
|
Stretch="UniformToFill" /> |
|
|
|
</Border> |
|
|
|
<StackPanel Grid.Column="1"> |
|
|
|
<WrapPanel> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="姓名:" /> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Foreground="Red" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="李四" /> |
|
|
|
</WrapPanel> |
|
|
|
<WrapPanel Margin="0,20,0,0"> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="手机:" /> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Foreground="Red" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="13812345678" /> |
|
|
|
</WrapPanel> |
|
|
|
<WrapPanel Margin="0,20,0,0"> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="员工号:" /> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Foreground="Red" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="001" /> |
|
|
|
</WrapPanel> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
<hc:Divider |
|
|
|
Content="卡信息" |
|
|
|
FontSize="16" |
|
|
|
FontWeight="Bold" /> |
|
|
|
<StackPanel Margin="20,0,0,0"> |
|
|
|
<WrapPanel> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="卡号:" /> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Foreground="Red" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="123456" /> |
|
|
|
</WrapPanel> |
|
|
|
<WrapPanel Margin="0,20,0,0"> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="卡上余额:" /> |
|
|
|
<TextBlock |
|
|
|
FontSize="18" |
|
|
|
Foreground="Red" |
|
|
|
Style="{StaticResource TextBlockDefaultBold}" |
|
|
|
Text="123456" /> |
|
|
|
</WrapPanel> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</Grid> |
|
|
|
</hc:Window> |