diff --git a/component/pear/module/message.js b/component/pear/module/message.js index 9a7e20435ce5d45db4588a44cba0069493b9d96d..87c2fd2777ec0a40f6edc174fe4ac0de316238da 100644 --- a/component/pear/module/message.js +++ b/component/pear/module/message.js @@ -99,9 +99,12 @@ layui.define(['table', 'jquery', 'element'], function (exports) { $.each(item.children, function (i, note) { noticeContent += '
' + - '' + - '
' + note.title + '
' + + '" notice-title="' + note.title + '" notice-id="' + note.id + '">' ; + + if (note.avatar) + noticeContent +=''; + + noticeContent +='
' + note.title + '
' + '
' + note.time + '
' + '
'; })