|
|
@@ -8,8 +8,9 @@ |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
xmlns:s="https://github.com/canton7/Stylet" |
|
|
|
xmlns:viewModels="clr-namespace:HKCardIN.ViewModels" |
|
|
|
x:Name="Root" |
|
|
|
Title="海科智慧一卡通平台" |
|
|
|
Width="700" |
|
|
|
Width="800" |
|
|
|
Height="420" |
|
|
|
d:DataContext="{d:DesignInstance Type=viewModels:RootViewModel}" |
|
|
|
ShowMaxButton="False" |
|
|
@@ -96,6 +97,7 @@ |
|
|
|
<Grid Visibility="{Binding ContentVisible}"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition /> |
|
|
|
<ColumnDefinition Width="13" /> |
|
|
|
<ColumnDefinition /> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<StackPanel Margin="0,12,0,0"> |
|
|
@@ -206,7 +208,11 @@ |
|
|
|
</WrapPanel> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Grid.Column="1"> |
|
|
|
<hc:Divider |
|
|
|
Grid.Column="1" |
|
|
|
Height="{Binding ActualHeight, ElementName=Root}" |
|
|
|
Orientation="Vertical" /> |
|
|
|
<StackPanel Grid.Column="2"> |
|
|
|
<hc:Divider |
|
|
|
Content="充值金额" |
|
|
|
FontSize="16" |
|
|
@@ -219,7 +225,7 @@ |
|
|
|
<Run Foreground="WhiteSmoke" Text="当前充值金额:" /> |
|
|
|
<Run Foreground="Red" Text="{Binding ShowMoney}" /> |
|
|
|
</TextBlock> |
|
|
|
<WrapPanel> |
|
|
|
<WrapPanel HorizontalAlignment="Center"> |
|
|
|
<Button |
|
|
|
Command="{s:Action InputAction}" |
|
|
|
CommandParameter="50" |
|
|
@@ -265,20 +271,22 @@ |
|
|
|
</Button.Content> |
|
|
|
</Button> |
|
|
|
</WrapPanel> |
|
|
|
<TextBox |
|
|
|
Width="330" |
|
|
|
Margin="5,10,0,10" |
|
|
|
HorizontalAlignment="Left" |
|
|
|
hc:InfoElement.Placeholder="请输入自定义金额" |
|
|
|
Style="{StaticResource TextBoxExtend}"> |
|
|
|
<TextBox.Text> |
|
|
|
<Binding Path="InputMoney" UpdateSourceTrigger="PropertyChanged"> |
|
|
|
<Binding.ValidationRules> |
|
|
|
<local:ValidataRule /> |
|
|
|
</Binding.ValidationRules> |
|
|
|
</Binding> |
|
|
|
</TextBox.Text> |
|
|
|
</TextBox> |
|
|
|
<WrapPanel HorizontalAlignment="Center"> |
|
|
|
<TextBox |
|
|
|
Width="330" |
|
|
|
Margin="5,10,0,10" |
|
|
|
HorizontalAlignment="Left" |
|
|
|
hc:InfoElement.Placeholder="请输入自定义金额" |
|
|
|
Style="{StaticResource TextBoxExtend}"> |
|
|
|
<TextBox.Text> |
|
|
|
<Binding Path="InputMoney" UpdateSourceTrigger="PropertyChanged"> |
|
|
|
<Binding.ValidationRules> |
|
|
|
<local:ValidataRule /> |
|
|
|
</Binding.ValidationRules> |
|
|
|
</Binding> |
|
|
|
</TextBox.Text> |
|
|
|
</TextBox> |
|
|
|
</WrapPanel> |
|
|
|
<hc:Divider |
|
|
|
Content="操作" |
|
|
|
FontSize="16" |
|
|
|