This commit is contained in:
2026-03-11 19:10:55 +08:00
parent 2114f602de
commit 1a5e771420

View File

@@ -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 "<p class='empty-hint'>暂无基础信息</p>";
// 与《企业全量信息核验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 +=
"<div class='basic-scope-row'><span class='k'>经营业务范围:</span><span class='v'>" +
esc(v.businessScope) +
"</span></div>";
}
return html;
}
function renderBranches(v) {