.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .panel { background: #10172b; border: 1px solid #124966; border-radius: 10px; padding: 16px; box-sizing: border-box; } .pair { display: flex; justify-content: space-between; margin-bottom: 10px; } .cell { width: 48%; display: flex; justify-content: space-between; align-items: center; } .cell-label { font-size: 13px; color: #8b949e; } .cell-value { font-size: 15px; font-weight: bold; color: #e8ede7; } .ota { display: flex; flex-direction: column; gap: 20px; } .panel-title { font-size: 15px; font-weight: bold; color: #fff; padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid #124966; border-left: 3px solid #00edff; padding-left: 20px; margin-bottom: 20px; } .panel-row { display: flex; align-items: center; gap: 16px; } .panel-row.column { flex-direction: column; align-items: flex-start; } .label { font-size: 14px; color: #8b949e; } .version { font-size: 16px; font-weight: bold; color: #e8ede7; } .btn { display: inline-flex; /* 关键:横向排列 */ align-items: center; /* 关键:图片和文字垂直居中,同一行 */ justify-content: center; gap: 6px; height: 40px; line-height: 36px; padding: 0 22px; font-size: 15px; border-radius: 5px; cursor: pointer; color: #000; background: linear-gradient(180deg, rgba(0, 237, 255, 1) 0%, rgba(0, 237, 255, 1) 0%, rgba(14, 165, 233, 1) 99%, rgba(14, 165, 233, 1) 100%, rgba(14, 165, 233, 1) 100%); } /* 隐藏原生 input,用按钮触发 */ .file-input { display: none; } .input { flex:1; border:1px solid rgba(42, 58, 79, 1); border-radius:4px; padding:10px 8px; font-size:14px; background: #000; color: #00e5ff; } .file-list { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; } .file-item { font-size: 13px; color: #00edff; } .ota-img{ height: 22px; margin-top: 6px; } .ota-arm { display: flex; flex-direction: row; height: 100%; gap: 20px; } .contentx { width: 78%; background-color: #fff; height: 99%; border-radius: 8px; margin-bottom: 20px; overflow: hidden; } .footer { flex: 1; width: 20%; } .line { margin-top: 20px; padding-left: 20px; display: flex; align-items: center; gap: 5px; } .item-logo { width: 20px; height: 20px; } .item-logox { width: 16px; height: 16px; } .item-line { width: 24rpx; height: 10rpx; } .item-font { font-size: 13px; color: #000 ; } .bottom-button { width: 15%; background: #00e5ff; color: #000; border-radius: 5px; height: 40px; line-height: 40px; font-size: 16px; border: none; position: absolute; bottom: 40px; } .bottom-button-nav { width: 15%; background: #00e5ff; color: #000; border-radius: 5px; height: 40px; line-height: 40px; font-size: 16px; border: none; position: absolute; bottom: 40px; } .rtitle { font-size: 15px; font-weight: bold; color: #fff; padding-top: 8px; padding-bottom: 8px; border-left: 3px solid #00edff; padding-left: 20px; margin-bottom: 20px; } .label-zb{ color: #ffc83d; width: 70px; } /* 右上角坐标信息面板 */ .pos-info-box { position: absolute; top: 266px; left: 240px; background: #0f141c; border-radius: 8px; padding: 10px 12px; border: 1px solid rgba(42, 58, 79, 1); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); z-index: 998; width:200px; } .info-row { display: flex; font-size: 13px; line-height: 24px; } .tool-right { position: relative; z-index: 999; } .nav-toolbar { flex-shrink: 0; display: flex; align-items: center; width: 77%; justify-content: space-between; margin-bottom: 14px; } .tool-left { display: flex; align-items: center; gap: 12px; border-left:3px solid #00edff;} .nav-btn-add { padding: 6px 16px; font-size: 14px; font-weight: 600; color: #e8ede7; border-radius: 6px; cursor: pointer; } .tool-center { display: flex; align-items: baseline; gap: 10px; } .map-name { font-size: 18px; font-weight: bold; color: #e8ede7; } .map-label { font-size: 13px; color: #8b949e; } .tool-right { display: flex; align-items: center; gap: 12px; } /* 按钮容器:抬高层级,遮罩盖不住;作为下拉的定位基准 */ .nav-btn-switch { padding: 6px 14px; font-size: 13px; color: #00edff; background: #254d5e; border: 1px solid #00edff; border-radius: 6px; cursor: pointer; } .fixed-imagesx { width: 46px; position: absolute; right: 40px; top: 100px; background: #656565; padding:20px 6px; border-radius: 10px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; z-index: 999; } .fixed-imagex { width: 25px; height: 25px; }