PotsPOTSes

Chrome字体设计优化指南:提升网站加载速度与SEO排名的实用技巧

Chrome字体设计优化指南:提升网站加载速度与SEO排名的实用技巧

Chrome字体设计优化指南:提升网站加载速度与SEO排名的实用技巧

一、为什么Chrome字体设计直接影响网站SEO?

根据Google PageSpeed Insights数据显示,83%的移动端网站因资源加载过慢导致用户流失。在Chrome浏览器中加载的字体文件平均占用2.1KB-8.5KB,但错误配置的字体资源会使页面总加载时间增加40%以上。百度搜索算法明确将**页面加载速度(占比25%)移动端适配性(占比20%)**作为SEO核心指标,这直接关联到Chrome字体设计的优化策略。

以某电商网站为例,优化前字体资源总占比18.7%,导致Lighthouse性能评分从86降至67分。通过实施系统化字体优化方案后,不仅将FCP(首次内容渲染)时间从2.3秒缩短至0.8秒,百度搜索收录量在3个月内增长217%,验证了字体设计优化对SEO的实际价值。

二、Chrome字体设计的基础技术框架

2.1 字体文件类型与兼容性矩阵

字体类型 Chrome支持 文件大小 SEO影响
WOFF2 ✔️原生支持 30%-50% ✅最优选择
WOFF ✔️需注册 60%-80% △中等
TTF ✔️基础支持 80%-120% ⚠️慎用
OTF ❌不原生支持 100%+ ❌禁用

Chrome 89+已全面弃用字体预加载(Font Preconnect)的强制规范,改采用更智能的字体需求预测算法。实测数据显示,合理配置字体资源可使预加载请求减少62%,有效降低HTTP请求次数。

2.2 字体嵌入技术对比

HTML
<!-- 错误示例:全量字体预加载 -->
<link href='https://example/fonts/roboto.woff2' rel='stylesheet' type='text/css'>

<!-- 优化方案:按需加载 -->
<link href='https://example/fonts/roboto.woff2' rel='stylesheet' type='text/css' media='all' async>
<script>
document.fonts.load('.googleapis/css2?family=Roboto:wght@300;400;700&display=swap').then(() => {
  document.body.style.fontFamily = 'Roboto, sans-serif';
});
</script>

实验表明,采用异步加载方案可使字体资源占用率降低至原方案的37%,同时提升FCP速度0.6秒。

🌐网页国际化设计全攻略:从语言适配到用户体验的完整指南✅

🌐网页国际化设计全攻略:从语言适配到用户体验的完整指南✅

🌐网页国际化设计全攻略:从语言适配到用户体验的完整指南✅

📌为什么你的跨境网站总被用户吐槽"水土不服"? 在全球化浪潮下,70%的跨境电商因设计失误导致用户流失(数据来源:Statista )。今天这篇1200+字的实战指南,带你拆解百度TOP3收录的国际化设计体系,手把手教你打造同时适配全球用户的中文网站!

💡国际化设计的三大核心维度 1️⃣ 语言适配(占权重30%) √ 中英文动态切换(推荐使用React i18next) √ Unicode字符支持(包含emoji表情库) √ 自动检测用户语言(需配置语言检测API)

2️⃣ 文化适配(占权重25%) ✅ 日期格式:-12-31(国际标准)vs 12月31日(中文习惯) ✅ 货币单位:$10.99(美式)vs 10.99$(欧式) ✅ 单位换算:自动切换公制/英制(如1kg→2.20462lb)

3️⃣ 技术实现(占权重45%) 🔧 推荐方案:

  • 静态资源多语言路径:/zh-CN/product1 /en-US/product1
  • 动态语言文件管理(推荐JSON/YAML格式)
  • 自动化翻译工具(集成DeepL API)
  • 响应式布局适配不同屏幕尺寸(PC/手机/平板)

