From 1716f821d423878742f55919bcf4d9d07e850f77 Mon Sep 17 00:00:00 2001 From: dong_bo0602 <358256383@qq.com> Date: Tue, 10 Aug 2021 14:25:05 +0800 Subject: [PATCH] 0810 --- .../resources/static/assets/web/css/style.css | 44 ++- src/main/resources/templates/index.html | 356 +++++++++++++++++- 2 files changed, 395 insertions(+), 5 deletions(-) diff --git a/src/main/resources/static/assets/web/css/style.css b/src/main/resources/static/assets/web/css/style.css index 8bce2df..693ea93 100644 --- a/src/main/resources/static/assets/web/css/style.css +++ b/src/main/resources/static/assets/web/css/style.css @@ -46,7 +46,13 @@ .news .news-box .news-list ul li span{float:right} .slide-news{position:relative;z-index:100;width:1200px;margin:30px auto} .slide-news .slide{width:66%;height:420px;float:left} +.slide{position: relative;} .slide .bd a{display:block;position:relative} +.slide .hd{position: absolute;right:10px;bottom:12px;} +.slide .hd ul:after{content:'';display: block;clear: both;} +.slide .hd ul li{width:15px;height:15px;border-radius: 50%;background: #fff;cursor: pointer;float:left;margin-right:10px;text-align: center;color: #000;line-height: 15px;font-size: 12px;} +.slide .hd ul li:last-child{margin-right: 0} +.slide .hd ul li.on{background: #064ec0;color:#fff;} .dynamic-news,.slide{position:relative} .dynamic-news>a,.slide>a{display:block;width:50px;height:50px;position:absolute;top:50%;margin-top:-25px} .dynamic-news>a.prev,.slide>a.prev{left:10px;background:url(../images/prev.png) no-repeat center;background-size:100% 100%} @@ -54,7 +60,7 @@ .dynamic-news>a.next,.slide>a.next{right:10px;background:url(../images/next.png) no-repeat center;background-size:100% 100%} .dynamic-news>a.next:hover,.slide>a.next:hover{background:url(../images/next-on.png) no-repeat center} .slide .bd a img{width:100%;height:420px} -.slide-text{position:absolute;left:0;bottom:0;background:rgba(0,0,0,.6);color:#fff;font-size:14px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:40px;line-height:40px;padding:0 10px;box-sizing:border-box} +.slide-text{position:absolute;left:0;bottom:0;background:rgba(0,0,0,.6);color:#fff;font-size:14px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:40px;line-height:40px;padding:0 100px 0 10px;box-sizing:border-box;} .slide-news .exposure-news{width:32%;float:right} .exposure-box{float:left;width:96px} .exposure-box img{width:96px;height:96px} @@ -97,6 +103,7 @@ .news-detail img,.news-detail video{max-width:100%!important} .assessment-header .banner img{width:100%} .count{width:1200px;margin:20px auto;padding:15px 15px 0;box-sizing:border-box;background:#fff} +.count>h3{font-size: 20px;color: #333;font-weight: normal;margin-bottom: 10px;} .chart-box{width:260px} .count-title{padding-left:10px;border-left:5px solid #3d41b7;font-size:16px;color:#333} .chart{width:260px;height:170px;margin-top:10px} @@ -229,3 +236,38 @@ border-radius: 10px; box-shadow: 0 0 17px #DEDEDE; } +.fix-box{ + position: fixed; + top:50%; + right:0; + transform: translate(0,-50%); + padding:0 15px 15px; + background: #fff; + width: 200px; + z-index: 100; + box-shadow: 0 0 10px #EEE; +} +.fix-title{ + border-bottom: 1px solid #eee; + line-height: 45px; + font-size: 18px; + text-align: center; + color: #333; +} +.scroll-slide-title,.scroll-slide li{ + font-size: 0; +} +.scroll-slide-title span,.scroll-slide span{ + display: inline-block; + font-size: 16px; + line-height: 30px; + text-align: center; + width: 20%; + vertical-align: top; +} +.scroll-slide-title span:first-child,.scroll-slide span:first-child{ + width:40%; + white-space: nowrap; + overflow:hidden; + text-overflow: ellipsis; +} diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 097f52f..b4ca1b1 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -127,6 +127,11 @@ +
+ +
@@ -180,7 +185,90 @@ - +
+

四个清单

+
+
指标状态占比统计
+
+
+
+
指标状态统计
+
+
+ {{countInfo4.checkPendingNum}} +

未审核

+
+
+ {{countInfo4.checkPassNum}} +

审核通过

+
+
+ {{countInfo4.checkArchivesNum}} +

归档

+
+
+ {{countInfo4.checkNoPassNum}} +

审核不通过

+
+
+
+
+
+

五项流程

+
+
指标状态占比统计
+
+
+
+
指标状态统计
+
+
+ {{countInfo5.checkPendingNum}} +

未审核

+
+
+ {{countInfo5.checkPassNum}} +

审核通过

+
+
+ {{countInfo5.checkArchivesNum}} +

归档

+
+
+ {{countInfo5.checkNoPassNum}} +

审核不通过

+
+
+
+
+
+

六本台账

+
+
指标状态占比统计
+
+
+
+
指标状态统计
+
+
+ {{countInfo6.checkPendingNum}} +

未审核

+
+
+ {{countInfo6.checkPassNum}} +

审核通过

+
+
+ {{countInfo6.checkArchivesNum}} +

归档

+
+
+ {{countInfo6.checkNoPassNum}} +

审核不通过

+
+
+
+
+
+
今日上报统计
+
+ 单位名称 + + + +
+
+
+
    +
  • + 单位1 + 0 + 0 + 0 +
  • +
  • + 单位1 + 0 + 0 + 0 +
  • +
  • + 单位1 + 0 + 0 + 0 +
  • +
  • + 单位1 + 0 + 0 + 0 +
  • +
  • + 单位1 + 0 + 0 + 0 +
  • +
  • + 单位1 + 0 + 0 + 0 +
  • +
  • + 单位1 + 0 + 0 + 0 +
  • +
  • + 单位1 + 0 + 0 + 0 +
  • +
+
+
@@ -199,6 +350,7 @@ +