Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
G
GS.Terminal.VisitorSelfService
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
终端组
GS.Terminal.VisitorSelfService
Commits
341c9132
Commit
341c9132
authored
Jul 28, 2020
by
姜春辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
界面搭建完成
parent
e0110e0b
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
601 additions
and
2 deletions
+601
-2
Program.cs
...ice/Logic/GS.Terminal.VisitorSelfService.Logic/Program.cs
+1
-1
Locator.cs
...al.VisitorSelfService/ViewModelView/ViewModels/Locator.cs
+27
-0
ViewModel.cs
...View/ViewModels/Pages/HistoryAppointmentPage/ViewModel.cs
+21
-0
ViewModel.cs
...ewModelView/ViewModels/Pages/HistoryMenuPage/ViewModel.cs
+20
-0
ViewModel.cs
...wModelView/ViewModels/Pages/HistoryVisitPage/ViewModel.cs
+20
-0
ViewModels.csproj
...torSelfService/ViewModelView/ViewModels/ViewModels.csproj
+3
-0
Index.xaml
...iewModelView/Views/Pages/AppointmentDetailPage/Index.xaml
+3
-1
Index.xaml
...ewModelView/Views/Pages/HistoryAppointmentPage/Index.xaml
+64
-0
Index.xaml.cs
...odelView/Views/Pages/HistoryAppointmentPage/Index.xaml.cs
+63
-0
Index.xaml
...vice/ViewModelView/Views/Pages/HistoryMenuPage/Index.xaml
+69
-0
Index.xaml.cs
...e/ViewModelView/Views/Pages/HistoryMenuPage/Index.xaml.cs
+63
-0
Index.xaml
...ice/ViewModelView/Views/Pages/HistoryVisitPage/Index.xaml
+126
-0
Index.xaml.cs
.../ViewModelView/Views/Pages/HistoryVisitPage/Index.xaml.cs
+63
-0
CommonDictionary.xaml
...rvice/ViewModelView/Views/Resources/CommonDictionary.xaml
+25
-0
detail_cancel.png
...lfService/ViewModelView/Views/Resources/detail_cancel.png
+0
-0
detail_submit.png
...lfService/ViewModelView/Views/Resources/detail_submit.png
+0
-0
history_appointment.png
...ice/ViewModelView/Views/Resources/history_appointment.png
+0
-0
history_visit.png
...lfService/ViewModelView/Views/Resources/history_visit.png
+0
-0
Views.csproj
...minal.VisitorSelfService/ViewModelView/Views/Views.csproj
+33
-0
No files found.
Src/GS.Terminal.VisitorSelfService/Logic/GS.Terminal.VisitorSelfService.Logic/Program.cs
View file @
341c9132
...
...
@@ -24,7 +24,7 @@ namespace GS.Terminal.VisitorSelfService.Logic
private
void
Instance_onRuntimeCompleted
(
object
sender
)
{
ThirdAddon
.
LogicShell
.
ShowView
(
_Locator
.
Authentication
Page
);
ThirdAddon
.
LogicShell
.
ShowView
(
_Locator
.
HistoryMenu
Page
);
}
public
void
Stop
(
IAddonContext
Context
)
...
...
Src/GS.Terminal.VisitorSelfService/ViewModelView/ViewModels/Locator.cs
View file @
341c9132
...
...
@@ -21,6 +21,9 @@ namespace ViewModels
CheckRegistVM
<
Pages
.
MenuPage
.
ViewModel
>();
CheckRegistVM
<
Pages
.
AuthenticationPage
.
ViewModel
>();
CheckRegistVM
<
Pages
.
AppointmentDetailPage
.
ViewModel
>();
CheckRegistVM
<
Pages
.
HistoryVisitPage
.
ViewModel
>();
CheckRegistVM
<
Pages
.
HistoryAppointmentPage
.
ViewModel
>();
CheckRegistVM
<
Pages
.
HistoryMenuPage
.
ViewModel
>();
}
private
void
CheckRegistVM
<
T
>()
where
T
:
class
...
...
@@ -60,5 +63,29 @@ namespace ViewModels
return
SimpleIoc
.
Default
.
GetInstance
<
Pages
.
AppointmentDetailPage
.
ViewModel
>();
}
}
public
Pages
.
HistoryVisitPage
.
ViewModel
HistoryVisitPage
{
get
{
return
SimpleIoc
.
Default
.
GetInstance
<
Pages
.
HistoryVisitPage
.
ViewModel
>();
}
}
public
Pages
.
HistoryAppointmentPage
.
ViewModel
HistoryAppointmentPage
{
get
{
return
SimpleIoc
.
Default
.
GetInstance
<
Pages
.
HistoryAppointmentPage
.
ViewModel
>();
}
}
public
Pages
.
HistoryMenuPage
.
ViewModel
HistoryMenuPage
{
get
{
return
SimpleIoc
.
Default
.
GetInstance
<
Pages
.
HistoryMenuPage
.
ViewModel
>();
}
}
}
}
Src/GS.Terminal.VisitorSelfService/ViewModelView/ViewModels/Pages/HistoryAppointmentPage/ViewModel.cs
0 → 100644
View file @
341c9132
using
GalaSoft.MvvmLight
;
using
GS.Terminal.LogicShell.Interface
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
ViewModels.Pages.HistoryAppointmentPage
{
public
partial
class
ViewModel
:
ViewModelBase
,
IViewModel
{
public
string
ViewID
=>
"d686b0af-2936-4f96-b965-0e0fd54d5b43"
;
public
void
Reset
()
{
}
}
}
Src/GS.Terminal.VisitorSelfService/ViewModelView/ViewModels/Pages/HistoryMenuPage/ViewModel.cs
0 → 100644
View file @
341c9132
using
GalaSoft.MvvmLight
;
using
GS.Terminal.LogicShell.Interface
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
ViewModels.Pages.HistoryMenuPage
{
public
class
ViewModel
:
ViewModelBase
,
IViewModel
{
public
string
ViewID
=>
"55495e4c-1f57-4f9d-a4e9-cc19fdbd1e1a"
;
public
void
Reset
()
{
}
}
}
Src/GS.Terminal.VisitorSelfService/ViewModelView/ViewModels/Pages/HistoryVisitPage/ViewModel.cs
0 → 100644
View file @
341c9132
using
GalaSoft.MvvmLight
;
using
GS.Terminal.LogicShell.Interface
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
ViewModels.Pages.HistoryVisitPage
{
public
partial
class
ViewModel
:
ViewModelBase
,
IViewModel
{
public
string
ViewID
=>
"e07d718f-dd64-45e8-8fbe-5d8196d3eb59"
;
public
void
Reset
()
{
throw
new
NotImplementedException
();
}
}
}
Src/GS.Terminal.VisitorSelfService/ViewModelView/ViewModels/ViewModels.csproj
View file @
341c9132
...
...
@@ -67,6 +67,9 @@
<Compile
Include=
"Locator.cs"
/>
<Compile
Include=
"Pages\AppointmentDetailPage\ViewModel.cs"
/>
<Compile
Include=
"Pages\AuthenticationPage\ViewModel.cs"
/>
<Compile
Include=
"Pages\HistoryAppointmentPage\ViewModel.cs"
/>
<Compile
Include=
"Pages\HistoryMenuPage\ViewModel.cs"
/>
<Compile
Include=
"Pages\HistoryVisitPage\ViewModel.cs"
/>
<Compile
Include=
"Pages\MenuPage\ViewModel.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
...
...
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Pages/AppointmentDetailPage/Index.xaml
View file @
341c9132
...
...
@@ -3,6 +3,7 @@
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:gs="clr-namespace:Develop.Extension.Wpf;assembly=Develop.Extension.Wpf"
xmlns:local="clr-namespace:Views.Pages.AppointmentDetailPage"
mc:Ignorable="d"
d:DesignHeight="1695" d:DesignWidth="1080"
...
...
@@ -101,7 +102,8 @@
</Grid>
<!--按钮-->
<StackPanel Grid.Row="2">
<gs:ImageButtonFix Width="1010" Height="230" Image="/Views;component/Resources/detail_submit.png"/>
<gs:ImageButtonFix Width="1010" Height="190" Image="/Views;component/Resources/detail_cancel.png"/>
</StackPanel>
</Grid>
</Grid>
...
...
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Pages/HistoryAppointmentPage/Index.xaml
0 → 100644
View file @
341c9132
<Page x:Class="Views.Pages.HistoryAppointmentPage.Index"
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:Views.Pages.HistoryAppointmentPage"
mc:Ignorable="d"
d:DesignHeight="1695" d:DesignWidth="1080"
Title="Index">
<Page.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../../Resources/CommonDictionary.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Page.Resources>
<Border Padding="80,50,80,0">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition/>
<RowDefinition Height="200"/>
</Grid.RowDefinitions>
<Grid>
<TextBlock Text="历史预约记录查询" FontSize="36" HorizontalAlignment="Left" VerticalAlignment="Center"/>
<Button Template="{StaticResource CommonButton}" TextBlock.Foreground="#2a2b2d" HorizontalAlignment="Right" Width="160" FontSize="24" Content="返回"/>
</Grid>
<StackPanel Grid.Row="1">
<Border BorderThickness="4" BorderBrush="#7Ff38900"
Margin="0,50,0,0" Padding="36"
Background="#0CF38900"
CornerRadius="5" Height="410">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="272"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<!--照片 姓名-->
<StackPanel>
<Grid>
<Image Width="200" Height="270"/>
</Grid>
<TextBlock Text="张三" FontSize="42" Margin="0,10,0,0" HorizontalAlignment="Center"/>
</StackPanel>
<!--基本信息-->
<StackPanel Grid.Column="1">
<StackPanel.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="#2a2b2d"/>
</Style>
</StackPanel.Resources>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,26,0,0" Text="2020-7-28 10:10:09"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="一号访客机"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="这里是被访人员的姓名以及部门" TextWrapping="NoWrap" TextTrimming="CharacterEllipsis"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="1333****333"/>
<TextBlock HorizontalAlignment="Right" FontSize="40" Margin="0,26,0,0" Text="未离开" FontWeight="Black" Foreground="#f38900"/>
</StackPanel>
</Grid>
</Border>
</StackPanel>
<Button Grid.Row="2" FontSize="36" Template="{StaticResource CommonButton}" Height="90" Content="加载更多"/>
</Grid>
</Border>
</Page>
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Pages/HistoryAppointmentPage/Index.xaml.cs
0 → 100644
View file @
341c9132
using
GS.Terminal.LogicShell.Interface
;
using
GS.Unitive.Framework.Security.Core
;
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel.Composition
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Windows
;
using
System.Windows.Controls
;
using
System.Windows.Data
;
using
System.Windows.Documents
;
using
System.Windows.Input
;
using
System.Windows.Media
;
using
System.Windows.Media.Imaging
;
using
System.Windows.Navigation
;
using
System.Windows.Shapes
;
namespace
Views.Pages.HistoryAppointmentPage
{
/// <summary>
/// Index.xaml 的交互逻辑
/// </summary>
[
Export
(
typeof
(
IView
))]
[
UnitiveView
(
"历史预约单"
,
""
,
"d686b0af-2936-4f96-b965-0e0fd54d5b43"
,
null
)]
public
partial
class
Index
:
Page
,
IView
{
public
Index
()
{
InitializeComponent
();
}
public
void
BindDataContext
(
IViewModel
vm
)
{
DataContext
=
vm
;
}
public
object
Clone
()
{
throw
new
NotImplementedException
();
}
public
void
GoBack
()
{
throw
new
NotImplementedException
();
}
public
void
GoForward
()
{
throw
new
NotImplementedException
();
}
public
void
NavigateToContent
(
object
content
)
{
throw
new
NotImplementedException
();
}
public
void
Reset
()
{
throw
new
NotImplementedException
();
}
}
}
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Pages/HistoryMenuPage/Index.xaml
0 → 100644
View file @
341c9132
<Page x:Class="Views.Pages.HistoryMenuPage.Index"
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:Views.Pages.HistoryMenuPage"
xmlns:gs="clr-namespace:Develop.Extension.Wpf;assembly=Develop.Extension.Wpf"
mc:Ignorable="d"
d:DesignHeight="1695" d:DesignWidth="1080"
Title="Index">
<Page.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../../Resources/CommonDictionary.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Page.Resources>
<Grid>
<Border Padding="150,300,150,40">
<StackPanel>
<TextBlock Text="你要查什么?" FontSize="72" Foreground="#2a2b2d" HorizontalAlignment="Center"/>
<Grid Margin="0,210,0,0" Height="398">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Button>
<Button.Template>
<ControlTemplate TargetType="Button">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="320"/>
<RowDefinition/>
</Grid.RowDefinitions>
<gs:ImageButtonFix Width="320" Image="/Views;component/Resources/history_appointment.png"/>
<TextBlock Text="历史预约单" FontSize="48" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Grid>
</ControlTemplate>
</Button.Template>
</Button>
<Button Grid.Column="1">
<Button.Template>
<ControlTemplate TargetType="Button">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="320"/>
<RowDefinition/>
</Grid.RowDefinitions>
<gs:ImageButtonFix Width="320" Image="/Views;component/Resources/history_visit.png"/>
<TextBlock Text="历史到访记录" FontSize="48" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Grid>
</ControlTemplate>
</Button.Template>
</Button>
</Grid>
<TextBlock TextWrapping="Wrap" Margin="0,130,0,0">
<Run FontSize="36" FontWeight="Black" Text="历史预约单"/>
<Run FontSize="30" Text=" 包含预约成功、审批中、被拒绝的预约单"/>
</TextBlock>
<TextBlock TextWrapping="Wrap" Margin="0,20,0,0">
<Run FontSize="36" FontWeight="Black" Text="历史到访记录"/>
<Run FontSize="30" Text=" 包含所有自助或非自助登记的到访记 录,您也可以在这里重新采集您的照片"/>
</TextBlock>
<Button Template="{StaticResource CommonButton}" Margin="0,300,0,0" FontSize="24" Content="退出" Width="250" Height="60"/>
</StackPanel>
</Border>
</Grid>
</Page>
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Pages/HistoryMenuPage/Index.xaml.cs
0 → 100644
View file @
341c9132
using
GS.Terminal.LogicShell.Interface
;
using
GS.Unitive.Framework.Security.Core
;
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel.Composition
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Windows
;
using
System.Windows.Controls
;
using
System.Windows.Data
;
using
System.Windows.Documents
;
using
System.Windows.Input
;
using
System.Windows.Media
;
using
System.Windows.Media.Imaging
;
using
System.Windows.Navigation
;
using
System.Windows.Shapes
;
namespace
Views.Pages.HistoryMenuPage
{
/// <summary>
/// Index.xaml 的交互逻辑
/// </summary>
[
Export
(
typeof
(
IView
))]
[
UnitiveView
(
"历史查询菜单页面"
,
""
,
"55495e4c-1f57-4f9d-a4e9-cc19fdbd1e1a"
,
null
)]
public
partial
class
Index
:
Page
,
IView
{
public
Index
()
{
InitializeComponent
();
}
public
void
BindDataContext
(
IViewModel
vm
)
{
DataContext
=
vm
;
}
public
object
Clone
()
{
throw
new
NotImplementedException
();
}
public
void
GoBack
()
{
throw
new
NotImplementedException
();
}
public
void
GoForward
()
{
throw
new
NotImplementedException
();
}
public
void
NavigateToContent
(
object
content
)
{
throw
new
NotImplementedException
();
}
public
void
Reset
()
{
throw
new
NotImplementedException
();
}
}
}
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Pages/HistoryVisitPage/Index.xaml
0 → 100644
View file @
341c9132
<Page x:Class="Views.Pages.HistoryVisitPage.Index"
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:Views.Pages.HistoryVisitPage"
mc:Ignorable="d"
d:DesignHeight="1695" d:DesignWidth="1080"
Title="Index">
<Page.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../../Resources/CommonDictionary.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Page.Resources>
<Border Padding="80,50,80,0">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition/>
<RowDefinition Height="200"/>
</Grid.RowDefinitions>
<Grid>
<TextBlock Text="历史到访记录查询" FontSize="36" HorizontalAlignment="Left" VerticalAlignment="Center"/>
<Button Template="{StaticResource CommonButton}" TextBlock.Foreground="#2a2b2d" HorizontalAlignment="Right" Width="160" FontSize="24" Content="返回"/>
</Grid>
<StackPanel Grid.Row="1">
<Border BorderThickness="4" BorderBrush="#7Ff38900"
Margin="0,50,0,0" Padding="36"
Background="#0CF38900"
CornerRadius="5" Height="410">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="272"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<!--照片 姓名-->
<StackPanel>
<Grid>
<Image Width="200" Height="270"/>
</Grid>
<TextBlock Text="张三" FontSize="42" Margin="0,10,0,0" HorizontalAlignment="Center"/>
</StackPanel>
<!--基本信息-->
<StackPanel Grid.Column="1">
<StackPanel.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="#2a2b2d"/>
</Style>
</StackPanel.Resources>
<TextBlock HorizontalAlignment="Right" FontSize="36" Margin="0,26,0,0" Text="2020-7-28 10:10:09"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="一号访客机"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="这里是被访人员的姓名以及部门" TextWrapping="NoWrap" TextTrimming="CharacterEllipsis"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="1333****333"/>
<TextBlock HorizontalAlignment="Right" FontSize="40" Margin="0,26,0,0" Text="未离开" FontWeight="Black" Foreground="#f38900"/>
</StackPanel>
</Grid>
</Border>
<Border BorderThickness="4" BorderBrush="#7F62ba67"
Margin="0,50,0,0" Padding="36"
Background="#0C62ba67"
CornerRadius="5" Height="410">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="272"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<!--照片 姓名-->
<StackPanel>
<Grid>
<Image Width="200" Height="270"/>
</Grid>
<TextBlock Text="张三" FontSize="42" Margin="0,10,0,0" HorizontalAlignment="Center"/>
</StackPanel>
<!--基本信息-->
<StackPanel Grid.Column="1">
<StackPanel.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="#2a2b2d"/>
</Style>
</StackPanel.Resources>
<TextBlock HorizontalAlignment="Right" FontSize="36" Margin="0,26,0,0" Text="2020-7-28 10:10:09"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="一号访客机"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="这里是被访人员的姓名以及部门" TextWrapping="NoWrap" TextTrimming="CharacterEllipsis"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="1333****333"/>
<TextBlock HorizontalAlignment="Right" FontSize="40" Margin="0,26,0,0" Text="已离开" FontWeight="Black" Foreground="#62ba67"/>
</StackPanel>
</Grid>
</Border>
<Border BorderThickness="4" BorderBrush="#7Ff38900"
Margin="0,50,0,0" Padding="36"
Background="#0CF38900"
CornerRadius="5" Height="410">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="272"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<!--照片 姓名-->
<StackPanel>
<Grid>
<Image Width="200" Height="270"/>
</Grid>
<TextBlock Text="张三" FontSize="42" Margin="0,10,0,0" HorizontalAlignment="Center"/>
</StackPanel>
<!--基本信息-->
<StackPanel Grid.Column="1">
<StackPanel.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="#2a2b2d"/>
</Style>
</StackPanel.Resources>
<TextBlock HorizontalAlignment="Right" FontSize="36" Margin="0,26,0,0" Text="2020-7-28 10:10:09"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="一号访客机"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="这里是被访人员的姓名以及部门" TextWrapping="NoWrap" TextTrimming="CharacterEllipsis"/>
<TextBlock HorizontalAlignment="Right" FontSize="30" Margin="0,20,0,0" Text="1333****333"/>
<TextBlock HorizontalAlignment="Right" FontSize="40" Margin="0,26,0,0" Text="未离开" FontWeight="Black" Foreground="#f38900"/>
</StackPanel>
</Grid>
</Border>
</StackPanel>
<Button Grid.Row="2" FontSize="36" Template="{StaticResource CommonButton}" Height="90" Content="加载更多"/>
</Grid>
</Border>
</Page>
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Pages/HistoryVisitPage/Index.xaml.cs
0 → 100644
View file @
341c9132
using
GS.Terminal.LogicShell.Interface
;
using
GS.Unitive.Framework.Security.Core
;
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel.Composition
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Windows
;
using
System.Windows.Controls
;
using
System.Windows.Data
;
using
System.Windows.Documents
;
using
System.Windows.Input
;
using
System.Windows.Media
;
using
System.Windows.Media.Imaging
;
using
System.Windows.Navigation
;
using
System.Windows.Shapes
;
namespace
Views.Pages.HistoryVisitPage
{
/// <summary>
/// Index.xaml 的交互逻辑
/// </summary>
[
Export
(
typeof
(
IView
))]
[
UnitiveView
(
"历史来访记录"
,
""
,
"e07d718f-dd64-45e8-8fbe-5d8196d3eb59"
,
null
)]
public
partial
class
Index
:
Page
,
IView
{
public
Index
()
{
InitializeComponent
();
}
public
void
BindDataContext
(
IViewModel
vm
)
{
DataContext
=
vm
;
}
public
object
Clone
()
{
throw
new
NotImplementedException
();
}
public
void
GoBack
()
{
throw
new
NotImplementedException
();
}
public
void
GoForward
()
{
throw
new
NotImplementedException
();
}
public
void
NavigateToContent
(
object
content
)
{
throw
new
NotImplementedException
();
}
public
void
Reset
()
{
throw
new
NotImplementedException
();
}
}
}
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Resources/CommonDictionary.xaml
0 → 100644
View file @
341c9132
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ControlTemplate x:Key="CommonButton" TargetType="Button">
<Grid Background="Transparent">
<Border x:Name="PART_bg" BorderThickness="1" BorderBrush="#e3e3e2" CornerRadius="30">
<Border.Effect>
<DropShadowEffect Direction="90" ShadowDepth="0" BlurRadius="30" Color="#FF9B9A9A"/>
</Border.Effect>
</Border>
<TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center"
VerticalAlignment="Center" FontSize="{TemplateBinding FontSize}"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Background" TargetName="PART_bg" Value="#f0f0ef"/>
</Trigger>
<Trigger Property="IsPressed" Value="False">
<Setter Property="Background" TargetName="PART_bg" Value="#f7f6f5"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</ResourceDictionary>
\ No newline at end of file
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Resources/detail_cancel.png
0 → 100644
View file @
341c9132
54.7 KB
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Resources/detail_submit.png
0 → 100644
View file @
341c9132
75.4 KB
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Resources/history_appointment.png
0 → 100644
View file @
341c9132
39 KB
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Resources/history_visit.png
0 → 100644
View file @
341c9132
43.9 KB
Src/GS.Terminal.VisitorSelfService/ViewModelView/Views/Views.csproj
View file @
341c9132
...
...
@@ -73,6 +73,15 @@
<Compile
Include=
"Pages\AuthenticationPage\Index.xaml.cs"
>
<DependentUpon>
Index.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"Pages\HistoryAppointmentPage\Index.xaml.cs"
>
<DependentUpon>
Index.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"Pages\HistoryMenuPage\Index.xaml.cs"
>
<DependentUpon>
Index.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"Pages\HistoryVisitPage\Index.xaml.cs"
>
<DependentUpon>
Index.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"Pages\MenuPage\Index.xaml.cs"
>
<DependentUpon>
Index.xaml
</DependentUpon>
</Compile>
...
...
@@ -120,6 +129,18 @@
<SubType>
Designer
</SubType>
<Generator>
MSBuild:Compile
</Generator>
</Page>
<Page
Include=
"Pages\HistoryAppointmentPage\Index.xaml"
>
<SubType>
Designer
</SubType>
<Generator>
MSBuild:Compile
</Generator>
</Page>
<Page
Include=
"Pages\HistoryMenuPage\Index.xaml"
>
<SubType>
Designer
</SubType>
<Generator>
MSBuild:Compile
</Generator>
</Page>
<Page
Include=
"Pages\HistoryVisitPage\Index.xaml"
>
<SubType>
Designer
</SubType>
<Generator>
MSBuild:Compile
</Generator>
</Page>
<Page
Include=
"Pages\MenuPage\Index.xaml"
>
<SubType>
Designer
</SubType>
<Generator>
MSBuild:Compile
</Generator>
...
...
@@ -128,6 +149,10 @@
<SubType>
Designer
</SubType>
<Generator>
MSBuild:Compile
</Generator>
</Page>
<Page
Include=
"Resources\CommonDictionary.xaml"
>
<SubType>
Designer
</SubType>
<Generator>
MSBuild:Compile
</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Folder
Include=
"PopWindows\"
/>
...
...
@@ -144,5 +169,13 @@
<Resource
Include=
"Resources\auth_mode_idcard.png"
/>
<Resource
Include=
"Resources\auth_mode_face.png"
/>
</ItemGroup>
<ItemGroup>
<Resource
Include=
"Resources\detail_cancel.png"
/>
<Resource
Include=
"Resources\detail_submit.png"
/>
</ItemGroup>
<ItemGroup>
<Resource
Include=
"Resources\history_appointment.png"
/>
<Resource
Include=
"Resources\history_visit.png"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment