81 lines
2.6 KiB
XML
81 lines
2.6 KiB
XML
<UserControl
|
|
x:Class="OrderSupportTicket.Views.OrderSupportTicketView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:fk="WxOrder.Framework"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:views="clr-namespace:OrderSupportTicket.Views"
|
|
d:Height="750"
|
|
d:Width="1000"
|
|
fk:DialogWindowProperty.Height="750"
|
|
fk:DialogWindowProperty.ResizeMode="CanResizeWithGrip"
|
|
fk:DialogWindowProperty.Width="1000"
|
|
fk:DialogWindowProperty.WindowStartupLocation="CenterScreen"
|
|
Background="#EEF1F4"
|
|
FontSize="14"
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary Source="OrderSupportTicketStyles.xaml" />
|
|
</UserControl.Resources>
|
|
<Grid Margin="16">
|
|
<Border
|
|
Background="White"
|
|
BorderBrush="#DDE2E8"
|
|
BorderThickness="1"
|
|
CornerRadius="6">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="300" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<views:TicketSidebarView />
|
|
<Grid Grid.Column="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<!--<Border
|
|
Margin="14,12,14,0"
|
|
Padding="10,7"
|
|
BorderThickness="1"
|
|
CornerRadius="5">
|
|
<Border.Style>
|
|
<Style TargetType="Border">
|
|
<Setter Property="Background" Value="#FFF7E8" />
|
|
<Setter Property="BorderBrush" Value="#E8C98C" />
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding NoticeText}" Value="">
|
|
<Setter Property="Visibility" Value="Collapsed" />
|
|
</DataTrigger>
|
|
<DataTrigger Binding="{Binding NoticeText}" Value="{x:Null}">
|
|
<Setter Property="Visibility" Value="Collapsed" />
|
|
</DataTrigger>
|
|
<DataTrigger Binding="{Binding IsNoticeError}" Value="True">
|
|
<Setter Property="Background" Value="#FDECEA" />
|
|
<Setter Property="BorderBrush" Value="#E8AAA4" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Border.Style>
|
|
<TextBlock
|
|
Foreground="#1F2933"
|
|
Text="{Binding NoticeText}"
|
|
TextWrapping="Wrap" />
|
|
</Border>-->
|
|
<views:TicketConversationView Grid.Row="1" />
|
|
<views:TicketComposerView Grid.Row="2" />
|
|
<ProgressBar
|
|
Grid.RowSpan="3"
|
|
Height="3"
|
|
VerticalAlignment="Top"
|
|
Foreground="#98638F"
|
|
IsIndeterminate="True"
|
|
Visibility="{Binding IsLoading, Converter={StaticResource BoolToVisibility}}" />
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</UserControl>
|