style:消息模块样式
Showing
5 changed files
with
57 additions
and
15 deletions
| ... | @@ -117,11 +117,13 @@ div.top-logo .top_logo_search i { | ... | @@ -117,11 +117,13 @@ div.top-logo .top_logo_search i { |
| 117 | } | 117 | } |
| 118 | .navigation { | 118 | .navigation { |
| 119 | text-align: center; | 119 | text-align: center; |
| 120 | height: 59px; | 120 | height: 70px; |
| 121 | line-height: 70px; | ||
| 121 | } | 122 | } |
| 122 | .navigation .layui-nav-item { | 123 | .navigation .layui-nav-item { |
| 123 | width: 149px!important; | 124 | width: 149px!important; |
| 124 | position: relative; | 125 | position: relative; |
| 126 | line-height: 70px; | ||
| 125 | } | 127 | } |
| 126 | /* .navigation .layui-nav-item a { | 128 | /* .navigation .layui-nav-item a { |
| 127 | border-right: 1px solid rgba(255,255,255, 0.1); | 129 | border-right: 1px solid rgba(255,255,255, 0.1); |
| ... | @@ -144,7 +146,7 @@ div.top-logo .top_logo_search i { | ... | @@ -144,7 +146,7 @@ div.top-logo .top_logo_search i { |
| 144 | background-color: #2F83F7!important; | 146 | background-color: #2F83F7!important; |
| 145 | } | 147 | } |
| 146 | .layui-nav-item a{ | 148 | .layui-nav-item a{ |
| 147 | font-size: 18px; | 149 | font-size: 22px; |
| 148 | } | 150 | } |
| 149 | .layui-nav .layui-nav-more { | 151 | .layui-nav .layui-nav-more { |
| 150 | right: 16px; | 152 | right: 16px; |
| ... | @@ -203,6 +205,7 @@ div.top-logo .top_logo_search i { | ... | @@ -203,6 +205,7 @@ div.top-logo .top_logo_search i { |
| 203 | font-size: 14px; | 205 | font-size: 14px; |
| 204 | color: #7A7A7A; | 206 | color: #7A7A7A; |
| 205 | padding-right: 0!important; | 207 | padding-right: 0!important; |
| 208 | height: 35px; | ||
| 206 | } | 209 | } |
| 207 | .userImage { | 210 | .userImage { |
| 208 | position: relative; | 211 | position: relative; |
| ... | @@ -292,9 +295,9 @@ div.top-logo .top_logo_search i { | ... | @@ -292,9 +295,9 @@ div.top-logo .top_logo_search i { |
| 292 | position: relative; | 295 | position: relative; |
| 293 | } | 296 | } |
| 294 | .sysNewsList { | 297 | .sysNewsList { |
| 295 | top: 30px!important; | 298 | top: 24px!important; |
| 296 | border-radius: 5px!important; | ||
| 297 | width: 360px!important; | 299 | width: 360px!important; |
| 300 | left: -238px; | ||
| 298 | } | 301 | } |
| 299 | .sysNewsItem .sysNewsNum { | 302 | .sysNewsItem .sysNewsNum { |
| 300 | position: absolute; | 303 | position: absolute; |
| ... | @@ -321,6 +324,7 @@ div.top-logo .top_logo_search i { | ... | @@ -321,6 +324,7 @@ div.top-logo .top_logo_search i { |
| 321 | .sysNewsList dd { | 324 | .sysNewsList dd { |
| 322 | padding-top: 10px; | 325 | padding-top: 10px; |
| 323 | background-color: #ffffff!important; | 326 | background-color: #ffffff!important; |
| 327 | border-bottom: 1px solid #E2EAF1; | ||
| 324 | } | 328 | } |
| 325 | .sysNewsList dd a:hover { | 329 | .sysNewsList dd a:hover { |
| 326 | background: none!important; | 330 | background: none!important; |
| ... | @@ -338,30 +342,54 @@ div.top-logo .top_logo_search i { | ... | @@ -338,30 +342,54 @@ div.top-logo .top_logo_search i { |
| 338 | } | 342 | } |
| 339 | 343 | ||
| 340 | .sysNewsTitle { | 344 | .sysNewsTitle { |
| 341 | background-color: #dedede; | 345 | line-height: 50px; |
| 342 | line-height: 36px; | ||
| 343 | padding-left: 20px; | 346 | padding-left: 20px; |
| 344 | position: relative; | 347 | position: relative; |
| 345 | top: -1px; | 348 | top: -1px; |
| 346 | border-top-left-radius: 5px; | 349 | border-bottom: 1px solid #E2EAF1; |
| 347 | border-top-right-radius: 5px; | 350 | color: #686666; |
| 351 | font-size: 16px; | ||
| 352 | font-weight: 700; | ||
| 348 | } | 353 | } |
| 349 | .sysNewsOperation { | 354 | .sysNewsOperation { |
| 350 | height: 36px; | 355 | background: #FCFCFC; |
| 356 | border-bottom: 1px solid #E5E8ED; | ||
| 351 | display: block; | 357 | display: block; |
| 358 | height: 50px; | ||
| 359 | line-height: 50px; | ||
| 352 | } | 360 | } |
| 353 | .sysNewsOperation span{ | 361 | .sysNewsOperation p{ |
| 354 | float: left; | 362 | float: left; |
| 355 | cursor: pointer; | 363 | cursor: pointer; |
| 356 | color: #006CFF; | 364 | font-size: 14px; |
| 357 | font-size: 12px; | ||
| 358 | margin-left: 20px; | 365 | margin-left: 20px; |
| 366 | color: #7A7A7A; | ||
| 367 | } | ||
| 368 | .sysNewsOperation p span { | ||
| 369 | display: inline-block; | ||
| 370 | width: 14px; | ||
| 371 | height: 14px; | ||
| 372 | border: 1px solid #CDCDCD; | ||
| 373 | border-radius: 50%; | ||
| 374 | position: relative; | ||
| 375 | top: 2px; | ||
| 376 | right: 5px; | ||
| 377 | } | ||
| 378 | .sysNewsOperation p span::before { | ||
| 379 | content: ''; | ||
| 380 | position: absolute; | ||
| 381 | width: 4px; | ||
| 382 | height: 4px; | ||
| 383 | background-color: #AAAAAA; | ||
| 384 | border-radius: 50%; | ||
| 385 | left: 5px; | ||
| 386 | top: 6px; | ||
| 359 | } | 387 | } |
| 360 | .sysNewsOperation a{ | 388 | .sysNewsOperation a{ |
| 361 | float: right; | 389 | float: right; |
| 362 | cursor: pointer; | 390 | cursor: pointer; |
| 363 | color: #006CFF!important; | 391 | color: #2F83F7!important; |
| 364 | font-size: 12px; | 392 | font-size: 14px; |
| 365 | } | 393 | } |
| 366 | .sysNewsOperation a:hover { | 394 | .sysNewsOperation a:hover { |
| 367 | background-color: #ffffff!important; | 395 | background-color: #ffffff!important; | ... | ... |
| ... | @@ -364,6 +364,7 @@ div.c_five ul li a img { | ... | @@ -364,6 +364,7 @@ div.c_five ul li a img { |
| 364 | font-size: 14px; | 364 | font-size: 14px; |
| 365 | color: #7A7A7A; | 365 | color: #7A7A7A; |
| 366 | line-height: 36px; | 366 | line-height: 36px; |
| 367 | cursor: pointer; | ||
| 367 | } | 368 | } |
| 368 | /* 好差评 */ | 369 | /* 好差评 */ |
| 369 | .good-bad-comments-box { | 370 | .good-bad-comments-box { | ... | ... |
staticImages/sexiaoxi.png
0 → 100644
801 Bytes
| ... | @@ -12,6 +12,19 @@ function newsCenterData() { | ... | @@ -12,6 +12,19 @@ function newsCenterData() { |
| 12 | $(document).on("mouseout", ".sysNewsList .newsDetail", function (e) { | 12 | $(document).on("mouseout", ".sysNewsList .newsDetail", function (e) { |
| 13 | $('.sysNewsList .newsDetail').addClass('ellipsis'); | 13 | $('.sysNewsList .newsDetail').addClass('ellipsis'); |
| 14 | }) | 14 | }) |
| 15 | |||
| 16 | $(document).on("mouseover", ".sysNewsItem .userImage", function (e) { | ||
| 17 | $(this).attr('src','/staticImages/sexiaoxi.png'); | ||
| 18 | }) | ||
| 19 | $(document).on("mouseout", ".sysNewsItem .userImage", function (e) { | ||
| 20 | $(this).attr('src','/staticImages/xiaoxi.png'); | ||
| 21 | }) | ||
| 22 | $(document).on("mouseover", ".sysNewsList", function (e) { | ||
| 23 | $('.sysNewsItem .userImage').attr('src','/staticImages/sexiaoxi.png'); | ||
| 24 | }) | ||
| 25 | $(document).on("mouseout", ".sysNewsList", function (e) { | ||
| 26 | $('.sysNewsItem .userImage').attr('src','/staticImages/xiaoxi.png'); | ||
| 27 | }) | ||
| 15 | } | 28 | } |
| 16 | // 根据用户id及展示数量读取消息提醒 | 29 | // 根据用户id及展示数量读取消息提醒 |
| 17 | function fetchNewsData(userid, size) { | 30 | function fetchNewsData(userid, size) { | ... | ... |
| ... | @@ -109,7 +109,7 @@ function appendData() { | ... | @@ -109,7 +109,7 @@ function appendData() { |
| 109 | '<dl class="layui-nav-child sysNewsList">' + | 109 | '<dl class="layui-nav-child sysNewsList">' + |
| 110 | '<div class="sysNewsTitle">最新消息</div>' + | 110 | '<div class="sysNewsTitle">最新消息</div>' + |
| 111 | '<div class="sysNewsOperation">' + | 111 | '<div class="sysNewsOperation">' + |
| 112 | '<span>全部标记为已阅</span><a href="/staticViews/sysnews-center.html">查看全部</a>' + | 112 | '<p><span></span>全部标记为已阅</p><a href="/staticViews/sysnews-center.html">查看全部</a>' + |
| 113 | '</div>' + | 113 | '</div>' + |
| 114 | '<div id="sysNewsList-con">'+ | 114 | '<div id="sysNewsList-con">'+ |
| 115 | '</div>'+ | 115 | '</div>'+ | ... | ... |
-
Please register or sign in to post a comment