当前位置: 首页 > news >正文

基于Echarts+HTML5可视化数据大屏展示-旅游智慧中心

效果展示:在这里插入图片描述
代码结构:
在这里插入图片描述
主要代码实现
index.html布局

<!DOCTYPE html>
<html lang="en" style="font-size: 97.5px;">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>云南全域智慧旅游智慧中心</title><link rel="stylesheet" href="./static/common.css"><link rel="stylesheet" href="./static/style.css"><style id="ai-assist-right-style">html.ai-assist-html {width: calc(100% - 480px)!important;position: relative!important;min-height: 100vh!important}.ai-assist-highlight {background: yellow;}</style>
</head>
<body><div class="main_box"><a href="https://gitee.com/iGaoWei/big-data-view"><div class="header"><div class="left"><div class="date">2024-05-21 09:59:20</div><div class="week">星期五</div></div><div class="center">云南全域智慧旅游智慧中心</div><div class="right"><p>关于正式上线“BigDataView模板全部免费”的公告</p></div></div></a><div class="content"><div class="left"><div class="inner_left"><div class="item weather"><div class="head_block"><p class="level">气象环境:<span class="air_level"></span></p><p class="time"><span class="updata_time"></span>更新<a href="https://gitee.com/iGaoWei/big-data-view"><img class="refresh" src="./static/refresh.png" alt=""></a></p></div><div class="middle_block"><div class="tem_wrap"><span class="tem">22</span><sup>°</sup><sub class="wea">晴朗</sub></div><div class="win_wrap">风向<span class="win"></span></div><div class="meter">风速 <span class="win_meter">20</span></div></div><div class="foot_block"><div class="foot_item"><p class="title">湿度</p><p class="humidity">适宜</p><p>湿润</p></div><div class="foot_item"><p class="title">PM2.5</p><p class="air_pm25">80</p><p class="air_level">20</p></div><div class="foot_item"><p class="title">负氧离子</p><p>3109/cm<sup>3</sup></p><p>1级</p></div><div class="foot_item"><p class="title">噪声</p><p>56.6dB</p><p>较安静</p></div></div></div><div class="item tourists_flow chartWrap"><div class="module_title">实时游客流量<span>单位:人</span></div><div class="inner_wrap chart_wrap" id="touristsFlowChart" _echarts_instance_="ec_1718934889437" style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative;"><div style="position: relative; width: 397px; height: 162px; padding: 0px; margin: 0px; border-width: 0px;"><canvas data-zr-dom-id="zr_0" width="397" height="162" style="position: absolute; left: 0px; top: 0px; width: 397px; height: 162px; 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><div class="item car_flow chartWrap"><div class="module_title">实时车流量</div><div class="inner_wrap chart_wrap" id="carFlowChart" _echarts_instance_="ec_1718934889439" style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative;"><div style="position: relative; width: 397px; height: 162px; padding: 0px; margin: 0px; border-width: 0px;"><canvas data-zr-dom-id="zr_0" width="397" height="162" style="position: absolute; left: 0px; top: 0px; width: 397px; height: 162px; 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></div><div class="inner_right"><div class="item satisfaction"><div class="module_title">游客满意度</div><div class="inner_wrap"></div></div><div class="item chartWrap totalPeopleNum"><div class="module_title">实时游客流量<span class="num">28567人</span></div><div class="inner_wrap chart_wrap" id="totalPeopleChart" _echarts_instance_="ec_1718934889438" style="-webkit-tap-highlight-color: transparent; user-select: none;"><div style="position: relative; width: 257px; height: 162px; padding: 0px; margin: 0px; border-width: 0px;"><canvas data-zr-dom-id="zr_0" width="257" height="162" style="position: absolute; left: 0px; top: 0px; width: 257px; height: 162px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas></div></div></div><div class="item totalCarFlow"><div class="module_title">今日累计车流量</div><div class="inner_wrap chart_wrap" id="totalCarFlow"><div class="car_item"><img src="./static/car.png" alt=""><p>今日到访</p><p class="visiting num">333</p></div><div class="car_item back_wrap"><img src="./static/car1.png" alt=""><p>今日返程</p><p class="back num">303</p></div></div></div></div></div><div class="center"><div class="item chartWrap"><div class="module_title">旅游景区</div><div class="chart_wrap map_wrap" style="position: relative;"><div class="map_box"><img id="map" src="./static/map.jpg" alt=""><div class="city city1 red"><div class="dotted">858</div><div class="pulse1"></div><div class="pulse2"></div><div class="pulse3"></div></div><div class="city city2 orange"><div class="dotted">425</div><div class="pulse1"></div><div class="pulse2"></div><div class="pulse3"></div></div><div class="city city3"><div class="dotted">362</div><div class="pulse1"></div><div class="pulse2"></div><div class="pulse3"></div></div><div class="city city4 orange"><div class="dotted">245</div><div class="pulse1"></div><div class="pulse2"></div><div class="pulse3"></div></div><div class="city city5"><div class="dotted">88</div><div class="pulse1">10</div><div class="pulse2"></div><div class="pulse3"></div></div></div><div class="legend">拥挤程度<p class="colorBar"></p><p class="text"><span>空闲</span><span>拥挤</span><span>爆满</span></p></div></div></div></div><div class="right"><div class="item chartWrap"><div class="module_title">停车场数据</div><div class="inner_wrap chart_wrap" id="carSpaceNum" _echarts_instance_="ec_1718934889440" style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative;"><div style="position: relative; width: 345px; height: 267px; padding: 0px; margin: 0px; border-width: 0px;"><canvas data-zr-dom-id="zr_0" width="345" height="267" style="position: absolute; left: 0px; top: 0px; width: 345px; height: 267px; 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><div class="item chartWrap"><div class="module_title">游客消费占比</div><div class="inner_wrap chart_wrap" id="consumptionChart" _echarts_instance_="ec_1718934889441" style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative;"><div style="position: relative; width: 345px; height: 267px; padding: 0px; margin: 0px; border-width: 0px;"><canvas data-zr-dom-id="zr_0" width="345" height="267" style="position: absolute; left: 0px; top: 0px; width: 345px; height: 267px; 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></div></div><div class="footer"><div class="left"><div class="item chartWrap"><div class="module_title">景区门票销量</div><div class="inner_wrap chart_wrap" id="ticketsChart" _echarts_instance_="ec_1718934889442" style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative;"><div style="position: relative; width: 624px; height: 166px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;"><canvas data-zr-dom-id="zr_0" width="624" height="166" style="position: absolute; left: 0px; top: 0px; width: 624px; height: 166px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas><div style="position: absolute !important; visibility: hidden !important; padding: 0px !important; margin: 0px !important; border-width: 0px !important; user-select: none !important; width: 0px !important; height: 0px !important; inset: 0px auto auto 0px !important;"></div><div style="position: absolute !important; visibility: hidden !important; padding: 0px !important; margin: 0px !important; border-width: 0px !important; user-select: none !important; width: 0px !important; height: 0px !important; inset: 0px 0px auto auto !important;"></div><div style="position: absolute !important; visibility: hidden !important; padding: 0px !important; margin: 0px !important; border-width: 0px !important; user-select: none !important; width: 0px !important; height: 0px !important; inset: auto auto 0px 0px !important;"></div><div style="position: absolute !important; visibility: hidden !important; padding: 0px !important; margin: 0px !important; border-width: 0px !important; user-select: none !important; width: 0px !important; height: 0px !important; inset: auto 0px 0px auto !important;"></div></div><div class="" style="position: absolute; display: block; border-style: solid; white-space: nowrap; z-index: 9999999; box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px; background-color: rgb(255, 255, 255); border-width: 1px; border-radius: 4px; color: rgb(102, 102, 102); font: 14px / 21px &quot;Microsoft YaHei&quot;; padding: 10px; left: 380px; top: 23px; border-color: rgb(111, 125, 227); pointer-events: none; visibility: hidden; opacity: 0;"><div style="margin: 0px 0 0;line-height:1;"><div style="font-size:14px;color:#666;font-weight:400;line-height:1;">销售额</div><div style="margin: 10px 0 0;line-height:1;"><div style="margin: 0px 0 0;line-height:1;"><span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:#6f7de3;"></span><span style="font-size:14px;color:#666;font-weight:400;margin-left:2px">15时</span><span style="float:right;margin-left:20px;font-size:14px;color:#666;font-weight:900">719</span><div style="clear:both"></div></div><div style="clear:both"></div></div><div style="clear:both"></div></div></div></div></div></div><div class="center"><div class="item tourists chartWrap"><div class="module_title">游客趋势分析 <span>游客人数:人</span></div><div class="chart_wrap"><ul class="table_head"><li><span></span><span>斑竹山</span><span>孽龙洞景区</span><span>泉之源</span><span>赤山幕冲生态</span><span>杨岐山普通寺</span></li></ul><ul class="table_body"><li class="tr_item"><span>昨日</span><span>1246</span><span>2246</span><span>2146</span><span>2246</span><span>2460</span></li><li class="tr_item"><span>今日</span><span>246</span><span>246</span><span>246</span><span>246</span><span>246</span></li><li class="tr_item"><span>最近7日</span><span>246</span><span>246</span><span>246</span><span>246</span><span>246</span></li><li class="tr_item"><span>最近30日</span><span>更多模板</span><span>关注</span><span>公众号</span><span>DreamCoders</span><span>免费获取</span></li></ul></div></div></div><div class="right"><div class="item chartWrap"><div class="module_title">12301呼叫</div><div class="inner_wrap chart_wrap" id="helpCellChart" _echarts_instance_="ec_1718934889443" style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative;"><div style="position: relative; width: 531px; height: 166px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;"><canvas data-zr-dom-id="zr_0" width="531" height="166" style="position: absolute; left: 0px; top: 0px; width: 531px; height: 166px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas><canvas data-zr-dom-id="zr_1" width="531" height="166" style="position: absolute; left: 0px; top: 0px; width: 531px; height: 166px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;"></canvas><canvas data-zr-dom-id="zr_3" width="531" height="166" style="position: absolute; left: 0px; top: 0px; width: 531px; height: 166px; 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></div></div>
</div><script src="./static/rem.js"></script>
<script src="./static/jquery.js"></script>
<script src="./static/date.js"></script>
<script src="./static/weather.js"></script>
<script src="./static/satisfaction.js"></script>
<script src="./static/setData.js"></script>
<script src="./static/echarts.min.js"></script>
<script src="./static/chart.js"></script>
<script src="./static/index.js"></script></body>
</html>

