| | |
| | | <script src="../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | | <script src="../static/js/tools/layx.min.js"></script> |
| | | <style> |
| | | #layx-radiu-style{ |
| | | border-radius:4px; |
| | | -webkit-border-radius:4px; |
| | | -moz-border-radius:4px; |
| | | -ms-border-radius:4px; |
| | | } |
| | | |
| | | #layx-radiu-style .layx-window-icon{ |
| | | color:#f00; |
| | | .layx-min-statu { |
| | | right: 10px; |
| | | } |
| | | </style> |
| | | </head> |
| | |
| | | <div class="sidebar"> |
| | | <div class="nav"> |
| | | <ul class="cl-effect-4"> |
| | | <li><a id="layx" onclick="news()" class="nav-unselect" href="#">通知</a></li> |
| | | <li><a id="console" onclick="nav(this.id)" class="nav-select" href="#">主控图</a></li> |
| | | <li><a id="pipeline" onclick="nav(this.id)" class="nav-unselect" href="#">输送设备</a></li> |
| | | <li><a id="crn" onclick="nav(this.id)" class="nav-unselect" href="#">堆垛机</a></li> |
| | |
| | | // 系统运行状态 |
| | | var systemRunning = true; |
| | | |
| | | news();layx.min('wcs-news'); |
| | | |
| | | // http://chuange.gitee.io/vue-layx/ |
| | | news();layx.min('wcs-news'); |
| | | function news() { |
| | | layx.iframe('wcs-news','系统分析报告','./iframe.html',{ |
| | | shadow:false |
| | | , width:600 |
| | | , height:800 |
| | | // , position:'rb' |
| | | , width:1000 |
| | | , height:600 |
| | | , position:'rb' |
| | | // , control:false |
| | | , opacity:0.9 |
| | | , border:false |
| | | // , icon:false |
| | | , icon:'<img src="../static/images/favicon.ico" style="height:22px;display:block;" alt=""/>' |
| | | , stickMenu:true |
| | | , maxMenu:false |
| | |
| | | , minWidth:300 |
| | | , minHeight:300 |
| | | , borderRadius: '8px' |
| | | // , shadeDestroy:true |
| | | , shadeDestroy:true |
| | | , escKey: false |
| | | , event:{ |
| | | onmin: { |
| | | after: function () { |
| | | $('.layx-min-statu').css("left", "inherit").css("right", "10px") |
| | | } |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | </script> |
| | | </html> |