#
zjj
2024-05-22 b3aff2b1637848d43104d505da867672cfdb1732
src/main/webapp/views/realtimeWatch/index2.html
@@ -56,52 +56,52 @@
    var systemRunning = true;
    // news();layx.min('wcs-news');
    // function news() {
    //     layx.iframe(
    //         'wcs-news' // id
    //         , '系统分析报告'
    //         , "news.html"
    //         , {
    //             shadow:false
    //             , storeStatus:false
    //             // , skin: 'news'
    //             , width:800
    //             , height:600
    //             , position:'rb'
    //             // , control:false
    //             , opacity:0.9
    //             , border:false
    //             , icon:'<img src="../../static/wcs/images/zy-logo.png" style="height:22px;display:block;"  alt=""/>'
    //             , stickMenu:true
    //             , maxMenu:false
    //             , closeMenu:false
    //             , moveLimit:{
    //                 leftOut: false,
    //                 rightOut: false,
    //                 topOut: false,
    //                 bottomOut: false,
    //             }
    //             , minWidth:300
    //             , minHeight:300
    //             , borderRadius: '8px'
    //             , shadeDestroy:true
    //             , escKey: false
    //             , event:{
    //                 onmin: {
    //                     after: function () {
    //                         $('.layx-min-statu').css("left", "inherit").css("right", "10px")
    //                     }
    //                 }
    //                 , onrestore:{
    //                     after: function () {
    //                         let win = layx.getFrameContext('wcs-news');
    //                         win.autoScroll = true
    //                     }
    //                 }
    //             }
    //         }
    //     );
    // }
    news();layx.open('wcs-news');
    function news() {
        layx.iframe(
            'wcs-news' // id
            , '系统分析报告'
            , "news.html"
            , {
                shadow:false
                , storeStatus:false
                // , skin: 'news'
                , width:600
                , height:400
                , position:'rb'
                // , control:false
                , opacity:0.9
                , border:false
                , icon:'<img src="../../static/wcs/images/zy-logo.png" style="height:22px;display:block;"  alt=""/>'
                , stickMenu:true
                , maxMenu:false
                , closeMenu:false
                , moveLimit:{
                    leftOut: false,
                    rightOut: false,
                    topOut: false,
                    bottomOut: false,
                }
                , minWidth:300
                , minHeight:300
                , borderRadius: '8px'
                , shadeDestroy:true
                , escKey: false
                , event:{
                    onmin: {
                        after: function () {
                            $('.layx-min-statu').css("left", "inherit").css("right", "10px")
                        }
                    }
                    , onrestore:{
                        after: function () {
                            let win = layx.getFrameContext('wcs-news');
                            win.autoScroll = true
                        }
                    }
                }
            }
        );
    }
</script>
</html>