style:新闻详情
Showing
7 changed files
with
80 additions
and
33 deletions
| ... | @@ -10,6 +10,9 @@ | ... | @@ -10,6 +10,9 @@ |
| 10 | background-color: #1E9FFF; | 10 | background-color: #1E9FFF; |
| 11 | color: #fff; | 11 | color: #fff; |
| 12 | } | 12 | } |
| 13 | .layui-icon-search { | ||
| 14 | color: #6D7278; | ||
| 15 | } | ||
| 13 | /* ----------------------公共样式-------------------------- */ | 16 | /* ----------------------公共样式-------------------------- */ |
| 14 | .contentBox { | 17 | .contentBox { |
| 15 | width: 1200px; | 18 | width: 1200px; | ... | ... |
| ... | @@ -135,7 +135,7 @@ div.subject { | ... | @@ -135,7 +135,7 @@ div.subject { |
| 135 | .leftContainer{ | 135 | .leftContainer{ |
| 136 | border-right: 1px solid #DEDEDE; | 136 | border-right: 1px solid #DEDEDE; |
| 137 | margin-top: 41px; | 137 | margin-top: 41px; |
| 138 | padding-bottom: 30px; | 138 | padding-bottom: 20px; |
| 139 | } | 139 | } |
| 140 | .leftContainer li { | 140 | .leftContainer li { |
| 141 | border-bottom: 1px solid #EAEAEA; | 141 | border-bottom: 1px solid #EAEAEA; | ... | ... |
| 1 | * { | 1 | .middle_active { |
| 2 | padding: 0; | 2 | position: fixed; |
| 3 | margin: 0; | 3 | top: 0; |
| 4 | z-index: 99; | ||
| 4 | } | 5 | } |
| 5 | |||
| 6 | .main { | 6 | .main { |
| 7 | overflow: hidden | 7 | overflow: hidden |
| 8 | } | 8 | } |
| 9 | 9 | .body { | |
| 10 | color: #4A4A4A; | ||
| 11 | line-height: 25px; | ||
| 12 | } | ||
| 10 | .mainbody { | 13 | .mainbody { |
| 11 | width: 1200px; | 14 | width: 1200px; |
| 12 | margin: 0 auto; | 15 | margin: 0 auto; |
| 16 | padding-top: 41px; | ||
| 13 | } | 17 | } |
| 14 | .navigation_crumbs { | 18 | .navigation_crumbs { |
| 15 | width: 100%; | 19 | width: 100%; |
| ... | @@ -340,6 +344,7 @@ div.navigation { | ... | @@ -340,6 +344,7 @@ div.navigation { |
| 340 | 344 | ||
| 341 | .commentInput { | 345 | .commentInput { |
| 342 | height: 80px; | 346 | height: 80px; |
| 347 | padding-left: 15px; | ||
| 343 | } | 348 | } |
| 344 | 349 | ||
| 345 | .comment-bottom div { | 350 | .comment-bottom div { |
| ... | @@ -385,17 +390,18 @@ div.navigation { | ... | @@ -385,17 +390,18 @@ div.navigation { |
| 385 | 390 | ||
| 386 | .commentInputImg { | 391 | .commentInputImg { |
| 387 | height: 100px; | 392 | height: 100px; |
| 393 | margin-right: 15px; | ||
| 388 | } | 394 | } |
| 389 | 395 | ||
| 390 | .commentInputImg, commentInputInput { | 396 | .commentInputImg{ |
| 391 | float: left; | 397 | float: left; |
| 392 | } | 398 | } |
| 393 | 399 | .commentInputInput { | |
| 400 | padding-right: 15px; | ||
| 401 | } | ||
| 394 | .commentInput textarea { | 402 | .commentInput textarea { |
| 395 | height: 130px; | ||
| 396 | background: #FFFFFF; | 403 | background: #FFFFFF; |
| 397 | border: 1px solid #DEDEDE; | 404 | border: 1px solid #DEDEDE; |
| 398 | margin-left: 20px; | ||
| 399 | } | 405 | } |
| 400 | 406 | ||
| 401 | .layui-textarea { | 407 | .layui-textarea { |
| ... | @@ -413,6 +419,7 @@ div.navigation { | ... | @@ -413,6 +419,7 @@ div.navigation { |
| 413 | 419 | ||
| 414 | .Commentdetails { | 420 | .Commentdetails { |
| 415 | margin-bottom: 20px; | 421 | margin-bottom: 20px; |
| 422 | padding-left: 15px; | ||
| 416 | } | 423 | } |
| 417 | 424 | ||
| 418 | .CommentdetailsTitle { | 425 | .CommentdetailsTitle { |
| ... | @@ -500,11 +507,11 @@ div.navigation { | ... | @@ -500,11 +507,11 @@ div.navigation { |
| 500 | } | 507 | } |
| 501 | 508 | ||
| 502 | .pl-right-bottom { | 509 | .pl-right-bottom { |
| 503 | height: 12px; | 510 | height: 14px; |
| 504 | font-size: 12px; | 511 | font-size: 14px; |
| 505 | font-weight: 400; | 512 | font-weight: 400; |
| 506 | color: #9B9B9B; | 513 | color: #9B9B9B; |
| 507 | line-height: 12px; | 514 | line-height: 14px; |
| 508 | display: inline-block; | 515 | display: inline-block; |
| 509 | margin-top: 10px; | 516 | margin-top: 10px; |
| 510 | } | 517 | } |
| ... | @@ -515,8 +522,8 @@ div.navigation { | ... | @@ -515,8 +522,8 @@ div.navigation { |
| 515 | 522 | ||
| 516 | .plhf-main { | 523 | .plhf-main { |
| 517 | background-color: #F7F7F7; | 524 | background-color: #F7F7F7; |
| 518 | margin-top: 20px; | 525 | margin-top: 30px; |
| 519 | width: 690px; | 526 | width: 710px; |
| 520 | margin-left: 15px; | 527 | margin-left: 15px; |
| 521 | } | 528 | } |
| 522 | 529 | ||
| ... | @@ -526,6 +533,9 @@ div.navigation { | ... | @@ -526,6 +533,9 @@ div.navigation { |
| 526 | width: 650px; | 533 | width: 650px; |
| 527 | margin-left: 15px; | 534 | margin-left: 15px; |
| 528 | } | 535 | } |
| 536 | .plhf-top { | ||
| 537 | margin-bottom: 5px; | ||
| 538 | } | ||
| 529 | 539 | ||
| 530 | .plhf-top div:first-child, .plhf-top div:last-child { | 540 | .plhf-top div:first-child, .plhf-top div:last-child { |
| 531 | float: left; | 541 | float: left; |
| ... | @@ -610,7 +620,7 @@ div.navigation { | ... | @@ -610,7 +620,7 @@ div.navigation { |
| 610 | } | 620 | } |
| 611 | 621 | ||
| 612 | .right-top h2 { | 622 | .right-top h2 { |
| 613 | font-size: 27px; | 623 | font-size: 20px; |
| 614 | } | 624 | } |
| 615 | 625 | ||
| 616 | 626 | ||
| ... | @@ -627,10 +637,12 @@ div.navigation { | ... | @@ -627,10 +637,12 @@ div.navigation { |
| 627 | width: 200px; | 637 | width: 200px; |
| 628 | height: 125px; | 638 | height: 125px; |
| 629 | margin-top: 20px; | 639 | margin-top: 20px; |
| 640 | margin-bottom: 5px; | ||
| 630 | } | 641 | } |
| 631 | 642 | ||
| 632 | .tj img, .tj span { | 643 | .tj img, .tj span { |
| 633 | float: left; | 644 | float: left; |
| 645 | color: #4A4A4A; | ||
| 634 | } | 646 | } |
| 635 | 647 | ||
| 636 | .tj-title { | 648 | .tj-title { |
| ... | @@ -643,11 +655,11 @@ div.navigation { | ... | @@ -643,11 +655,11 @@ div.navigation { |
| 643 | 655 | ||
| 644 | .tj-date { | 656 | .tj-date { |
| 645 | width: 90px; | 657 | width: 90px; |
| 646 | height: 12px; | 658 | height: 14px; |
| 647 | font-size: 12px; | 659 | font-size: 14px; |
| 648 | font-weight: 400; | 660 | font-weight: 400; |
| 649 | color: #9B9B9B; | 661 | color: #9B9B9B; |
| 650 | line-height: 12px; | 662 | line-height: 16px; |
| 651 | } | 663 | } |
| 652 | 664 | ||
| 653 | .right-bottom { | 665 | .right-bottom { | ... | ... |
| ... | @@ -118,7 +118,7 @@ div.subject { | ... | @@ -118,7 +118,7 @@ div.subject { |
| 118 | .xw { | 118 | .xw { |
| 119 | display: block; | 119 | display: block; |
| 120 | padding-top: 10px; | 120 | padding-top: 10px; |
| 121 | height: 150px; | 121 | height: 112px; |
| 122 | cursor: pointer; | 122 | cursor: pointer; |
| 123 | } | 123 | } |
| 124 | 124 | ||
| ... | @@ -142,6 +142,11 @@ div.subject { | ... | @@ -142,6 +142,11 @@ div.subject { |
| 142 | .leftContainer{ | 142 | .leftContainer{ |
| 143 | border-right: 1px solid #DEDEDE; | 143 | border-right: 1px solid #DEDEDE; |
| 144 | margin-top: 28px; | 144 | margin-top: 28px; |
| 145 | padding-bottom: 20px; | ||
| 146 | } | ||
| 147 | .leftContainer li{ | ||
| 148 | border-bottom: 1px solid #EAEAEA; | ||
| 149 | margin-bottom: 25px; | ||
| 145 | } | 150 | } |
| 146 | .leftContainer li:last-child{ | 151 | .leftContainer li:last-child{ |
| 147 | border-bottom: 1px solid #DEDEDE; | 152 | border-bottom: 1px solid #DEDEDE; |
| ... | @@ -151,16 +156,15 @@ div.subject { | ... | @@ -151,16 +156,15 @@ div.subject { |
| 151 | height: 18px; | 156 | height: 18px; |
| 152 | font-size: 18px; | 157 | font-size: 18px; |
| 153 | font-weight: bold; | 158 | font-weight: bold; |
| 154 | color: #4A4A4A; | 159 | color: #686666; |
| 155 | line-height: 18px; | 160 | line-height: 18px; |
| 156 | cursor: pointer; | 161 | cursor: pointer; |
| 157 | } | 162 | } |
| 158 | .left-top:hover { | 163 | .left-top:hover { |
| 159 | color: #4A4A4A; | 164 | color: #686666; |
| 160 | } | 165 | } |
| 161 | 166 | ||
| 162 | .left-body { | 167 | .left-body { |
| 163 | height: 60px; | ||
| 164 | font-size: 14px; | 168 | font-size: 14px; |
| 165 | font-weight: 400; | 169 | font-weight: 400; |
| 166 | color: #6D7278; | 170 | color: #6D7278; |
| ... | @@ -206,7 +210,7 @@ div.subject { | ... | @@ -206,7 +210,7 @@ div.subject { |
| 206 | height: 18px; | 210 | height: 18px; |
| 207 | font-size: 18px; | 211 | font-size: 18px; |
| 208 | font-weight: 500; | 212 | font-weight: 500; |
| 209 | color: #4A4A4A; | 213 | color: #686666; |
| 210 | line-height: 0; | 214 | line-height: 0; |
| 211 | } | 215 | } |
| 212 | .right-top h2 { | 216 | .right-top h2 { |
| ... | @@ -275,8 +279,9 @@ div.subject { | ... | @@ -275,8 +279,9 @@ div.subject { |
| 275 | height: 14px; | 279 | height: 14px; |
| 276 | font-size: 14px; | 280 | font-size: 14px; |
| 277 | font-weight: bold; | 281 | font-weight: bold; |
| 278 | color: #4A4A4A; | 282 | color: #686666; |
| 279 | line-height: 14px; | 283 | line-height: 14px; |
| 284 | margin-bottom: 5px; | ||
| 280 | } | 285 | } |
| 281 | 286 | ||
| 282 | .zcfg-body { | 287 | .zcfg-body { | ... | ... |
staticJs/xwxq.js
0 → 100644
| 1 | $(function () { | ||
| 2 | let Mydate = new Date() | ||
| 3 | let year = Mydate.getFullYear(); | ||
| 4 | let minutes = Mydate.getMinutes() | ||
| 5 | let hour = Mydate.getHours(); | ||
| 6 | let date = Mydate.getDate() | ||
| 7 | let month = Mydate.getMonth(); | ||
| 8 | $('.date div:first-child').text(year) | ||
| 9 | $('.date div:nth-child(2)').text(month + 1 + "/" + date) | ||
| 10 | $('.date div:last-child').text(hour + ":" + minutes) | ||
| 11 | }) | ||
| 12 | $(window).scroll(function () { | ||
| 13 | let juli = $(document).scrollTop(); | ||
| 14 | if (juli > 360) { | ||
| 15 | $('.left-left').addClass('middle_active'); | ||
| 16 | } else { | ||
| 17 | $('.left-left').removeClass('middle_active'); | ||
| 18 | } | ||
| 19 | }) | ||
| 20 | layui.use('element', function () { | ||
| 21 | var element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 | ||
| 22 | //监听导航点击 | ||
| 23 | element.on('nav(demo)', function (elem) { | ||
| 24 | //console.log(elem) | ||
| 25 | layer.msg(elem.text()); | ||
| 26 | }); | ||
| 27 | }); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -22,10 +22,10 @@ | ... | @@ -22,10 +22,10 @@ |
| 22 | <div class="left"> | 22 | <div class="left"> |
| 23 | <ul class="leftContainer"> | 23 | <ul class="leftContainer"> |
| 24 | <li> | 24 | <li> |
| 25 | <a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./../xwxq/index.html" target="_blank"> | 25 | <a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./xwxq.html" target="_blank"> |
| 26 | 前三季度主要指标由负转正 中国经济持续稳定恢复 | 26 | 前三季度主要指标由负转正 中国经济持续稳定恢复 |
| 27 | </a> | 27 | </a> |
| 28 | <a class="xw" href="./../xwxq/index.html" target="_blank"> | 28 | <a class="xw" href="./xwxq.html" target="_blank"> |
| 29 | <div class="xw-left"> | 29 | <div class="xw-left"> |
| 30 | <img | 30 | <img |
| 31 | src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg"> | 31 | src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg"> |
| ... | @@ -56,10 +56,10 @@ | ... | @@ -56,10 +56,10 @@ |
| 56 | </a> | 56 | </a> |
| 57 | </li> | 57 | </li> |
| 58 | <li> | 58 | <li> |
| 59 | <a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./../xwxq/index.html" target="_blank"> | 59 | <a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./xwxq.html" target="_blank"> |
| 60 | 前三季度主要指标由负转正 中国经济持续稳定恢复 | 60 | 前三季度主要指标由负转正 中国经济持续稳定恢复 |
| 61 | </a> | 61 | </a> |
| 62 | <a class="xw" href="./../xwxq/index.html" target="_blank"> | 62 | <a class="xw" href="./xwxq.html" target="_blank"> |
| 63 | <div class="xw-left"> | 63 | <div class="xw-left"> |
| 64 | <img | 64 | <img |
| 65 | src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg"> | 65 | src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg"> |
| ... | @@ -90,10 +90,10 @@ | ... | @@ -90,10 +90,10 @@ |
| 90 | </a> | 90 | </a> |
| 91 | </li> | 91 | </li> |
| 92 | <li> | 92 | <li> |
| 93 | <a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./../xwxq/index.html" target="_blank"> | 93 | <a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./xwxq.html" target="_blank"> |
| 94 | 前三季度主要指标由负转正 中国经济持续稳定恢复 | 94 | 前三季度主要指标由负转正 中国经济持续稳定恢复 |
| 95 | </a> | 95 | </a> |
| 96 | <a class="xw" href="./../xwxq/index.html" target="_blank"> | 96 | <a class="xw" href="./xwxq.html" target="_blank"> |
| 97 | <div class="xw-left"> | 97 | <div class="xw-left"> |
| 98 | <img | 98 | <img |
| 99 | src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg"> | 99 | src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg"> |
| ... | @@ -124,10 +124,10 @@ | ... | @@ -124,10 +124,10 @@ |
| 124 | </a> | 124 | </a> |
| 125 | </li> | 125 | </li> |
| 126 | <li> | 126 | <li> |
| 127 | <a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./../xwxq/index.html" target="_blank"> | 127 | <a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./xwxq.html" target="_blank"> |
| 128 | 前三季度主要指标由负转正 中国经济持续稳定恢复 | 128 | 前三季度主要指标由负转正 中国经济持续稳定恢复 |
| 129 | </a> | 129 | </a> |
| 130 | <a class="xw" href="./xwxq/index.html" target="_blank"> | 130 | <a class="xw" href="./xwxq.html" target="_blank"> |
| 131 | <div class="xw-left"> | 131 | <div class="xw-left"> |
| 132 | <img | 132 | <img |
| 133 | src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg"> | 133 | src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg"> | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment