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

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"><title>茶园大数据平台指挥舱</title><link rel="stylesheet" href="css/reset.css"><link href="https://cdn.bootcdn.net/ajax/libs/video.js/5.15.0/video-js.css" rel="stylesheet"><script src="https://cdn.bootcdn.net/ajax/libs/video.js/5.15.0/video.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.15.0/videojs-contrib-hls.min.js" type="text/javascript"></script>
</head>
<style>.boxRader {position: relative;width: 100%;height: 80%;}.centerBox {width: 75%;margin-right: 15px;background: transparent;}.boxFont {font-size: 1.2vw;}.centerMainBox1 {width: 100%;height: 60.5%;}.centerMainBox2 {width: 100%;height: 38.5%;position: relative;margin-top: 15px;}.centerMainBox2 img {position: absolute;width: 100%;height: 100%;}.boxTitle2 {width: 100%;height: 10%;font-size: .6vw;text-align: center;line-height: 10%;margin-top: 1vw;color: #0efcff;}.boxLis {width: 70%;height: 1.5vw;margin-left: 3vw;margin-top: 1vw;border-bottom: .02vw solid rgb(40, 229, 233);}.boxLis>li {width: 4vw;height: 1.4vw;display: block;background: rgba(40, 229, 233, .5);margin-right: .5vw;color: #fff;line-height: 1.4vw;text-align: center;cursor: pointer;}.active {border-bottom: .02vw solid #040A18;border-top: .02vw solid rgb(40, 229, 233);border-right: .02vw solid rgb(40, 229, 233);border-left: .02vw solid rgb(40, 229, 233);}.contList {position: relative;width: 70%;height: 7vw;margin: 1vw auto 0;}.content1 li {display: none;}.baseBox {width: 100%;border: none;background: none;}.boxTitle {font-size: .8vw;width: 38%;margin-top: 1vw;text-align: center;}.right {float: right;}.baseBoxLeft {width: 30%;height: 95%;position: relative;}.baseBoxRight {width: 68%;height: 75%;}.baseBoxLeft img {width: 100%;height: 100%;position: absolute;top: 0;left: 0;}.maps {width: 100%;height: 95%;margin-top: 2%;background: pink;}.baseBox1,.baseBox2,.baseBox3 {position: relative;}.baseBox1 img,.baseBox2 img,.baseBox3 img {position: absolute;width: 100%;height: 100%;}.csbaseBox1 {position: relative;z-index: 999;}
</style>
<!-- 黄瑶 -->
<style>.liSpan {width: 100%;margin-top: 3.2%;text-align: center;color: rgb(40, 229, 233);}.liP {width: 66%;margin: .3vw auto 0;text-align: left;font-size: .5vw;color: rgb(40, 229, 233);}a:hover {text-decoration: none}.titleName {color: #0EFCFF;}/* 种植 */.plant {width: 90%;height: 5.5vw;margin: 2% auto 0;display: -webkit-flex;display: -moz-flex;-webkit-justify-content: space-between;-moz-justify-content: space-between;}.plant>li {width: 15%;height: 100%;}.jumps {width: 100%;height: 100%;background: rgba(0, 235, 255, .08);display: -webkit-flex;-webkit-flex-direction: column;-webkit-justify-content: space-between;display: -moz-flex;-moz-flex-direction: column;-moz-justify-content: space-between;}.jumps>div>img {width: .88vw;height: .88vw;float: right;}.jumps>p {width: 90%;font-size: 1.3vw;color: #fff;margin: auto;}.jumps>div {width: 90%;margin: 5% auto 0;}.jumps>div>span {font-size: .6vw;color: #0efcff;float: left;}.spans0 {width: 80%;height: 5%;background: #03DA8D;}.spans1 {width: 80%;height: 5%;background: #0efcff;}.spans2 {width: 80%;height: 5%;background: #FE0000;}.spans3 {width: 80%;height: 5%;background: #F78001;}.boxVideo {width: 100%;height: 100%;}.boxVideo video {width: 100%;height: 100%;}.baseDatas {width: 70%;height: 2vw;display: -webkit-flex;-webkit-justify-content: space-between;margin: 1vw 0 0 5vw;}.baseDatas li {width: 10%;}.baseDatas li a {color: #fff;font-size: .8vw;}.active2 a>span {color: rgb(40, 229, 233);}.baseDatas li a:hover>span {color: rgb(40, 229, 233);}.baseDatas li a:hover>.borderRight {border-left-color: rgb(40, 229, 233);}.tableDetalis {width: 92%;color: #fff;margin-left: 2vw;}.tableDetalis tr {height: 1.3vw;font-size: .8vw;}.tableDetalis tr>td {text-align: center;}.tableDetalis tr>td:nth-child(7) {text-align: right;}.borderRight {width: 0;height: 0;float: left;border: .4vw solid transparent;border-left-color: #fff;margin-top: .2vw;}.borderActive {border-left-color: rgb(40, 229, 233);}.equipment_table {width: 85%;height: 25%;margin: auto;text-align: center;color: #fff;font-size: .5vw;}.equipment_table tr:nth-child(1) {color: #0EFCFF;}.equipment_table tr {border: 1px solid#0EFCFF;}.equipment_table tr:nth-child(1) {font-size: .8vw;}.equipment_table img {width: 1vw;}.env_table {height: 35%;margin-top: 5%;}.env_table td {border: 1px solid#0EFCFF;}.env_table tr:nth-child(1) {background: rgba(14, 252, 255, .3);}.map img {width: 80%;margin-left: 10%;}.map img {width: 80%;margin-left: 10%;}.mapActived1 {position: absolute;top: 41.5%;left: 61%;width: 3.5vw;height: 5.5vw;border-radius: 90px;cursor: pointer;}.mapActived2 {position: absolute;top: 60%;right: 16%;width: 4.5vw;height: 2.5vw;cursor: pointer;}.mapActived3 {position: absolute;top: 57%;right: 9%;width: 2.5vw;height: 7vw;cursor: pointer;}.mapContent1 {position: absolute;height: 6vw;width: 8vw;left: 65%;top: 33%;background: rgba(255, 255, 255, .2);}.mapContent2 {position: absolute;height: 6vw;width: 8vw;left: 70%;top: 35%;background: rgba(255, 255, 255, .2);display: none;}.mapContent3 {position: absolute;height: 6vw;width: 8vw;right: 1%;top: 35%;background: rgba(255, 255, 255, .2);display: none;}.mapContentFont {width: 85%;margin-left: 12%;font-size: .6vw;color: #0efcff;letter-spacing: .05vw;margin-bottom: .3vw;}.mapContentFont:nth-child(1) {margin-top: .6vw;}.mapContentFont span {color: white;}/* lafite video样式 */.video-js {width: 100%;height: 100%;}.video-js:hover .vjs-big-play-button {background: none;}.video-js .vjs-big-play-button:hover {background: none;}.video-js .vjs-big-play-button {border: none;background: none;}
</style><body><div class="main"><div class="nav">黄山茶园大数据平台指挥舱</div><div class="nav_btn"><div class="btn_left"><a href="https://gitee.com/iGaoWei/big-data-view"><div class="btn_list listActive">系统首页</div></a><a href="https://gitee.com/iGaoWei/big-data-view"><div class="btn_list">生长检测</div></a><a href="https://gitee.com/iGaoWei/big-data-view"><div class="btn_list">数据分析</div></a><a href="https://gitee.com/iGaoWei/big-data-view"><div class="btn_list">人工智能</div></a></div><div class="btn_right"><a href="https://gitee.com/iGaoWei/big-data-view"><div class="btn_list">生产加工</div></a><a href="https://gitee.com/iGaoWei/big-data-view"><div class="btn_list">仓储管理</div></a><a href="https://gitee.com/iGaoWei/big-data-view"><div class="btn_list">流通销售</div></a><a href="https://gitee.com/iGaoWei/big-data-view"><div class="btn_list">数据中心</div></a></div></div><div class="content"><div class="centerBox"><div class="baseBox centerMainBox1" style="height:70%"><div class="baseBoxLeft left"><div class="boxTitle">气象数据监测</div><img src="./img/left.png" alt=""><table class="equipment_table env_table"><tr><td>指标</td><td>标准值</td><td>当前值</td><td>预警</td></tr><tr><td>温度</td><td>18~20℃</td><td>9℃</td><td>正常</td></tr><tr><td>湿度</td><td>40%~60%</td><td>52%</td><td>正常</td></tr><tr><td>风速</td><td>0m/s~4m/s</td><td>2m/s</td><td>正常</td></tr><tr><td>降水</td><td>2mm~4mm</td><td>0mm</td><td style="color:red">偏低</td></tr></table><div style="width:95%;height:50%;margin-left:2.5%" id="wind"></div></div><div class="baseBoxRight right"><ul class="plant"><li><a class="jumps" href=""><div><span>茶园种植面积(亩)</span><img src="./img/qqzmj.png" alt=""></div><p class="">350000</p><span class="spans3"></span></a></li><li><a class="jumps" href=""><div><span>产值(亿元)</span><img src="./img/ccc2.png" alt=""></div><p class="">180</p><span class="spans2" style="background: #499BFF;"></span></a></li><li><a class="jumps" href=""><div><span>产量(吨)</span><img src="./img/ccc.png" alt=""></div><p class="">82000</p><span class="spans3" style="background: #F2CE43;"></span></a></li><li><a class="jumps" href="./teaGarden.html"><div class="clear plantTop "><span class="flexLeft">茶园(个)</span><img class="flexright" src="./img/cy.png" alt=""></div><p class=" plantNum1">3207</p><span class="spans0"></span></a></li><li><a class="jumps" href="./Tea-enterprises.html"><div class="clear plantTop "><span class="flexLeft">茶企(个)</span><img class="flexright" src="./img/cq.png" alt=""></div><p class=" plantNum1">157</p><span class="spans1"></span></a></li><li><a class="jumps" href="./teaPeasant.html"><div><span>茶农(人)</span><img src="./img/cn.png" alt=""></div><p class="">360000</p><span class="spans2"></span></a></li></ul><!-- 地图 --><div class="map"><img class="mapImg" src="./img/map1.png"><div class="mapContent1"><div class="mapContentFont">田庄乡</div><div class="mapContentFont">茶园:<span>101</span></div><div class="mapContentFont">茶企:<span>10</span></div><div class="mapContentFont">茶农:<span>18371</span></div></div><a class="mapActived1" href="https://gitee.com/iGaoWei/big-data-view"></a><a class="mapActived3" href="https://gitee.com/iGaoWei/big-data-view"></a></div></div></div><div class="baseBox centerMainBox2" style="height:30%;"><img src="./img/down.png" alt=""><div class="boxTitle2" style="width:26%">统计数据</div><div class="csbaseBox1"><ul class="baseDatas"><li class="left "><a href="https://gitee.com/iGaoWei/big-data-view" style="color: #0efcff"><div class="borderRight "></div><span>茶园统计</span></a></li><li class="left"><a href="https://gitee.com/iGaoWei/big-data-view" style="color: #0efcff"><div class="borderRight "></div><span>茶企统计</span></a></li><li class="left"><a href="https://gitee.com/iGaoWei/big-data-view" style="color: #0efcff"><div class="borderRight "></div><span>茶农统计</span></a></li></ul><table class="tableDetalis" style="color: #00ddfe"><tr><td>名称</td><td>类型</td><td>面积</td><td>名称</td><td>类型</td><td>面积</td><td>姓名&nbsp&nbsp</td><td>品种</td><td>面积</td></tr><tr><td>青云观茶园</td><td>企业</td><td>1800亩</td><td>XXX</td><td>私营</td><td>3283亩</td><td>刘新武</td><td>云台大叶</td><td>10亩</td></tr><tr><td>彩云谷茶园 </td><td>企业</td><td>380亩</td><td>XXX</td><td>私营</td><td>6200亩</td><td>张方</td><td>碧香早</td><td>15亩</td></tr><tr><td>赵家坪茶园</td><td>合作社</td><td>510亩</td><td>XXX</td><td>私营</td><td>5800亩</td><td>李小维</td><td>槠叶齐</td><td>12亩</td></tr><tr><td>马路口茶园</td><td>个人</td><td>17亩</td><td>XXX</td><td>私营</td><td>30000亩</td><td>王骁骁</td><td>黄金茶</td><td>11亩</td></tr></table></div></div></div><div class="leftBox right" style="width:22%"><div class="baseBox baseBox1" style="margin-bottom:15px;height:40%"><img src="./img/right.png" alt=""><div class="csbaseBox1"><div class="boxTitle">视频监控设备</div><ul class="boxLis"><li class="left active">茶园监控</li><li class="left">生产车间监控</li><li class="left">仓储监控</li></ul><div class="content1"><ul><li style="display: block;" class="contList"><!-- 四个角描边 stat --><div class="leftTopLine1"></div><div class="leftTopLine2"></div><div class="rightTopLine1"></div><div class="rightTopLine2"></div><div class="leftBottomLine1"></div><div class="leftBottomLine2"></div><div class="rightBottomLine1"></div><div class="rightBottomLine2"></div><div class="boxVideo"><video class="video-js vjs-big-play-centered" data-setup='{}' controls><source src="http://hls01open.ys7.com/openlive/ea2001c1aec344d1ac45d8b0bbc74e87.m3u8" type="application/x-mpegURL"></video></div></li><li class="contList"><!-- 四个角描边 stat --><div class="leftTopLine1"></div><div class="leftTopLine2"></div><div class="rightTopLine1"></div><div class="rightTopLine2"></div><div class="leftBottomLine1"></div><div class="leftBottomLine2"></div><div class="rightBottomLine1"></div><div class="rightBottomLine2"></div><div class="boxVideo"><video class="video-js vjs-big-play-centered" data-setup='{}' controls><source src="http://hls01open.ys7.com/openlive/cf40f99cc9cb4a23bd52e0b2119b534c.m3u8" type="application/x-mpegURL"></video></div></li><li class="contList"><!-- 四个角描边 stat --><div class="leftTopLine1"></div><div class="leftTopLine2"></div><div class="rightTopLine1"></div><div class="rightTopLine2"></div><div class="leftBottomLine1"></div><div class="leftBottomLine2"></div><div class="rightBottomLine1"></div><div class="rightBottomLine2"></div><div class="boxVideo"><videosrc="#"controls="controls">your browser does not support the video tag</video></div></li></ul></div><div class="liSpan">介绍</div><p class="liP">茶园环境远程监控物联网系统能够支持客户端访问方式提供远程监测与控制管理</p></div></div><div class="baseBox baseBox2" style="margin-bottom:15px;height:29.5%"><img src="./img/right2.png" alt=""><!-- 四个角描边 end --><div class="boxTitle2">种植品种分析</div><div class="boxRader" id="Progress"></div></div><div class="baseBox baseBox3" style="height:28.9%"><img src="./img/right3.png" alt=""><!-- 四个角描边 end --><div class="boxTitle2">茶叶销量分析</div><div class="boxRader" id="mains"></div></div></div></div></div>
</body></html>
<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.0.0-beta.2/echarts.min.js"></script>
<script src="js/dataScoll.js"></script>
<script>// 地图hover事件function HoverFn() {$('.mapActived1').hover(function () {$(".mapImg").attr("src", "./img/map1.png");$(".mapContent1,.mapContent2,.mapContent3").hide();$(".mapContent1").slideDown(500);}, function () {});}HoverFn()
</script>
<script>$('.boxLis').on('mouseenter', 'li', function () {var that = $(this);that.addClass('active').siblings().removeClass('active');$('.content1 .contList').hide();console.log($('.content1 li'))$('.content1 .contList').eq(that.index()).show()})
</script>
<script>var HYChart1 = echarts.init(document.getElementById('wind'));var HYChart2 = echarts.init(document.getElementById('Progress'));var HYChart3 = echarts.init(document.getElementById('mains'));/*** times:YYYY-mm-dd HHMMSS* timeData:时间* windsData:风速* windxData:风向/等级* temData:温度* ,rainData:降水* humData:湿度*/let Data = {times: ["2019-10-28 11:00:00", "2019-10-28 12:00:00", "2019-10-28 13:00:00", "2019-10-28 14:00:00", "2019-10-28 15:00:00", "2019-10-28 16:00:00", "2019-10-28 17:00:00", "2019-10-28 18:00:00", "2019-10-28 19:00:00", "2019-10-28 20:00:00", "2019-10-28 21:00:00", "2019-10-28 22:00:00"],timeData: ["08/00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11"],windxData: ["东南", "北", "东南", "东", "东南", "东南", "西", "北", "南", "东南", "东南", "东南"],windsData: ["2.8/2", "1.4/1", "2.7/2", "3/2", "2.2/2", "1.4/1", "1.5/1", "1.9/2", "1.4/1", "1.8/2", "2/2", "3.4/3"],temData: [9, 11, 13, 12, 11, 9, 9, 7, 6, 4, 3, 3],rainData: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],humData: [76, 76, 70, 62, 58, 53, 50, 49, 46, 44, 44, 42],}function windDen(wind) {switch (wind) {case '北': return 'n';case '东北': return 'ne';case '东': return 'e';case '东南': return 'se';case '南': return 's';case '西南': return 'sw';case '西': return 'w';case '西北': return 'nw';default: return ''}}let colors = ['#FF6863', '#6EAB40', '#3BB5F5'];option = {color: colors,tooltip: {trigger: 'axis',axisPointer: { type: 'cross' },formatter: function (params, ticket, callback) {let index = params[0].dataIndex;let Htm = `${Data.times[index]}<br>温度:${Data.temData[index]}℃<br>降水:${Data.rainData[index]}mm<br>风力:${Data.windsData[index].split('/')[0]}m/s ${Data.windsData[index].split('/')[1]}级风 ${Data.windxData[index]}<br>湿度:${Data.humData[index]}%`return Htm;}},grid: {top: '17%',bottom: '30%',left: '25%',right: '10%'},dataZoom: {bottom: '14%',height: '30',dataBackground: {lineStyle: { color: '#39977D' },areaStyle: { color: 'rgba(57,151,125,1)' }},borderColor: 'rgba(57,151,125,0)',textStyle: { color: '#39977D' },start: 0,end: 100,xAxisIndex: [0, 1, 2, 3]},xAxis: [{name: '风力等级',type: 'category',position: 'bottom',offset: 8,axisTick: { show: false },axisLine: { show: false },axisLabel: {show: true,textStyle: {color: '#fff',fontSize: 10,backgroundColor: 'transparent',lineHeight: 20,padding: [3, 3]},interval: 0},nameTextStyle: { color: '#585858', padding: [0, 0, -53] },nameLocation: 'start',data: Data.windsData},{name: '风向',type: 'category',position: 'bottom',offset: 40,axisTick: { show: false },axisLine: { show: false },axisLabel: {show: true,textStyle: { color: '#fff', fontSize: 10, lineHeight: 20 },interval: 0,formatter: (value) => {return '{' + windDen(value) + '| }' + value + '';},rich: {value: {lineHeight: 16,align: 'left'},n: {height: 16,align: 'left',backgroundColor: {image: `/asset/get/s/data-1567915257914-d2XE-l1Xe.png`}},ne: {height: 16,align: 'left',backgroundColor: {image: `/asset/get/s/data-1567915419689-EqosRMRlP.png`}},e: {height: 16,align: 'left',backgroundColor: {image: `/asset/get/s/data-1567915374565-sE5G5rXU6.png`}},se: {height: 16,align: 'left',backgroundColor: {image: `/asset/get/s/data-1567915457742-e5gWU0sT0.png`}},s: {height: 16,align: 'left',backgroundColor: {image: `/asset/get/s/data-1567915473589-TN5oJTIdv.png`}},sw: {height: 16,align: 'left',backgroundColor: {image: `/asset/get/s/data-1567915498319-h9PscokI2.png`}},w: {height: 16,align: 'left',backgroundColor: {image: `/asset/get/s/data-1567915523655-sI1HtlidH.png`}},nw: {height: 16,align: 'left',backgroundColor: {image: `/asset/get/s/data-1567915566043-E6t1OVpNh.png`}}}},nameTextStyle: { color: '#585858', padding: [0, 0, -38] },nameLocation: 'start',data: Data.windxData},{type: 'category',axisLine: { show: false },},{type: 'category',position: 'bottom',offset: 80,axisTick: { alignWithLabel: true, textStyle: { color: '#707070' } },data: Data.timeData}],yAxis: [{type: 'value',name: '温度(°C)',scale: true,position: 'left',offset: 54,axisTick: { lineStyle: { color: colors[0] }, inside: true },nameTextStyle: { color: colors[0] },axisLabel: { color: colors[0] },splitLine: { show: false }},{type: 'value',name: '降水(mm)',position: 'left',axisTick: { lineStyle: { color: colors[1] }, inside: true },nameTextStyle: { color: colors[1] },axisLabel: { color: colors[1] },splitLine: { show: false }},{type: 'value',name: '相对湿度(%)',scale: true,position: 'right',axisTick: { lineStyle: { color: colors[2] }, inside: true },nameTextStyle: { color: colors[2] },axisLabel: { color: colors[2] },splitLine: { show: false }}],series: [{name: '温度',type: 'line',step: false,label: { normal: { show: true, position: 'top' } },data: Data.temData},{name: '降水',type: 'bar',yAxisIndex: 1,color: '#bee6b2',barWidth: '50%',label: { normal: { show: true, position: 'top' } },data: Data.rainData},{name: '相对湿度',type: 'line',step: false,yAxisIndex: 2,color: colors[2],label: { normal: { show: true, position: 'top' } },data: Data.humData}]};// 进度条var baifenbi = [63000, 153210, 37210, 43780].reverse();var grayBar = [1, 1, 1, 1,];var zongjine = [500, 500, 500, 500];var xingm = ['云台大叶', '槠叶齐', '碧香早', '黄金茶'].reverse();// console.log(xingm.reverse())option2 = {tooltip: {trigger: 'axis'},grid: {left: '30%',right: '5%',top: '0%',bottom: '0%',},backgroundColor: 'transparent',xAxis: [{show: false,},//由于下边X轴已经是百分比刻度了,所以需要在顶部加一个X轴,刻度是金额,也隐藏掉{show: false,}],yAxis: {type: 'category',axisLabel: {show: false, //让Y轴数据不显示},itemStyle: {},axisTick: {show: false, //隐藏Y轴刻度},axisLine: {show: false, //隐藏Y轴线段},data: xingm,},series: [//背景色--------------------我是分割线君------------------------------//{show: true,type: 'bar',barGap: '-100%',barWidth: '40%', //统计条宽度 itemStyle: {normal: {color: '#3B4254'},},z: 1,// data: grayBar,},//蓝条--------------------我是分割线君------------------------------//{show: true,type: 'bar',barGap: '-100%',barWidth: '40%', //统计条宽度itemStyle: {color: function (params) {var colorList = ['#0EFCFF', '#1AC5CC', '#288E9A', '#FA8100', '#C06F18'].reverse();return colorList[params.dataIndex]},},max: 1,label: {normal: {show: true,textStyle: {color: '#fff', //百分比颜色fontSize: 8},position: 'right',//百分比格式formatter: function (data) {return (baifenbi[data.dataIndex]);},}},labelLine: {show: false,},z: 2,data: baifenbi,},//数据条--------------------我是分割线君------------------------------//{show: true,type: 'bar',xAxisIndex: 1, //代表使用第二个X轴刻度!!!!!!!!!!!!!!!!!!!!!!!!barGap: '-100%',barWidth: '40%', //统计条宽度itemStyle: {normal: {barBorderRadius: 200,color: 'transparent'},},label: {normal: {show: true,//label 的position位置可以是top bottom left,right,也可以是固定值//在这里需要上下统一对齐,所以用固定值position: ["-38%", '5%'],rich: { //富文本color: { //自定义颜色color: '#1BC5CC',fontSize: 12},value: xingm,start1: {},},formatter: function (data) {//富文本固定格式{colorName|这里填你想要写的内容}return '{start1|}{color|' + xingm[data.dataIndex] + '}'},}},data: zongjine}]};option3 = {tooltip: {trigger: 'axis'},legend: {x: 'center',data: ['销售', '销售额'],textStyle: {color: "#fff",fontSize: 12},itemWidth: 8,itemHeight: 8,},calculable: true,xAxis: [{type: 'category',data: ['2019', '2020', '2021', '2022', '2023'],axisLabel: {textStyle: {color: 'rgba(255,255,255,.2)',// opacity: 0.1,}},"axisTick": {       //y轴刻度线"show": false},"axisLine": {       //y轴"show": false,},}],yAxis: [{type: 'value',scale: true,name: "销量(吨)",nameTextStyle: {color: 'rgba(255,255,255,.2)',},max: 100000,min: 0,boundaryGap: [0.2, 0.2],"axisTick": {       //y轴刻度线"show": false},"axisLine": {       //y轴"show": false,},axisLabel: {textStyle: {color: 'rgba(255,255,255,.2)',// opacity: 0.1,}},splitLine: {  //决定是否显示坐标中网格show: true,lineStyle: {color: ['#fff'],opacity: 0.2}},},{type: 'value',scale: true,name: "销量额(万元)",nameTextStyle: {color: 'rgba(255,255,255,.2)',},max: 600000,min: 0,boundaryGap: [0.2, 0.2],"axisTick": {       //y轴刻度线"show": false},"axisLine": {       //y轴"show": false,},axisLabel: {textStyle: {color: 'rgba(255,255,255,.2)',// opacity: 0.1,}},splitLine: {  //决定是否显示坐标中网格show: false,lineStyle: {color: ['#fff'],opacity: 0.2}},}],color: ['#0efcff', '#F45E23'],grid: {left: '3%',right: '4%',top: '25%',bottom: '5%',containLabel: true},series: [{name: '销售',type: 'bar',data: [47800, 55000, 63580, 70000, 82000],},{name: '销售额',type: 'bar',data: [28680, 33000, 38148, 45500, 53300],}]};HYChart1.setOption(option)HYChart2.setOption(option2)HYChart3.setOption(option3)setInterval(function () {numInit();HYChart1.clear();HYChart2.clear();HYChart3.clear();HYChart1.setOption(option);HYChart2.setOption(option2);HYChart3.setOption(option3);}, 7000)
</script>

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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.pswp.cn/pingmian/97715.shtml
繁体地址,请注明出处:http://hk.pswp.cn/pingmian/97715.shtml
英文地址,请注明出处:http://en.pswp.cn/pingmian/97715.shtml

如若内容造成侵权/违法违规/事实不符,请联系英文站点网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

华为网路设备学习-33(BGP协议 八)BGP路由 选路规则

一、目标与背景BGP路由特性&#xff1a;支持丰富的路径属性选路规则多样注&#xff1a;在BGP路由表中最优选&#xff0c;不一定是路由表中的最优选。有可能存在静态路由或者ospf路由等&#xff0c;其优先级高于BGP路由。二、选路规则概述从1到12&#xff0c;依次对比优先级。一…

深度学习(七):梯度下降

梯度下降&#xff08;Gradient Descent&#xff09;是深度学习中最核心的优化方法之一&#xff0c;它通过迭代更新模型参数&#xff0c;使得损失函数达到最小值&#xff0c;从而训练出性能良好的神经网络模型。 基础原理 损失函数 在深度学习中&#xff0c;损失函数 L(θ) 是衡…

常见岩性分类与油气勘探意义笔记

常见岩性分类与油气勘探意义笔记 相关科普视频可查看【说说岩石的分类-哔哩哔哩】 一、岩石基本分类体系 根据成因&#xff0c;自然界岩石可分为三大类&#xff0c;其中沉积岩与油气勘探关系最为密切&#xff1a; 1. 火成岩&#xff08;岩浆岩&#xff09; 由岩浆冷却凝固…

【Kubernetes】Tomcat 启用 Prometheus 监控指标

之前出过一篇文章关于 “自定义监控指标实现业务 HPA 伸缩” &#xff0c;其中使用了 webapp 应用的指标数据&#xff08;JVM&#xff09;&#xff0c;接下来&#xff0c;这篇文章将介绍如何在通过 Tomcat 部署的 webapp 中启用 Metrics 指标&#xff0c;一起来看看吧&#xf…

JVM 三色标记算法详解!

目录1. 什么是三色标记算法&#xff1f;三种颜色及其含义&#xff1a;2. 基础三色标记算法流程 (非并发)3. 并发场景下的挑战&#xff1a;一致性问题3.1. 漏标 (Missing Live Object) - 最严重的问题3.2. 错标 (Floating Garbage) - 不那么严重的问题4. 屏障机制 (Barrier) - 解…

优化神经网络模型以提升R²值至0.99的全面方案

优化神经网络模型以提升R值至0.99的全面方案 1. 问题分析与背景 在深度学习项目中&#xff0c;提升模型的R&#xff08;决定系数&#xff09;值至0.99是一个具有挑战性的目标&#xff0c;特别是在处理复杂的时间序列数据时。我们的现有模型结合了LSTM层、自注意力机制和MLP处理…

pgNow:一款免费的PostgreSQL监控与性能诊断工具

pgNow 是一款免费的桌面工具&#xff0c;可以为 PostgreSQL 数据库提供快速集中的监控与性能诊断。 pgNow 不依赖代理&#xff0c;无需任何配置&#xff0c;可以帮助开发者或数据库管理员&#xff08;DBA&#xff09;直观地查看数据库的统计信息和关键性能指标。 功能特性 跨平…

深入理解栈与队列——从原理理解到实战应用

目录 一、引言 二、栈&#xff08;Stack&#xff09; 2.1 栈的基本概念 2.2 栈的使用 2.3 栈的模拟实现 2.4 栈的实战应用 2.4.1 括号匹配 2.4.2 逆波兰表达式求值 2.4.3 出栈入栈次序匹配 2.4.4 最小栈 三、队列&#xff08;Queue&#xff09; 3.1 队列的基本概念 …

用html5写王者荣耀之王者坟墓的游戏2deepseek版

我将为您创建一个王者荣耀英雄坟墓游戏的提词器HTML页面。这个工具将帮助游戏主播或玩家在游戏中快速查看英雄技能、连招顺序等信息。设计思路 创建英雄选择界面实现提词器显示区域&#xff0c;可自定义文本内容添加字体大小、滚动速度控制设计符合王者荣耀风格的UI下面是…

轻阅读:一键解决浏览器无法预览Office文档的实用方案

在日常办公中&#xff0c;通过浏览器直接打开Word、Excel或PPT等文档时&#xff0c;常遇到“需下载后用本地软件打开”的困扰&#xff0c;不仅流程繁琐&#xff0c;还面临格式兼容、设备存储不足等问题。轻阅读&#xff08;QingYueDu&#xff09;作为一款轻量级文件在线预览工具…

鸿蒙开发实战项目(六十七):常见组件和容器低代码开发示例(ArkTS)

本文详细代码需订阅下面专栏获取(订阅后私信邮箱+项目名): https://blog.csdn.net/m0_68036862/category_12333038.html 目录 介绍 环境搭建 代码结构解读 创建低代码工程 低代码设计界面布局 实现数据动态渲染 手动创建低代码页面 介绍 本篇Codelab是基于ArkTS语言的…

MySQL学习笔记04-DML-数据的增删改

新增数据--insert样例代码-- DML : 数据操作语言 -- DML : 插入数据 - insert -- 1. 为 emp 表的 username, password, name, gender, phone 字段插入值 insert into emp (username,password,name,gender,phone) values(fei,123456,张飞,1,13888888888);-- 2. 为 emp 表的 所有…

拼多多返利app的服务网格(Service Mesh)实践:Istio在导购系统中的应用

拼多多返利app的服务网格&#xff08;Service Mesh&#xff09;实践&#xff1a;Istio在导购系统中的应用 大家好&#xff0c;我是阿可&#xff0c;微赚淘客系统及省赚客APP创始人&#xff0c;是个冬天不穿秋裤&#xff0c;天冷也要风度的程序猿&#xff01; 在拼多多返利app的…

【RabbitMQ】高级特性:持久性·发送方确认·重试机制·TTL·死信队列·延迟队列·事务·消息分发

RabbitMQ的高级特性还包括我的上篇博客 【RabbitMQ】-----详解RabbitMQ高级特性之消息确认机制-CSDN博客 目录 RabbitMQ高级特性之持久性 持久性 交换机持久化 队列持久化消息持久化 RabbitMQ高级特性之发送方确认机制 发送方确认 添加配置 常量类 声明队列和交换机…

鸿蒙Next ArkWeb网页多媒体开发实战:从基础到高级应用

解锁鸿蒙ArkWeb的强大多媒体能力&#xff0c;让网页视频音频体验媲美原生应用在日常应用开发中&#xff0c;我们经常需要在应用中嵌入网页并展示其中的多媒体内容。鸿蒙HarmonyOS Next的ArkWeb组件提供了强大的网页渲染能力&#xff0c;尤其对网页中的多媒体元素有出色的支持。…

06. Linux进程概念 1

Linux进程概念 冯诺依曼体系 冯诺依曼体系结构&#xff08;Von Neumann Architecture&#xff09;是现代计算机设计的奠基石&#xff0c;由数学家约翰冯诺依曼于1945年提出。这一架构彻底改变了早期计算机“硬件即程序”的设计方式&#xff0c;使得计算机可以灵活地运行不同程序…

HTTP标头全解析:保护你的Web应用!

在网络攻击频发的时代&#xff0c;你的Web应用是否像一座没有城墙的城堡&#xff0c;任由XSS、点击劫持和中间人攻击入侵&#xff1f;HTTP标头&#xff0c;这些看似不起眼的响应头&#xff0c;其实是Web安全的隐形守护者。想象一个电商网站&#xff0c;用户数据被窃取&#xff…

rt-linux下__slab_alloc里的另外一处可能睡眠的逻辑

一、背景 在之前的博客 tasklet上下文内存分配触发might_alloc检查及同步回收调用链 里&#xff0c;我们讲了一处内存分配时会引起睡眠的调用链&#xff08;这个引起睡眠的这个调用链它是在普通linux里也是存在的&#xff09;。这篇博客里&#xff0c;我们讲一处内存分配路径下…

基于STM32F103C8T6的智能环境监测系统:DHT11温湿度检测与OLED显示实现

引言 你是否曾想实时握身边环境的温湿度变化&#xff1f;无论是居家种植需要精准调控环境&#xff0c;还是实验室存放敏感材料需监控条件&#xff0c;亦或是智能座舱场景下的环境感知&#xff0c;智能环境监测系统正成为连接物理世界与数字管理的重要桥梁。而在众多嵌入式开发…

动态规划在子数组/子串问题

目录 一、最大子数组和&#xff08;LeetCode 53&#xff09; 二、环形子数组的最大和&#xff08;LeetCode 918&#xff09; 三、乘积最大子数组&#xff08;LeetCode 152&#xff09; 四、乘积为正数的最长子数组长度&#xff08;LeetCode 1567&#xff09; 五、等差数列…