From 1a5e771420cb8c40367a501f0d5641fad0b38938 Mon Sep 17 00:00:00 2001 From: liangzai <2440983361@qq.com> Date: Wed, 11 Mar 2026 19:10:55 +0800 Subject: [PATCH] f --- resources/qiye.html | 46 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/resources/qiye.html b/resources/qiye.html index 05c8021..597be43 100644 --- a/resources/qiye.html +++ b/resources/qiye.html @@ -78,9 +78,11 @@ min-width: 0; } .header-main h1 { - margin: 0 0 8px; - font-size: 26px; + margin: 0 0 10px; + font-size: 30px; + font-weight: 700; word-break: break-all; + text-align: center; } .header-main .subtitle { opacity: 0.9; @@ -301,6 +303,21 @@ min-width: 0; } + /* 主体概览中经营业务范围的单独整行展示 */ + .basic-scope-row { + margin-top: 10px; + padding: 8px 0; + border-top: 1px solid #f3f4f6; + font-size: 13px; + } + .basic-scope-row .k { + color: var(--text-muted); + font-weight: 500; + } + .basic-scope-row .v { + word-break: break-word; + } + .item-list { list-style: none; padding: 0; @@ -467,8 +484,19 @@ padding: 10px 0 8px; border-bottom: 1px solid #e5e7eb; } + /* 打印版大标题:居中、蓝色、字号更大 */ + .header-main h1.report-title { + text-align: center; + font-size: 32px; + color: var(--primary) !important; + margin-bottom: 12px; + } + /* 评分区域整体放大一些 */ .header-score .score { - font-size: 26px; + font-size: 30px; + } + .header-score .label { + font-size: 14px; } /* 主体卡片:去阴影,且压缩上下间距,减少被整体挤到下一页的概率 */ .section-card { @@ -800,6 +828,7 @@ function renderBasic(v) { if (!v) return "

暂无基础信息

"; // 与《企业全量信息核验V2_返回字段说明》BASIC 字段顺序对应 + // 经营业务范围(businessScope)单独占一整行展示,不放在多列网格里 var keys = [ "entName", "creditCode", @@ -836,7 +865,6 @@ "cancelReason", "revokeReason", "oldNames", - "businessScope", "lastAnnuReportYear", ]; var o = {}; @@ -848,7 +876,15 @@ v.oldNames.length ? v.oldNames.join(";") : v.oldNames || "-"; - return kvGrid(o, keys, 3); + var html = kvGrid(o, keys, 3); + // 经营业务范围:单独一整行 + if (v.businessScope != null && v.businessScope !== "") { + html += + "
经营业务范围:" + + esc(v.businessScope) + + "
"; + } + return html; } function renderBranches(v) {