#
luxiaotao1123
2020-11-21 67e37919387a601c256e42be903d47f1e82779dd
src/main/webapp/views/monitor/monitor.html
@@ -80,6 +80,15 @@
            }
        }
        #led-content {
            display: none;
        }
        #led-p-content {
            text-align: center;
            padding: 20px 40px;
            font-size: 35px;
            font-weight: bold
        }
    </style>
</head>
@@ -195,18 +204,12 @@
                        <div class="speed-content">
                            <div id="crn-chart" class="speed-chart">
                            </div>
<!--                            <div id="xSpeed-chart" class="speed-chart">-->
<!--&lt;!&ndash;                                <span>堆垛机走行速度:</span><span id="xSpeed" class="counter">5.00</span><span>米/秒</span>&ndash;&gt;-->
<!--                            </div>-->
<!--                            <div id="ySpeed-chart" class="speed-chart">-->
<!--&lt;!&ndash;                                <span>堆垛机升降速度:</span><span id="ySpeed" class="counter">5.00</span><span>米/秒</span>&ndash;&gt;-->
<!--                            </div>-->
                        </div>
                    </div>
                    <!-- 中下 -->
                    <div class="scroll-pane">
                        <div class="layui-carousel" id="test1">
                        <div class="layui-carousel" id="banner">
                            <div carousel-item>
                                <div class="item-img" id="img-1" style="background-color: red"></div>
                                <div class="item-img" id="img-2" style="background-color: gold"></div>
@@ -214,6 +217,10 @@
                                <div class="item-img" id="img-4" style="background-color: white"></div>
                                <div class="item-img" id="img-5" style="background-color: darkgoldenrod"></div>
                            </div>
                        </div>
                        <div id="led-content">
                            <pre id="led-p-content"></pre>
                        </div>
<!--                        &lt;!&ndash; 中左 &ndash;&gt;-->
@@ -368,7 +375,7 @@
        var element = layui.element;
        // 轮播图
        carousel.render({
            elem: '#test1'
            elem: '#banner'
            ,width: '100%' //设置容器宽度
            ,arrow: 'hover' // 切换箭头默认显示状态,可选值为 hover(悬停显示) always(始终显示) none(始终不显示)
            ,interval: '3000' // 自动切换的时间间隔,单位:ms(毫秒),不能低于800
@@ -398,8 +405,8 @@
                name: '走行速度',
                type: 'gauge',
                min: 0,
                max: 110,
                splitNumber: 11,
                max: 130,
                splitNumber: 13,
                radius: '50%',
                axisLine: {            // 坐标轴线
                    lineStyle: {       // 属性lineStyle控制线条样式
@@ -458,7 +465,7 @@
                        color: '#fff'
                    }
                },
                data: [{value: 40, name: 'm/min\nx'}]
                data: [{value: 40, name: 'x\nm/min'}]
            },
            {
                name: '升降速度',
@@ -537,7 +544,7 @@
                center: ['75%', '50%'],    // 默认全局居中
                radius: '30%',
                min: 0,
                max: 4,
                max: 25,
                startAngle: 135,
                endAngle: 45,
                splitNumber: 2,
@@ -753,9 +760,9 @@
                // },
                itemStyle:{
                    normal:{
                        color:'#0cbad9', //折点颜色
                        color:'#ef550e', //折点颜色
                        lineStyle:{
                            color:'#07a093' //折线颜色
                            color:'#ec670f' //折线颜色
                        }
                    }
                }
@@ -880,5 +887,13 @@
        });
    }
    // eCharts 跟随窗口改变
    window.onresize = function(){
        crnChart.resize();
        lineCharts.resize();
        pieCharts.resize();
    }
</script>
</html>