提交记录修改UI/Controls/Charts/Charts.cs+4 −1看文件
修改UI/Controls/Charts/ChartsItemTypeRadar.cs+5 −4看文件
修改UI/Resources/Themes/Dark.xaml+14 −12看文件
修改UI/Resources/Themes/Light.xaml+2 −0看文件
修改UI/Servicers/ThemeServicer.cs+4 −0看文件
新增UI/StateData.cs+13 −0看文件
修改UI/Themes/SettingPanel/SettingPanel.xaml+1 −1看文件
修改UI/UI.csproj+1 −0看文件
修改UI/Views/ChartPage.xaml+6 −6看文件
修改UI/Views/DetailPage.xaml+7 −7看文件
修改UI/Views/SettingPage.xaml+3 −3看文件
| @@ -724,7 +724,10 @@ namespace UI.Controls.Charts | ||
| 724 | 724 | |
| 725 | 725 | isRendering = false; |
| 726 | 726 | var searchBox = GetTemplateChild("ASearchBox") as InputBox; |
| 727 | 删除: searchBox.TextChanged += SearchBox_TextChanged; | |
| 727 | 新增: if(searchBox != null) | |
| 728 | 新增: { | |
| 729 | 新增: searchBox.TextChanged += SearchBox_TextChanged; | |
| 730 | 新增: } | |
| 728 | 731 | |
| 729 | 732 | _listView.MouseLeftButtonUp += _listView_MouseLeftButtonUp; |
| 730 | 733 | _listView.MouseRightButtonUp += _listView_MouseRightButtonUp; |
| @@ -276,8 +276,9 @@ namespace UI.Controls.Charts | ||
| 276 | 276 | var dataPoint = new Ellipse(); |
| 277 | 277 | dataPoint.Width = 5; |
| 278 | 278 | dataPoint.Height = 5; |
| 279 | 删除: dataPoint.Fill = UI.Base.Color.Colors.GetFromString("#2b20d9"); | |
| 280 | 删除: dataPoint.Stroke = UI.Base.Color.Colors.GetFromString("#2b20d9"); | |
| 279 | 新增: | |
| 280 | 新增: dataPoint.Fill = UI.Base.Color.Colors.GetFromString(StateData.ThemeColor); | |
| 281 | 新增: dataPoint.Stroke = UI.Base.Color.Colors.GetFromString(StateData.ThemeColor); | |
| 281 | 282 | dataPoint.StrokeThickness = 1; |
| 282 | 283 | Canvas.SetLeft(dataPoint, x - dataPoint.Width / 2); |
| 283 | 284 | Canvas.SetTop(dataPoint, y - dataPoint.Width / 2); |
| @@ -285,8 +286,8 @@ namespace UI.Controls.Charts | ||
| 285 | 286 | } |
| 286 | 287 | |
| 287 | 288 | var p = new Polygon(); |
| 288 | 删除: p.Stroke = UI.Base.Color.Colors.GetFromString("#2b20d9"); | |
| 289 | 删除: p.Fill = UI.Base.Color.Colors.GetFromString("#2b20d9", .3); | |
| 289 | 新增: p.Stroke = UI.Base.Color.Colors.GetFromString(StateData.ThemeColor); | |
| 290 | 新增: p.Fill = UI.Base.Color.Colors.GetFromString(StateData.ThemeColor, .3); | |
| 290 | 291 | p.StrokeThickness = 1; |
| 291 | 292 | p.HorizontalAlignment = HorizontalAlignment.Left; |
| 292 | 293 | p.VerticalAlignment = VerticalAlignment.Center; |
| @@ -8,7 +8,7 @@ | ||
| 8 | 8 | <Color x:Key="ThemeColor">#FF8780F7</Color> |
| 9 | 9 | |
| 10 | 10 | <!--鼠标经过背景颜色--> |
| 11 | 删除: <Color x:Key="HoverBackgroundColor">#CC383838</Color> | |
| 11 | 新增: <Color x:Key="HoverBackgroundColor">#4d4d4d</Color> | |
| 12 | 12 | |
| 13 | 13 | <!--【通用笔刷】--> |
| 14 | 14 | <!--主题颜色笔刷--> |
| @@ -16,8 +16,8 @@ | ||
| 16 | 16 | <!---鼠标经过背景颜色--> |
| 17 | 17 | <SolidColorBrush x:Key="HoverBackgroundBrush" Color="{StaticResource HoverBackgroundColor}" /> |
| 18 | 18 | <!--标准背景颜色--> |
| 19 | 删除: <SolidColorBrush x:Key="StandardBackgroundBrush" Color="#7F777777" /> | |
| 20 | 删除: <SolidColorBrush x:Key="StandardBackgroundBrush2" Color="#646464" /> | |
| 19 | 新增: <SolidColorBrush x:Key="StandardBackgroundBrush" Color="#3e3e3e" /> | |
| 20 | 新增: <SolidColorBrush x:Key="StandardBackgroundBrush2" Color="#3e3e3e" /> | |
| 21 | 21 | |
| 22 | 22 | <!--【窗口】--> |
| 23 | 23 | <SolidColorBrush x:Key="StandardTextBrush" Color="#ffffff" /> |
| @@ -41,7 +41,9 @@ | ||
| 41 | 41 | <SolidColorBrush x:Key="NavUnselectedTextBrush" Color="{StaticResource NavUnselectedTextColor}" /> |
| 42 | 42 | |
| 43 | 43 | <!--设置面板--> |
| 44 | 删除: <Color x:Key="SettingPanelBorderColor">#525050</Color> | |
| 44 | 新增: <Color x:Key="SettingPanelBgColor">#323232</Color> | |
| 45 | 新增: <SolidColorBrush x:Key="SettingPanelBgBrush" Color="{StaticResource SettingPanelBgColor}" /> | |
| 46 | 新增: <Color x:Key="SettingPanelBorderColor">#232323</Color> | |
| 45 | 47 | <SolidColorBrush x:Key="SettingPanelBorderBrush" Color="{StaticResource SettingPanelBorderColor}" /> |
| 46 | 48 | <Color x:Key="SettingPanelSpliteLineColor">#706f6f</Color> |
| 47 | 49 | <SolidColorBrush x:Key="SettingPanelSpliteLineBrush" Color="{StaticResource SettingPanelSpliteLineColor}" /> |
| @@ -55,12 +57,12 @@ | ||
| 55 | 57 | <SolidColorBrush x:Key="DefaultTextBrush" Color="{StaticResource DefaultTextColor}" /> |
| 56 | 58 | |
| 57 | 59 | <!--列表--> |
| 58 | 删除: <Color x:Key="ListItemIconBgColor">#7F777777</Color> | |
| 60 | 新增: <Color x:Key="ListItemIconBgColor">#3e3e3e</Color> | |
| 59 | 61 | <SolidColorBrush x:Key="ListItemIconBgBrush" Color="{StaticResource ListItemIconBgColor}" /> |
| 60 | 62 | |
| 61 | 删除: <Color x:Key="BaseListItemBgColor">#6e6e6e</Color> | |
| 63 | 新增: <Color x:Key="BaseListItemBgColor">#3e3e3e</Color> | |
| 62 | 64 | <SolidColorBrush x:Key="BaseListItemBgBrush" Color="{StaticResource BaseListItemBgColor}" /> |
| 63 | 删除: <Color x:Key="BaseListItemHoverBgColor">#3d3d3d</Color> | |
| 65 | 新增: <Color x:Key="BaseListItemHoverBgColor">#4d4d4d</Color> | |
| 64 | 66 | |
| 65 | 67 | <!--日期选择控件--> |
| 66 | 68 | <Color x:Key="DatePickerItemBgColor">#5A5A5A</Color> |
| @@ -73,7 +75,7 @@ | ||
| 73 | 75 | <!--弹出层边框--> |
| 74 | 76 | <Color x:Key="PopupBorderColor">#3c3b3b</Color> |
| 75 | 77 | <SolidColorBrush x:Key="PopupBorderBrush" Color="{StaticResource PopupBorderColor}" /> |
| 76 | 删除: <Color x:Key="PopupBackgroundColor">#646464</Color> | |
| 78 | 新增: <Color x:Key="PopupBackgroundColor">#2B2B2B</Color> | |
| 77 | 79 | <SolidColorBrush x:Key="PopupBackgroundBrush" Color="{StaticResource PopupBackgroundColor}" /> |
| 78 | 80 | |
| 79 | 81 | <!--标题栏按钮--> |
| @@ -97,16 +99,16 @@ | ||
| 97 | 99 | <SolidColorBrush x:Key="CategoryAppNumBgBrush" Color="{StaticResource CategoryAppNumBgColor}" /> |
| 98 | 100 | |
| 99 | 101 | <!--输入框--> |
| 100 | 删除: <Color x:Key="InputBoxBgColor">#646464</Color> | |
| 102 | 新增: <Color x:Key="InputBoxBgColor">#3e3e3e</Color> | |
| 101 | 103 | <SolidColorBrush x:Key="InputBoxBgBrush" Color="{StaticResource InputBoxBgColor}" /> |
| 102 | 删除: <Color x:Key="InputBoxHoverColor">#383838</Color> | |
| 104 | 新增: <Color x:Key="InputBoxHoverColor">#4d4d4d</Color> | |
| 103 | 105 | <SolidColorBrush x:Key="InputBoxHoverBrush" Color="{StaticResource InputBoxHoverColor}" /> |
| 104 | 106 | <Color x:Key="InputBoxFocusedBgColor">#4F4E4E</Color> |
| 105 | 107 | <SolidColorBrush x:Key="InputBoxFocusedBgBrush" Color="{StaticResource InputBoxFocusedBgColor}" /> |
| 106 | 108 | |
| 107 | 109 | <!--expander--> |
| 108 | 删除: <Color x:Key="ExpanderBgColor">#4F4F4F</Color> | |
| 110 | 新增: <Color x:Key="ExpanderBgColor">#323232</Color> | |
| 109 | 111 | <SolidColorBrush x:Key="ExpanderBgBrush" Color="{StaticResource ExpanderBgColor}" /> |
| 110 | 删除: <Color x:Key="ExpanderContentBgColor">#7e7e7e</Color> | |
| 112 | 新增: <Color x:Key="ExpanderContentBgColor">#2e2e2e</Color> | |
| 111 | 113 | <SolidColorBrush x:Key="ExpanderContentBgBrush" Color="{StaticResource ExpanderContentBgColor}" /> |
| 112 | 114 | </ResourceDictionary> |
| 文件末尾没有换行 | ||
| @@ -39,6 +39,8 @@ | ||
| 39 | 39 | <SolidColorBrush x:Key="NavUnselectedTextBrush" Color="{StaticResource NavUnselectedTextColor}" /> |
| 40 | 40 | |
| 41 | 41 | <!--设置面板--> |
| 42 | 新增: <Color x:Key="SettingPanelBgColor">#ffffff</Color> | |
| 43 | 新增: <SolidColorBrush x:Key="SettingPanelBgBrush" Color="{StaticResource SettingPanelBgColor}" /> | |
| 42 | 44 | <Color x:Key="SettingPanelBorderColor">#ededed</Color> |
| 43 | 45 | <SolidColorBrush x:Key="SettingPanelBorderBrush" Color="{StaticResource SettingPanelBorderColor}" /> |
| 44 | 46 | <Color x:Key="SettingPanelSpliteLineColor">#ededed</Color> |
| @@ -127,11 +127,15 @@ namespace UI.Servicers | ||
| 127 | 127 | /// </summary> |
| 128 | 128 | private void UpdateThemeColor() |
| 129 | 129 | { |
| 130 | 新增: | |
| 130 | 131 | var config = appConfig.GetConfig(); |
| 131 | 132 | if (string.IsNullOrEmpty(config.General.ThemeColor)) |
| 132 | 133 | { |
| 134 | 新增: StateData.ThemeColor = ((System.Windows.Media.Color)Application.Current.Resources["ThemeColor"]).ToString(); | |
| 133 | 135 | return; |
| 134 | 136 | } |
| 137 | 新增: | |
| 138 | 新增: StateData.ThemeColor = config.General.ThemeColor; | |
| 135 | 139 | Application.Current.Resources["ThemeColor"] = (System.Windows.Media.Color)System.Windows.Media.ColorConverter.ConvertFromString(config.General.ThemeColor); |
| 136 | 140 | Application.Current.Resources["ThemeBrush"] = UI.Base.Color.Colors.GetFromString(config.General.ThemeColor); |
| 137 | 141 | } |
| @@ -0,0 +1,13 @@ | ||
| 1 | 新增:using System; | |
| 2 | 新增:using System.Collections.Generic; | |
| 3 | 新增:using System.Linq; | |
| 4 | 新增:using System.Text; | |
| 5 | 新增:using System.Threading.Tasks; | |
| 6 | 新增: | |
| 7 | 新增:namespace UI | |
| 8 | 新增:{ | |
| 9 | 新增: internal static class StateData | |
| 10 | 新增: { | |
| 11 | 新增: internal static string ThemeColor { get; set; } | |
| 12 | 新增: } | |
| 13 | 新增:} | |
| @@ -6,7 +6,7 @@ | ||
| 6 | 6 | <Setter Property="SnapsToDevicePixels" |
| 7 | 7 | Value="true" /> |
| 8 | 8 | |
| 9 | 删除: <Setter Property="Background" Value="{DynamicResource StandardBackgroundBrush}"/> | |
| 9 | 新增: <Setter Property="Background" Value="{DynamicResource SettingPanelBgBrush}"/> | |
| 10 | 10 | <Setter Property="BorderBrush" Value="{DynamicResource SettingPanelBorderBrush}"/> |
| 11 | 11 | <Setter Property="SpliteLineBrush" Value="{DynamicResource SettingPanelSpliteLineBrush}"/> |
| 12 | 12 | <Setter Property="Template"> |
| @@ -203,6 +203,7 @@ | ||
| 203 | 203 | <Compile Include="Servicers\IThemeServicer.cs" /> |
| 204 | 204 | <Compile Include="Servicers\MainServicer.cs" /> |
| 205 | 205 | <Compile Include="Servicers\ThemeServicer.cs" /> |
| 206 | 新增: <Compile Include="StateData.cs" /> | |
| 206 | 207 | <Compile Include="ViewModels\CategoryAppListPageVM.cs" /> |
| 207 | 208 | <Compile Include="ViewModels\CategoryPageVM.cs" /> |
| 208 | 209 | <Compile Include="ViewModels\ChartPageVM.cs" /> |
| @@ -48,7 +48,7 @@ | ||
| 48 | 48 | <ColumnDefinition Width="*"/> |
| 49 | 49 | <ColumnDefinition Width="*"/> |
| 50 | 50 | </Grid.ColumnDefinitions> |
| 51 | 删除: <Border Margin="0,5,0,0" Background="{DynamicResource StandardBackgroundBrush}" Padding="10" CornerRadius="10"> | |
| 51 | 新增: <Border Margin="0,5,0,0" Background="{DynamicResource SettingPanelBgBrush}" Padding="10" CornerRadius="10"> | |
| 52 | 52 | <Grid> |
| 53 | 53 | <Grid.ColumnDefinitions> |
| 54 | 54 | <ColumnDefinition Width="auto"/> |
| @@ -77,7 +77,7 @@ | ||
| 77 | 77 | </Grid> |
| 78 | 78 | </Grid> |
| 79 | 79 | </Border> |
| 80 | 删除: <Border Grid.Column="1" Margin="20,5,0,0" Background="{DynamicResource StandardBackgroundBrush}" Padding="10" CornerRadius="10"> | |
| 80 | 新增: <Border Grid.Column="1" Margin="20,5,0,0" Background="{DynamicResource SettingPanelBgBrush}" Padding="10" CornerRadius="10"> | |
| 81 | 81 | <Grid> |
| 82 | 82 | <Grid.ColumnDefinitions> |
| 83 | 83 | <ColumnDefinition Width="auto"/> |
| @@ -107,7 +107,7 @@ | ||
| 107 | 107 | </Grid> |
| 108 | 108 | </Grid> |
| 109 | 109 | </Border> |
| 110 | 删除: <Border Grid.Column="2" Margin="20,5,0,0" Background="{DynamicResource StandardBackgroundBrush}" Padding="10" CornerRadius="10"> | |
| 110 | 新增: <Border Grid.Column="2" Margin="20,5,0,0" Background="{DynamicResource SettingPanelBgBrush}" Padding="10" CornerRadius="10"> | |
| 111 | 111 | <Grid> |
| 112 | 112 | <Grid.ColumnDefinitions> |
| 113 | 113 | <ColumnDefinition Width="auto"/> |
| @@ -148,7 +148,7 @@ | ||
| 148 | 148 | </Grid.RowDefinitions> |
| 149 | 149 | <!--<TextBlock Text="时段" Foreground="#5c5c5c" FontSize="15" Margin="0,20,0,5"/>--> |
| 150 | 150 | |
| 151 | 删除: <Border Grid.Row="1" Margin="0,20,0,0" Width="680" HorizontalAlignment="Left" Background="{DynamicResource StandardBackgroundBrush}" Padding="20" CornerRadius="10"> | |
| 151 | 新增: <Border Grid.Row="1" Margin="0,20,0,0" Width="680" HorizontalAlignment="Left" Background="{DynamicResource SettingPanelBgBrush}" Padding="20" CornerRadius="10"> | |
| 152 | 152 | <StackPanel > |
| 153 | 153 | <select:Select Height="30" IsShowIcon="False" SelectedItem="{Binding ChartDataMode,Mode=TwoWay}" Options="{Binding ChartDataModeOptions}"/> |
| 154 | 154 | <charts:Charts Height="310" ColumnSelectedIndex="{Binding ColumnSelectedIndex,Mode=TwoWay}" IsShowTotal="False" DataMaximum="{Binding DataMaximum}" NameIndexStart="{Binding NameIndexStart}" ChartsType="Column" Data="{Binding Data}" IsCanColumnSelect="{Binding IsCanColumnSelect}"/> |
| @@ -186,7 +186,7 @@ | ||
| 186 | 186 | </Grid.RowDefinitions> |
| 187 | 187 | |
| 188 | 188 | <TextBlock Text="分类" Foreground="#5c5c5c" FontSize="15" Margin="0,20,0,5"/> |
| 189 | 删除: <Border Margin="0,5,0,0" Grid.Row="1" Background="{DynamicResource StandardBackgroundBrush}" Padding="20" CornerRadius="10"> | |
| 189 | 新增: <Border Margin="0,5,0,0" Grid.Row="1" Background="{DynamicResource SettingPanelBgBrush}" Padding="20" CornerRadius="10"> | |
| 190 | 190 | <charts:Charts Margin="10,20,10,10" Height="230" Width="230" ChartsType="Radar" Data="{Binding RadarData}"/> |
| 191 | 191 | |
| 192 | 192 | </Border> |
| @@ -200,7 +200,7 @@ | ||
| 200 | 200 | </Grid.RowDefinitions> |
| 201 | 201 | |
| 202 | 202 | <TextBlock Text="最为频繁" Foreground="#5c5c5c" FontSize="15" Margin="0,20,0,5"/> |
| 203 | 删除: <Border Grid.Row="1" Margin="0,5,0,0" Background="{DynamicResource StandardBackgroundBrush}" Padding="20" CornerRadius="10"> | |
| 203 | 新增: <Border Grid.Row="1" Margin="0,5,0,0" Background="{DynamicResource SettingPanelBgBrush}" Padding="20" CornerRadius="10"> | |
| 204 | 204 | <charts:Charts ItemMenu="{Binding AppContextMenu}" Data="{Binding TopData}" ChartsType="HorizontalA" ClickCommand="{Binding ToDetailCommand}" IsCanScroll="False"/> |
| 205 | 205 | </Border> |
| 206 | 206 | </Grid> |
| @@ -19,7 +19,7 @@ | ||
| 19 | 19 | <TextBlock Text="查看" FontSize="18" Margin="0,0,0,20"/> |
| 20 | 20 | |
| 21 | 21 | <Border |
| 22 | 删除: Background="{DynamicResource StandardBackgroundBrush}" | |
| 22 | 新增: Background="{DynamicResource SettingPanelBgBrush}" | |
| 23 | 23 | CornerRadius="12" |
| 24 | 24 | Padding="0,20"> |
| 25 | 25 | <Border.ContextMenu> |
| @@ -132,7 +132,7 @@ | ||
| 132 | 132 | <StackPanel Margin="10,0,0,0"> |
| 133 | 133 | <TextBlock Text="时段" Foreground="#5c5c5c" FontSize="14" Margin="0,20,0,0"/> |
| 134 | 134 | <Tabbar:Tabbar Data="{Binding TabbarData}" SelectedIndex="{Binding TabbarSelectedIndex,Mode=TwoWay}" Width="180" HorizontalAlignment="Left"/> |
| 135 | 删除: <Border Margin="0,15,0,0" Width="680" HorizontalAlignment="Left" Background="{DynamicResource StandardBackgroundBrush}" Padding="20,10" CornerRadius="10"> | |
| 135 | 新增: <Border Margin="0,15,0,0" Width="680" HorizontalAlignment="Left" Background="{DynamicResource SettingPanelBgBrush}" Padding="20,10" CornerRadius="10"> | |
| 136 | 136 | <StackPanel> |
| 137 | 137 | |
| 138 | 138 | |
| @@ -171,7 +171,7 @@ | ||
| 171 | 171 | <TextBlock Text="每月" Foreground="#5c5c5c" FontSize="14" Margin="0,20,0,0"/> |
| 172 | 172 | |
| 173 | 173 | <Border |
| 174 | 删除: Background="{DynamicResource StandardBackgroundBrush}" | |
| 174 | 新增: Background="{DynamicResource SettingPanelBgBrush}" | |
| 175 | 175 | CornerRadius="12" |
| 176 | 176 | Padding="20,20" |
| 177 | 177 | Margin="0,10,0,0"> |
| @@ -192,7 +192,7 @@ | ||
| 192 | 192 | <StackPanel Grid.Column="1" > |
| 193 | 193 | <Border Padding="15" CornerRadius="10" BorderThickness="0"> |
| 194 | 194 | <Border.Background> |
| 195 | 删除: <SolidColorBrush Color="{DynamicResource ThemeColor}" Opacity=".02"/> | |
| 195 | 新增: <SolidColorBrush Color="{DynamicResource ThemeColor}" Opacity=".08"/> | |
| 196 | 196 | </Border.Background> |
| 197 | 197 | <Border.BorderBrush> |
| 198 | 198 | <SolidColorBrush Color="{DynamicResource ThemeColor}" Opacity=".5"/> |
| @@ -208,12 +208,12 @@ | ||
| 208 | 208 | <TextBlock Grid.Row="1" Margin="0,5,0,0" FontSize="14"><Run Text="{Binding LongDay}"/> |
| 209 | 209 | </TextBlock> |
| 210 | 210 | </Grid> |
| 211 | 删除: <base:Icon IconType="DateTimeMirrored" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontSize="30" Foreground="{DynamicResource ThemeBrush}" Opacity=".1"/> | |
| 211 | 新增: <base:Icon IconType="DateTimeMirrored" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontSize="30" Foreground="{DynamicResource ThemeBrush}" Opacity=".5"/> | |
| 212 | 212 | </Grid> |
| 213 | 213 | </Border> |
| 214 | 214 | <Border Margin="0,10,0,0" Padding="15" CornerRadius="10" BorderThickness="0"> |
| 215 | 215 | <Border.Background> |
| 216 | 删除: <SolidColorBrush Color="{DynamicResource ThemeColor}" Opacity=".02"/> | |
| 216 | 新增: <SolidColorBrush Color="{DynamicResource ThemeColor}" Opacity=".08"/> | |
| 217 | 217 | </Border.Background> |
| 218 | 218 | <Border.BorderBrush> |
| 219 | 219 | <SolidColorBrush Color="{DynamicResource ThemeColor}" Opacity=".5"/> |
| @@ -229,7 +229,7 @@ | ||
| 229 | 229 | <TextBlock Foreground="{DynamicResource DefaultTextBrush}" Grid.Row="1" Margin="0,10,0,0" FontSize="24"><Run Text="{Binding Ratio}"/> |
| 230 | 230 | </TextBlock> |
| 231 | 231 | </Grid> |
| 232 | 删除: <base:Icon IconType="ReportDocument" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontSize="30" Foreground="{DynamicResource ThemeBrush}" Opacity=".1"/> | |
| 232 | 新增: <base:Icon IconType="ReportDocument" HorizontalAlignment="Right" VerticalAlignment="Bottom" FontSize="30" Foreground="{DynamicResource ThemeBrush}" Opacity=".5"/> | |
| 233 | 233 | </Grid> |
| 234 | 234 | </Border> |
| 235 | 235 | |
| @@ -48,7 +48,7 @@ | ||
| 48 | 48 | |
| 49 | 49 | <StackPanel Margin="0,10,0,0"> |
| 50 | 50 | <TextBlock Text="删除数据" Foreground="#f54f4e" FontSize="14"/> |
| 51 | 删除: <Border Background="{DynamicResource StandardBackgroundBrush}" Padding="20" CornerRadius="6" Margin="0,10,0,0" BorderBrush="{DynamicResource CardBorder}" BorderThickness="1"> | |
| 51 | 新增: <Border Background="{DynamicResource SettingPanelBgBrush}" Padding="20" CornerRadius="6" Margin="0,10,0,0" BorderBrush="{DynamicResource SettingPanelBorderBrush}" BorderThickness="1"> | |
| 52 | 52 | <StackPanel Orientation="Horizontal" Margin="0,10,0,0"> |
| 53 | 53 | <TextBlock Text="从" VerticalAlignment="Center"/> |
| 54 | 54 | <select:DateSelect Date="{Binding DelDataStartMonthDate,Mode=TwoWay}" Margin="10,0" SelectType="Month"/> |
| @@ -58,7 +58,7 @@ | ||
| 58 | 58 | </StackPanel> |
| 59 | 59 | </Border> |
| 60 | 60 | <TextBlock Text="导出数据" FontSize="14" Margin="0,15,0,0"/> |
| 61 | 删除: <Border Background="{DynamicResource StandardBackgroundBrush}" Padding="20" CornerRadius="6" Margin="0,10,0,0" BorderBrush="{DynamicResource CardBorder}" BorderThickness="1"> | |
| 61 | 新增: <Border Background="{DynamicResource SettingPanelBgBrush}" Padding="20" CornerRadius="6" Margin="0,10,0,0" BorderBrush="{DynamicResource SettingPanelBorderBrush}" BorderThickness="1"> | |
| 62 | 62 | <StackPanel> |
| 63 | 63 | <TextBlock Text="导出为xlsx和csv格式,需要注意:没有设置分类的应用数据不会被导出。" Foreground="#989CA1" FontSize="12"/> |
| 64 | 64 | <StackPanel Orientation="Horizontal" Margin="0,10,0,0"> |
| @@ -74,7 +74,7 @@ | ||
| 74 | 74 | </TabItem> |
| 75 | 75 | <TabItem Foreground="{DynamicResource StandardTextBrush}"> |
| 76 | 76 | <!--关于--> |
| 77 | 删除: <Border Background="{DynamicResource StandardBackgroundBrush}" Padding="20" CornerRadius="6"> | |
| 77 | 新增: <Border Background="{DynamicResource SettingPanelBgBrush}" Padding="20" CornerRadius="6"> | |
| 78 | 78 | <StackPanel HorizontalAlignment="Left"> |
| 79 | 79 | <Image Width="25" Source="/Resources/Icons/tai.ico" HorizontalAlignment="Left"/> |
| 80 | 80 | <StackPanel Orientation="Horizontal" Margin="0,10,0,0"> |

