| | |
| | | <link rel="stylesheet" type="text/css" href="../static/css/common.css"> |
| | | <link rel="stylesheet" type="text/css" href="../static/css/console.css"> |
| | | <script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | | <script type="text/javascript" src="../static/js/layer/layer.js"></script> |
| | | <style> |
| | | |
| | | </style> |
| | |
| | | <input id="val" type="text"> |
| | | <button id="animate">animate</button> |
| | | </main> |
| | | |
| | | |
| | | <!-- 弹出层 --> |
| | | <form id="msg" style="display: none"> |
| | | <input name="name" type="text"> |
| | | <input name="password" type="password"> |
| | | <button>确定</button> |
| | | </form> |
| | | </body> |
| | | <script> |
| | | var crn1Position = 0; |
| | |
| | | } |
| | | } |
| | | |
| | | $('.item').on('click', function () { |
| | | layer.open({ |
| | | type: 1, |
| | | shadeClose: true, //点击遮罩关闭层 |
| | | content: $("#msg") |
| | | }); |
| | | }) |
| | | |
| | | </script> |
| | | </html> |