 @media print {
            html, body {
                overflow: visible !important;
                width: auto !important;
                height: auto !important;
                color: #000 !important;
                background: #fff !important;
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }
            /* 强制所有文字为黑色，避免继承白色文字颜色导致不可见 */
            * {
                color: #000 !important;
                overflow: visible !important;
            }
            /* 隐藏不需要打印的元素 */
            .top, .nav, #nav, .breadcrumb,
            .news-detail-share, .news-navigation,
            .related-news, .main6,
            .containers {
                display: none !important;
            }
            /* 让详情页全宽显示 */
            .news-detail-page {
                display: block !important;
                max-width: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
            }
            .news-detail-container {
                display: block !important;
                box-shadow: none !important;
                padding: 20px !important;
            }
            .news-detail-header,
            .news-detail-content,
            .news-detail-title,
            .news-detail-meta,
            .news-detail-footer,
            .news-detail-tags {
                display: block !important;
                visibility: visible !important;
            }
            /* 避免内容在页面中间断开 */
            h1, h2, h3, h4 {
                page-break-after: avoid;
            }
            img {
                page-break-inside: avoid;
                max-width: 100% !important;
            }
            p {
                orphans: 3;
                widows: 3;
            }
        }