Index.cshtml 2.67 KB
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header
    {
    <script type="text/javascript" src="~/js/jQuery-2.1.4.min.js"></script>
    <script type="text/javascript" src="/lib/signalr/dist/browser/signalr.js"></script>
    <script type="text/javascript" src="~/js/jcanvas.js"></script>
    <script type="text/javascript" src="~/js/echarts/echarts.js"></script>
    <script type="text/javascript" src="/layui/layui.js"></script>
    <script type="text/javascript" src="/basejs/Common.js?v=2019.08.29"></script>
    <script type="text/javascript" src="/productjs/monitor/STKMonitor.js?v=2019.08.29"></script>
    <style>
        .parent {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: center;
        }

        .select {
            width: 300px;
            height: 50px;
            border: 1px solid rgba(48, 43, 43, 0.3);
            /*内容居中显示*/
            text-align: center;
            text-align-last: center;
            /* 去掉select自带的样式 */
            /*appearance: none;*/
            /* IE */
            -webkit-appearance: none;
            /* google */
            -moz-appearance: none;
            /* firefox */
            background-size: 10% 30%;
            /* 手势样式 */
            cursor: pointer;
        }
        /*清除ie的默认选择框样式清除,隐藏下拉箭头*/
        select::-ms-expand {
            display: none;
        }
    </style>
}
<div>
    <div class="parent">
        <label style="font-size:20px;font-weight:bold;color:cornflowerblue">区域选择:</label>
        <select class="select" id="STK" style="font-size:25px;font-weight:bold;color:cornflowerblue">
            <option value="1">A区</option>
        </select>
        <input type="button" id="move" value="移动" />
    </div>
</div>
<div>
    <div>
        <label style="font-size:20px;font-weight:bold;color:cornflowerblue">1号堆垛机:</label>
        <font id="stk1" style="font-size:20px;font-weight:bold;color:green">空闲</font>
    </div>
    <canvas id="canvas1" width="2000" height="150"></canvas>
</div>
<div>
    <div>
        <label style="font-size:20px;font-weight:bold;color:cornflowerblue">2号堆垛机:</label>
        <font id="stk1" style="font-size:20px;font-weight:bold;color:green">空闲</font>
    </div>
    <canvas id="canvas2" width="2000" height="150"></canvas>
</div>
<div>
    <div>
        <label style="font-size:20px;font-weight:bold;color:cornflowerblue">3号堆垛机:</label>
        <font id="stk1" style="font-size:20px;font-weight:bold;color:green">空闲</font>
    </div>
    <canvas id="canvas3" width="2000" height="150"></canvas>
</div>