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
27d58361
authored
2020-11-21 14:41:01 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改脚本
1 parent
6c5a9249
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
staticJs/pageHome.js
staticJs/pageHome.js
View file @
27d5836
...
...
@@ -101,7 +101,8 @@ function NoticeData() {
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
for
(
var
i
=
0
;
i
<
result
.
data
.
length
;
i
++
)
{
if
(
i
==
6
)
return
;
li
=
'<li><a href="#" title="'
+
result
.
data
[
i
].
title
+
'">'
+
result
.
data
[
i
].
title
;
li
=
'<li class="item_notice"><a href="#" title="'
+
result
.
data
[
i
].
title
+
'">'
;
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="#icongonggao1"></use> </svg>'
;
}
...
...
Please
register
or
sign in
to post a comment