|
|
@ -8,7 +8,7 @@ |
|
|
|
mc:Ignorable="d" |
|
|
|
Style="{StaticResource bwstyle}" |
|
|
|
xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls" |
|
|
|
Height="651" Width="577" |
|
|
|
Height="380" Width="577" |
|
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors" |
|
|
|
xmlns:ctr="clr-namespace:BBWY.Client.Converters" |
|
|
|
xmlns:cmodel="clr-namespace:BBWY.Client.Models" |
|
|
@ -31,49 +31,44 @@ |
|
|
|
</Border> |
|
|
|
|
|
|
|
<Grid Grid.Row="1"> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition/> |
|
|
|
<RowDefinition/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition/> |
|
|
|
<ColumnDefinition/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<StackPanel Orientation="Vertical" > |
|
|
|
<!--{Binding CertificateModel.IsLogo,Converter={StaticResource objConverter},ConverterParameter=1:true:false}--> |
|
|
|
<RadioButton GroupName="bar" IsChecked="{Binding BarCodeModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:BarcodeLabelModel.精简模板}}" Command="{Binding BarLabelCheckCommand}" CommandParameter="{x:Static cmodel:BarcodeLabelModel.精简模板}" Content="精简" Margin="10,10,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
|
|
|
|
<RadioButton GroupName="bar" IsChecked="{Binding BarCodeModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:BarcodeLabelModel.精简模板}}" Content="精简" Command="{Binding BarLabelCheckCommand}" CommandParameter="{x:Static cmodel:BarcodeLabelModel.精简模板}" Margin="10,10,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Height="220" Margin="5"> |
|
|
|
<StackPanel Orientation="Vertical" > |
|
|
|
<TextBlock Margin="10,25,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Margin="10,20,10,10" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="品名:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.BrandName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
<Run Text="{Binding BarCodeModel.BrandName}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<TextBlock Margin="10,25,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<TextBlock Margin="10" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="规格:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.SkuName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
<Run Text="{Binding BarCodeModel.SkuName}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="店铺:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.ShopName}"/> |
|
|
|
</TextBlock> |
|
|
|
<Image Source="/resources/images/barcode.png" Margin="10,25,10,0"/> |
|
|
|
<Image Source="/resources/images/barcode.png" Margin="10,10,10,0"/> |
|
|
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="{Binding BarCodeModel.SkuId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
<Run Text="{Binding BarCodeModel.SkuId}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Border> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<StackPanel Grid.Column="1" Orientation="Vertical" > |
|
|
|
<RadioButton GroupName="bar" IsChecked="{Binding BarCodeModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:BarcodeLabelModel.标准模板}}" Content="标准" Command="{Binding BarLabelCheckCommand}" CommandParameter="{x:Static cmodel:BarcodeLabelModel.标准模板}" Margin="10,10,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Height="220" Margin="5"> |
|
|
|
<StackPanel Orientation="Vertical" > |
|
|
|
|
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="品牌:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.Brand}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="品名:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.BrandName}"/> |
|
|
@ -86,6 +81,10 @@ |
|
|
|
<Run Text="规格:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.SkuName}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="店铺:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.ShopName}"/> |
|
|
|
</TextBlock> |
|
|
|
<Image Source="/resources/images/barcode.png" Margin="10,10,10,0"/> |
|
|
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="{Binding BarCodeModel.SkuId}"/> |
|
|
@ -99,15 +98,12 @@ |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<StackPanel Grid.Column="0" Grid.Row="1" Orientation="Vertical" > |
|
|
|
<RadioButton GroupName="bar" IsChecked="{Binding BarCodeModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:BarcodeLabelModel.无型号模板}}" Content="无型号" Command="{Binding BarLabelCheckCommand}" CommandParameter="{x:Static cmodel:BarcodeLabelModel.无型号模板}" Margin="10,10,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
<!--<StackPanel Grid.Column="0" Grid.Row="0" Orientation="Vertical" > |
|
|
|
<RadioButton GroupName="bar" IsChecked="{Binding BarCodeModel.LabelModel,Converter={StaticResource enumToBooleanConverter},ConverterParameter={x:Static cmodel:BarcodeLabelModel.精简模板}}" Content="精简" Command="{Binding BarLabelCheckCommand}" CommandParameter="{x:Static cmodel:BarcodeLabelModel.精简模板}" Margin="10,10,0,0" Height="30" VerticalAlignment="Top"/> |
|
|
|
<Border BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Height="220" Margin="5"> |
|
|
|
<StackPanel Orientation="Vertical" > |
|
|
|
|
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="品牌:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.Brand}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<TextBlock Margin="10,20,10,10" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="品名:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.BrandName}"/> |
|
|
@ -117,18 +113,18 @@ |
|
|
|
<Run Text="规格:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.SkuName}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="店铺:"/> |
|
|
|
<Run Text="{Binding BarCodeModel.ShopName}"/> |
|
|
|
</TextBlock> |
|
|
|
<Image Source="/resources/images/barcode.png" Margin="10,10,10,0"/> |
|
|
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="{Binding BarCodeModel.SkuId}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</Border> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
</StackPanel>--> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|