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
c2187b9b
authored
2021-01-27 11:51:22 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:消息
1 parent
f8e08564
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
staticCss/header.css
staticJs/header.js
staticCss/header.css
View file @
c2187b9
...
...
@@ -334,13 +334,14 @@ div.top-logo .top_logo_search i {
width
:
100%
;
display
:
block
;
line-height
:
24px
;
color
:
#4a4a44
;
white-space
:
normal
;
font-weight
:
700
;
color
:
#6D7278
;
font-size
:
14px
;
}
.sysNewsList
dd
a
p
:hover
{
color
:
#006CFF
;
}
.sysNewsTitle
{
line-height
:
50px
;
padding-left
:
20px
;
...
...
@@ -406,13 +407,23 @@ div.top-logo .top_logo_search i {
}
.newsDetail-time
span
{
font-size
:
12px
;
color
:
#
555454
;
color
:
#
7A7A7A
;
}
.newsDetail-time
span
:nth-child
(
2
)
{
float
:
right
;
}
.read
{
color
:
#006CFF
!important
;
display
:
inline-block
;
font-size
:
14px
;
color
:
#0F93F6
!important
;
width
:
64px
;
height
:
24px
;
background
:
#FFFFFF
;
border-radius
:
12px
;
opacity
:
0.6
;
text-align
:
center
;
line-height
:
24px
;
border
:
1px
solid
#0F93F6
;
}
/* 头部搜索区域 */
.head-search
{
...
...
staticJs/header.js
View file @
c2187b9
...
...
@@ -44,11 +44,7 @@ function fetchNewsData(userid, size) {
li
+=
'<a>'
li
+=
'<p class="newsDetail ellipsis">'
+
result
.
data
[
i
].
content
+
'</p>'
li
+=
'<div class="newsDetail-time"><span>'
+
result
.
data
[
i
].
addTime
+
'</span>'
if
(
result
.
data
[
i
].
status
==
0
)
{
li
+=
'<span clas="unread" style="color: #ff0000">未读</span></div>'
}
else
{
li
+=
'<span class="read">已读</span></div>'
}
li
+=
'<span class="read">我知道了</span></div>'
li
+=
'</a>'
li
+=
'</dd>'
sysNewsList
.
append
(
li
);
...
...
Please
register
or
sign in
to post a comment