This commit is contained in:
2026-03-11 19:19:18 +08:00
parent 1a5e771420
commit 9e76fd467b

View File

@@ -78,11 +78,9 @@
min-width: 0; min-width: 0;
} }
.header-main h1 { .header-main h1 {
margin: 0 0 10px; margin: 0 0 8px;
font-size: 30px; font-size: 30px;
font-weight: 700;
word-break: break-all; word-break: break-all;
text-align: center;
} }
.header-main .subtitle { .header-main .subtitle {
opacity: 0.9; opacity: 0.9;
@@ -303,21 +301,6 @@
min-width: 0; 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 { .item-list {
list-style: none; list-style: none;
padding: 0; padding: 0;
@@ -484,19 +467,32 @@
padding: 10px 0 8px; padding: 10px 0 8px;
border-bottom: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
} }
/* 打印版大标题居中、蓝色、字号更大 */ /* 打印版:企业全景报告大标题居中、蓝色更大 */
.header-main h1.report-title { .header-main {
text-align: center; text-align: center;
font-size: 32px; width: 100%;
color: var(--primary) !important; }
margin-bottom: 12px; .header-main h1 {
font-size: 34px;
color: var(--primary) !important;
margin-bottom: 10px;
}
.header-main .subtitle {
font-size: 15px;
}
/* 打印版:评分和风险部分放大,整体居中展示 */
.header-score {
text-align: center;
margin-top: 8px;
width: 100%;
} }
/* 评分区域整体放大一些 */
.header-score .score { .header-score .score {
font-size: 30px; font-size: 30px;
font-weight: 700;
} }
.header-score .label { #riskLevelPill {
font-size: 14px; font-size: 14px;
padding: 4px 10px;
} }
/* 主体卡片:去阴影,且压缩上下间距,减少被整体挤到下一页的概率 */ /* 主体卡片:去阴影,且压缩上下间距,减少被整体挤到下一页的概率 */
.section-card { .section-card {
@@ -828,7 +824,6 @@
function renderBasic(v) { function renderBasic(v) {
if (!v) return "<p class='empty-hint'>暂无基础信息</p>"; if (!v) return "<p class='empty-hint'>暂无基础信息</p>";
// 与《企业全量信息核验V2_返回字段说明》BASIC 字段顺序对应 // 与《企业全量信息核验V2_返回字段说明》BASIC 字段顺序对应
// 经营业务范围businessScope单独占一整行展示不放在多列网格里
var keys = [ var keys = [
"entName", "entName",
"creditCode", "creditCode",
@@ -877,13 +872,12 @@
? v.oldNames.join("") ? v.oldNames.join("")
: v.oldNames || "-"; : v.oldNames || "-";
var html = kvGrid(o, keys, 3); var html = kvGrid(o, keys, 3);
// 经营业务范围:单独一整行 // 经营业务范围:单独一整行,避免挤在多列网格里
if (v.businessScope != null && v.businessScope !== "") {
html += html +=
"<div class='basic-scope-row'><span class='k'>经营业务范围</span><span class='v'>" + "<h3>经营业务范围</h3>" +
esc(v.businessScope) + "<div class='item-block'>" +
"</span></div>"; esc(v.businessScope || "-") +
} "</div>";
return html; return html;
} }