| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- /* 页面整体布局 */
- .page-cbd {
- display: flex;
- flex-direction: column;
- gap: 12px;
- overflow: hidden;
- }
- /* 左右拆分的栏 */
- .page-cbd .panes {
- display: flex;
- gap: 12px;
- flex: 1;
- min-height: 0;
- overflow: hidden;
- }
- /* 左栏 */
- .page-cbd .left-pane {
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 12px;
- min-width: 0;
- min-height: 0;
- overflow: hidden;
- }
- .page-cbd .left-pane .card {
- display: flex;
- flex-direction: column;
- min-height: 0;
- overflow: hidden;
- }
- /* 常用指令:占2/3 */
- .page-cbd .command-card {
- flex: 2;
- }
- /* 固件升级:占1/3 */
- .page-cbd .firmware-card {
- flex: 1;
- }
- /* 左侧内容区域 */
- .page-cbd .command-content,
- .page-cbd .firmware-content {
- flex: 1;
- min-height: 0;
- overflow: auto;
- }
- /* 右栏:应用日志 */
- .page-cbd .right-pane {
- flex: 1;
- display: flex;
- flex-direction: column;
- min-width: 0;
- min-height: 0;
- }
- .page-cbd .right-pane .log-card {
- flex: 1;
- display: flex;
- flex-direction: column;
- min-height: 0;
- overflow: hidden;
- }
- .page-cbd .right-pane .output {
- flex: 1;
- min-height: 0;
- }
- /* ================= 移动端适配 (≤768px) ================= */
- @media (max-width: 768px) {
- .page-cbd .panes {
- flex-direction: column;
- flex: none;
- overflow: visible;
- }
- .page-cbd .left-pane,
- .page-cbd .right-pane {
- width: 100%;
- flex: none;
- overflow: visible;
- }
- .page-cbd .command-card {
- flex: none;
- min-height: 240px;
- }
- .page-cbd .firmware-card {
- flex: none;
- min-height: 180px;
- }
- .page-cbd .right-pane .log-card {
- min-height: 400px;
- }
- }
|