89 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			89 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<UserControl x:Class="DM_Weight.Views.BeforeLogin"
							 | 
						||
| 
								 | 
							
								             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
							 | 
						||
| 
								 | 
							
								             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
							 | 
						||
| 
								 | 
							
								             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
							 | 
						||
| 
								 | 
							
								             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
							 | 
						||
| 
								 | 
							
								             xmlns:local="clr-namespace:DM_Weight.Views"
							 | 
						||
| 
								 | 
							
								             mc:Ignorable="d" 
							 | 
						||
| 
								 | 
							
								             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"     
							 | 
						||
| 
								 | 
							
								             TextElement.Foreground="{DynamicResource MaterialDesignBody}"
							 | 
						||
| 
								 | 
							
								             TextElement.FontWeight="Regular"
							 | 
						||
| 
								 | 
							
								             TextElement.FontSize="13"
							 | 
						||
| 
								 | 
							
								             TextOptions.TextFormattingMode="Ideal"
							 | 
						||
| 
								 | 
							
								             TextOptions.TextRenderingMode="Auto"
							 | 
						||
| 
								 | 
							
								             FontFamily="{DynamicResource MaterialDesignFont}"
							 | 
						||
| 
								 | 
							
								             d:DesignHeight="450" d:DesignWidth="800">
							 | 
						||
| 
								 | 
							
								    <UserControl.Background>
							 | 
						||
| 
								 | 
							
								        <ImageBrush ImageSource="/Images/body-bg.jpg" Stretch="Fill"/>
							 | 
						||
| 
								 | 
							
								    </UserControl.Background>
							 | 
						||
| 
								 | 
							
								    <Grid>
							 | 
						||
| 
								 | 
							
								        <Grid.RowDefinitions >
							 | 
						||
| 
								 | 
							
								            <RowDefinition Height="2*"></RowDefinition>
							 | 
						||
| 
								 | 
							
								            <RowDefinition Height="*"></RowDefinition>
							 | 
						||
| 
								 | 
							
								            <RowDefinition Height="6*"></RowDefinition>
							 | 
						||
| 
								 | 
							
								            <RowDefinition Height="3*"></RowDefinition>
							 | 
						||
| 
								 | 
							
								        </Grid.RowDefinitions>
							 | 
						||
| 
								 | 
							
								        <Grid.ColumnDefinitions>
							 | 
						||
| 
								 | 
							
								            <ColumnDefinition Width="3*"/>
							 | 
						||
| 
								 | 
							
								            <ColumnDefinition Width="4*"/>
							 | 
						||
| 
								 | 
							
								            <ColumnDefinition Width="3*"/>
							 | 
						||
| 
								 | 
							
								        </Grid.ColumnDefinitions>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <materialDesign:Card  Margin="16" Grid.Row="2" Grid.Column="1">
							 | 
						||
| 
								 | 
							
								            <Grid>
							 | 
						||
| 
								 | 
							
								                <Grid.ColumnDefinitions>
							 | 
						||
| 
								 | 
							
								                    <ColumnDefinition Width="5*"/>
							 | 
						||
| 
								 | 
							
								                    <ColumnDefinition Width="5*"/>
							 | 
						||
| 
								 | 
							
								                </Grid.ColumnDefinitions>
							 | 
						||
| 
								 | 
							
								                <Grid.RowDefinitions>
							 | 
						||
| 
								 | 
							
								                    <RowDefinition Height="4*"/>
							 | 
						||
| 
								 | 
							
								                    <RowDefinition Height="6*"/>
							 | 
						||
| 
								 | 
							
								                </Grid.RowDefinitions>
							 | 
						||
| 
								 | 
							
								                <TextBlock Grid.ColumnSpan="2"
							 | 
						||
| 
								 | 
							
								                    HorizontalAlignment="Center"
							 | 
						||
| 
								 | 
							
								                    VerticalAlignment="Center"
							 | 
						||
| 
								 | 
							
								                    FontSize="28"
							 | 
						||
| 
								 | 
							
								                    Foreground="#31ccec"
							 | 
						||
| 
								 | 
							
								                    FontWeight="Bold"
							 | 
						||
