/// <summary> /// UEditor 编辑器 /// </summary> /// <param name="Title"></param> /// <param name="Name"></param> /// <param name="Col"></param> /// <param name="Width"></param> /// <param name="Height"></param> /// <returns></returns> public string UEditor(string Title, string Name, int Col = 6, string Width = "100%", string Height = "300px") { //<div class="col-sm-12"> // <h4 class="example-title">介绍</h4> // <script id="Member_Introduce" type="text/plain" style="width:100%;height:300px;"> // </script> //</div> var H4 = PageControl.H4(new Dictionary <string, string> { { "class", "example-title" } }, Title); var _Script = PageControl.Script(new Dictionary <string, string>() { { "id", Name }, { "type", "text/plain" }, { "style", "width:" + Width + ";height:" + Height + ";" } }, ""); var _Div_Attribute = new Dictionary <string, string>(); _Div_Attribute.Add("class", "col-sm-" + Col); return(PageControl.Div(_Div_Attribute, H4 + _Script)); }