|
@ -16,12 +16,16 @@ |
|
|
<sys:Int32 x:Key="p0">0</sys:Int32> |
|
|
<sys:Int32 x:Key="p0">0</sys:Int32> |
|
|
<sys:Int32 x:Key="p1">1</sys:Int32> |
|
|
<sys:Int32 x:Key="p1">1</sys:Int32> |
|
|
<sys:Int32 x:Key="p2">2</sys:Int32> |
|
|
<sys:Int32 x:Key="p2">2</sys:Int32> |
|
|
|
|
|
|
|
|
<ObjectDataProvider x:Key="PlatformProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}"> |
|
|
<ObjectDataProvider x:Key="PlatformProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}"> |
|
|
<ObjectDataProvider.MethodParameters> |
|
|
<ObjectDataProvider.MethodParameters> |
|
|
<x:Type TypeName="cmodel:Platform"/> |
|
|
<x:Type TypeName="cmodel:Platform"/> |
|
|
</ObjectDataProvider.MethodParameters> |
|
|
</ObjectDataProvider.MethodParameters> |
|
|
</ObjectDataProvider> |
|
|
</ObjectDataProvider> |
|
|
|
|
|
<ObjectDataProvider x:Key="SiNanPolicyLevelProvider" MethodName="GetValues" ObjectType="{x:Type sys:Enum}"> |
|
|
|
|
|
<ObjectDataProvider.MethodParameters> |
|
|
|
|
|
<x:Type TypeName="cmodel:SiNanPolicyLevel"/> |
|
|
|
|
|
</ObjectDataProvider.MethodParameters> |
|
|
|
|
|
</ObjectDataProvider> |
|
|
<Style x:Key="textblockPropertyStyle" TargetType="TextBlock"> |
|
|
<Style x:Key="textblockPropertyStyle" TargetType="TextBlock"> |
|
|
<Setter Property="HorizontalAlignment" Value="Right"/> |
|
|
<Setter Property="HorizontalAlignment" Value="Right"/> |
|
|
<Setter Property="VerticalAlignment" Value="Center"/> |
|
|
<Setter Property="VerticalAlignment" Value="Center"/> |
|
@ -199,6 +203,78 @@ |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
</Grid> |
|
|
</Grid> |
|
|
</Grid> |
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Row="2" Margin="20,0" Visibility="{Binding PanelIndex,Converter={StaticResource objConverter},ConverterParameter=2:Visible:Collapsed}"> |
|
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition Height="40"/> |
|
|
|
|
|
<RowDefinition/> |
|
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
<ColumnDefinition Width="80"/> |
|
|
|
|
|
<ColumnDefinition/> |
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<TextBlock Text="通知设置" Style="{StaticResource textblockPropertyStyle}"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="密钥" Style="{StaticResource textblockPropertyStyle}" Grid.Row="1"/> |
|
|
|
|
|
<c:BTextBox Grid.Column="1" Style="{StaticResource textboxValueStyle}" Grid.Row="1" Width="500" |
|
|
|
|
|
Text="{Binding SiNanDingDingKey,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="WebHook" Style="{StaticResource textblockPropertyStyle}" Grid.Row="2"/> |
|
|
|
|
|
<c:BTextBox Grid.Column="1" Style="{StaticResource textboxValueStyle}" Grid.Row="2" Width="500" |
|
|
|
|
|
Text="{Binding SiNanDingDingWebHook,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> |
|
|
|
|
|
|
|
|
|
|
|
<Border Height="1" SnapsToDevicePixels="True" UseLayoutRounding="True" Background="{StaticResource Border.Brush}" Grid.ColumnSpan="2" Grid.Row="3" |
|
|
|
|
|
VerticalAlignment="Center"/> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="策略设置" Style="{StaticResource textblockPropertyStyle}" Grid.Row="4"/> |
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="策略等级" Style="{StaticResource textblockPropertyStyle}" Grid.Row="5"/> |
|
|
|
|
|
<ComboBox ItemsSource="{Binding Source={StaticResource SiNanPolicyLevelProvider}}" |
|
|
|
|
|
SelectedItem="{Binding SelectedSiNanPolicyLevel,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
|
|
|
|
|
Grid.Column="1" Grid.Row="5" HorizontalAlignment="Left" Height="30" Width="100" |
|
|
|
|
|
VerticalContentAlignment="Center"/> |
|
|
|
|
|
|
|
|
|
|
|
<Grid Grid.ColumnSpan="2" Grid.Row="6" Margin="4.5,0"> |
|
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
|
<ColumnDefinition Width="0.32*"/> |
|
|
|
|
|
<ColumnDefinition Width="0.32*"/> |
|
|
|
|
|
<ColumnDefinition Width="0.36*"/> |
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
<StackPanel> |
|
|
|
|
|
<TextBlock Text="初级策略" FontWeight="Bold" Margin="0,10,0,5" FontSize="16"/> |
|
|
|
|
|
<TextBlock Text="成长加速期定义" Margin="0,0,0,5" FontWeight="Bold"/> |
|
|
|
|
|
<TextBlock Text="维度下SKU累计推广花费低于300" Margin="0,0,0,5"/> |
|
|
|
|
|
<TextBlock Text="提醒规则" Margin="0,0,0,5" FontWeight="Bold"/> |
|
|
|
|
|
<TextBlock Text="SKU累计推广花费低于100元,不建议调整" Margin="0,0,0,5"/> |
|
|
|
|
|
<TextBlock Text="SKU累计推广花费达到100元,单元、创意、SkuGOI低于0.5,高于1.1提醒" Margin="0,0,0,5"/> |
|
|
|
|
|
<TextBlock Text="SKU累计推广花费达到200元,单元、创意、SkuGOI低于0.7,高于1.1提醒" Margin="0,0,0,5"/> |
|
|
|
|
|
<TextBlock Text="SKU累计推广花费达到300元,单元、创意、SkuGOI低于0.9,高于1.1提醒" Margin="0,0,0,5"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1"> |
|
|
|
|
|
<TextBlock Text="" FontWeight="Bold" Margin="0,10,0,5" FontSize="16"/> |
|
|
|
|
|
<TextBlock Text="成熟利润期定义" Margin="0,0,0,5" FontWeight="Bold"/> |
|
|
|
|
|
<TextBlock Text="维度下SKU累计推广花费大于300,且近7天大于150" Margin="0,0,0,5"/> |
|
|
|
|
|
<TextBlock Text="提醒规则" Margin="0,0,0,5" FontWeight="Bold"/> |
|
|
|
|
|
<TextBlock Text="单元、创意、SkuGOI低于0.9提醒,高于1.2提醒" Margin="0,0,0,5"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="2"> |
|
|
|
|
|
<TextBlock Text="" FontWeight="Bold" Margin="0,10,0,5" FontSize="16"/> |
|
|
|
|
|
<TextBlock Text="稳定日销期定义" Margin="0,0,0,5" FontWeight="Bold"/> |
|
|
|
|
|
<TextBlock Text="维度下SKU累计推广花费大于300且,近7天低于150" Margin="0,0,0,5"/> |
|
|
|
|
|
<TextBlock Text="提醒规则" Margin="0,0,0,5" FontWeight="Bold"/> |
|
|
|
|
|
<TextBlock Text="单元、创意、SkuGOI低于1.0提醒,高于2" Margin="0,0,0,5"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
<c:BButton Content="保存" Grid.Row="3" Width="80" HorizontalAlignment="Left" |
|
|
<c:BButton Content="保存" Grid.Row="3" Width="80" HorizontalAlignment="Left" |
|
|
Command="{Binding SaveCommand}" Margin="20,0,0,0"/> |
|
|
Command="{Binding SaveCommand}" Margin="20,0,0,0"/> |
|
|
</Grid> |
|
|
</Grid> |
|
|