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
7f1f00ea
authored
2021-01-06 15:28:54 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:新闻动态详情
1 parent
d4ed1189
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
staticCss/xwxq.css
staticJs/xwxq.js
staticCss/xwxq.css
View file @
7f1f00e
...
...
@@ -15,6 +15,9 @@
margin
:
0
auto
;
padding-top
:
41px
;
}
.mainbody
.left
{
width
:
80%
;
}
.navigation_crumbs
{
width
:
100%
;
padding
:
10px
0
;
...
...
staticJs/xwxq.js
View file @
7f1f00e
...
...
@@ -44,8 +44,8 @@ function HotArticle() {
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
for
(
var
i
=
0
;
i
<
result
.
data
.
length
;
i
++
)
{
li
=
'<li class="tj">'
;
if
(
result
.
data
[
i
].
cover
)
{
li
+=
'<img src="'
+
result
.
data
[
i
].
cover
+
'">'
;
if
(
result
.
data
[
i
].
preViewUrl
)
{
li
+=
'<img src="'
+
result
.
data
[
i
].
preViewUrl
+
'">'
;
}
li
+=
'<span class="tj-title">'
+
result
.
data
[
i
].
headline
+
'</span>'
;
li
+=
'<span class="tj-date">'
+
result
.
data
[
i
].
deadtime
+
'</span>'
;
...
...
Please
register
or
sign in
to post a comment