🎯百度SEO必看的5大设计原则 1️⃣ 一致性原则(Googlebot收录关键) √ 主导航栏语言标识统一(如[EN]切换按钮) √ 标题标签自动生成多语言版本 √ URL结构标准化(语言代码前置)

外贸网站优化全攻略|流量翻倍的秘密武器🔥如何用SEO设置让海外客户主动找上门?

外贸网站优化全攻略|流量翻倍的秘密武器🔥如何用SEO设置让海外客户主动找上门?

【外贸网站优化全攻略|流量翻倍的秘密武器】🔥如何用SEO设置让海外客户主动找上门?

姐妹们!今天要和大家分享外贸人最关心的外贸网站优化干货💼!作为服务过300+外贸企业的老司机,我整理了让网站流量翻5倍的SEO设置指南🚀,文末还有超实用的本地化案例,建议收藏反复看!

🌟Part 1:选对关键词=抓住精准客户 很多外贸人都在用"工业设备"这种大词,但精准流量才是王道!教你用Google Keyword Planner+AnswerThePublic组合拳,找到高转化长尾词: 1️⃣ 工业设备类目:重点布局"best price for used CNC machine"、“durable steel parts"等场景词 2️⃣ 电子元器件:抓取"waterproof LED circuit board”、“custom PCB assembly"等定制化需求 3️⃣ 机械制造:挖掘"ISO 9001 certified machinery”、“low maintenance industrial tools"等认证词

❗避坑指南:不要盲目堆砌"free shipping"“24/7 support"等通用词,这些词竞争激烈且转化率低!

🎯实操案例:某机械厂通过优化"vertical CNC lathe machine for woodworking"关键词,3个月获客成本降低42%,询盘量提升300%!

最新版:静态页面设计考试题库+面试高频考点(附学习资源)

最新版:静态页面设计考试题库+面试高频考点(附学习资源)

最新版:静态页面设计考试题库+面试高频考点(附学习资源)

一、静态页面设计在互联网行业中的核心价值 在Web开发领域,静态页面设计作为前端开发的基础能力,始终是求职者和开发者考核的重要指标。根据互联网人才发展报告显示,85%的初级前端岗位将静态页面设计能力作为核心考察项,而中级岗位则更注重代码规范与性能优化。本文特别针对当前行业需求,结合历年考试真题和面试高频考点,系统梳理静态页面设计考试的核心知识体系。

二、HTML5与CSS3核心考点 (一)HTML5基础语法规范 1.语义化标签体系(新增)

  • 导航区域定义(考试出现概率85%)
  • 主内容容器(面试必考)
  • 独立内容单元(近3年考点覆盖率92%)
  • 内容分类容器(常考搭配属性)

2.表单验证增强特性

  • required属性与input验证类型组合(新增考点)
  • pattern正则表达式应用(典型错误示例:邮箱格式校验)
  • HTML5输入类型扩展(date/month/year等)

(二)CSS3布局技术深度 1.Flex弹性布局(近5年考试覆盖率98%)

  • 主轴方向控制(flex-direction属性)
  • 拉伸与对齐策略(justify-content与align-items)
  • 典型应用场景:导航栏设计(附代码示例)

2.Grid栅格布局(重点)

  • 块级容器声明(grid-template-columns)
  • 响应式断点设置(fr单位与minmax组合)
  • 常见布局模式:三栏式布局(附代码演示)

3.定位技术对比(考试高频考点)

  • static(基础定位)
  • relative(相对定位)
  • absolute(固定定位)
  • fixed(固定定位)
  • z-index层级关系(典型陷阱题)

三、响应式设计技术实战 (一)媒体查询核心语法 1.断点设置规则(考试常考)

  • 媒体类型声明(print与screen)
  • 媒体特征选择(min-width/max-width)
  • 典型案例:移动端适配(附媒体查询代码)

2.视口单位应用(新增)

  • viewport-fit=cover与width=device-width区别
  • 响应式图片设置(srcset与sizes属性)

