Ver código fonte

通知公告图标隐藏

长阳分支中职
yxq 1 mês atrás
pai
commit
bdcf8af783
2 arquivos alterados com 8 adições e 0 exclusões
  1. +7
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs

+ 7
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js Ver arquivo

@@ -0,0 +1,7 @@
let imgs = document.querySelectorAll('img')
imgs.forEach(e => {
let src = e.getAttribute('src')
if (src.includes('Content/ueditor/dialogs/attachment/fileTypeImages/icon_')){
e.style.display = 'none'
}
})

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs Ver arquivo

@@ -607,6 +607,7 @@ namespace Learun.Application.Web.Controllers
public ActionResult ListContentView(string keyValue)
{
var data = noticeIBLL.GetEntity(keyValue);
data.F_NewsContent = data.F_NewsContent + "<script src='/Content/ueditor/ueditor.view.js'></script>";
data.F_NewsContent = WebHelper.HtmlDecode(data.F_NewsContent);
return Content(data.F_NewsContent);
}


Carregando…
Cancelar
Salvar