#
vincent
2020-06-02 13b5d9eef0131ebe7bd8692cd5e3873673a2b92c
#
2个文件已修改
28 ■■■■ 已修改文件
src/main/webapp/static/css/index.css 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/console.html 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/css/index.css
@@ -1,3 +1,9 @@
html {
    overflow: hidden;
}
body {
    overflow: hidden;
}
/* 导航 */
.nav {
    background-color: #fff; /*todo*/
src/main/webapp/views/console.html
@@ -419,10 +419,12 @@
    // 系统运行开关
    function systemSwitch() {
        if (systemRunning){
            var confirm = layer.confirm('确定关闭 WCS 系统?!', {
                btn: ['确定','取消']
            }, function(){
                layer.close(confirm);
            layer.prompt({title: '请输入口令,并停止 WCS 系统', formType: 1}, function(pass, idx){
                layer.close(idx);
                if ("123"!==pass){
                    alert("口令错误");
                    return;
                }
                var index = null;
                index = layer.load(1, {
                    shade: [0.1,'#fff']
@@ -439,9 +441,8 @@
                    }
                    layer.close(index);
                }, 2000);
            }, function(){
            });
        } else {
            var index = null;
            index = layer.load(1, {
@@ -538,5 +539,14 @@
        }
    }
    // 货架点击事件
    $('.item').on('click', function () {
        layer.open({
            type: 1,
            shadeClose: true, //点击遮罩关闭层
            content: 'text'
        });
    });
</script>
</html>