feat: Phase 0 技术性 SEO+GEO
- 新增 robots.txt(显式欢迎 AI 爬虫)/ sitemap.xml / llms.txt - head:TKD 重写(关键词式 title)、canonical、og:url/og:locale、og:image 改绝对地址 - JSON-LD:Organization + 8 产品 + FAQPage 三组 - 新增 FAQ 区块(原生 details 手风琴,零 JS)+ i18n 13 键 - 8 产品图 alt 补型号关键词;双语言 document.title 同步 - CI:两条流水线 tar 清单补入三个根文件
This commit is contained in:
@@ -583,6 +583,36 @@ html[lang="en"] .tags span { font-size: 11px; }
|
||||
.footer-brand span { font-size: 14px; color: var(--muted); }
|
||||
.footer-copy { font-size: 13px; color: var(--muted); }
|
||||
|
||||
/* ============================================================
|
||||
FAQ 手风琴(原生 details/summary,零 JS;描边手法复用 .card)
|
||||
============================================================ */
|
||||
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
|
||||
.faq-item {
|
||||
border-radius: 14px;
|
||||
background:
|
||||
linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
|
||||
linear-gradient(140deg, rgba(76, 195, 255, 0.28), rgba(148, 178, 255, 0.06) 40%, rgba(255, 61, 90, 0.24)) border-box;
|
||||
border: 1px solid transparent;
|
||||
padding: 16px 22px;
|
||||
}
|
||||
.faq-item summary {
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
color: var(--text);
|
||||
}
|
||||
.faq-item summary::-webkit-details-marker { display: none; }
|
||||
/* 用 + 号旋转做展开指示,免图标资源 */
|
||||
.faq-item summary::after { content: '+'; color: var(--muted); font-size: 18px; transition: transform 0.2s; }
|
||||
.faq-item[open] summary::after { transform: rotate(45deg); }
|
||||
.faq-item p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--muted); }
|
||||
|
||||
|
||||
/* ============================================================
|
||||
滚动淡入
|
||||
============================================================ */
|
||||
|
||||
Reference in New Issue
Block a user