2s利用Echarts实现数字化办公大屏(记得收藏)

简介: 2s利用Echarts实现数字化办公大屏(记得收藏)

主题:数字化办公大屏

开发技术:

 Echarts+html+css+js

支持平台:

 dw,vscode,webstorm,idea,Hbuilderx等

源码:文末附

如需定制开发大屏,可在公众号内联系作者

体效果

部分js代码


<section>
  <div class="firstCon">
      <div class="firstCon-left">
          <h4>各业务平均办理时间/分钟</h4>
          <div class="firstLeftsec">
              <div class="contain">
                  <div class="firsttab" id="firsttab1"></div>
                  <p>综合业务</p>
              </div>
              <div class="contain">
                  <div class="firsttab" id="firsttab2"></div>
                  <p>综合业务</p>
              </div>
              <div class="contain">
                  <div class="firsttab" id="firsttab3"></div>
                  <p>综合业务</p>
              </div>
              <div class="contain">
                  <div class="firsttab" id="firsttab4"></div>
                  <p>综合业务</p>
              </div>
          </div>
      </div>
      <div class="first-center">
          <h3>当前大厅等候人数</h3>
          <div class="firstcenLeft">
              <div class="flag">
                  <strong>35</strong>
                  <p>综合业务</p>
              </div>
              <div class="flag">
                  <strong>35</strong>
                  <p>综合业务</p>
              </div>
              <div class="flag">
                  <strong>35</strong>
                  <p>综合业务</p>
              </div>
          </div>
          <div class="firstcenCen">
              <span>0</span>
              <span>0</span>
              <span>2</span>
 <span>9</span>
          </div>
          <div class="firstcenRight">
              <div class="flag">
                  <strong>35</strong>
                  <p>综合业务</p>
              </div>
              <div class="flag">
                  <strong>35</strong>
                  <p>综合业务</p>
              </div>
              <div class="flag">
                  <strong>35</strong>
                  <p>综合业务</p>
              </div>
          </div>
      </div>

部分CSS代码


.secondRighttextChar{    width: 100%;    height: 100px;}
.secondRighttext .sec{    margin-top: 6px;}
.secondChar{    width: 100%;    height: 170px;}
.thirdCon{
    width: 100%;
    padding-top: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0px 6px;
    overflow: hidden;
}
.thirdLeft{
    width: 27%;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 10px;
}
.thirdLeftCon{    width: 100%;    border:1px solid #00b3fe;}
.hottop li{
    height: 35px;
    line-height: 35px;
    border-bottom: 1px dashed #fff;
}
.hottop li:nth-last-child(1){    border-bottom: none;}
.hottop li span{
    float: left;
    display: inline-block;
    width: 20px;
    height: 20px;
    /*margin-top: 8px;*/
    vertical-align: middle;
    text-align: center;
    margin-right: 10px;
    color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.hottop li:nth-of-type(1) span{    background-color: #ff0305;}
.hottop li:nth-of-type(2) span{    background-color: #ffb20c;}
.hottop li:nth-of-type(3) span{    background-color: #18d0c6;}
.hottop li:nth-of-type(4) span{    background-color: #00b4ff;}
.hottop li:nth-of-type(5) span{    background-color: #6c3ff2;}
.hottop li p{float: left;    color: #fff;    font-size: 14px;}
.hottop li a{float: right;  color: #cecdcb;  font-size: 14px;}
.thirdCen{
    width: 46%;
    float: left;
  -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100px;
    padding:0px 14px;
    padding-top: 10px;
}
.thirdCenCon{
    height: 100px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

想要源码的小伙伴们,请关注公众号Echarts技术专家,点击获取资源。

相关文章
|
23天前
|
数据可视化 前端开发 JavaScript
【Echarts大屏】数字化茶叶可视化大屏(附源码一键复制)
【Echarts大屏】数字化茶叶可视化大屏(附源码一键复制)
|
23天前
|
前端开发 JavaScript
【Echarts大屏】数字化图书馆大屏(附源码一键复制)
【Echarts大屏】数字化图书馆大屏(附源码一键复制)
|
23天前
|
前端开发 JavaScript
【Echarts大屏】数字化人社大屏(附源码一键复制)
【Echarts大屏】数字化人社大屏(附源码一键复制)
|
23天前
|
数据可视化 前端开发 JavaScript
【Echarts大屏】数字化巡检可视化大屏(附原码一键复制)
【Echarts大屏】数字化巡检可视化大屏(附原码一键复制)
|
23天前
Echarts大屏开发|数字化电商场景
Echarts大屏开发|数字化电商场景
|
14天前
|
小程序 JavaScript
微信小程序使用echarts图表(ec-canvas)
这篇文章介绍了在微信小程序中使用`ec-canvas`集成echarts图表的方法,包括解决加载时报错的问题、配置图表组件、以及在小程序页面中引入和使用这些图表组件的步骤。
124 1
微信小程序使用echarts图表(ec-canvas)
|
22天前
|
前端开发 数据可视化 JavaScript
Echarts如何实现多图表缩放和自适应?附源码
Echarts如何实现多图表缩放和自适应?附源码
Echarts如何实现多图表缩放和自适应?附源码
|
28天前
|
XML SQL JavaScript
在vue页面引入echarts,图表的数据来自数据库 springboot+mybatis+vue+elementui+echarts实现图表的制作
这篇文章介绍了如何在Vue页面中结合SpringBoot、MyBatis、ElementUI和ECharts,实现从数据库获取数据并展示为图表的过程,包括前端和后端的代码实现以及遇到的问题和解决方法。
在vue页面引入echarts,图表的数据来自数据库 springboot+mybatis+vue+elementui+echarts实现图表的制作
|
29天前
Echarts——如何默认选中图表并显示tooltip
Echarts——如何默认选中图表并显示tooltip
24 1
|
29天前
|
JavaScript
Echarts——VUE中非根节点时不显示图表也无报错
Echarts——VUE中非根节点时不显示图表也无报错
27 1

热门文章

最新文章