| | |
| | | .container { |
| | | background-color: #151414; /* 将网格项目的颜色设置为红色背景 */ |
| | | flex: 9; |
| | | border: 1px solid #ccc; |
| | | border: 10px solid; |
| | | box-sizing: border-box; |
| | | display: grid; |
| | | grid-template-columns: repeat(2, 1fr); /* 默认 2x2 网格 */ |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | border: 1px solid #ccc; |
| | | border: 2px solid #384551; |
| | | box-sizing: border-box; |
| | | padding: 10px; /* 内边距为 10px */ |
| | | position: relative; /* 添加相对定位 */ |
| | |
| | | } |
| | | |
| | | |
| | | let mediamtxHost = "192.168.1.12" |
| | | let mediamtxHost = "192.168.1.227" |
| | | var chanMap = new Map(); |
| | | window.onload = function () { |
| | | changeGrid(2, 2); |