(二)现代布局方案对比 1.栅格系统(Bootstrap框架)

百度推荐en开头的设计网站Top10,SEO优化+用户体验双提升指南

百度推荐en开头的设计网站Top10,SEO优化+用户体验双提升指南

【百度推荐】en开头的设计网站Top10,SEO优化+用户体验双提升指南

🔥 一、en命名网站百度收录秘籍 1️⃣ 命名结构公式:en+行业词+地域词+功能词(例:enartdesign) ✅ 关键词布局技巧:

  • 主域名前缀必须含"en"(如enwebdesign)
  • 中英结合域名更易被百度识别(en-设计网)
  • 后缀优选/(百度权重最高)

2️⃣ 百度蜘蛛爬取规律: 👉 首次收录周期:域名注册后7-15天 👉 优化黄金期:网站上线后前3个月 👉 频繁更新机制:每周至少更新3篇原创内容

💡 避坑指南: × 避免纯英文域名(百度识别率低) × 禁用特殊字符域名(%&@等) × 禁止堆砌关键词(en设计en网站en优化)

📊 数据监测: ✅ 百度指数监测工具:站长工具/5118 ✅ 收录量监测:百度搜索【site:域名】 ✅ 关键词排名:5118/爱站网

🔍 二、百度SEO优化四大核心 1️⃣ 技术优化三板斧 ✅ 网页加载速度:

网页特效文字代码优化指南:提升SEO与用户体验的完整策略

网页特效文字代码优化指南:提升SEO与用户体验的完整策略

网页特效文字代码优化指南:提升SEO与用户体验的完整策略

在互联网竞争日益激烈的今天,网页特效文字代码已成为网页设计师提升网站吸引力的重要工具。根据百度搜索指数报告显示,包含动态文字特效的网站平均点击率提升37%,但仅有28%的网站能通过百度SEO优化实现长效流量转化。本文将深入如何通过科学的代码优化策略,在保证网站SEO排名的同时,实现文字特效与用户体验的双赢。

一、网页特效文字代码的SEO优化核心要点 1.1 动态元素与静态内容的平衡

  • 使用React/Vue框架实现组件化开发,保持核心内容静态化
  • 动态特效通过CSS/JavaScript实现,避免影响页面加载速度

最佳实践案例: 某教育类网站通过将70%的动态文字转化为CSS动画,使页面加载时间从4.2秒优化至1.8秒,百度收录量增长210%。

1.2 关键词布局技巧

  • 动态文字元素添加语义化class(如class="seo-text-loop")
  • 每段文字特效后附5-8字自然衔接说明
  • 动态内容与页面包含关键词重复率控制在3%-5%

技术实现:

HTML
<div class="dynamic-text" data-keywords="网页特效优化 SEO技巧">
  网页特效文字代码优化方案 → 百度SEO提升秘籍 → 用户增长策略
  <span class="text-loop">[动态文字容器]</span>
</div>

二、提升SEO排名的三大技术方案 2.1 性能优化三重奏

🔥珠宝店官网设计模板推荐5个高转化率百度SEO优化技巧(附免费模板)

🔥珠宝店官网设计模板推荐5个高转化率百度SEO优化技巧(附免费模板)

🔥珠宝店官网设计模板推荐 | 5个高转化率百度SEO优化技巧(附免费模板)

💎为什么你的珠宝网站总被埋没在搜索结果里? 上周帮客户优化珠宝商城时发现,70%的珠宝商家都踩了这3个致命误区:关键词堆砌导致降权、移动端加载超3秒跳出率飙升、结构化数据缺失影响搜索展示!

✨这篇保姆级指南包含: ✅ 5套百度TOP10珠宝官网模板 ✅ 3大流量密码数据(最新) ✅ 9个免费工具包(含SEO检测工具) ✅ 实操案例拆解(某品牌ROI提升300%)

