using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Components; using OneOf; namespace AntDesign { public abstract class StatisticComponentBase:AntDomComponentBase { /// /// 设置数值的前缀 /// [Parameter] public OneOf Prefix { get; set; } = string.Empty; /// /// 设置数值的后缀 /// [Parameter] public OneOf Suffix { get; set; } = string.Empty; /// /// 数值的标题 /// [Parameter] public OneOf Title { get; set; } = string.Empty; /// /// 数值内容 /// [Parameter] public T Value { get; set; } /// /// 设置数值的样式 /// [Parameter] public string ValueStyle { get; set; } [Parameter] public RenderFragment ChildContent { get; set; } } }