作品来自于网络收集、侵权立删


文章转载自:

http://cZfSRCOK.kgcss.cn
http://DvwXd3IG.kgcss.cn
http://qC5yoCYY.kgcss.cn
http://BMPXmB5j.kgcss.cn
http://Sevxbo9B.kgcss.cn
http://z9ATQ67o.kgcss.cn
http://ABurEz1X.kgcss.cn
http://fp8uLV9W.kgcss.cn
http://u3xlUMy9.kgcss.cn
http://ZVtxm37o.kgcss.cn
http://qOeGUV1S.kgcss.cn
http://brpuBuJ0.kgcss.cn
http://WnVrPjpE.kgcss.cn
http://8WgbHga6.kgcss.cn
http://HSMmmsi1.kgcss.cn
http://ud7qTYNz.kgcss.cn
http://K5g8LvcP.kgcss.cn
http://DmaS6jrs.kgcss.cn
http://Spa19lV9.kgcss.cn
http://PEiwD9nk.kgcss.cn
http://M0NkZRjb.kgcss.cn
http://xD7AYpfT.kgcss.cn
http://iCcJd978.kgcss.cn
http://EgBRSJbg.kgcss.cn
http://xgqokj4x.kgcss.cn
http://5cILfWdY.kgcss.cn
http://WwyMsOke.kgcss.cn
http://T3oLPiOa.kgcss.cn
http://nY5XFY5q.kgcss.cn
http://iXQjtK1y.kgcss.cn
http://www.dtcms.com/a/367941.html