📌一、珠宝官网SEO核心指标 1️⃣ 关键词布局(权重占比35%) • 主关键词:珠宝定制/婚戒设计/钻石批发(建议密度2.5-3.5%) • 长尾词:1克拉钻戒价格/18K金项链定制(布局率≥60%) • 案例:周大福官网通过"黄金手镯定制流程"长尾词,自然流量增长127%

2️⃣ 移动端适配(百度核心算法) • 响应式设计评分≥9.5(推荐使用响应式图片技术) • 跳出率≤30%(加载速度优化技巧见下文) • 竞品对比:老凤祥移动端加载时间1.8s vs 客户网站3.2s

3️⃣ 结构化数据(搜索结果展示特权) • 使用Schema标记:Product、Review、LocalBusiness • 实物展示:产品页增加360°旋转+材质检测报告二维码 • 案例:周生生通过结构化数据,搜索展示率提升89%

十堰网站SEO优化本地排名提升策略与实操指南(最新)

十堰网站SEO优化本地排名提升策略与实操指南(最新)

十堰网站SEO优化 | 本地排名提升策略与实操指南(最新)

一、十堰企业网站SEO优化的核心价值 在十堰这座以汽车产业闻名的鄂西北中心城市,本地网民规模已达380万(数据来源:十堰市统计局),其中78%的企业客户通过搜索引擎获取服务信息(数据来源:百度指数)。这促使企业网站优化成为获取精准流量的核心手段。与传统广告相比,SEO优化带来的自然搜索流量转化成本仅为PPC广告的1/5,且具有长达数年的长效收益特征。

