------ #### V1.0.2404.1201 - 新增支持手动运行规则。 - 规则播放时间间隔不再针对全局声效,而只针对当前规则声效。 - 修复规则中播放文件夹可能导致无法执行的BUG。 - 修复规则不勾选礼物和点赞,则无法执行的BUG。
67 lines
4.2 KiB
XML
67 lines
4.2 KiB
XML
<Border hc:ScrollViewer.IsInertiaEnabled="True"
|
|
x:Class="LiveTools.Content.LeftMainContent"
|
|
Background="{DynamicResource RegionBrush}"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
Margin="16,16,0,16"
|
|
CornerRadius="10"
|
|
Effect="{StaticResource EffectShadow4}" Loaded="Border_Loaded">
|
|
<Border.Resources>
|
|
</Border.Resources>
|
|
<DockPanel Background="#FFF0F3F8">
|
|
<Grid>
|
|
<TextBlock Name="LblNickName" Text="未登录" VerticalAlignment="Top" Margin="94,22,10,0" FontWeight="Bold"/>
|
|
<TextBlock Name="LblOutDate" Text="未知" VerticalAlignment="Top" Margin="94,42,10,0"/>
|
|
<ListView Margin="0,80" Grid.Row="2" Foreground="Black" x:Name="MenuLeft" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Background="#FFF0F3F8">
|
|
<ListView.ItemContainerStyle>
|
|
<Style TargetType="ListViewItem">
|
|
<Style.Resources>
|
|
<!--define a SolidColorBrush that you will use on the selected item-->
|
|
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}"
|
|
Color="#FFCCDFF8" />
|
|
</Style.Resources>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource {x:Static SystemColors.HighlightBrushKey}}" />
|
|
</Trigger>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Foreground" Value="#FF157BF9" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</ListView.ItemContainerStyle>
|
|
<ListView.View>
|
|
<GridView>
|
|
<GridViewColumn />
|
|
</GridView>
|
|
</ListView.View>
|
|
<ListViewItem IsSelected="True" Tag="login" Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/Pngs/Icons/home.png" Width="25" Height="25" Margin="10" VerticalAlignment="Center" />
|
|
<TextBlock Text="系统首页" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
<ListViewItem Tag="direct" Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/Pngs/Icons/直播.png" Width="25" Height="25" Margin="10" VerticalAlignment="Center" />
|
|
<TextBlock Text="直播平台管理" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
<ListViewItem Tag="rules" Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/Pngs/Icons/规则引擎.png" Width="25" Height="25" Margin="10" VerticalAlignment="Center" />
|
|
<TextBlock Text="规则管理" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
<ListViewItem Tag="setting" Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/Pngs/Icons/设置.png" Width="25" Height="25" Margin="10" VerticalAlignment="Center" />
|
|
<TextBlock Text="设置" VerticalAlignment="Center" Margin="20 10"/>
|
|
</StackPanel>
|
|
</ListViewItem>
|
|
</ListView>
|
|
<hc:Gravatar Style="{StaticResource GravatarCircle}" Source="/Pngs/Icons/头像.png" Height="72" VerticalAlignment="Top" HorizontalAlignment="Left" Width="72" Margin="6,4,0,0"/>
|
|
</Grid>
|
|
</DockPanel>
|
|
</Border> |