相关文章:

  • AI API Tester体验:API测试工具如何高效生成接口测试用例、覆盖异常场景?
  • 四六级学习资料管理系统的设计与实现(代码+数据库+LW)
  • (3)Seata AT 模式的事务一致性保证机制
  • MySQL主从同步--主从复制进阶
  • VisionMaster 4.2.0安装
  • FastVLM-0.5B 模型解析
  • 球坐标系下调和函数的构造:多项式边界条件的求解方法
  • 基于SpringBoot的旅游管理系统的设计与实现(代码+数据库+LW)
  • 【面试】框架常见面试(追问)
  • Android/Java 中接口(Interface)的使用场景、用途和方法
  • android 读取cpu+m1类型的nfc卡片,设置只读写m1的内容
  • 扫描件、PDF、图片都能比对!让文档差异无所遁形
  • 【FastDDS】Discovery ( 05-Discovery Server Settings)
  • 嵌入式第四十六天(51单片机(通信))
  • 通过Gen AI SDK调用gemini 2.5 pro,单独上传pdf文件 | ai agent 开发笔记 2025.9.2 Day 2
  • Linux服务器暴走,用Netdata+cpolar轻松驯化
  • Node.js 做 Web 后端优势为什么这么大?
  • Windows 文件资源管理器无法预览文件内容word、ppt、excel、pdf
  • android 四大组件—BroadcastReceiver
  • 聊一聊 .NET 中的 CancellationTokenSource
  • Ubuntu 22 redis集群搭建
  • 开发环境 之 编辑器、编译器、IDE梳理
  • adobe acrobat 安装到使用再到PDF编辑【适合小白,只看一篇就够!!!】
  • [VF2] Boot Ubuntu和Debian发行版
  • 模型剪枝----ResNet18剪枝实战
  • CSS Position 属性
  • 【Android】制造一个ANR并进行简单分析
  • 《sklearn机器学习——回归指标1》
  • 使用tomcat本地部署draw.io
  • C++《C++11》(上)