#
luxiaotao1123
2021-01-11 0d394d745cb1ff26359a8f6c35c8169b4e658c3e
src/main/webapp/views/monitor/monitor.html
@@ -80,6 +80,16 @@
            }
        }
        #led-content {
            display: none;
        }
        #led-p-content {
            text-align: center;
            padding: 20px 40px;
            font-size: 35px;
            font-weight: bold;
            /*color: #FF5722;*/
        }
    </style>
</head>
@@ -177,7 +187,7 @@
                    <div class="image-border image-border3"></div>
                    <div class="image-border image-border4"></div>
                    <span>浙江中扬物流装备有限公司</span>
                    <img src="img/wxCode.jpg">
                    <img src="../../static/image/barcode.png">
                </div>
            </div>
        </div>
@@ -195,18 +205,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 +218,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,12 +376,27 @@
        var element = layui.element;
        // 轮播图
        carousel.render({
            elem: '#test1'
            elem: '#banner'
            ,width: '100%' //设置容器宽度
            ,arrow: 'hover' // 切换箭头默认显示状态,可选值为 hover(悬停显示) always(始终显示) none(始终不显示)
            ,interval: '3000' // 自动切换的时间间隔,单位:ms(毫秒),不能低于800
            ,anim: 'fade'
        });
    });
    /***********************************************************************************/
    /************************************* 头部按钮 *************************************/
    /***********************************************************************************/
    // 左
    $('.button-left').click(function () {
        exitFull();
    });
    // 右
    $('.button-right').click(function () {
        full();
    });
    /***********************************************************************************/
    /************************************ 堆垛机速度 *************************************/
@@ -385,21 +408,21 @@
        tooltip: {
            formatter: '{a} <br/>{c} {b}'
        },
        toolbox: {
            show: true,
            feature: {
                mark: {show: true},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        // toolbox: {  // 保存图片
        //     show: true,
        //     feature: {
        //         mark: {show: true},
        //         restore: {show: true},
        //         saveAsImage: {show: true}
        //     }
        // },
        series: [
            {
                name: '走行速度',
                type: 'gauge',
                min: 0,
                max: 110,
                splitNumber: 11,
                max: 130,
                splitNumber: 13,
                radius: '50%',
                axisLine: {            // 坐标轴线
                    lineStyle: {       // 属性lineStyle控制线条样式
@@ -537,7 +560,7 @@
                center: ['75%', '50%'],    // 默认全局居中
                radius: '30%',
                min: 0,
                max: 4,
                max: 25,
                startAngle: 135,
                endAngle: 45,
                splitNumber: 2,
@@ -753,9 +776,9 @@
                // },
                itemStyle:{
                    normal:{
                        color:'#0cbad9', //折点颜色
                        color:'#ef550e', //折点颜色
                        lineStyle:{
                            color:'#07a093' //折线颜色
                            color:'#ec670f' //折线颜色
                        }
                    }
                }
@@ -880,5 +903,13 @@
        });
    }
    // eCharts 跟随窗口改变
    window.onresize = function(){
        crnChart.resize();
        lineCharts.resize();
        pieCharts.resize();
    }
</script>
</html>