testNew.xaml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <UserControl x:Class="ivf_tl_Manage.Views.testNew"
  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.Views"
  7. mc:Ignorable="d"
  8. xmlns:usercontrols="clr-namespace:ivf_tl_Manage.UserControls"
  9. FontFamily="{StaticResource sourceHan}"
  10. Width="1830" Height="1015" Opacity="25">
  11. <UserControl.Background>
  12. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_BigbgImg.png" ></ImageBrush>
  13. </UserControl.Background>
  14. <Canvas>
  15. <StackPanel Canvas.Left="40" Canvas.Top="36" Background="Transparent" Orientation="Horizontal">
  16. <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="0,0,0,0" Foreground="#9B9B9B" Content="设备管理" FontWeight="Bold" ></Button>
  17. <TextBlock FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
  18. <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Content="患者管理" FontWeight="Bold" ></Button>
  19. <TextBlock FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
  20. <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="2,0,0,0" Foreground="#9B9B9B" Content="详情" FontWeight="Bold" ></Button>
  21. <TextBlock FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
  22. <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Foreground="Black" Content="标记详情" FontWeight="Bold" ></Button>
  23. </StackPanel>
  24. <StackPanel Canvas.Left="40" Canvas.Top="83" Width="1790" Height="106" Orientation="Horizontal">
  25. <StackPanel.Background>
  26. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markDetail_backgroud.png"></ImageBrush>
  27. </StackPanel.Background>
  28. <TextBlock Margin="40,35,0,0" Foreground="#707070" Text="女方姓名:" FontSize="22" FontWeight="Medium"></TextBlock>
  29. <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Text="{Binding Dish.wife}" FontSize="22" FontWeight="Medium"></TextBlock>
  30. <TextBlock Margin="40,35,0,0" Foreground="#707070" Text="男方姓名:" FontSize="22" FontWeight="Medium"></TextBlock>
  31. <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Text="{Binding Dish.husband}" FontSize="22" FontWeight="Medium"></TextBlock>
  32. <TextBlock Margin="40,35,0,0" Foreground="#707070" Text="受精时间:" FontSize="22" FontWeight="Medium"></TextBlock>
  33. <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Text="{Binding Dish.startTime}" FontSize="22" FontWeight="Medium"></TextBlock>
  34. <TextBlock Margin="40,35,0,0" Foreground="#707070" Text="受精方式:" FontSize="22" FontWeight="Medium"></TextBlock>
  35. <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Width="720" Text="{Binding Dish.fertilizationType}" FontSize="22" FontWeight="Medium"></TextBlock>
  36. <Rectangle Width="2" Height="30" Fill="#C1C1C1" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,40,0,0" ></Rectangle>
  37. <Image Width="32" Height="32" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_card.png" Margin="7,1,0,0" ></Image>
  38. <TextBlock Text="导出详情" FontSize="18" Foreground="#9B9B9B" FontWeight="Medium" Margin="7,40,0,0"></TextBlock>
  39. </StackPanel>
  40. <Grid Width="1790" Height="846" Margin="0,10,0,0" Canvas.Left="40" Canvas.Top="169" >
  41. <Grid.Background>
  42. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_bgImg.png" ></ImageBrush>
  43. </Grid.Background>
  44. <Grid.RowDefinitions>
  45. <RowDefinition Height="86"></RowDefinition>
  46. <RowDefinition Height="*"></RowDefinition>
  47. </Grid.RowDefinitions>
  48. <StackPanel Background="Transparent" Orientation="Horizontal" Grid.Row="0" Margin=" 0 ,12, 0, 0">
  49. <usercontrols:OrderControl x:Name="order_one" Margin="40,0,0,0" MouseLeftButtonDown="order_one_MouseLeftButtonDown" Text="编号" ></usercontrols:OrderControl>
  50. <usercontrols:OrderControl x:Name="order_two" Margin="40,0,0,0" MouseLeftButtonDown="order_two_MouseLeftButtonDown" Text="卵裂胚评分" ></usercontrols:OrderControl>
  51. <usercontrols:OrderControl x:Name="order_three" Margin="40,0,0,0" MouseLeftButtonDown="order_three_MouseLeftButtonDown" Text="囊胚评级"></usercontrols:OrderControl>
  52. </StackPanel>
  53. <ScrollViewer x:Name="_scrollview" Margin="13,0,0,0" Width="1762" Grid.Row="1" Background="Transparent" BorderThickness="0" PreviewMouseWheel="ScrollViewer_PreviewMouseWheel">
  54. <ListView ItemsSource="{Binding Embryos}" AlternationCount="2" BorderThickness="0" >
  55. <ListView.ItemContainerStyle>
  56. <Style TargetType="{x:Type ListViewItem}">
  57. <Setter Property="HorizontalAlignment" Value="Center"/>
  58. <Setter Property="HorizontalContentAlignment" Value="Center"/>
  59. <EventSetter Event="MouseUp" Handler="ListViewItem_MouseUp"/>
  60. <Setter Property="Template">
  61. <Setter.Value >
  62. <ControlTemplate TargetType="{x:Type ListViewItem}">
  63. <Grid Background="Transparent" >
  64. <!--<TextBlock x:Name="_markBox" FontSize="40" Text="{Binding Number}"/>-->
  65. <usercontrols:MarkDetailItem x:Name="_markDetailItem" EmbryoData="{Binding}" FaYuTime="{Binding startTime}" State="{Binding state}" Background="#ECEEF2" Level="{Binding level}" Number="{Binding wellSn}" Score="{Binding score}" ImageSource="{Binding pictureUrl}" StateTime="{Binding stateTime}" />
  66. </Grid>
  67. <ControlTemplate.Triggers>
  68. <Trigger Property="ItemsControl.AlternationIndex" Value="1">
  69. <Setter Property="Background" Value="#F6F6F6" TargetName="_markDetailItem"/>
  70. </Trigger>
  71. <Trigger Property="IsSelected" Value="True">
  72. <!--<Setter Property="Text" Value="#4D75AC" TargetName="_markDetailItem"/>-->
  73. </Trigger>
  74. </ControlTemplate.Triggers>
  75. </ControlTemplate>
  76. </Setter.Value>
  77. </Setter>
  78. </Style>
  79. </ListView.ItemContainerStyle>
  80. </ListView>
  81. </ScrollViewer>
  82. </Grid>
  83. </Canvas>
  84. </UserControl>