2024-07-14 11:24:10 +00:00
|
|
|
<Application
|
|
|
|
x:Class="RustTools.App"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
2024-08-03 11:49:28 +00:00
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:local="using:RustTools.Views"
|
|
|
|
xmlns:zy="using:RustTools.DataList">
|
2024-07-14 11:24:10 +00:00
|
|
|
<Application.Resources>
|
|
|
|
<ResourceDictionary>
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
|
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
|
|
|
|
<ResourceDictionary Source="/Styles/FontSizes.xaml" />
|
|
|
|
<ResourceDictionary Source="/Styles/Thickness.xaml" />
|
|
|
|
<ResourceDictionary Source="/Styles/TextBlock.xaml" />
|
2024-08-03 11:49:28 +00:00
|
|
|
<ResourceDictionary Source="/Styles/ItemView.xaml" />
|
2024-07-14 11:24:10 +00:00
|
|
|
</ResourceDictionary.MergedDictionaries>
|
2024-08-03 11:49:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- 用于动态界面的关注用户视图 -->
|
|
|
|
|
|
|
|
<DataTemplate x:Key="ConCernItem">
|
|
|
|
<ItemContainer Width="260" Margin="0,0,0,9">
|
|
|
|
<StackPanel Padding="5" Orientation="Horizontal">
|
|
|
|
<Image
|
|
|
|
Width="56"
|
|
|
|
Height="56"
|
|
|
|
Source="{Binding HeadIcon}"
|
|
|
|
Stretch="UniformToFill" />
|
|
|
|
<TextBlock
|
|
|
|
Margin="3,0,0,0"
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Style="{ThemeResource SubtitleTextBlockStyle}"
|
|
|
|
Text="{Binding UserName}" />
|
|
|
|
</StackPanel>
|
|
|
|
</ItemContainer>
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
|
2024-07-14 11:24:10 +00:00
|
|
|
</ResourceDictionary>
|
|
|
|
</Application.Resources>
|
|
|
|
</Application>
|