MarkDetailItem.xaml 7.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <UserControl x:Class="ivf_tl_Manage.UserControls.MarkDetailItem"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:ivf_tl_Manage.UserControls"
  7. mc:Ignorable="d"
  8. FontFamily="{StaticResource sourceHan}"
  9. Width="1750" Height="148">
  10. <Canvas x:Name="_container" Width="1750" Height="148" Background="Transparent">
  11. <TextBlock x:Name="tb_textNumber" Canvas.Left="30" Canvas.Top="62" Height="25" Text="1" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" />
  12. <!--<TextBlock Visibility="Visible" Width="165" x:Name="scoresSum_Label" Canvas.Left="100" Canvas.Top="260" FontSize="40" Foreground="#0B1B31"
  13. Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:MarkBox}}, Path=Level}" TextAlignment="Center"/>-->
  14. <Image x:Name="_image" Canvas.Left="88" Canvas.Top="22" Source="/Resources/Images/AlarmCheckIcon.png" Stretch="UniformToFill" Width="104" Height="104">
  15. </Image>
  16. <TextBlock x:Name="tb_score" Canvas.Left="247" HorizontalAlignment="Center" Canvas.Top="62" Height="25" Width="100" Text="" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" />
  17. <TextBlock x:Name="tb_level" Visibility="Collapsed" Canvas.Left="392" HorizontalAlignment="Center" Canvas.Top="62" Height="25" Width="300" Text="" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" />
  18. <Canvas Canvas.Left="380" Width="1250" Height="148" Background="Transparent" x:Name="_cellContainer">
  19. <StackPanel x:Name="st_operate" Width="158" Height="43" Orientation="Horizontal" Canvas.Top="12" Canvas.Left="700" Background="Transparent">
  20. <Image x:Name="img_icon" Width="30" Margin="11,-6,0,0" Height="30"></Image>
  21. <TextBlock x:Name="tb_icon_time" Margin="1,4,0,0" Foreground="#4D4D4D" FontWeight="Medium" FontSize="18"></TextBlock>
  22. </StackPanel>
  23. <Popup MinWidth="316" x:Name="_popup" AllowsTransparency="True" >
  24. <Border BorderThickness="3" Margin="5" CornerRadius="0,16,16,16" Background="#F6F6F6">
  25. <Border.Effect >
  26. <DropShadowEffect Opacity="0.2" BlurRadius="8" ShadowDepth="0" Color="Black"/>
  27. </Border.Effect>
  28. <Border.BorderBrush>
  29. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  30. <GradientStop Color="#5078AF"/>
  31. <GradientStop Color="#89B1E8" Offset="1"/>
  32. </LinearGradientBrush>
  33. </Border.BorderBrush>
  34. <StackPanel Orientation="Vertical" >
  35. <StackPanel Orientation="Horizontal">
  36. <TextBlock x:Name="tb_title" Text="囊胚期" Margin="20,15,0,0" FontSize="20" Foreground="#4D75AC" FontWeight="Medium" />
  37. <TextBlock x:Name="TextBlock_Score" Margin="4,15,0,0" FontSize="20" Foreground="#4D75AC" FontWeight="Medium" Text="(123)"/>
  38. <Border x:Name="Border_ShouDong" Margin="10 20 0 0" Background="#F9E8CB" CornerRadius="4">
  39. <TextBlock VerticalAlignment="Center" Text="{DynamicResource 0277}" Foreground="#ED6306" FontSize="14" Margin="5 -1.5 5 0" FontWeight="Medium"/>
  40. </Border>
  41. <TextBlock x:Name="markDevTime" Margin="10,15,15,0" FontSize="20" Foreground="#4D75AC" FontWeight="Medium" Text="(123456)"/>
  42. </StackPanel>
  43. <StackPanel Orientation="Vertical" x:Name="st_markData">
  44. </StackPanel>
  45. </StackPanel>
  46. </Border>
  47. </Popup>
  48. <Border Width="1225" x:Name="bd_progress" Height="38" CornerRadius="6" Canvas.Left="0" Canvas.Top="55" Background="#CFCFCF">
  49. <StackPanel x:Name="st_container" Background="Transparent" Orientation="Horizontal">
  50. <Border Width="175" Height="38" BorderThickness="0,0,2,0" BorderBrush="#C3C3C3">
  51. <TextBlock Text="24" FontWeight="Medium" FontSize="20" Foreground="#9B9B9B" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
  52. </Border>
  53. <Border Width="175" Height="38" BorderThickness="0,0,2,0" BorderBrush="#C3C3C3">
  54. <TextBlock Text="48" FontWeight="Medium" FontSize="20" Foreground="#9B9B9B" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  55. </Border>
  56. <Border Width="175" Height="38" BorderThickness="0,0,2,0" BorderBrush="#C3C3C3">
  57. <TextBlock Text="72" FontWeight="Medium" FontSize="20" Foreground="#9B9B9B" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
  58. </Border>
  59. <Border Width="175" Height="38" BorderThickness="0,0,2,0" BorderBrush="#C3C3C3">
  60. <TextBlock Text="96" FontWeight="Medium" FontSize="20" Foreground="#9B9B9B" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
  61. </Border>
  62. <Border Width="175" Height="38" BorderThickness="0,0,2,0" BorderBrush="#C3C3C3">
  63. <TextBlock Text="120" FontWeight="Medium" FontSize="20" Foreground="#9B9B9B" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
  64. </Border>
  65. <Border Width="175" Height="38" BorderThickness="0,0,2,0" BorderBrush="#C3C3C3">
  66. <TextBlock Text="144" FontWeight="Medium" FontSize="20" Foreground="#9B9B9B" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
  67. </Border>
  68. <Border Width="175" Height="38" BorderThickness="0,0,0,0" BorderBrush="#C3C3C3">
  69. <TextBlock Text="168" FontWeight="Medium" FontSize="20" Foreground="#9B9B9B" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
  70. </Border>
  71. </StackPanel>
  72. </Border>
  73. <TextBlock Width="72" TextWrapping="Wrap" Text="{DynamicResource 0168}" FontSize="18" FontWeight="Medium" Canvas.Left="1253" Canvas.Top="61" MouseLeftButtonDown="TextBlock_MouseLeftButtonDown" HorizontalAlignment="Left" VerticalAlignment="Center" >
  74. <TextBlock.Style>
  75. <Style TargetType="TextBlock">
  76. <Setter Property="Foreground" Value="#9B9B9B"></Setter>
  77. <Style.Triggers>
  78. <Trigger Property="IsMouseOver" Value="True">
  79. <Setter Property="Foreground" Value="#4D75AC"> </Setter>
  80. </Trigger>
  81. <!--<Trigger Property="IsMouseOver" Value="false">
  82. <Setter Property="Foreground" Value="#9B9B9B"></Setter>
  83. </Trigger>-->
  84. </Style.Triggers>
  85. </Style>
  86. </TextBlock.Style>
  87. </TextBlock>
  88. </Canvas>
  89. </Canvas>
  90. </UserControl>