| 
								 | 
							
								                    Text="欢迎登录麻精药品管理系统">
							 | 
						||
| 
								 | 
							
								                </TextBlock>
							 | 
						||
| 
								 | 
							
								                <Grid Grid.Column="0" Grid.Row="1">
							 | 
						||
| 
								 | 
							
								                    <Grid.ColumnDefinitions>
							 | 
						||
| 
								 | 
							
								                        <ColumnDefinition/>
							 | 
						||
| 
								 | 
							
								                        <ColumnDefinition Width="Auto"/>
							 | 
						||
| 
								 | 
							
								                        <ColumnDefinition/>                        
							 | 
						||
| 
								 | 
							
								                    </Grid.ColumnDefinitions>
							 | 
						||
| 
								 | 
							
								                    <Button
							 | 
						||
| 
								 | 
							
								                                    Grid.Column="1"
							 | 
						||
| 
								 | 
							
								                                    Style="{StaticResource MaterialDesignRaisedButton}"
							 | 
						||
| 
								 | 
							
								                                    materialDesign:ButtonAssist.CornerRadius="5"
							 | 
						||
| 
								 | 
							
								                                    Command="{ Binding DutyCommand }"
							 | 
						||
| 
								 | 
							
								                                    Background="#42a5f5"
							 | 
						||
| 
								 | 
							
								                                    BorderBrush="#42a5f5" Cursor="Hand"  IsDefault="True"  Content="值班柜登录"/>
							 | 
						||
| 
								 | 
							
								                </Grid>
							 | 
						||
| 
								 | 
							
								                <Grid Grid.Column="1" Grid.Row="1">
							 | 
						||
| 
								 | 
							
								                    <Grid.ColumnDefinitions>
							 | 
						||
| 
								 | 
							
								                        <ColumnDefinition/>
							 | 
						||
| 
								 | 
							
								                        <ColumnDefinition Width="Auto"/>
							 | 
						||
| 
								 | 
							
								                        <ColumnDefinition/>                        
							 | 
						||
| 
								 | 
							
								                    </Grid.ColumnDefinitions>
							 | 
						||
| 
								 | 
							
								                    <Button
							 | 
						||
| 
								 | 
							
								                                Grid.Column="1"
							 | 
						||
| 
								 | 
							
								                                Style="{StaticResource MaterialDesignRaisedLightButton}"
							 | 
						||
| 
								 | 
							
								                                Background="#7986cb"
							 | 
						||
| 
								 | 
							
								                                BorderBrush="#7986cb"
							 | 
						||
| 
								 | 
							
								                                materialDesign:ButtonAssist.CornerRadius="5" Cursor="Hand" IsCancel="true" 
							 | 
						||
| 
								 | 
							
								                                Command="{ Binding OtherCommand }" >
							 | 
						||
| 
								 | 
							
								                        <TextBlock Foreground="{DynamicResource MaterialDesignPaper}" Text="周转柜登录" />
							 | 
						||
| 
								 | 
							
								                    </Button>
							 | 
						||
| 
								 | 
							
								                </Grid>
							 | 
						||
| 
								 | 
							
								            </Grid>
							 | 
						||
| 
								 | 
							
								        </materialDesign:Card>
							 | 
						||
| 
								 | 
							
								        <!--<StackPanel Orientation="Vertical" Grid.Row="3" Grid.Column="2">
							 | 
						||
| 
								 | 
							
								            <TextBlock Visibility="{Binding DrawerPortMsg, Converter={StaticResource BooleanToVisibilityConverter}}" Text="抽屉串口连接失败" />
							 | 
						||
| 
								 | 
							
								            <TextBlock Visibility="{Binding CanBusPortMsg, Converter={StaticResource BooleanToVisibilityConverter}}" Text="can总线串口连接失败" />
							 | 
						||
| 
								 | 
							
								            <TextBlock Visibility="{Binding FingerMsg, Converter={StaticResource BooleanToVisibilityConverter}}" Text="指纹机连接失败" />
							 | 
						||
| 
								 | 
							
								        </StackPanel>-->
							 | 
						||
| 
								 | 
							
								    </Grid>
							 | 
						||
| 
								 | 
							
								</UserControl>
							 |