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
a6b6969c
authored
2020-12-25 14:01:11 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:新闻动态
1 parent
6b8ca01d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
staticCss/flfg.css
staticJs/gsgg.js
staticCss/flfg.css
View file @
a6b6969
...
...
@@ -77,7 +77,7 @@
margin-top
:
5px
;
}
.policy_list
{
padding-bottom
:
3
0px
;
padding-bottom
:
2
0px
;
border-bottom
:
1px
solid
#DEDEDE
;
}
.news_list
{
...
...
@@ -88,3 +88,15 @@
height
:
124px
;
margin-bottom
:
10px
;
}
.tj-date
{
display
:
block
;
color
:
#9B9B9B
;
font-size
:
12px
;
margin-top
:
5px
;
}
.tj
{
margin-top
:
10px
;
}
.policy_list_con
li
{
margin-bottom
:
10px
;
}
\ No newline at end of file
...
...
staticJs/gsgg.js
View file @
a6b6969
...
...
@@ -70,11 +70,13 @@ function HotArticle() {
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
for
(
var
i
=
0
;
i
<
result
.
data
.
length
;
i
++
)
{
li
=
'<li class="tj">'
;
li
=
'<li class="tj"><a href="./xwxq.html?id='
+
result
.
data
[
i
].
id
+
'" target="_blank">'
;
if
(
result
.
data
[
i
].
cover
)
{
li
+=
'<img src="'
+
result
.
data
[
i
].
cover
+
'">'
;
}
li
+=
'<span class="tj-title">'
+
result
.
data
[
i
].
headline
+
'</span>'
;
li
+=
'<span class="tj-date">'
+
result
.
data
[
i
].
deadtime
+
'</span>'
;
li
+=
'</li>'
;
li
+=
'</
a></
li>'
;
recommend
.
append
(
li
);
}
}
...
...
Please
register
or
sign in
to post a comment