Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d8289368
authored
2020-12-22 11:39:37 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:新闻
1 parent
490b6d27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
staticJs/pageHome.js
staticJs/pageHome.js
View file @
d828936
...
...
@@ -105,10 +105,10 @@ function NoticeData() {
li
=
'<li class="item_notice"><a href="./staticViews/ggxq.html?id='
+
result
.
data
[
i
].
id
+
'" title="'
+
result
.
data
[
i
].
title
+
'" target="_blank">'
;
li
+=
'<p>'
+
result
.
data
[
i
].
title
+
'</P>'
;
if
(
result
.
data
[
i
].
noticeType
==
1
)
{
li
+=
'<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongong
gao1
"></use> </svg>'
;
li
+=
'<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongong
shi
"></use> </svg>'
;
}
else
{
li
+=
'<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongong
shi
"></use> </svg>'
;
li
+=
'<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongong
gao1
"></use> </svg>'
;
}
li
+=
'</a></li>'
;
ulTag
.
append
(
li
);
...
...
Please
register
or
sign in
to post a comment