添加项目文件。
This commit is contained in:
59
XXCpzs/Views/PageRegister.xaml
Normal file
59
XXCpzs/Views/PageRegister.xaml
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<pages:PopupPage
|
||||
xmlns:pages="clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup"
|
||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:animations="clr-namespace:Rg.Plugins.Popup.Animations;assembly=Rg.Plugins.Popup"
|
||||
mc:Ignorable="d"
|
||||
Title="{Binding Title}"
|
||||
x:Class="XXCpzs.Views.PageRegister">
|
||||
<pages:PopupPage.Animation>
|
||||
<animations:ScaleAnimation DurationIn="400"
|
||||
DurationOut="300"
|
||||
EasingIn="SinOut"
|
||||
EasingOut="SinIn"
|
||||
HasBackgroundAnimation="True"
|
||||
PositionIn="Center"
|
||||
PositionOut="Center"
|
||||
ScaleIn="1.2"
|
||||
ScaleOut="0.8" />
|
||||
</pages:PopupPage.Animation>
|
||||
<Frame CornerRadius="20" BackgroundColor="White" VerticalOptions="Center" Margin="40,10" HeightRequest="400">
|
||||
<StackLayout Orientation="Vertical">
|
||||
<StackLayout Orientation="Horizontal" BackgroundColor="Gray" VerticalOptions="Center">
|
||||
<Label Text="部门:" VerticalTextAlignment="Center" FontSize="25" HorizontalOptions="Start"/>
|
||||
<Picker x:Name="Picker_Section"
|
||||
ItemsSource="{Binding BuMenItems}"
|
||||
FontSize="20"
|
||||
ItemDisplayBinding="{Binding title}"
|
||||
Title=" 选择部门"
|
||||
HorizontalOptions="FillAndExpand"
|
||||
SelectedIndexChanged="PickerSection_SelectedIndexChanged"
|
||||
TitleColor="Red">
|
||||
</Picker>
|
||||
</StackLayout>
|
||||
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray" VerticalOptions="Center" >
|
||||
<Label Text="姓名:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
|
||||
<Editor Placeholder="真实姓名" x:Name="EditorRealname" HorizontalOptions="FillAndExpand" FontSize="20"/>
|
||||
</StackLayout>
|
||||
<StackLayout Orientation="Horizontal" BackgroundColor="Gray" VerticalOptions="Center">
|
||||
<Label Text="手机:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
|
||||
<Editor x:Name="EditorMobile" HorizontalOptions="FillAndExpand" FontSize="20"/>
|
||||
</StackLayout>
|
||||
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray" VerticalOptions="Center">
|
||||
<Label Text="密码:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
|
||||
<Editor x:Name="EditorPassword" HorizontalOptions="FillAndExpand" FontSize="20"/>
|
||||
</StackLayout>
|
||||
<StackLayout Orientation="Horizontal" BackgroundColor="Gray" VerticalOptions="Center">
|
||||
<Label Text="确认:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
|
||||
<Editor x:Name="EditorConfirmPass" HorizontalOptions="FillAndExpand" FontSize="20"/>
|
||||
</StackLayout>
|
||||
|
||||
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray" VerticalOptions="Center">
|
||||
<Button Text="提 交" HorizontalOptions="FillAndExpand" Clicked="Button_Clicked"/>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
</Frame>
|
||||
</pages:PopupPage>
|
||||
Reference in New Issue
Block a user