修改脚本
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -101,7 +101,8 @@ function NoticeData() { | ... | @@ -101,7 +101,8 @@ function NoticeData() { |
101 | if (result.code == 200 && result.data != null) { | 101 | if (result.code == 200 && result.data != null) { |
102 | for (var i = 0; i < result.data.length; i++) { | 102 | for (var i = 0; i < result.data.length; i++) { |
103 | if (i == 6) return; | 103 | if (i == 6) return; |
104 | li = '<li><a href="#" title="' + result.data[i].title + '">' + result.data[i].title; | 104 | li = '<li class="item_notice"><a href="#" title="' + result.data[i].title + '">'; |
105 | li += '<p>' + result.data[i].title + '</P>'; | ||
105 | if (result.data[i].noticeType == 1) { | 106 | if (result.data[i].noticeType == 1) { |
106 | li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongonggao1"></use> </svg>'; | 107 | li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongonggao1"></use> </svg>'; |
107 | } | 108 | } | ... | ... |
-
Please register or sign in to post a comment