提交记录修改UI/Resources/Themes/Dark/Charts/Charts.xaml+10 −26看文件
修改UI/Resources/Themes/Dark/Charts/ChartsItemTypeA.xaml+7 −41看文件
修改UI/Resources/Themes/Dark/Charts/ChartsItemTypeCard.xaml+31 −37看文件
修改UI/Resources/Themes/Light/Charts/Charts.xaml+10 −26看文件
修改UI/Resources/Themes/Light/Charts/ChartsItemTypeA.xaml+6 −43看文件
修改UI/Resources/Themes/Light/Charts/ChartsItemTypeCard.xaml+31 −36看文件
修改UI/Views/ChartPage.xaml+23 −25看文件
| @@ -221,35 +221,19 @@ | ||
| 221 | 221 | <DataTemplate> |
| 222 | 222 | |
| 223 | 223 | <WrapPanel Orientation="Vertical"> |
| 224 | 删除: <Border Width="auto" Height="30" Margin="0,0,10,0"> | |
| 225 | 删除: <Grid> | |
| 226 | 删除: <Grid.ColumnDefinitions> | |
| 227 | 删除: <ColumnDefinition Width="20"/> | |
| 228 | 删除: <ColumnDefinition Width="20"/> | |
| 229 | 删除: <ColumnDefinition Width="auto"/> | |
| 230 | 删除: <ColumnDefinition Width="auto"/> | |
| 224 | 新增: <StackPanel Orientation="Horizontal" Margin="0,0,10,5"> | |
| 225 | 新增: <Rectangle Width="12" RadiusX="4" RadiusY="4" Height="12" Fill="{Binding Color,Converter={StaticResource HextoColorConverter}}"> | |
| 226 | 新增: <!--颜色--> | |
| 227 | 新增: </Rectangle> | |
| 231 | 228 | |
| 232 | 删除: </Grid.ColumnDefinitions> | |
| 233 | 删除: <Border Width="12" CornerRadius="4" Height="12" Background="{Binding Color,Converter={StaticResource HextoColorConverter}}"> | |
| 234 | 删除: <!--颜色--> | |
| 235 | 删除: </Border> | |
| 236 | 删除: <Border Grid.Column="1"> | |
| 237 | 删除: <!--图标--> | |
| 238 | 删除: <base:Img Width="16" Height="16" URL="{Binding Icon}"/> | |
| 239 | 删除: </Border> | |
| 240 | 删除: <Border Grid.Column="2" Margin="5,0,0,0"> | |
| 241 | 删除: <!--名称--> | |
| 242 | 删除: <TextBlock Foreground="#fff" VerticalAlignment="Center" Text="{Binding Name}"/> | |
| 243 | 删除: </Border> | |
| 244 | 删除: <Border Grid.Column="3"> | |
| 245 | 删除: <!--总计和百分比--> | |
| 246 | 删除: <TextBlock FontSize="12" Margin="5,0,0,0" Foreground="#FF8A8A8A" VerticalAlignment="Center" Text="{Binding Text}"/> | |
| 247 | 删除: | |
| 248 | 删除: </Border> | |
| 229 | 新增: <base:Img Margin="5,0,0,0" Width="16" Height="16" URL="{Binding Icon}"/> | |
| 230 | 新增: <!--名称--> | |
| 231 | 新增: <TextBlock Margin="5,0,0,0" Foreground="#fff" VerticalAlignment="Center" Text="{Binding Name}"/> | |
| 249 | 232 | |
| 250 | 删除: </Grid> | |
| 251 | 删除: </Border> | |
| 233 | 新增: <!--总计和百分比--> | |
| 234 | 新增: <TextBlock FontSize="12" Margin="5,0,0,0" Foreground="#FF8A8A8A" VerticalAlignment="Center" Text="{Binding Text}"/> | |
| 252 | 235 | |
| 236 | 新增: </StackPanel> | |
| 253 | 237 | </WrapPanel> |
| 254 | 238 | </DataTemplate> |
| 255 | 239 | </ListView.ItemTemplate> |
| @@ -21,37 +21,10 @@ | ||
| 21 | 21 | <ColumnDefinition Width="auto"/> |
| 22 | 22 | <ColumnDefinition Width="*"/> |
| 23 | 23 | </Grid.ColumnDefinitions> |
| 24 | 删除: <Grid Margin="0,0,10,0"> | |
| 25 | 删除: <Border x:Name="IconBorder" BorderBrush="Transparent" BorderThickness="2" Background="{DynamicResource StandardBackgroundBrush}" CornerRadius="6" Width="50" Height="50" HorizontalAlignment="Left"> | |
| 26 | 删除: <Image x:Name="IconObj" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center"/> | |
| 27 | 删除: </Border> | |
| 28 | 删除: </Grid> | |
| 29 | 删除: <!--<Grid Grid.Column="1" x:Name="ValueContainer" VerticalAlignment="Center" > | |
| 30 | 删除: <Grid.RowDefinitions> | |
| 31 | 删除: <RowDefinition Height="*"/> | |
| 32 | 删除: <RowDefinition Height="*"/> | |
| 33 | 删除: | |
| 34 | 删除: </Grid.RowDefinitions> | |
| 35 | 删除: <TextBlock x:Name="NameTextObj" Foreground="#5c5c5c" HorizontalAlignment="Left"/> | |
| 36 | 删除: <Grid Grid.Row="1" > | |
| 37 | 删除: <Grid.ColumnDefinitions> | |
| 38 | 删除: <ColumnDefinition Width="auto"/> | |
| 39 | 删除: <ColumnDefinition Width="auto"/> | |
| 40 | 删除: | |
| 41 | 删除: </Grid.ColumnDefinitions> | |
| 42 | 删除: <Rectangle | |
| 43 | 删除: x:Name="ValueBlockObj" | |
| 44 | 删除: RadiusX="4" | |
| 45 | 删除: RadiusY="4" | |
| 46 | 删除: Fill="#cccccc" | |
| 47 | 删除: Height="8" | |
| 48 | 删除: VerticalAlignment="Center" | |
| 49 | 删除: HorizontalAlignment="Left" | |
| 50 | 删除: /> | |
| 24 | 新增: <Border Margin="0,0,10,0" x:Name="IconBorder" BorderBrush="Transparent" BorderThickness="2" Background="{DynamicResource StandardBackgroundBrush}" CornerRadius="6" Width="50" Height="50" HorizontalAlignment="Left"> | |
| 25 | 新增: <Image x:Name="IconObj" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center"/> | |
| 26 | 新增: </Border> | |
| 51 | 27 | |
| 52 | 删除: <TextBlock Grid.Column="1" x:Name="ValueTextObj" VerticalAlignment="Center" Foreground="#5c5c5c" FontSize="12" Margin="5,0,0,0"/> | |
| 53 | 删除: </Grid> | |
| 54 | 删除: </Grid>--> | |
| 55 | 28 | <StackPanel Grid.Column="1" x:Name="ValueContainer" VerticalAlignment="Center" > |
| 56 | 29 | <Grid> |
| 57 | 30 | <Grid.ColumnDefinitions> |
| @@ -137,27 +110,20 @@ | ||
| 137 | 110 | <ColumnDefinition Width="auto"/> |
| 138 | 111 | <ColumnDefinition Width="*"/> |
| 139 | 112 | </Grid.ColumnDefinitions> |
| 140 | 删除: <Grid Margin="0,0,10,0"> | |
| 141 | 113 | |
| 142 | 删除: <base:Placeholder CornerRadius="6" Width="50" Height="50" HorizontalAlignment="Left"> | |
| 143 | 删除: <!--<Rectangle Height="25" Fill="" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center"/>--> | |
| 144 | 删除: </base:Placeholder> | |
| 145 | 删除: </Grid> | |
| 114 | 新增: <base:Placeholder Margin="0,0,10,0" CornerRadius="6" Width="50" Height="50" HorizontalAlignment="Left"/> | |
| 146 | 115 | <StackPanel Grid.Column="1" VerticalAlignment="Center" > |
| 147 | 116 | <base:Placeholder Width="100" Height="12" HorizontalAlignment="Left" Margin="0,0,0,6"/> |
| 148 | 删除: <StackPanel Orientation="Horizontal" > | |
| 149 | 删除: <Rectangle | |
| 117 | 新增: | |
| 118 | 新增: <Rectangle | |
| 150 | 119 | RadiusX="0" |
| 151 | 120 | RadiusY="0" |
| 152 | 121 | Fill="#e0e0e0" |
| 153 | 122 | Height="8" |
| 154 | 删除: Width="256" | |
| 155 | 123 | VerticalAlignment="Center" |
| 156 | 删除: HorizontalAlignment="Left" | |
| 124 | 新增: HorizontalAlignment="Stretch" | |
| 157 | 125 | /> |
| 158 | 126 | |
| 159 | 删除: <!--<TextBlock VerticalAlignment="Center" Foreground="#5c5c5c" FontSize="12" Margin="5,0,0,0"/>--> | |
| 160 | 删除: </StackPanel> | |
| 161 | 127 | </StackPanel> |
| 162 | 128 | </Grid> |
| 163 | 129 | |
| @@ -13,21 +13,20 @@ | ||
| 13 | 13 | <Setter.Value> |
| 14 | 14 | <ControlTemplate TargetType="{x:Type local:ChartsItemTypeCard}"> |
| 15 | 15 | <Grid > |
| 16 | 删除: <Grid x:Name="Normal"> | |
| 17 | 删除: <Border x:Name="ShadowBorder" CornerRadius="12"> | |
| 18 | 删除: <Border.Effect> | |
| 19 | 删除: <DropShadowEffect RenderingBias="Performance" Color="{DynamicResource ThemeColor}" BlurRadius="17" Direction="0" ShadowDepth="0" Opacity="0"/> | |
| 20 | 删除: </Border.Effect> | |
| 21 | 删除: <Border x:Name="Border" BorderBrush="Transparent" BorderThickness="2" Margin="0" Background="{DynamicResource StandardBackgroundBrush}" CornerRadius="12" Width="150" Height="150" > | |
| 16 | 新增: <Border x:Name="Normal" CornerRadius="12"> | |
| 17 | 新增: <Border.Effect> | |
| 18 | 新增: <DropShadowEffect RenderingBias="Performance" Color="{DynamicResource ThemeColor}" BlurRadius="17" Direction="0" ShadowDepth="0" Opacity="0"/> | |
| 19 | 新增: </Border.Effect> | |
| 20 | 新增: <Border x:Name="Border" BorderBrush="Transparent" BorderThickness="2" Margin="0" Background="{DynamicResource StandardBackgroundBrush}" CornerRadius="12" Width="150" Height="150" > | |
| 22 | 21 | |
| 23 | 删除: <Border.Clip> | |
| 24 | 删除: <RectangleGeometry RadiusX="12" RadiusY="12" Rect="0,0,150,150"/> | |
| 25 | 删除: </Border.Clip> | |
| 26 | 删除: <!--<Border.RenderTransform> | |
| 22 | 新增: <Border.Clip> | |
| 23 | 新增: <RectangleGeometry RadiusX="12" RadiusY="12" Rect="0,0,150,150"/> | |
| 24 | 新增: </Border.Clip> | |
| 25 | 新增: <!--<Border.RenderTransform> | |
| 27 | 26 | |
| 28 | 27 | </Border.RenderTransform>--> |
| 29 | 删除: <Grid> | |
| 30 | 删除: <Rectangle | |
| 28 | 新增: <Grid> | |
| 29 | 新增: <Rectangle | |
| 31 | 30 | x:Name="ValueBlockObj" |
| 32 | 31 | |
| 33 | 32 | |
| @@ -38,44 +37,39 @@ | ||
| 38 | 37 | Fill="#ff305b" |
| 39 | 38 | |
| 40 | 39 | > |
| 41 | 删除: <!--<Rectangle.Effect> | |
| 40 | 新增: <!--<Rectangle.Effect> | |
| 42 | 41 | <BlurEffect RenderOptions.BitmapScalingMode="LowQuality" Radius="35" RenderingBias="Performance"/> |
| 43 | 42 | </Rectangle.Effect>--> |
| 44 | 删除: <!--<Rectangle.Fill> | |
| 43 | 新增: <!--<Rectangle.Fill> | |
| 45 | 44 | <LinearGradientBrush RenderOptions.BitmapScalingMode="LowQuality" EndPoint="2,1" StartPoint="-2,0"> |
| 46 | 45 | <GradientStop Color="White"/> |
| 47 | 46 | <GradientStop Color="#ff305b" Offset="1"/> |
| 48 | 47 | </LinearGradientBrush> |
| 49 | 48 | </Rectangle.Fill>--> |
| 50 | 删除: <Rectangle.RenderTransform> | |
| 51 | 删除: <ScaleTransform ScaleX="3" ScaleY="3" CenterX="0" CenterY="0"/> | |
| 52 | 删除: </Rectangle.RenderTransform> | |
| 53 | 删除: </Rectangle> | |
| 54 | 删除: <!--<Border VerticalAlignment="Center" HorizontalAlignment="Center">--> | |
| 55 | 删除: <Image x:Name="IconObj" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center" RenderOptions.BitmapScalingMode="LowQuality"/> | |
| 56 | 删除: <!--</Border>--> | |
| 49 | 新增: <Rectangle.RenderTransform> | |
| 50 | 新增: <ScaleTransform ScaleX="3" ScaleY="3" CenterX="0" CenterY="0"/> | |
| 51 | 新增: </Rectangle.RenderTransform> | |
| 52 | 新增: </Rectangle> | |
| 53 | 新增: <!--<Border VerticalAlignment="Center" HorizontalAlignment="Center">--> | |
| 54 | 新增: <Image x:Name="IconObj" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center" RenderOptions.BitmapScalingMode="LowQuality"/> | |
| 55 | 新增: <!--</Border>--> | |
| 57 | 56 | |
| 58 | 删除: <TextBlock x:Name="NameTextObj" Foreground="{DynamicResource StandardTextBrush}" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="10"/> | |
| 57 | 新增: <TextBlock x:Name="NameTextObj" Foreground="{DynamicResource StandardTextBrush}" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="10"/> | |
| 59 | 58 | |
| 60 | 删除: <Border VerticalAlignment="Top" CornerRadius="5" Padding="5" HorizontalAlignment="Left" Margin="10" > | |
| 61 | 删除: <Border.Background> | |
| 62 | 删除: <SolidColorBrush Color="#ff305b" Opacity="0.7"/> | |
| 63 | 删除: </Border.Background> | |
| 64 | 删除: <TextBlock x:Name="ValueTextObj" Foreground="White" FontSize="12" /> | |
| 59 | 新增: <Border VerticalAlignment="Top" CornerRadius="5" Padding="5" HorizontalAlignment="Left" Margin="10" > | |
| 60 | 新增: <Border.Background> | |
| 61 | 新增: <SolidColorBrush Color="#ff305b" Opacity="0.7"/> | |
| 62 | 新增: </Border.Background> | |
| 63 | 新增: <TextBlock x:Name="ValueTextObj" Foreground="White" FontSize="12" /> | |
| 65 | 64 | |
| 66 | 删除: </Border> | |
| 65 | 新增: </Border> | |
| 67 | 66 | |
| 68 | 删除: </Grid> | |
| 67 | 新增: </Grid> | |
| 69 | 68 | |
| 70 | 删除: </Border> | |
| 71 | 69 | </Border> |
| 70 | 新增: </Border> | |
| 72 | 71 | |
| 73 | 删除: </Grid> | |
| 74 | 删除: | |
| 75 | 删除: <Grid x:Name="Loading" Visibility="Collapsed"> | |
| 76 | 删除: <base:Placeholder CornerRadius="12" Width="150" Height="150"/> | |
| 77 | 删除: </Grid> | |
| 78 | 删除: | |
| 72 | 新增: <base:Placeholder x:Name="Loading" Visibility="Collapsed" CornerRadius="12" Width="150" Height="150"/> | |
| 79 | 73 | <VisualStateManager.VisualStateGroups> |
| 80 | 74 | <VisualStateGroup x:Name="CommonStates"> |
| 81 | 75 | <VisualStateGroup.Transitions> |
| @@ -94,7 +88,7 @@ | ||
| 94 | 88 | </ColorAnimation> |
| 95 | 89 | |
| 96 | 90 | <DoubleAnimation Storyboard.TargetProperty="(Border.Effect).(DropShadowEffect.Opacity)" |
| 97 | 删除: Storyboard.TargetName="ShadowBorder" To="0.3" > | |
| 91 | 新增: Storyboard.TargetName="Normal" To="0.3" > | |
| 98 | 92 | <DoubleAnimation.EasingFunction> |
| 99 | 93 | <CubicEase EasingMode="EaseInOut"/> |
| 100 | 94 | </DoubleAnimation.EasingFunction> |
| @@ -221,35 +221,19 @@ | ||
| 221 | 221 | <DataTemplate> |
| 222 | 222 | |
| 223 | 223 | <WrapPanel Orientation="Vertical"> |
| 224 | 删除: <Border Width="auto" Height="30" Margin="0,0,10,0"> | |
| 225 | 删除: <Grid> | |
| 226 | 删除: <Grid.ColumnDefinitions> | |
| 227 | 删除: <ColumnDefinition Width="20"/> | |
| 228 | 删除: <ColumnDefinition Width="20"/> | |
| 229 | 删除: <ColumnDefinition Width="auto"/> | |
| 230 | 删除: <ColumnDefinition Width="auto"/> | |
| 224 | 新增: <StackPanel Orientation="Horizontal" Margin="0,0,10,5"> | |
| 225 | 新增: <Rectangle Width="12" RadiusX="4" RadiusY="4" Height="12" Fill="{Binding Color,Converter={StaticResource HextoColorConverter}}"> | |
| 226 | 新增: <!--颜色--> | |
| 227 | 新增: </Rectangle> | |
| 231 | 228 | |
| 232 | 删除: </Grid.ColumnDefinitions> | |
| 233 | 删除: <Border Width="12" CornerRadius="4" Height="12" Background="{Binding Color,Converter={StaticResource HextoColorConverter}}"> | |
| 234 | 删除: <!--颜色--> | |
| 235 | 删除: </Border> | |
| 236 | 删除: <Border Grid.Column="1"> | |
| 237 | 删除: <!--图标--> | |
| 238 | 删除: <base:Img Width="16" Height="16" URL="{Binding Icon}"/> | |
| 239 | 删除: </Border> | |
| 240 | 删除: <Border Grid.Column="2" Margin="5,0,0,0"> | |
| 241 | 删除: <!--名称--> | |
| 242 | 删除: <TextBlock Foreground="#5c5c5c" VerticalAlignment="Center" Text="{Binding Name}"/> | |
| 243 | 删除: </Border> | |
| 244 | 删除: <Border Grid.Column="3"> | |
| 245 | 删除: <!--总计和百分比--> | |
| 246 | 删除: <TextBlock FontSize="12" Margin="5,0,0,0" Foreground="#FF8A8A8A" VerticalAlignment="Center" Text="{Binding Text}"/> | |
| 247 | 删除: | |
| 248 | 删除: </Border> | |
| 229 | 新增: <base:Img Margin="5,0,0,0" Width="16" Height="16" URL="{Binding Icon}"/> | |
| 230 | 新增: <!--名称--> | |
| 231 | 新增: <TextBlock Margin="5,0,0,0" Foreground="#5c5c5c" VerticalAlignment="Center" Text="{Binding Name}"/> | |
| 249 | 232 | |
| 250 | 删除: </Grid> | |
| 251 | 删除: </Border> | |
| 233 | 新增: <!--总计和百分比--> | |
| 234 | 新增: <TextBlock FontSize="12" Margin="5,0,0,0" Foreground="#FF8A8A8A" VerticalAlignment="Center" Text="{Binding Text}"/> | |
| 252 | 235 | |
| 236 | 新增: </StackPanel> | |
| 253 | 237 | </WrapPanel> |
| 254 | 238 | </DataTemplate> |
| 255 | 239 | </ListView.ItemTemplate> |
| @@ -21,37 +21,10 @@ | ||
| 21 | 21 | <ColumnDefinition Width="auto"/> |
| 22 | 22 | <ColumnDefinition Width="*"/> |
| 23 | 23 | </Grid.ColumnDefinitions> |
| 24 | 删除: <Grid Margin="0,0,10,0"> | |
| 25 | 删除: <Border x:Name="IconBorder" BorderBrush="Transparent" BorderThickness="2" Background="#f3f3f3" CornerRadius="6" Width="50" Height="50" HorizontalAlignment="Left"> | |
| 26 | 删除: <Image x:Name="IconObj" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center"/> | |
| 27 | 删除: </Border> | |
| 28 | 删除: </Grid> | |
| 29 | 删除: <!--<Grid Grid.Column="1" x:Name="ValueContainer" VerticalAlignment="Center" > | |
| 30 | 删除: <Grid.RowDefinitions> | |
| 31 | 删除: <RowDefinition Height="*"/> | |
| 32 | 删除: <RowDefinition Height="*"/> | |
| 33 | 删除: | |
| 34 | 删除: </Grid.RowDefinitions> | |
| 35 | 删除: <TextBlock x:Name="NameTextObj" Foreground="#5c5c5c" HorizontalAlignment="Left"/> | |
| 36 | 删除: <Grid Grid.Row="1" > | |
| 37 | 删除: <Grid.ColumnDefinitions> | |
| 38 | 删除: <ColumnDefinition Width="auto"/> | |
| 39 | 删除: <ColumnDefinition Width="auto"/> | |
| 40 | 删除: | |
| 41 | 删除: </Grid.ColumnDefinitions> | |
| 42 | 删除: <Rectangle | |
| 43 | 删除: x:Name="ValueBlockObj" | |
| 44 | 删除: RadiusX="4" | |
| 45 | 删除: RadiusY="4" | |
| 46 | 删除: Fill="#cccccc" | |
| 47 | 删除: Height="8" | |
| 48 | 删除: VerticalAlignment="Center" | |
| 49 | 删除: HorizontalAlignment="Left" | |
| 50 | 删除: /> | |
| 24 | 新增: <Border Margin="0,0,10,0" x:Name="IconBorder" BorderBrush="Transparent" BorderThickness="2" Background="#f3f3f3" CornerRadius="6" Width="50" Height="50" HorizontalAlignment="Left"> | |
| 25 | 新增: <Image x:Name="IconObj" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center"/> | |
| 26 | 新增: </Border> | |
| 51 | 27 | |
| 52 | 删除: <TextBlock Grid.Column="1" x:Name="ValueTextObj" VerticalAlignment="Center" Foreground="#5c5c5c" FontSize="12" Margin="5,0,0,0"/> | |
| 53 | 删除: </Grid> | |
| 54 | 删除: </Grid>--> | |
| 55 | 28 | <StackPanel Grid.Column="1" x:Name="ValueContainer" VerticalAlignment="Center" > |
| 56 | 29 | <Grid> |
| 57 | 30 | <Grid.ColumnDefinitions> |
| @@ -137,27 +110,17 @@ | ||
| 137 | 110 | <ColumnDefinition Width="auto"/> |
| 138 | 111 | <ColumnDefinition Width="*"/> |
| 139 | 112 | </Grid.ColumnDefinitions> |
| 140 | 删除: <Grid Margin="0,0,10,0"> | |
| 141 | 删除: | |
| 142 | 删除: <base:Placeholder CornerRadius="6" Width="50" Height="50" HorizontalAlignment="Left"> | |
| 143 | 删除: <!--<Rectangle Height="25" Fill="" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center"/>--> | |
| 144 | 删除: </base:Placeholder> | |
| 145 | 删除: </Grid> | |
| 113 | 新增: <base:Placeholder Margin="0,0,10,0" CornerRadius="6" Width="50" Height="50" HorizontalAlignment="Left"/> | |
| 146 | 114 | <StackPanel Grid.Column="1" VerticalAlignment="Center" > |
| 147 | 115 | <base:Placeholder Width="100" Height="12" HorizontalAlignment="Left" Margin="0,0,0,6"/> |
| 148 | 删除: <StackPanel Orientation="Horizontal" > | |
| 149 | 删除: <Rectangle | |
| 116 | 新增: <Rectangle | |
| 150 | 117 | RadiusX="0" |
| 151 | 118 | RadiusY="0" |
| 152 | 119 | Fill="#e0e0e0" |
| 153 | 120 | Height="8" |
| 154 | 删除: Width="256" | |
| 155 | 121 | VerticalAlignment="Center" |
| 156 | 删除: HorizontalAlignment="Left" | |
| 122 | 新增: HorizontalAlignment="Stretch" | |
| 157 | 123 | /> |
| 158 | 删除: | |
| 159 | 删除: <!--<TextBlock VerticalAlignment="Center" Foreground="#5c5c5c" FontSize="12" Margin="5,0,0,0"/>--> | |
| 160 | 删除: </StackPanel> | |
| 161 | 124 | </StackPanel> |
| 162 | 125 | </Grid> |
| 163 | 126 | |
| @@ -13,21 +13,20 @@ | ||
| 13 | 13 | <Setter.Value> |
| 14 | 14 | <ControlTemplate TargetType="{x:Type local:ChartsItemTypeCard}"> |
| 15 | 15 | <Grid > |
| 16 | 删除: <Grid x:Name="Normal"> | |
| 17 | 删除: <Border x:Name="ShadowBorder" CornerRadius="12"> | |
| 18 | 删除: <Border.Effect> | |
| 19 | 删除: <DropShadowEffect RenderingBias="Performance" Color="{DynamicResource ThemeColor}" BlurRadius="17" Direction="0" ShadowDepth="0" Opacity="0"/> | |
| 20 | 删除: </Border.Effect> | |
| 21 | 删除: <Border x:Name="Border" BorderBrush="Transparent" BorderThickness="2" Margin="0" Background="{DynamicResource StandardBackgroundBrush}" CornerRadius="12" Width="150" Height="150" > | |
| 16 | 新增: <Border x:Name="Normal" CornerRadius="12"> | |
| 17 | 新增: <Border.Effect> | |
| 18 | 新增: <DropShadowEffect RenderingBias="Performance" Color="{DynamicResource ThemeColor}" BlurRadius="17" Direction="0" ShadowDepth="0" Opacity="0"/> | |
| 19 | 新增: </Border.Effect> | |
| 20 | 新增: <Border x:Name="Border" BorderBrush="Transparent" BorderThickness="2" Margin="0" Background="{DynamicResource StandardBackgroundBrush}" CornerRadius="12" Width="150" Height="150" > | |
| 22 | 21 | |
| 23 | 删除: <Border.Clip> | |
| 24 | 删除: <RectangleGeometry RadiusX="12" RadiusY="12" Rect="0,0,150,150"/> | |
| 25 | 删除: </Border.Clip> | |
| 26 | 删除: <!--<Border.RenderTransform> | |
| 22 | 新增: <Border.Clip> | |
| 23 | 新增: <RectangleGeometry RadiusX="12" RadiusY="12" Rect="0,0,150,150"/> | |
| 24 | 新增: </Border.Clip> | |
| 25 | 新增: <!--<Border.RenderTransform> | |
| 27 | 26 | |
| 28 | 27 | </Border.RenderTransform>--> |
| 29 | 删除: <Grid> | |
| 30 | 删除: <Rectangle | |
| 28 | 新增: <Grid> | |
| 29 | 新增: <Rectangle | |
| 31 | 30 | x:Name="ValueBlockObj" |
| 32 | 31 | |
| 33 | 32 | |
| @@ -38,43 +37,39 @@ | ||
| 38 | 37 | Fill="#ff305b" |
| 39 | 38 | |
| 40 | 39 | > |
| 41 | 删除: <!--<Rectangle.Effect> | |
| 40 | 新增: <!--<Rectangle.Effect> | |
| 42 | 41 | <BlurEffect RenderOptions.BitmapScalingMode="LowQuality" Radius="35" RenderingBias="Performance"/> |
| 43 | 42 | </Rectangle.Effect>--> |
| 44 | 删除: <!--<Rectangle.Fill> | |
| 43 | 新增: <!--<Rectangle.Fill> | |
| 45 | 44 | <LinearGradientBrush RenderOptions.BitmapScalingMode="LowQuality" EndPoint="2,1" StartPoint="-2,0"> |
| 46 | 45 | <GradientStop Color="White"/> |
| 47 | 46 | <GradientStop Color="#ff305b" Offset="1"/> |
| 48 | 47 | </LinearGradientBrush> |
| 49 | 48 | </Rectangle.Fill>--> |
| 50 | 删除: <Rectangle.RenderTransform> | |
| 51 | 删除: <ScaleTransform ScaleX="3" ScaleY="3" CenterX="0" CenterY="0"/> | |
| 52 | 删除: </Rectangle.RenderTransform> | |
| 53 | 删除: </Rectangle> | |
| 54 | 删除: <!--<Border VerticalAlignment="Center" HorizontalAlignment="Center">--> | |
| 55 | 删除: <Image x:Name="IconObj" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center" RenderOptions.BitmapScalingMode="LowQuality"/> | |
| 56 | 删除: <!--</Border>--> | |
| 49 | 新增: <Rectangle.RenderTransform> | |
| 50 | 新增: <ScaleTransform ScaleX="3" ScaleY="3" CenterX="0" CenterY="0"/> | |
| 51 | 新增: </Rectangle.RenderTransform> | |
| 52 | 新增: </Rectangle> | |
| 53 | 新增: <!--<Border VerticalAlignment="Center" HorizontalAlignment="Center">--> | |
| 54 | 新增: <Image x:Name="IconObj" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center" RenderOptions.BitmapScalingMode="LowQuality"/> | |
| 55 | 新增: <!--</Border>--> | |
| 57 | 56 | |
| 58 | 删除: <TextBlock x:Name="NameTextObj" Foreground="#5c5c5c" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="10"/> | |
| 57 | 新增: <TextBlock x:Name="NameTextObj" Foreground="#5c5c5c" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="10"/> | |
| 59 | 58 | |
| 60 | 删除: <Border VerticalAlignment="Top" CornerRadius="5" Padding="5" HorizontalAlignment="Left" Margin="10" > | |
| 61 | 删除: <Border.Background> | |
| 62 | 删除: <SolidColorBrush Color="#ff305b" Opacity="0.7"/> | |
| 63 | 删除: </Border.Background> | |
| 64 | 删除: <TextBlock x:Name="ValueTextObj" Foreground="White" FontSize="12" /> | |
| 59 | 新增: <Border VerticalAlignment="Top" CornerRadius="5" Padding="5" HorizontalAlignment="Left" Margin="10" > | |
| 60 | 新增: <Border.Background> | |
| 61 | 新增: <SolidColorBrush Color="#ff305b" Opacity="0.7"/> | |
| 62 | 新增: </Border.Background> | |
| 63 | 新增: <TextBlock x:Name="ValueTextObj" Foreground="White" FontSize="12" /> | |
| 65 | 64 | |
| 66 | 删除: </Border> | |
| 65 | 新增: </Border> | |
| 67 | 66 | |
| 68 | 删除: </Grid> | |
| 67 | 新增: </Grid> | |
| 69 | 68 | |
| 70 | 删除: </Border> | |
| 71 | 69 | </Border> |
| 70 | 新增: </Border> | |
| 72 | 71 | |
| 73 | 删除: </Grid> | |
| 74 | 删除: | |
| 75 | 删除: <Grid x:Name="Loading" Visibility="Collapsed"> | |
| 76 | 删除: <base:Placeholder CornerRadius="12" Width="150" Height="150"/> | |
| 77 | 删除: </Grid> | |
| 72 | 新增: <base:Placeholder x:Name="Loading" Visibility="Collapsed" CornerRadius="12" Width="150" Height="150"/> | |
| 78 | 73 | |
| 79 | 74 | <VisualStateManager.VisualStateGroups> |
| 80 | 75 | <VisualStateGroup x:Name="CommonStates"> |
| @@ -94,7 +89,7 @@ | ||
| 94 | 89 | </ColorAnimation> |
| 95 | 90 | |
| 96 | 91 | <DoubleAnimation Storyboard.TargetProperty="(Border.Effect).(DropShadowEffect.Opacity)" |
| 97 | 删除: Storyboard.TargetName="ShadowBorder" To="0.3" > | |
| 92 | 新增: Storyboard.TargetName="Normal" To="0.3" > | |
| 98 | 93 | <DoubleAnimation.EasingFunction> |
| 99 | 94 | <CubicEase EasingMode="EaseInOut"/> |
| 100 | 95 | </DoubleAnimation.EasingFunction> |
| @@ -139,7 +139,7 @@ | ||
| 139 | 139 | </Grid> |
| 140 | 140 | |
| 141 | 141 | <WrapPanel Margin="-10"> |
| 142 | 删除: | |
| 142 | 新增: | |
| 143 | 143 | <!--时段--> |
| 144 | 144 | <Grid Margin="10,0,0,0"> |
| 145 | 145 | <Grid.RowDefinitions> |
| @@ -152,34 +152,32 @@ | ||
| 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}"/> |
| 155 | 删除: <!--<base:View Value="{Binding TabbarSelectedIndex}" Condition="0">--> | |
| 156 | 删除: <base:View Value="{Binding DayHoursSelectedTime}" Condition="not empty"> | |
| 157 | 删除: <StackPanel> | |
| 158 | 删除: <Border Margin="0,10,0,5" HorizontalAlignment="Left" Padding="10" CornerRadius="10"> | |
| 159 | 删除: <Border.Background> | |
| 160 | 删除: <SolidColorBrush Color="{DynamicResource ThemeColor}" Opacity=".05"/> | |
| 161 | 删除: </Border.Background> | |
| 162 | 删除: <StackPanel Orientation="Horizontal"> | |
| 163 | 删除: <base:Icon Foreground="{DynamicResource SubTextBrush}" IconType="Timer" VerticalAlignment="Center"/> | |
| 164 | 删除: <TextBlock Foreground="{DynamicResource SubTextBrush}" VerticalAlignment="Center" Text="{Binding DayHoursSelectedTime}" FontSize="13" Margin="5,0,0,0"/> | |
| 165 | 删除: | |
| 166 | 删除: </StackPanel> | |
| 167 | 删除: </Border> | |
| 168 | 删除: <base:View Value="{Binding DayHoursData}" Condition="not empty"> | |
| 169 | 删除: <charts:Charts Margin="0,0,0,0" Height="300" ItemMenu="{Binding AppContextMenu}" Data="{Binding DayHoursData}" ChartsType="HorizontalA" ClickCommand="{Binding ToDetailCommand}" /> | |
| 170 | 删除: </base:View> | |
| 171 | 删除: <base:View Value="{Binding DayHoursData}" Condition="empty"> | |
| 172 | 删除: <base:EmptyData/> | |
| 173 | 删除: </base:View> | |
| 174 | 删除: </StackPanel> | |
| 175 | 删除: </base:View> | |
| 176 | 删除: <!--</base:View>--> | |
| 155 | 新增: <base:View Value="{Binding DayHoursSelectedTime}" Condition="not empty"> | |
| 156 | 新增: <StackPanel> | |
| 157 | 新增: <Border Margin="0,10,0,5" HorizontalAlignment="Left" Padding="10" CornerRadius="10"> | |
| 158 | 新增: <Border.Background> | |
| 159 | 新增: <SolidColorBrush Color="{DynamicResource ThemeColor}" Opacity=".05"/> | |
| 160 | 新增: </Border.Background> | |
| 161 | 新增: <StackPanel Orientation="Horizontal"> | |
| 162 | 新增: <base:Icon Foreground="{DynamicResource SubTextBrush}" IconType="Timer" VerticalAlignment="Center"/> | |
| 163 | 新增: <TextBlock Foreground="{DynamicResource SubTextBrush}" VerticalAlignment="Center" Text="{Binding DayHoursSelectedTime}" FontSize="13" Margin="5,0,0,0"/> | |
| 164 | 新增: | |
| 165 | 新增: </StackPanel> | |
| 166 | 新增: </Border> | |
| 167 | 新增: <base:View Value="{Binding DayHoursData}" Condition="not empty"> | |
| 168 | 新增: <charts:Charts Margin="0,0,0,0" Height="300" ItemMenu="{Binding AppContextMenu}" Data="{Binding DayHoursData}" ChartsType="HorizontalA" ClickCommand="{Binding ToDetailCommand}" /> | |
| 169 | 新增: </base:View> | |
| 170 | 新增: <base:View Value="{Binding DayHoursData}" Condition="empty"> | |
| 171 | 新增: <base:EmptyData/> | |
| 172 | 新增: </base:View> | |
| 173 | 新增: </StackPanel> | |
| 174 | 新增: </base:View> | |
| 177 | 175 | </StackPanel> |
| 178 | 176 | </Border> |
| 179 | 177 | |
| 180 | 178 | </Grid> |
| 181 | 删除: | |
| 182 | 删除: | |
| 179 | 新增: | |
| 180 | 新增: | |
| 183 | 181 | <!--雷达图--> |
| 184 | 182 | <Grid Margin="10,0,0,0" Width="350" Height="400" VerticalAlignment="Top"> |
| 185 | 183 | <Grid.RowDefinitions> |

