/* JSON查看弹窗 */ .jsonview { display: none; position: fixed; inset: 0; z-index: 1000; padding: 20px; background: rgba(0, 0, 0, 0.65); align-items: center; justify-content: center; } .jsonview.show { display: flex; } .jsonview-dialog { display: flex; flex-direction: column; width: 100%; max-width: 760px; max-height: 85vh; background: #17243a; border: 1px solid #30435f; border-radius: 10px; overflow: hidden; } .jsonview-header { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 14px 18px; border-bottom: 1px solid #30435f; } .jsonview-header h2 { min-width: 0; font-size: 16px; font-weight: 500; color: #e2eaf5; overflow-wrap: anywhere; } .jsonview-close { flex: none; margin-left: 16px; padding: 0; border: none; background: none; color: #9aacc5; font-size: 26px; line-height: 1; cursor: pointer; } .jsonview-close:hover { color: #ffffff; } .jsonview-body { flex: 1; min-height: 0; overflow: auto; padding: 16px; } .jsonview-body pre { margin: 0; color: #b9d5f5; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.7; white-space: pre; }