From 700f08b5d526a8c325f93fcb7daaba7d44eaa958 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Wed, 19 Oct 2022 15:24:40 +0800 Subject: [PATCH] * show echarts autoPlay --- module/report/css/annualdata.css | 16 +- module/report/view/annualdata.html.php | 358 +++++++++++++++---------- 2 files changed, 226 insertions(+), 148 deletions(-) diff --git a/module/report/css/annualdata.css b/module/report/css/annualdata.css index 4d3bac9a58..a4e3605a0a 100644 --- a/module/report/css/annualdata.css +++ b/module/report/css/annualdata.css @@ -83,22 +83,22 @@ section.active {border: 1px solid rgb(0, 166, 255);} .dataYearStat .canvas.left {width: 450px;} .dataYearStat .canvas.right {width: 810px; float: right;} - #stopPlaying {font-size: 18px; position: absolute; left: 0; top: 8px; + #stopPlaying {font-size: 18px; position: absolute; left: 0; bottom: 16px; } - #timeline li {display: inline-block; cursor: pointer; color: #444; padding: 0 5px; margin: 0; position: relative; + #timeline li {display: inline-block; cursor: pointer; color: #444; padding: 0 2px; margin: 0; position: relative; } + #showImg {width: 272px; height: 255px; border: none; margin: 0; margin-left: 20px;} + #timeline li img { width: 200px; height: 200px;position: absolute; top: -300px; left: 0;} - #timeline li::before{ content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #fff; position: absolute; left: 20px; top: -8px; z-index: 2; + #timeline li::before{ content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #fff; position: absolute; left: 50%; top: -8px; z-index: 2; } - #timeline li::after{content: ''; display: block; width: 100%; height: 2px; border-radius: 1px; background: #fff; position: absolute; left: -20px; top: -5px;} - - .class1 {background-size: 60px 24px;} + #timeline li::after{content: ''; display: block; width: 100%; height: 2px; border-radius: 1px; background: #fff; position: absolute; left: -50%; top: -5px;} #timeline .selecteded {color: #1a77a5;} #timeline .selecteded::before {background: #1a77a5;} - .scroll-shell { width: 330px; height: 96%; margin-top: 1.5%; overflow: hidden; position: relative; + .scroll-shell { width: 330px; height: 89%; overflow: hidden; position: relative; } - #timeline { padding-top: 20px; list-style: none; text-align: center; margin-left: 25px; width: 310px; height: 89%; overflow: auto; overflow-x: hidden; + #timeline { padding-top: 15px; list-style: none; margin-left: 25px; width: 310px; height: 30px; overflow: auto; overflow-x: hidden; } \ No newline at end of file diff --git a/module/report/view/annualdata.html.php b/module/report/view/annualdata.html.php index c0a4deef46..30c1efea65 100644 --- a/module/report/view/annualdata.html.php +++ b/module/report/view/annualdata.html.php @@ -122,13 +122,12 @@

radar . $soFar;?>

- - - -
- -
    -
    +
    +
    + + +
      +
      @@ -245,104 +244,186 @@