太惊艳了!这些都是Echarts的杰作!

简介: 太惊艳了!这些都是Echarts的杰作!

主题:数字化学校大屏

开发技术:

   Echarts+html+css+js

支持平台:

   dw,vscode,webstorm,idea,Hbuilderx等

源码:文末附

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

体效果

b5b6fcb2043fed70cd5c7b554a3d5e69.png

部分js代码

<div style="display:none" class="panel line2_a">
    <h2> 报告厅预约统计 </h2>
    <div class="chart" style="height: 2.8rem; margin-top: 0.15rem; left: 0.55rem; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
        <div style="position: relative; width: 0px; height: 218px; padding: 0px; margin: 0px; border-width: 0px;">
            <canvas data-zr-dom-id="zr_0" width="0" height="218" style="position: absolute; left: 0px; top: 0px; width: 0px; height: 218px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas>
        </div>
    </div>
    <div class="panel-footer"></div>
</div>
<div class="panel line2_b">
    <h2> 困难认定学院统计 </h2>
    <div class="chart" style="user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
        <div style="position: relative; width: 271px; height: 234px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;">
            <canvas data-zr-dom-id="zr_0" width="271" height="234" style="position: absolute; left: 0px; top: 0px; width: 271px; height: 234px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas>
        </div>
    </div>
    <div class="panel-footer"></div>
</div>
<div class="panel line1_f">
    <h2> 请假审批完成率 </h2>
    <div class="chart" style="user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
        <div style="position: relative; width: 271px; height: 234px; padding: 0px; margin: 0px; border-width: 0px;">
            <canvas data-zr-dom-id="zr_0" width="271" height="234" style="position: absolute; left: 0px; top: 0px; width: 271px; height: 234px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas>
        </div>
    </div>
    <div class="panel-footer"></div>
</div>
<div style="display:none" class="panel line2_c">
    <h2> </h2>
    <div class="chart" style="user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); position: relative;">
        <div style="position: relative; width: 0px; height: 234px; padding: 0px; margin: 0px; border-width: 0px;">
            <canvas data-zr-dom-id="zr_0" width="0" height="234" style="position: absolute; left: 0px; top: 0px; width: 0px; height: 234px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas>
        </div>
        <div class=""></div>
    </div>
    <div class="panel-footer"></div>
</div>
</div>

部分CSS代码


body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    /*  背景图定位 / 背景图尺寸  cover 完全铺满容器  contain 完整显示在容器内 */
    background: url("./img/bg.jpg") no-repeat #000;
    background-size: cover;
    /* 行高是字体1.15倍 */
    line-height: 1.15;
}
header {
    position: relative;
    height: 1.25rem;
    background: url("./img/head_bg.png")no-repeat top center;
    background-size: 100% 100%;
}
header h1 {
    font-size: 0.3rem;
    color: #00ccff;
    text-align: center;
    line-height: 1.2rem;
    margin-left: 1.8625rem;
}
header .menu {
    position: absolute;
    top: 0.1875rem;
    left: 5.7875rem;
    font-size: 0.2rem;
}
header .menu a.selected {
    background: url("./img/menu.png") no-repeat;
    background-position: 0.125rem 0.1875rem;
    background-size: 1.475rem 0.4125rem;
}
header .menu :hover {
    background: url("./img/menu.png")no-repeat;
    background-position: 0.125rem 0.1875rem;
    background-size: 1.475rem 0.4125rem;
}


相关文章
|
JavaScript 前端开发
vue实现公告文字横向滚动
vue实现公告文字横向滚动
1952 0
Element UI - el-table 渲染慢,卡的原因
Element UI - el-table 渲染慢,卡的原因
3714 0
|
8月前
|
存储 人工智能 监控
2025 年可观测 10 大趋势预测
2025 年可观测 10 大趋势预测
355 0
|
消息中间件 NoSQL Redis
【赵渝强老师】Redis消息的生产者消费者模式
消息队列在Redis中可通过List数据结构实现,支持发布者订阅者和生产者消费者两种模式。生产者通过`lpush`向List添加消息,消费者通过`rpop`或`brpop`消费消息,后者支持阻塞等待。示例代码展示了如何使用Redis的生产者消费者模式。
375 0
|
前端开发
使用ffmpeg-core的时候报错,解决Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
使用ffmpeg-core的时候报错,解决Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
|
网络协议 Linux
如何在 Linux 中禁用 IPv6?
【5月更文挑战第2天】
2229 8
如何在 Linux 中禁用 IPv6?
|
弹性计算 固态存储 JavaScript
阿里云4核8G云服务器ECS有哪些?性能如何?4C8G性能参数表
阿里云4核8G ECS u1实例,适合30并发,日均1万IP访问。当前优惠价700元/年。配置包括Intel Xeon CPU,2.5 GHz,4核8G内存,1-3M带宽,20-40GB ESSD系统盘。网络性能可达50万PPS,最高25万连接数。可扩展公网带宽和云盘。适用于入门级企业应用。
693 0
|
关系型数据库 MySQL 数据库连接
mysql报错:Host‘IP地址‘ isblocked because of many connection errors;unblock with ‘mysqladmin flush-hosts‘
mysql报错:Host‘IP地址‘ isblocked because of many connection errors;unblock with ‘mysqladmin flush-hosts‘
814 1
|
域名解析 网络协议
阿里云域名解析
简单的3步,让你快速设置完毕阿里云的域名解析,修改DNS解析记录。首先你需要打开阿里云,然后在上方找到域名的控制台。进入到域名控制台之后,找到想要设置的域名,在想要设置的域名处,点击解析,进入到解析后台。
1614 0
阿里云域名解析
|
小程序 开发工具 Android开发
Donut多端框架小程序打包适配ios和安卓app
腾讯新出了一个 Donut 多端框架,可以直接将微信小程序转成 ios 和 安卓 app,小程序开发者工具里也集成了 app 相关升级、调试和打包的功能,终于可以一套代码开发出3个客户端了!
Donut多端框架小程序打包适配ios和安卓app