/// <summary> /// 获取堆叠图标标签生成器 /// </summary> private TagBuilder GetStackIconBuilder() { var result = new SpanBuilder(); var parentIcon = GetSingleIconBuilder().Class("fa-stack-2x"); var childIcon = GetFontAwesomeBuilder(UiConst.Child).Class("fa-stack-1x"); if (_config.Contains(UiConst.ChildClass)) { childIcon.Class(_config.GetValue(UiConst.ChildClass)); } result.AddChild(parentIcon); result.AddChild(childIcon); return(result); }