|
|
@ -9,19 +9,23 @@ |
|
|
|
<Grid DataContext="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:MinBarcodeControl}}}"> |
|
|
|
<DockPanel Grid.Row="1"> |
|
|
|
<Border Name="jingjian" Visibility="{Binding model.LabelModel,Converter={StaticResource objConverter},ConverterParameter=精简模板:Visible:Collapsed}" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Margin="1"> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
|
|
|
|
<TextBlock Margin="10,25,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<StackPanel Orientation="Vertical" > |
|
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="品名:"/> |
|
|
|
<Run Text="{Binding model.BrandName}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="规格:"/> |
|
|
|
<Run Text="{Binding model.SkuName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
<Run Text="{Binding model.SkuName}"/> |
|
|
|
</TextBlock> |
|
|
|
<TextBlock Margin="10,25,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="店铺:"/> |
|
|
|
<Run Text="{Binding model.ShopName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
<Run Text="{Binding model.ShopName}"/> |
|
|
|
</TextBlock> |
|
|
|
<Image Source="{Binding BarcodeImage,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="10,25,10,0"/> |
|
|
|
<Image Source="{Binding BarcodeImage,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="10,10,10,0"/> |
|
|
|
<TextBlock Text="POP" HorizontalAlignment="Center" Margin="10,0,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="{Binding model.SkuId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
<Run Text="{Binding model.SkuId}"/> |
|
|
|
</TextBlock> |
|
|
|
</StackPanel> |
|
|
|
</Border> |
|
|
@ -29,8 +33,8 @@ |
|
|
|
<StackPanel Orientation="Vertical" > |
|
|
|
|
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="品牌:"/> |
|
|
|
<Run Text="{Binding model.Brand,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
<Run Text="品名:"/> |
|
|
|
<Run Text="{Binding model.BrandName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<TextBlock Margin="10,10,10,0" FontSize="15" FontWeight="Black" > |
|
|
@ -54,8 +58,8 @@ |
|
|
|
<Border Name="wuxinghao" Visibility="{Binding model.LabelModel,Converter={StaticResource objConverter},ConverterParameter=无型号模板:Visible:Collapsed}" BorderBrush="{StaticResource Border.Brush}" BorderThickness="1" Margin="1"> |
|
|
|
<StackPanel Orientation="Vertical" > |
|
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" > |
|
|
|
<Run Text="品牌:"/> |
|
|
|
<Run Text="{Binding model.Brand}"/> |
|
|
|
<Run Text="品名:"/> |
|
|
|
<Run Text="{Binding model.BrandName}"/> |
|
|
|
</TextBlock> |
|
|
|
|
|
|
|
<TextBlock Margin="10,10,10,5" FontSize="15" FontWeight="Black" > |
|
|
|