Explorar el Código

通知公告图标隐藏

长阳分支中职
yxq hace 1 mes
padre
commit
bdcf8af783
Se han modificado 2 ficheros con 8 adiciones y 0 borrados
  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 fichero

@@ -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 fichero

@@ -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);
}


Cargando…
Cancelar
Guardar