style:消息
Showing
2 changed files
with
16 additions
and
9 deletions
| ... | @@ -334,13 +334,14 @@ div.top-logo .top_logo_search i { | ... | @@ -334,13 +334,14 @@ div.top-logo .top_logo_search i { |
| 334 | width: 100%; | 334 | width: 100%; |
| 335 | display: block; | 335 | display: block; |
| 336 | line-height: 24px; | 336 | line-height: 24px; |
| 337 | color: #4a4a44; | ||
| 338 | white-space: normal; | 337 | white-space: normal; |
| 338 | font-weight: 700; | ||
| 339 | color: #6D7278; | ||
| 340 | font-size: 14px; | ||
| 339 | } | 341 | } |
| 340 | .sysNewsList dd a p:hover { | 342 | .sysNewsList dd a p:hover { |
| 341 | color: #006CFF; | 343 | color: #006CFF; |
| 342 | } | 344 | } |
| 343 | |||
| 344 | .sysNewsTitle { | 345 | .sysNewsTitle { |
| 345 | line-height: 50px; | 346 | line-height: 50px; |
| 346 | padding-left: 20px; | 347 | padding-left: 20px; |
| ... | @@ -406,13 +407,23 @@ div.top-logo .top_logo_search i { | ... | @@ -406,13 +407,23 @@ div.top-logo .top_logo_search i { |
| 406 | } | 407 | } |
| 407 | .newsDetail-time span{ | 408 | .newsDetail-time span{ |
| 408 | font-size: 12px; | 409 | font-size: 12px; |
| 409 | color: #555454; | 410 | color: #7A7A7A; |
| 410 | } | 411 | } |
| 411 | .newsDetail-time span:nth-child(2){ | 412 | .newsDetail-time span:nth-child(2){ |
| 412 | float: right; | 413 | float: right; |
| 413 | } | 414 | } |
| 414 | .read { | 415 | .read { |
| 415 | color: #006CFF!important; | 416 | display: inline-block; |
| 417 | font-size: 14px; | ||
| 418 | color: #0F93F6!important; | ||
| 419 | width: 64px; | ||
| 420 | height: 24px; | ||
| 421 | background: #FFFFFF; | ||
| 422 | border-radius: 12px; | ||
| 423 | opacity: 0.6; | ||
| 424 | text-align: center; | ||
| 425 | line-height: 24px; | ||
| 426 | border: 1px solid #0F93F6; | ||
| 416 | } | 427 | } |
| 417 | /* 头部搜索区域 */ | 428 | /* 头部搜索区域 */ |
| 418 | .head-search { | 429 | .head-search { | ... | ... |
| ... | @@ -44,11 +44,7 @@ function fetchNewsData(userid, size) { | ... | @@ -44,11 +44,7 @@ function fetchNewsData(userid, size) { |
| 44 | li += '<a>' | 44 | li += '<a>' |
| 45 | li += '<p class="newsDetail ellipsis">' + result.data[i].content + '</p>' | 45 | li += '<p class="newsDetail ellipsis">' + result.data[i].content + '</p>' |
| 46 | li += '<div class="newsDetail-time"><span>' + result.data[i].addTime + '</span>' | 46 | li += '<div class="newsDetail-time"><span>' + result.data[i].addTime + '</span>' |
| 47 | if (result.data[i].status == 0) { | 47 | li += '<span class="read">我知道了</span></div>' |
| 48 | li += '<span clas="unread" style="color: #ff0000">未读</span></div>' | ||
| 49 | } else { | ||
| 50 | li += '<span class="read">已读</span></div>' | ||
| 51 | } | ||
| 52 | li += '</a>' | 48 | li += '</a>' |
| 53 | li += '</dd>' | 49 | li += '</dd>' |
| 54 | sysNewsList.append(li); | 50 | sysNewsList.append(li); | ... | ... |
-
Please register or sign in to post a comment