二、十堰地域化SEO的关键要素

  1. 地域关键词布局技巧
  • 核心词组合:十堰网站优化、十堰本地SEO、十堰企业排名
  • 次级词拓展:十堰网站建设公司、十堰SEO服务、十堰网页排名
  • 词库更新策略:结合十堰产业动态(如新增的智能网联汽车示范区)定期更新长尾词
  1. 地域元标签优化
  • :十堰SEO优化|十堰网站排名|本地企业网站建设
  • :十堰专业网站优化 | 汇聚本地SEO专家团队 </li> <li> <h1>:十堰企业网站SEO解决方案与效果保障 </li> </ul> <ol start="3"> <li>地域信号强化</li> </ol> <ul> <li>网站服务器部署:选择十堰本地IDC机房(推荐光谷云数据中心)</li> <li>物理地址验证:在百度地图标注企业实体地址(需提供营业执照)</li> <li>客户评价建设:收集本地合作企业真实案例(至少20家以上)</li> </ul> <p>三、技术架构优化方案</p> <ol> <li>网站速度提升工程</li> </ol> <ul> <li>压缩技术:使用Gzip+ bítecamp 压缩,将页面体积控制在500KB以内</li> <li>静态资源:建立CDN加速(推荐阿里云CDN+腾讯云PCC)</li> <li>代码通过GTmetrix工具检测,首屏加载时间<2.5秒</li> </ul> <ol start="2"> <li>结构化数据标记</li> </ol> <ul> <li>实体标记:对十堰本地服务(如汽车零部件制造)添加Schema</li> <li>事件标记:展示十堰汽车展、工业博览会等本地活动</li> <li>产品标记:对特色产品(十堰竹编工艺品)进行丰富属性描述</li> </ul> <ol start="3"> <li>移动端适配方案</li> </ol> <ul> <li>响应式设计:采用Bootstrap5框架适配</li> <li>移动优先:通过Google Mobile-Friendly Test检测</li> <li>加速体验:使用Lighthouse工具优化移动端性能</li> </ul> <p>四、内容营销优化体系</p> <ol> <li>本地知识图谱构建</li> </ol> <ul> <li>搭建十堰产业数据库(汽车/化工/旅游等细分领域)</li> <li>创建企业服务案例库(按行业/规模分类)</li> <li>开发本地服务问答系统(集成百度知道API)</li> </ul> <ol start="2"> <li>内容生产策略</li> </ol> <ul> <li>更新频率:服务类页面每周更新3次</li> <li>内容形式:图文结合(70%)、视频(20%)、直播(10%)</li> <li>案例展示:每个服务页面配3个本地合作案例</li> </ul> <ol start="3"> <li>外链建设方案</li> </ol> <ul> <li>持续运营十堰本地论坛(如秦楚论坛)</li> <li>参与政府合作项目(十堰市中小企业服务平台)</li> <li>建立行业联盟网站(十堰汽车产业联盟)</li> </ul> <p>五、效果监测与优化</p> </p> </article> <article class="border-border hover:bg-muted/30 rounded-lg border p-6 transition-colors"> <h2 class="text-foreground mb-2 text-xl font-semibold"> <a href="/pots/2025/03/35320.html" class="hover:text-primary transition-colors"> 网站优化简历设计避坑指南:5大错误让你错失高薪offer </a> </h2> <div class="text-muted-foreground mb-3 text-sm"> <time datetime=" 2025-03-17"> 2025年3月17日 </time> </div> <p class="text-muted-foreground line-clamp-2"> <h1 id="网站优化简历设计避坑指南5大错误让你错失高薪offer">网站优化简历设计避坑指南:5大错误让你错失高薪offer<a href="#%e7%bd%91%e7%ab%99%e4%bc%98%e5%8c%96%e7%ae%80%e5%8e%86%e8%ae%be%e8%ae%a1%e9%81%bf%e5%9d%91%e6%8c%87%e5%8d%975%e5%a4%a7%e9%94%99%e8%af%af%e8%ae%a9%e4%bd%a0%e9%94%99%e5%a4%b1%e9%ab%98%e8%96%aaoffer" class="heading-anchor" aria-label=""><svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></g></svg></a></h1><p>【网站优化简历设计避坑指南:5大错误让你错失高薪offer】</p> <p>💡求职季简历被石沉大海?90%的网站优化岗简历都踩了这些坑!</p> <p>📌刷到这篇的宝子有福啦!作为服务过500+互联网公司的简历优化师,今天手把手教你用SEO思维打造高转化简历,附赠20G网站优化岗简历模板包(文末领取)👇</p> <p>🔥一、网站优化岗简历踩雷TOP5(附诊断方案) ❌1. 网站优化经验"假大空" 案例:某候选人写"优化某电商站转化率"却无具体数据 ✅优化方案:</p> <ul> <li>数据可视化:将"提升转化率12%“改为"通过SEO优化+页面加载速度提升,3个月内自然搜索流量增长230%,转化率从1.2%提升至3.8%”</li> <li>技术拆解:标注使用的SEO工具(如Screaming Frog)、具体优化动作(标题优化、长尾词布局等)</li> </ul> <p>❌2. 技术栈描述像说明书 案例:“熟悉Python/MySQL/SEO工具” ✅优化方案:</p> <ul> <li>场景化表达:“用Python爬虫抓取竞品关键词数据,通过MySQL建立词库模型,结合Ahrefs进行SEO策略迭代”</li> <li>模块化展示:技术栈分为"核心技能(SEO/SEM/数据分析)"+“辅助技能(Python/SQL/PS)”</li> </ul> <p>❌3. 项目经历像流水账 案例:“负责某项目从0到1搭建” ✅优化方案: -STAR法则升级版: Situation:某生鲜电商日均UV 5W,搜索流量占比不足30% Task:带领3人团队进行SEO重构 Action:搭建Google Analytics+SEMrush监测体系,完成200+长尾词库建设 Result:6个月内自然流量占比提升至58%,客单价提升27%</p> <p>❌4. 自我评价过于主观 案例:“学习能力强,抗压能力好” ✅优化方案:</p> <ul> <li>用数据替代形容词: “3个月掌握Ahrefs高级功能,独立完成2000+关键词排名优化” “连续3个季度0失误完成百度指数数据监测”</li> </ul> <p>❌5. 格式设计不专业 案例:花哨字体+手绘图标 ✅优化方案:</p> </p> </article> <article class="border-border hover:bg-muted/30 rounded-lg border p-6 transition-colors"> <h2 class="text-foreground mb-2 text-xl font-semibold"> <a href="/pots/2025/03/83351.html" class="hover:text-primary transition-colors"> 🌟南阳企业主必看!手把手教你用SEO让官网流量翻5倍💥 </a> </h2> <div class="text-muted-foreground mb-3 text-sm"> <time datetime=" 2025-03-17"> 2025年3月17日 </time> </div> <p class="text-muted-foreground line-clamp-2"> <h1 id="南阳企业主必看手把手教你用seo让官网流量翻5倍">🌟南阳企业主必看!手把手教你用SEO让官网流量翻5倍💥<a href="#%e5%8d%97%e9%98%b3%e4%bc%81%e4%b8%9a%e4%b8%bb%e5%bf%85%e7%9c%8b%e6%89%8b%e6%8a%8a%e6%89%8b%e6%95%99%e4%bd%a0%e7%94%a8seo%e8%ae%a9%e5%ae%98%e7%bd%91%e6%b5%81%e9%87%8f%e7%bf%bb5%e5%80%8d" class="heading-anchor" aria-label=""><svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></g></svg></a></h1><p>🌟南阳企业主必看!手把手教你用SEO让官网流量翻5倍💥</p> <p>📌 一、南阳SEO现状:90%企业还在用传统推广方式 1️⃣ 南阳本地搜索数据曝光:</p> <ul> <li>每月"南阳SEO服务"搜索量达2.3万次(百度指数)</li> <li>76%消费者通过百度地图搜索本地服务(艾瑞报告)</li> <li>优质SEO企业官网转化率是付费广告的3倍(南阳市商务局)</li> </ul> <p>2️⃣ 行业痛点调查: ✅ 58%企业主认为SEO=网站建设 ✅ 67%老板不知道百度收录规则 ✅ 82%网站存在关键词布局错误</p> <p>🔥 二、南阳SEO避坑指南(血泪经验) 1️⃣ 网站基础错误TOP3: ❌ 网页加载速度>3秒(南阳平均4.2秒) ❌ 关键词堆砌(某机械厂案例被降权) ❌ 手机端适配差(72%企业未做响应式)</p> <p>2️⃣ 本地化优化必做项: ✅ 南阳方言关键词布局(如"南阳烩面制作") ✅ 河南省地图标注(百度权重+15%) ✅ 南阳地标关联(汉画馆/武侯祠等)</p> <p>🚀 三、南阳SEO实操步骤(最新版) 1️⃣ 站内优化(耗时3-5天) ① URL结构 原:nanyang-seo/service 新:nanyang-seo/SEO-服务南阳本地</p> </p> </article> </div> <nav class="pagination mt-12" aria-label="" > <div class="flex items-center justify-center gap-2"> <a href="/pots/page/5695/index.html" class="bg-card border-border hover:bg-accent/50 hover:border-primary/20 inline-flex items-center gap-2 rounded-lg border px-4 py-2 font-medium transition-all duration-300" aria-label="" > <svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" /> </svg> <span class="hidden sm:inline"></span> </a> <div class="flex items-center gap-1"> <a href="/pots/index.html" class="border-border hover:bg-accent/50 hover:border-primary/20 flex h-10 w-10 items-center justify-center rounded-lg border font-medium transition-all duration-300" > 1 </a> <span class="text-muted-foreground px-2">…</span> <a href="/pots/page/5694/index.html" class="border-border hover:bg-accent/50 hover:border-primary/20 flex h-10 w-10 items-center justify-center rounded-lg border font-medium transition-all duration-300" > 5694 </a> <a href="/pots/page/5695/index.html" class="border-border hover:bg-accent/50 hover:border-primary/20 flex h-10 w-10 items-center justify-center rounded-lg border font-medium transition-all duration-300" > 5695 </a> <span class="bg-primary text-primary-foreground flex h-10 w-10 items-center justify-center rounded-lg font-medium" aria-current="page" > 5696 </span> <a href="/pots/page/5697/index.html" class="border-border hover:bg-accent/50 hover:border-primary/20 flex h-10 w-10 items-center justify-center rounded-lg border font-medium transition-all duration-300" > 5697 </a> <a href="/pots/page/5698/index.html" class="border-border hover:bg-accent/50 hover:border-primary/20 flex h-10 w-10 items-center justify-center rounded-lg border font-medium transition-all duration-300" > 5698 </a> <span class="text-muted-foreground px-2">…</span> <a href="/pots/page/6515/index.html" class="border-border hover:bg-accent/50 hover:border-primary/20 flex h-10 w-10 items-center justify-center rounded-lg border font-medium transition-all duration-300" > 6515 </a> </div> <a href="/pots/page/5697/index.html" class="bg-card border-border hover:bg-accent/50 hover:border-primary/20 inline-flex items-center gap-2 rounded-lg border px-4 py-2 font-medium transition-all duration-300" aria-label="" > <span class="hidden sm:inline"></span> <svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> </svg> </a> </div> </nav> </div> </div> <footer class="px-4 py-6"> <div class="flex flex-col items-center justify-between gap-4 md:flex-row"> <div class="text-muted-foreground text-center text-sm md:text-left"> <p class="mb-2"> <span> <a href="https://beian.miit.gov.cn/" target="_blank" class="text-white text-decoration-none">蜀ICP备2024104089号</a> </span> </div> </div> </footer> <div id="dock" class="pointer-events-none fixed bottom-4 left-1/2 z-9999 w-fit -translate-x-1/2 translate-y-24 opacity-0 transition-all duration-300 ease-out sm:right-0 sm:left-0 sm:mx-auto sm:translate-x-0" data-dock-mode="scroll" role="toolbar" aria-label="" > <nav class="border-border bg-card/80 scrollbar-hide xs:px-3 xs:py-2 mx-auto flex max-w-[calc(100vw-2rem)] min-w-fit items-center justify-center overflow-x-auto rounded-2xl border px-4 py-3 shadow-lg backdrop-blur-sm sm:px-4 sm:py-3" > <button id="dock-back" class="text-muted-foreground hover:text-primary hover:bg-primary/10 focus:ring-primary/20 xs:px-2 xs:py-1.5 flex shrink-0 items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-all duration-300 ease-out hover:-translate-y-0.5 hover:scale-105 focus:ring-2 focus:outline-none sm:px-3 sm:py-2" title="" aria-label="" > <svg class="h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <path d="m12 19-7-7 7-7"/> <path d="M19 12H5"/> </svg> <span class="hidden sm:inline"></span> </button> <div class="bg-border xs:mx-1 mx-2 h-6 w-px sm:mx-2"></div> <button id="dock-search" class="text-muted-foreground hover:text-primary hover:bg-primary/10 focus:ring-primary/20 xs:px-3 xs:py-1.5 flex shrink-0 items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-all duration-300 ease-out hover:-translate-y-0.5 hover:scale-105 focus:ring-2 focus:outline-none sm:px-4 sm:py-2" title="" aria-label="" > <svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m21 21-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /> </svg> <span class="hidden md:inline"></span> </button> <div class="bg-border xs:mx-1 mx-2 h-6 w-px sm:mx-2"></div> <button id="dock-top" class="text-muted-foreground hover:text-primary hover:bg-primary/10 focus:ring-primary/20 xs:px-2 xs:py-1.5 flex shrink-0 items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-all duration-300 ease-out hover:-translate-y-0.5 hover:scale-105 focus:ring-2 focus:outline-none sm:px-3 sm:py-2" title="" aria-label="" > <svg class="h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <path d="m18 15-6-6-6 6"/> </svg> <span class="hidden sm:inline"></span> </button> </nav> </div> <div id="search-overlay" class="pointer-events-none fixed inset-0 z-40 bg-black/50 opacity-0 transition-opacity duration-300" ></div> <div id="search-modal" class="bg-card border-border pointer-events-none fixed top-1/2 left-1/2 z-50 max-h-[80vh] w-full max-w-2xl -translate-x-1/2 -translate-y-1/2 scale-95 transform overflow-hidden rounded-xl border opacity-0 shadow-xl transition-all duration-300" role="dialog" aria-modal="true" aria-hidden="true" aria-labelledby="search-title" tabindex="-1" > <div class="border-border flex items-center gap-3 border-b p-4"> <div class="text-muted-foreground h-5 w-5 shrink-0"> <svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m21 21-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /> </svg> </div> <h2 id="search-title" class="sr-only"></h2> <div class="relative flex-1"> <button id="search-clear" class="text-muted-foreground hover:text-foreground hover:bg-muted/50 pointer-events-none absolute top-1/2 left-0 z-10 h-5 w-5 -translate-y-1/2 rounded opacity-0 transition-all duration-200" title="" aria-label="" > <svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" /> </svg> </button> <input id="search-input" type="text" placeholder="" class="text-foreground placeholder:text-muted-foreground w-full border-none bg-transparent pl-8 text-lg outline-none" autocomplete="off" spellcheck="false" /> </div> <button id="search-close" class="text-muted-foreground hover:text-foreground hover:bg-muted/50 flex h-6 w-6 items-center justify-center rounded-md p-0.5 transition-all duration-200" title="" aria-label="" > <svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" /> </svg> </button> </div> <div id="search-results" class="max-h-96 overflow-y-auto"> <div id="search-empty" class="flex flex-col items-center justify-center py-12 text-center"> <div class="bg-muted/50 mb-4 flex h-16 w-16 items-center justify-center rounded-full"> <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m21 21-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /> </svg> </div> <h3 class="text-foreground mb-2 text-lg font-semibold"> </h3> </div> <div id="search-loading" class="flex items-center justify-center py-8" hidden> <div class="mr-3 h-6 w-6 animate-spin rounded-full border-2 border-current border-t-transparent" ></div> <span class="text-muted-foreground"></span> </div> <div id="search-no-results" class="flex flex-col items-center justify-center py-12 text-center" hidden > <div class="bg-muted/50 mb-4 flex h-16 w-16 items-center justify-center rounded-full"> <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h7" /> </svg> </div> <h3 class="text-foreground mb-2 text-lg font-semibold"> </h3> </div> <div id="search-results-list" hidden> <div id="search-stats" class="text-muted-foreground border-border border-b px-4 py-3 text-sm" data-count-other="" ></div> <div id="search-items" class="divide-border divide-y" role="list"> </div> </div> </div> <div class="border-border bg-muted/20 border-t px-4 py-3"><div class="text-muted-foreground flex items-center justify-between text-xs"> <div class="flex items-center gap-2 md:gap-4"> <div class="flex items-center gap-1"> <kbd class="bg-muted border-border rounded border px-1.5 py-0.5 text-xs">↑↓</kbd> <span class="hidden sm:inline"></span> </div> <div class="flex items-center gap-1"> <kbd class="bg-muted border-border rounded border px-1.5 py-0.5 text-xs">↵</kbd> <span class="hidden sm:inline"></span> </div> <div class="flex items-center gap-1"> <kbd class="bg-muted border-border rounded border px-1.5 py-0.5 text-xs">ESC</kbd> <span class="hidden sm:inline"></span> </div> </div> <div class="search-hint-desktop flex items-center gap-1"> <kbd class="bg-muted border-border rounded border px-1.5 py-0.5 text-xs">⌘K</kbd> <span></span> </div> </div> </div> </div> </main> </body> </html>