更新对mssql支持
This commit is contained in:
@@ -184,6 +184,10 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
|
||||
#endregion
|
||||
|
||||
#region 文章
|
||||
/// <summary>
|
||||
/// 文章栏目管理
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[MyAuthorize("viewlist", "article")]
|
||||
public IActionResult ArticleList()
|
||||
{
|
||||
|
||||
@@ -205,7 +205,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
|
||||
{
|
||||
string callback = Request.Query["CKEditorFuncNum"];//要求返回值
|
||||
var upload = Request.Form.Files[0];
|
||||
string tpl = "<script type=\"text/javascript\">window.parent.CKEDITOR.tools.callFunction(\"{1}\", \"{0}\", \"{2}\");</script>";
|
||||
//string tpl = "<script type=\"text/javascript\">window.parent.CKEDITOR.tools.callFunction(\"{1}\", \"{0}\", \"{2}\");</script>";
|
||||
CKFileUploadError errorJson = new CKFileUploadError();
|
||||
if (upload == null)
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">昵称:</label>
|
||||
<div class="col-sm-8">
|
||||
<input id="Nickname" name="Nickname" maxlength="20" type="text" class="form-control" value="@Model.Nickname" aria-required="true" placeholder="昵称" readonly>
|
||||
<input id="Nickname" name="Nickname" maxlength="200" type="text" class="form-control" value="@Model.Nickname" aria-required="true" placeholder="昵称" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group hidden">
|
||||
|
||||
@@ -81,6 +81,19 @@
|
||||
radioClass: 'iradio_square-green',
|
||||
});
|
||||
})
|
||||
$("input").each(function (index, item) {
|
||||
if ($(this).attr("placeholder") && $(this).attr("placeholder") != "") {
|
||||
var tipstr = $(this).attr("placeholder");
|
||||
var id = $(this).attr("id");
|
||||
$(this).on("focusin", function () {
|
||||
layer.tips(tipstr, '#' + id, {
|
||||
tips: [1, '#3595CC'] //还可配置颜色
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user