serve.vue 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216
  1. <template>
  2. <div class="serve-page">
  3. <section class="registry-head">
  4. <div class="wrap">
  5. <div class="registry-inner">
  6. <div class="registry-text">
  7. <div class="hero-badge">
  8. <span class="hero-badge-dot"></span>
  9. 企业级 MCP 智能服务中枢
  10. </div>
  11. <h1>MCP<span class="brand-blue">服务中心</span></h1>
  12. <div class="sub-title">一个页面汇总环评云助手全部 MCP 智能服务</div>
  13. <p class="lead">
  14. 以矩阵形式呈现每项服务的能力、端点与调用指标,统一 Token 即可接入主流大模型。参考标准 MCP 服务目录规范整理,随平台服务更新维护。
  15. </p>
  16. <div class="cta-row">
  17. <button type="button" class="btn-cta" @click="claimGift">
  18. <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 12 20 22 4 22 4 12"></polyline><rect x="2" y="7" width="20" height="5"></rect><line x1="12" y1="22" x2="12" y2="7"></line><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"></path><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path></svg>
  19. 领取MCP体验礼包
  20. </button>
  21. <button type="button" class="btn-ghost" @click="scrollToMatrix">
  22. 浏览全部服务
  23. <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14"></path><path d="m19 12-7 7-7-7"></path></svg>
  24. </button>
  25. </div>
  26. <div class="hero-meta">
  27. <span class="hm-item">
  28. <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="9" fill="#EAF2FF"></circle><path d="m8.5 12.2 2.4 2.4 4.8-5" stroke="#1678FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>
  29. 官方端点 <b>mcp.eiacloud.com</b>
  30. </span>
  31. <span class="hm-item">
  32. <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="9" fill="#EAF2FF"></circle><path d="m8.5 12.2 2.4 2.4 4.8-5" stroke="#1678FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>
  33. 标准 MCP 协议接入
  34. </span>
  35. <span class="hm-item">
  36. <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="9" fill="#EAF2FF"></circle><path d="m8.5 12.2 2.4 2.4 4.8-5" stroke="#1678FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>
  37. 统一 Token 计费
  38. </span>
  39. </div>
  40. </div>
  41. <div class="hero-visual" aria-hidden="true">
  42. <div class="hv-card">
  43. <div class="hv-head">
  44. <div class="hv-title">
  45. <span class="hv-sm">
  46. <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="6" r="3"></circle><circle cx="18" cy="18" r="3"></circle><path d="M8.7 10.7 15.3 7.3"></path><path d="m8.7 13.3 6.6 3.4"></path></svg>
  47. </span>
  48. MCP 服务中枢
  49. </div>
  50. <span class="hv-live"><span class="hv-ping"></span>实时连接</span>
  51. </div>
  52. <div class="hv-flow">
  53. <div class="hv-node">
  54. <span class="hv-ico app">
  55. <svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="6" y="6" width="12" height="12" rx="2.5"></rect><rect x="10" y="10" width="4" height="4" rx="1"></rect><path d="M9 2.5v3M15 2.5v3M9 18.5v3M15 18.5v3M2.5 9h3M2.5 15h3M18.5 9h3M18.5 15h3"></path></svg>
  56. </span>
  57. <span class="hv-nt"><span class="hv-n1">AI 应用 / Agent</span><span class="hv-n2">智能体即插即用</span></span>
  58. </div>
  59. <div class="hv-line"></div>
  60. <div class="hv-node">
  61. <span class="hv-ico hub">
  62. <svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m12 2 10 5.5L12 13 2 7.5z"></path><path d="m2 12.5 10 5.5 10-5.5"></path><path d="m2 17.5 10 5.5 10-5.5"></path></svg>
  63. </span>
  64. <span class="hv-nt"><span class="hv-n1">环评云助手 MCP</span><span class="hv-n2">统一接入服务目录</span></span>
  65. </div>
  66. </div>
  67. <div class="hv-grid">
  68. <div class="hv-tile" style="color:#059669;">
  69. <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>
  70. <span class="tx">法规检索</span>
  71. </div>
  72. <div class="hv-tile" style="color:#3B82F6;">
  73. <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"></circle><path d="m21 21-4.3-4.3"></path><path d="M11 8v6"></path><path d="M8 11h6"></path></svg>
  74. <span class="tx">语义检索</span>
  75. </div>
  76. <div class="hv-tile" style="color:#7C3AED;">
  77. <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8z"></path></svg>
  78. <span class="tx">政策问答</span>
  79. </div>
  80. <div class="hv-tile" style="color:#E8890C;">
  81. <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"></path></svg>
  82. <span class="tx">排放限值</span>
  83. </div>
  84. <div class="hv-tile" style="color:#EF4444;">
  85. <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><path d="M14 2v6h6"></path><path d="M16 13H8"></path><path d="M16 17H8"></path><path d="M10 9H8"></path></svg>
  86. <span class="tx">报告检索</span>
  87. </div>
  88. <div class="hv-tile" style="color:#6366F1;">
  89. <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="m12 2 10 5.5L12 13 2 7.5z"></path><path d="m2 12.5 10 5.5 10-5.5"></path><path d="m2 17.5 10 5.5 10-5.5"></path></svg>
  90. <span class="tx">标准汇编</span>
  91. </div>
  92. </div>
  93. </div>
  94. <div class="hv-chip">https://mcp.eiacloud.com</div>
  95. </div>
  96. </div>
  97. </div>
  98. </section>
  99. <section class="section" id="matrix">
  100. <div class="wrap">
  101. <div class="service-grid">
  102. <article v-for="item in serviceList" :key="item.id" class="svc-card">
  103. <div class="svc-top">
  104. <div class="svc-icon" :style="{ background: item.iconBg, boxShadow: item.iconShadow }">
  105. <svg v-if="item.icon === 'book'" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>
  106. <svg v-else-if="item.icon === 'file'" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><path d="M14 2v6h6"></path><path d="M16 13H8"></path><path d="M16 17H8"></path></svg>
  107. <svg v-else-if="item.icon === 'chat'" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8z"></path></svg>
  108. <svg v-else-if="item.icon === 'chart'" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3v18h18"></path><path d="M7 14v4"></path><path d="M12 9v9"></path><path d="M17 5v13"></path></svg>
  109. <svg v-else-if="item.icon === 'report'" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><path d="M14 2v6h6"></path></svg>
  110. <svg v-else viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="m12 2 10 5.5L12 13 2 7.5z"></path><path d="m2 12.5 10 5.5 10-5.5"></path><path d="m2 17.5 10 5.5 10-5.5"></path></svg>
  111. </div>
  112. <div class="svc-badges">
  113. <span v-if="item.free" class="price-tag free">免费</span>
  114. <span v-else class="price-tag token">{{ item.rate }}x token</span>
  115. <span v-if="item.limitFree" class="limit-free-tag">限免</span>
  116. </div>
  117. </div>
  118. <h3>{{ item.name }}</h3>
  119. <div class="svc-url-row">
  120. <input :value="item.endpoint" type="text" class="svc-url-input" readonly />
  121. <button
  122. type="button"
  123. class="btn-copy"
  124. :class="{ copied: copiedId === item.id }"
  125. @click="copyUrl(item)"
  126. >
  127. {{ copiedId === item.id ? "已复制" : "复制" }}
  128. </button>
  129. </div>
  130. <div class="svc-tools">
  131. <b>包含工具</b>
  132. <span
  133. v-for="(tool, index) in item.tools"
  134. :key="tool.code"
  135. class="tool-tag"
  136. :class="{ active: selectedTool[item.id] === index }"
  137. @click="selectedTool[item.id] = index"
  138. >{{ tool.label }}</span>
  139. </div>
  140. <span class="tool-name-box">{{ currentToolCode(item) }}</span>
  141. <div class="svc-tags">
  142. <span v-for="param in item.params" :key="param" class="tag mono">{{ param }}</span>
  143. </div>
  144. <p class="svc-desc">{{ item.desc }}</p>
  145. <div class="svc-actions">
  146. <button type="button" class="btn-sm primary">模拟调用</button>
  147. <button type="button" class="btn-sm ghost">查看详情</button>
  148. </div>
  149. </article>
  150. </div>
  151. </div>
  152. </section>
  153. <footer class="site-footer">
  154. <div class="wrap">
  155. <div class="footer-main">
  156. <div class="footer-brand">
  157. <div class="fb-title">
  158. <span class="fb-logo">云</span>
  159. 环评云助手 · MCP服务中心
  160. </div>
  161. <p class="fb-desc">一个页面汇总环评云助手全部 MCP 智能服务,以矩阵形式呈现每项服务的能力、端点与调用指标,统一 Token 即可接入主流大模型。面向环评领域 AI 应用与智能体,即插即用、随平台服务更新维护。</p>
  162. <span class="fb-endpoint">官方端点 mcp.eiacloud.com</span>
  163. </div>
  164. <div class="footer-col">
  165. <h4>本页快捷跳转</h4>
  166. <ul>
  167. <li><button type="button" @click="scrollToMatrix"><span class="footer-link-ico">▦</span>浏览全部服务</button></li>
  168. <li><button type="button" @click="claimGift"><span class="footer-link-ico">◆</span>领取MCP体验礼包</button></li>
  169. <li><button type="button" @click="scrollToTop"><span class="footer-link-ico">↑</span>回到顶部</button></li>
  170. </ul>
  171. </div>
  172. <div class="footer-col">
  173. <h4>快捷产品入口</h4>
  174. <ul>
  175. <li><a href="https://mcp.eiacloud.com" target="_blank" rel="noopener noreferrer"><span class="footer-link-ico">➤</span>MCP服务中心</a></li>
  176. <li><a href="https://www.eiacloud.com" target="_blank" rel="noopener noreferrer"><span class="footer-link-ico">➤</span>环评云助手官网</a></li>
  177. <li><a href="https://www.eiacloud.com/bbs" target="_blank" rel="noopener noreferrer"><span class="footer-link-ico">➤</span>环评论坛</a></li>
  178. <li><a href="https://www.eiacloud.com/bbs/download" target="_blank" rel="noopener noreferrer"><span class="footer-link-ico">➤</span>手机/电脑端下载</a></li>
  179. </ul>
  180. </div>
  181. <div class="footer-col">
  182. <h4>服务信息</h4>
  183. <ul>
  184. <li><button type="button" @click="scrollToMatrix"><span class="footer-link-ico">◎</span>标准 MCP 协议接入</button></li>
  185. <li><a href="https://org.eiacloud.com/#/home/control?openVip=1" target="_blank" rel="noopener noreferrer"><span class="footer-link-ico">◎</span>会员开通与云点</a></li>
  186. <li><span class="footer-link-ico">✉</span>联系客服获取接入支持</li>
  187. </ul>
  188. </div>
  189. </div>
  190. <div class="footer-bottom">
  191. <span>环评云助手 MCP服务中心</span>
  192. <div class="fb-right">
  193. <button type="button" @click="scrollToTop">回到顶部</button>
  194. </div>
  195. </div>
  196. </div>
  197. </footer>
  198. </div>
  199. </template>
  200. <script setup>
  201. import { reactive, ref } from "vue";
  202. import { ElMessage } from "element-plus";
  203. const serviceList = [
  204. {
  205. id: 1,
  206. name: "法规关键词检索",
  207. icon: "book",
  208. iconBg: "linear-gradient(135deg,#059669,#10b981)",
  209. iconShadow: "0 6px 16px rgba(5,150,105,.25)",
  210. endpoint: "https://mcp.eiacloud.com/law-keyword",
  211. rate: "0.002",
  212. tools: [{ label: "关键词检索", code: "law_keyword_search" }],
  213. params: ["keyword", "law_type", "limit"],
  214. desc: "基于生态环境政策法规库的关键词精确检索,适合已知法规名称、文号、发布机关的定向查询。",
  215. },
  216. {
  217. id: 2,
  218. name: "法规导则 · 语义检索",
  219. icon: "file",
  220. iconBg: "linear-gradient(135deg,#3b82f6,#60a5fa)",
  221. iconShadow: "0 6px 16px rgba(59,130,246,.25)",
  222. endpoint: "https://mcp.eiacloud.com/law-semantic",
  223. rate: "0.002",
  224. limitFree: true,
  225. tools: [{ label: "语义检索", code: "law_semantic_search" }],
  226. params: ["query", "top_k", "scope"],
  227. desc: "自然语言智能检索,无需精准关键词;输入业务场景即可跨法规召回条款,适配模糊提问与实务流程查询。",
  228. },
  229. {
  230. id: 3,
  231. name: "环境问答检索",
  232. icon: "chat",
  233. iconBg: "linear-gradient(135deg,#7c3aed,#a78bfa)",
  234. iconShadow: "0 8px 24px rgba(124,58,237,.25)",
  235. endpoint: "https://mcp.eiacloud.com/qa",
  236. rate: "0.001",
  237. tools: [
  238. { label: "关键词问答检索", code: "qa_keyword_search" },
  239. { label: "语义检索", code: "qa_semantic_search" },
  240. ],
  241. params: ["question", "limit", "query", "top_k"],
  242. desc: "全国环保政策问答知识库语义检索,汇聚生态环境官方答复、部长信箱口径,解答判定、流程、时限、豁免类实操疑问。",
  243. },
  244. {
  245. id: 4,
  246. name: "排放限值查询",
  247. icon: "chart",
  248. iconBg: "linear-gradient(135deg,#f59e0b,#fb923c)",
  249. iconShadow: "0 6px 16px rgba(245,158,11,.25)",
  250. endpoint: "https://mcp.eiacloud.com/emission",
  251. rate: "0.004",
  252. tools: [
  253. { label: "大气污染物限值查询", code: "air_emission_limit" },
  254. { label: "水污染物限值查询", code: "water_emission_limit" },
  255. ],
  256. params: ["pollutant", "standard_no", "province"],
  257. desc: "大气、水排放标准结构化数值库,按污染物 / 标准号查询浓度、速率、无组织限值,支撑环评与排污许可达标核算。",
  258. },
  259. {
  260. id: 5,
  261. name: "公示环评报告检索",
  262. icon: "report",
  263. iconBg: "linear-gradient(135deg,#ef4444,#f87171)",
  264. iconShadow: "0 6px 16px rgba(239,68,68,.25)",
  265. endpoint: "接入端点待平台公布,以 mcp.eiacloud.com 为准",
  266. rate: "0.004",
  267. tools: [
  268. { label: "关键字搜索", code: "eia_report_keyword" },
  269. { label: "语义检索", code: "eia_report_semantic" },
  270. ],
  271. params: ["keyword", "region", "limit", "query", "top_k"],
  272. desc: "检索全国建设项目环境信息公示平台上的环评报告(报告书、报告表、登记表等公示文本),支持关键字搜索与语义检索两种方式,快速定位项目环评公示文件。",
  273. },
  274. {
  275. id: 6,
  276. name: "《排污许可证申请与核发技术规范》汇编检索",
  277. icon: "stack",
  278. iconBg: "linear-gradient(135deg,#6366f1,#818cf8)",
  279. iconShadow: "0 6px 16px rgba(99,102,241,.25)",
  280. endpoint: "接入端点待平台公布,以 mcp.eiacloud.com 为准",
  281. free: true,
  282. tools: [
  283. { label: "关键字搜索", code: "permit_std_keyword" },
  284. { label: "语义检索", code: "permit_std_semantic" },
  285. ],
  286. params: ["keyword", "industry", "limit", "query", "top_k"],
  287. desc: "《排污许可证申请与核发技术规范》汇编检索服务,覆盖总则(HJ 942-2018)及分行业技术规范,支持关键字搜索与语义检索,服务免费开放。",
  288. },
  289. ];
  290. const selectedTool = reactive({});
  291. serviceList.forEach((item) => {
  292. selectedTool[item.id] = 0;
  293. });
  294. const copiedId = ref(null);
  295. let copiedTimer = null;
  296. const currentToolCode = (item) => {
  297. const index = selectedTool[item.id] || 0;
  298. return item.tools[index]?.code || "";
  299. };
  300. const copyUrl = async (item) => {
  301. const text = item.endpoint || "";
  302. if (!text) {
  303. ElMessage.warning("暂无内容可复制");
  304. return;
  305. }
  306. try {
  307. if (navigator.clipboard?.writeText) {
  308. await navigator.clipboard.writeText(text);
  309. } else {
  310. const textarea = document.createElement("textarea");
  311. textarea.value = text;
  312. textarea.setAttribute("readonly", "");
  313. textarea.style.position = "fixed";
  314. textarea.style.left = "-9999px";
  315. document.body.appendChild(textarea);
  316. textarea.select();
  317. document.execCommand("copy");
  318. document.body.removeChild(textarea);
  319. }
  320. copiedId.value = item.id;
  321. clearTimeout(copiedTimer);
  322. copiedTimer = setTimeout(() => {
  323. copiedId.value = null;
  324. }, 1500);
  325. } catch (error) {
  326. console.error(error);
  327. ElMessage.error("复制失败");
  328. }
  329. };
  330. const scrollToMatrix = () => {
  331. document.getElementById("matrix")?.scrollIntoView({ behavior: "smooth", block: "start" });
  332. };
  333. const scrollToTop = () => {
  334. const shell = document.querySelector(".page-shell");
  335. if (shell) {
  336. shell.scrollTo({ top: 0, behavior: "smooth" });
  337. return;
  338. }
  339. window.scrollTo({ top: 0, behavior: "smooth" });
  340. };
  341. const claimGift = () => {
  342. ElMessage.info("体验礼包功能待接入");
  343. };
  344. </script>
  345. <style scoped lang="less">
  346. .serve-page {
  347. --bg: #F6F9FD;
  348. --surface: #FFFFFF;
  349. --surface-2: #F7FAFE;
  350. --ink: #1B2533;
  351. --ink-2: #3E5063;
  352. --muted: #72859A;
  353. --line: #E4ECF6;
  354. --line-strong: #C9D8EA;
  355. --brand: #1678ff;
  356. --brand-ink: #0b63e0;
  357. --brand-deep: #0a4fd0;
  358. --brand-soft: #EAF2FF;
  359. --brand-soft-2: #F0F6FF;
  360. --ok: #17a14b;
  361. --ok-soft: #E7F6EC;
  362. --radius: 16px;
  363. --shadow-card: 0 1px 2px rgba(22, 51, 84, 0.05), 0 10px 28px -18px rgba(22, 51, 84, 0.18);
  364. --shadow-lift: 0 2px 6px rgba(22, 51, 84, 0.06), 0 20px 44px -22px rgba(22, 51, 84, 0.26);
  365. --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  366. --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  367. box-sizing: border-box;
  368. min-height: calc(100vh - 64px);
  369. background: var(--bg);
  370. color: var(--ink);
  371. font-family: var(--font-sans);
  372. line-height: 1.6;
  373. font-size: 15px;
  374. }
  375. .serve-page *,
  376. .serve-page *::before,
  377. .serve-page *::after {
  378. box-sizing: border-box;
  379. }
  380. .serve-page button {
  381. appearance: none;
  382. font-family: inherit;
  383. outline: none;
  384. }
  385. .serve-page button:focus,
  386. .serve-page button:focus-visible {
  387. outline: none;
  388. }
  389. .wrap {
  390. max-width: 1180px;
  391. margin: 0 auto;
  392. padding: 0 24px;
  393. }
  394. .registry-head {
  395. position: relative;
  396. overflow: hidden;
  397. display: flex;
  398. align-items: center;
  399. padding: 82px 0 90px;
  400. background:
  401. radial-gradient(720px 400px at 84% -18%, rgba(22, 120, 255, 0.16), transparent 62%),
  402. radial-gradient(560px 380px at -6% 116%, rgba(77, 154, 255, 0.13), transparent 60%),
  403. linear-gradient(118deg, #EDF5FF 0%, #F8FBFF 46%, #E9F2FF 100%);
  404. border-bottom: 1px solid var(--line);
  405. }
  406. .registry-head::before {
  407. content: "";
  408. position: absolute;
  409. inset: 0;
  410. pointer-events: none;
  411. background-image:
  412. linear-gradient(rgba(22, 120, 255, 0.05) 1px, transparent 1px),
  413. linear-gradient(90deg, rgba(22, 120, 255, 0.05) 1px, transparent 1px);
  414. background-size: 44px 44px;
  415. -webkit-mask-image: radial-gradient(900px 480px at 66% 42%, #000 0%, transparent 78%);
  416. mask-image: radial-gradient(900px 480px at 66% 42%, #000 0%, transparent 78%);
  417. }
  418. .registry-head::after {
  419. content: "";
  420. position: absolute;
  421. right: -200px;
  422. top: -230px;
  423. width: 580px;
  424. height: 580px;
  425. border-radius: 50%;
  426. pointer-events: none;
  427. border: 1px dashed rgba(22, 120, 255, 0.20);
  428. box-shadow: 0 0 0 44px rgba(22, 120, 255, 0.035), 0 0 0 106px rgba(22, 120, 255, 0.02);
  429. }
  430. .registry-head .wrap {
  431. position: relative;
  432. z-index: 1;
  433. width: 100%;
  434. }
  435. .registry-inner {
  436. display: flex;
  437. align-items: center;
  438. gap: 56px;
  439. }
  440. .registry-text {
  441. flex: 1;
  442. min-width: 0;
  443. max-width: 656px;
  444. }
  445. .hero-badge {
  446. display: inline-flex;
  447. align-items: center;
  448. gap: 9px;
  449. padding: 7px 16px 7px 12px;
  450. border-radius: 999px;
  451. background: rgba(255, 255, 255, 0.86);
  452. border: 1px solid rgba(22, 120, 255, 0.25);
  453. color: #1678FF;
  454. font-size: 12.5px;
  455. font-weight: 600;
  456. letter-spacing: 0.4px;
  457. box-shadow: 0 10px 26px -14px rgba(22, 120, 255, 0.5);
  458. margin-bottom: 28px;
  459. }
  460. .hero-badge-dot {
  461. width: 7px;
  462. height: 7px;
  463. border-radius: 50%;
  464. background: linear-gradient(135deg, #5FA8FF, #1678FF);
  465. box-shadow: 0 0 0 3.5px rgba(22, 120, 255, 0.15);
  466. }
  467. .registry-head h1 {
  468. margin: 0;
  469. font-weight: 800;
  470. font-size: clamp(40px, 5.2vw, 58px);
  471. line-height: 1.12;
  472. letter-spacing: -1.5px;
  473. color: #0B1F3F;
  474. }
  475. .brand-blue {
  476. background: linear-gradient(100deg, #3B96FF, #1678FF 55%, #0A5FE0);
  477. -webkit-background-clip: text;
  478. background-clip: text;
  479. color: transparent;
  480. }
  481. .sub-title {
  482. margin-top: 16px;
  483. font-weight: 600;
  484. font-size: clamp(16px, 1.9vw, 19px);
  485. color: #2E4A6B;
  486. }
  487. .lead {
  488. margin: 22px 0 0;
  489. max-width: 600px;
  490. color: #5F7490;
  491. font-size: 14.5px;
  492. line-height: 2;
  493. }
  494. .cta-row {
  495. display: flex;
  496. align-items: center;
  497. gap: 14px;
  498. flex-wrap: wrap;
  499. margin-top: 38px;
  500. }
  501. .btn-cta,
  502. .btn-ghost {
  503. display: inline-flex;
  504. align-items: center;
  505. gap: 8px;
  506. border-radius: 999px;
  507. cursor: pointer;
  508. font-family: inherit;
  509. }
  510. .btn-cta {
  511. padding: 13px 28px;
  512. font-size: 14.5px;
  513. font-weight: 700;
  514. background: linear-gradient(135deg, #2E8CFF, #1678FF 60%, #0B63E0);
  515. color: #fff;
  516. border: none;
  517. box-shadow: 0 12px 26px -10px rgba(22, 120, 255, 0.65);
  518. }
  519. .btn-cta:hover {
  520. transform: translateY(-2px);
  521. filter: brightness(1.07);
  522. border-color: transparent;
  523. box-shadow: 0 16px 34px -12px rgba(22, 120, 255, 0.78);
  524. }
  525. .btn-ghost {
  526. padding: 13px 26px;
  527. font-size: 14px;
  528. font-weight: 600;
  529. background: rgba(255, 255, 255, 0.8);
  530. color: #33506F;
  531. border: 1px solid rgba(154, 182, 214, 0.9);
  532. }
  533. .btn-ghost:hover {
  534. border-color: #1678FF;
  535. color: #1678FF;
  536. background: #fff;
  537. transform: translateY(-1px);
  538. }
  539. .hero-meta {
  540. display: flex;
  541. align-items: center;
  542. gap: 24px;
  543. flex-wrap: wrap;
  544. margin-top: 26px;
  545. }
  546. .hm-item {
  547. display: inline-flex;
  548. align-items: center;
  549. gap: 7px;
  550. font-size: 13px;
  551. color: #57708C;
  552. font-weight: 500;
  553. }
  554. .hm-item b {
  555. color: #1678FF;
  556. font-weight: 700;
  557. }
  558. .hero-visual {
  559. flex: none;
  560. width: 420px;
  561. position: relative;
  562. }
  563. .hv-card {
  564. position: relative;
  565. background: rgba(255, 255, 255, 0.82);
  566. border: 1px solid rgba(22, 120, 255, 0.16);
  567. border-radius: 22px;
  568. padding: 18px;
  569. box-shadow: 0 30px 64px -26px rgba(22, 80, 160, 0.38);
  570. animation: hvFloat 7s ease-in-out infinite;
  571. }
  572. @keyframes hvFloat {
  573. 0%, 100% { transform: translateY(0); }
  574. 50% { transform: translateY(-7px); }
  575. }
  576. .hv-head {
  577. display: flex;
  578. align-items: center;
  579. justify-content: space-between;
  580. gap: 10px;
  581. padding: 0 2px 13px;
  582. border-bottom: 1px dashed rgba(22, 120, 255, 0.2);
  583. }
  584. .hv-title {
  585. display: inline-flex;
  586. align-items: center;
  587. gap: 8px;
  588. font-size: 12.5px;
  589. font-weight: 700;
  590. color: #22395C;
  591. }
  592. .hv-sm {
  593. width: 22px;
  594. height: 22px;
  595. flex: none;
  596. border-radius: 7px;
  597. background: linear-gradient(135deg, #EAF2FF, #DCE9FF);
  598. display: inline-flex;
  599. align-items: center;
  600. justify-content: center;
  601. color: #1678FF;
  602. }
  603. .hv-live {
  604. display: inline-flex;
  605. align-items: center;
  606. gap: 6px;
  607. font-size: 11px;
  608. font-weight: 600;
  609. color: #17a14b;
  610. }
  611. .hv-ping {
  612. width: 6px;
  613. height: 6px;
  614. border-radius: 50%;
  615. background: #17a14b;
  616. animation: hvPing 2s ease-out infinite;
  617. }
  618. @keyframes hvPing {
  619. 0% { box-shadow: 0 0 0 0 rgba(23, 161, 75, 0.4); }
  620. 70% { box-shadow: 0 0 0 8px rgba(23, 161, 75, 0); }
  621. 100% { box-shadow: 0 0 0 0 rgba(23, 161, 75, 0); }
  622. }
  623. .hv-flow {
  624. display: flex;
  625. align-items: center;
  626. gap: 8px;
  627. padding: 16px 2px 14px;
  628. }
  629. .hv-node {
  630. flex: 1;
  631. min-width: 0;
  632. display: flex;
  633. align-items: center;
  634. gap: 9px;
  635. padding: 10px 11px;
  636. border-radius: 14px;
  637. background: #fff;
  638. border: 1px solid #E3ECF7;
  639. }
  640. .hv-ico {
  641. width: 32px;
  642. height: 32px;
  643. flex: none;
  644. border-radius: 9px;
  645. display: flex;
  646. align-items: center;
  647. justify-content: center;
  648. }
  649. .hv-ico.app {
  650. background: linear-gradient(135deg, #EDF4FF, #DCE9FF);
  651. color: #1678FF;
  652. }
  653. .hv-ico.hub {
  654. background: linear-gradient(135deg, #1678FF, #0A5FE0);
  655. color: #fff;
  656. }
  657. .hv-n1,
  658. .hv-n2 {
  659. display: block;
  660. white-space: nowrap;
  661. overflow: hidden;
  662. text-overflow: ellipsis;
  663. }
  664. .hv-n1 {
  665. font-size: 12px;
  666. font-weight: 700;
  667. color: #22354F;
  668. }
  669. .hv-n2 {
  670. font-size: 10.5px;
  671. color: #8CA0B8;
  672. }
  673. .hv-line {
  674. flex: none;
  675. width: 36px;
  676. height: 2px;
  677. border-radius: 2px;
  678. background: repeating-linear-gradient(90deg, rgba(22, 120, 255, 0.8) 0 5px, transparent 5px 10px);
  679. animation: hvDash 1.1s linear infinite;
  680. }
  681. @keyframes hvDash {
  682. to { background-position: 10px 0; }
  683. }
  684. .hv-grid {
  685. display: grid;
  686. grid-template-columns: repeat(3, 1fr);
  687. gap: 8px;
  688. }
  689. .hv-tile {
  690. display: flex;
  691. align-items: center;
  692. gap: 7px;
  693. min-width: 0;
  694. padding: 10px 11px;
  695. border-radius: 12px;
  696. background: #fff;
  697. border: 1px solid #E6EEF8;
  698. }
  699. .hv-tile svg {
  700. flex: none;
  701. width: 18px;
  702. height: 18px;
  703. }
  704. .hv-tile .tx {
  705. font-size: 11px;
  706. font-weight: 600;
  707. color: #3A5575;
  708. white-space: nowrap;
  709. overflow: hidden;
  710. text-overflow: ellipsis;
  711. }
  712. .hv-chip {
  713. position: absolute;
  714. right: -10px;
  715. bottom: -13px;
  716. padding: 7px 12px;
  717. border-radius: 10px;
  718. background: linear-gradient(135deg, #0B63E0, #1678FF);
  719. color: #fff;
  720. font-family: var(--font-mono);
  721. font-size: 10.5px;
  722. font-weight: 600;
  723. box-shadow: 0 12px 24px -10px rgba(22, 120, 255, 0.6);
  724. }
  725. .section {
  726. padding: 30px 0 72px;
  727. }
  728. .service-grid {
  729. display: grid;
  730. grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  731. gap: 18px;
  732. }
  733. .svc-card {
  734. position: relative;
  735. display: flex;
  736. flex-direction: column;
  737. background: var(--surface);
  738. border: 1px solid var(--line);
  739. border-radius: var(--radius);
  740. padding: 22px;
  741. box-shadow: var(--shadow-card);
  742. overflow: hidden;
  743. transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  744. }
  745. .svc-card::before {
  746. content: "";
  747. position: absolute;
  748. top: 0;
  749. left: 0;
  750. right: 0;
  751. height: 3px;
  752. background: var(--brand);
  753. }
  754. .svc-card:hover {
  755. transform: translateY(-3px);
  756. box-shadow: var(--shadow-lift);
  757. border-color: var(--line-strong);
  758. }
  759. .svc-top {
  760. display: flex;
  761. align-items: center;
  762. justify-content: space-between;
  763. gap: 12px;
  764. }
  765. .svc-icon {
  766. width: 46px;
  767. height: 46px;
  768. border-radius: 13px;
  769. flex: none;
  770. color: #fff;
  771. display: flex;
  772. align-items: center;
  773. justify-content: center;
  774. }
  775. .svc-icon svg {
  776. width: 24px;
  777. height: 24px;
  778. }
  779. .svc-badges {
  780. display: flex;
  781. align-items: center;
  782. gap: 6px;
  783. }
  784. .price-tag,
  785. .limit-free-tag {
  786. display: inline-flex;
  787. align-items: center;
  788. font-size: 11.5px;
  789. font-weight: 600;
  790. padding: 3px 9px;
  791. border-radius: 999px;
  792. }
  793. .price-tag.token {
  794. color: var(--brand-ink);
  795. background: var(--brand-soft);
  796. }
  797. .price-tag.free {
  798. color: #A05A00;
  799. background: #FFF4E3;
  800. }
  801. .limit-free-tag {
  802. color: #C62828;
  803. background: #FFEBEC;
  804. }
  805. .svc-card h3 {
  806. margin: 18px 0 0;
  807. font-weight: 700;
  808. font-size: 19px;
  809. }
  810. .svc-url-row {
  811. display: flex;
  812. align-items: center;
  813. gap: 8px;
  814. margin-top: 8px;
  815. }
  816. .svc-url-input {
  817. flex: 1;
  818. min-width: 0;
  819. font-family: var(--font-mono);
  820. font-size: 11px;
  821. color: var(--brand-ink);
  822. background: var(--surface-2);
  823. border: 1px solid var(--line-strong);
  824. padding: 5px 10px;
  825. border-radius: 6px;
  826. outline: none;
  827. }
  828. .btn-copy {
  829. flex: none;
  830. padding: 5px 12px;
  831. border-radius: 6px;
  832. font-size: 12px;
  833. font-weight: 600;
  834. background: var(--brand-soft);
  835. color: var(--brand-ink);
  836. border: 1px solid transparent;
  837. cursor: pointer;
  838. font-family: inherit;
  839. }
  840. .btn-copy:hover {
  841. border-color: var(--brand);
  842. }
  843. .btn-copy.copied {
  844. background: var(--ok-soft);
  845. color: var(--ok);
  846. }
  847. .svc-tools {
  848. margin-top: 12px;
  849. display: flex;
  850. align-items: flex-start;
  851. gap: 8px;
  852. flex-wrap: wrap;
  853. padding-top: 12px;
  854. border-top: 1px dashed var(--line);
  855. }
  856. .svc-tools b {
  857. font-size: 12.5px;
  858. color: var(--ink-2);
  859. font-weight: 600;
  860. padding-top: 2px;
  861. }
  862. .tool-tag {
  863. font-size: 11.5px;
  864. font-weight: 600;
  865. padding: 2px 10px;
  866. border-radius: 999px;
  867. background: var(--brand-soft);
  868. color: var(--brand-ink);
  869. cursor: pointer;
  870. border: 1px solid transparent;
  871. user-select: none;
  872. }
  873. .tool-tag:hover {
  874. border-color: var(--brand);
  875. }
  876. .tool-tag.active {
  877. background: var(--brand);
  878. color: #fff;
  879. box-shadow: 0 6px 12px -6px rgba(22, 120, 255, 0.5);
  880. }
  881. .tool-name-box {
  882. display: inline-block;
  883. margin-top: 10px;
  884. font-family: var(--font-mono);
  885. font-size: 12px;
  886. color: var(--brand-ink);
  887. background: var(--brand-soft-2);
  888. border: 1px dashed var(--line-strong);
  889. padding: 4px 12px;
  890. border-radius: 6px;
  891. }
  892. .tool-name-box::before {
  893. content: "工具名称";
  894. font-family: var(--font-sans);
  895. font-size: 11px;
  896. color: var(--muted);
  897. font-weight: 600;
  898. margin-right: 8px;
  899. }
  900. .svc-tags {
  901. margin-top: 12px;
  902. display: flex;
  903. flex-wrap: wrap;
  904. gap: 6px;
  905. }
  906. .tag.mono {
  907. font-family: var(--font-mono);
  908. font-size: 11px;
  909. font-weight: 600;
  910. padding: 2px 9px;
  911. border-radius: 999px;
  912. border: 1px solid var(--line-strong);
  913. color: var(--ink-2);
  914. background: var(--surface-2);
  915. }
  916. .svc-desc {
  917. margin: 12px 0 0;
  918. font-size: 13.5px;
  919. color: var(--ink-2);
  920. line-height: 1.7;
  921. flex: 1;
  922. }
  923. .svc-actions {
  924. margin-top: 14px;
  925. display: flex;
  926. gap: 10px;
  927. flex-wrap: wrap;
  928. padding-top: 13px;
  929. border-top: 1px dashed var(--line);
  930. }
  931. .btn-sm {
  932. display: inline-flex;
  933. align-items: center;
  934. padding: 8px 16px;
  935. border-radius: 999px;
  936. font-size: 13px;
  937. font-weight: 600;
  938. cursor: pointer;
  939. font-family: inherit;
  940. border: 1px solid transparent;
  941. }
  942. .btn-sm.primary {
  943. background: var(--brand);
  944. color: #fff;
  945. box-shadow: 0 8px 16px -8px rgba(22, 120, 255, 0.6);
  946. }
  947. .btn-sm.primary:hover {
  948. filter: brightness(1.06);
  949. border-color: transparent;
  950. }
  951. .btn-sm.ghost {
  952. background: var(--surface);
  953. color: var(--brand-ink);
  954. border-color: var(--line-strong);
  955. }
  956. .btn-sm.ghost:hover {
  957. border-color: var(--brand);
  958. }
  959. .site-footer {
  960. padding: 44px 0 0;
  961. background: #fff;
  962. border-top: 1px solid var(--line);
  963. }
  964. .footer-main {
  965. display: flex;
  966. align-items: flex-start;
  967. justify-content: space-between;
  968. gap: 40px;
  969. flex-wrap: wrap;
  970. padding: 0 0 34px;
  971. }
  972. .footer-brand {
  973. flex: 1.2;
  974. min-width: 260px;
  975. max-width: 380px;
  976. }
  977. .fb-title {
  978. display: flex;
  979. align-items: center;
  980. gap: 9px;
  981. font-size: 20px;
  982. font-weight: 700;
  983. color: var(--brand-ink);
  984. }
  985. .fb-logo {
  986. width: 26px;
  987. height: 26px;
  988. border-radius: 7px;
  989. background: linear-gradient(135deg, #2E8CFF, #1678FF);
  990. color: #fff;
  991. display: flex;
  992. align-items: center;
  993. justify-content: center;
  994. font-size: 14px;
  995. font-weight: 700;
  996. }
  997. .fb-desc {
  998. margin-top: 12px;
  999. font-size: 13px;
  1000. line-height: 1.9;
  1001. color: var(--muted);
  1002. }
  1003. .fb-endpoint {
  1004. margin-top: 14px;
  1005. display: inline-flex;
  1006. font-family: var(--font-mono);
  1007. font-size: 12.5px;
  1008. color: var(--brand-ink);
  1009. background: var(--brand-soft-2);
  1010. border: 1px solid var(--line-strong);
  1011. padding: 5px 11px;
  1012. border-radius: 8px;
  1013. }
  1014. .footer-col {
  1015. min-width: 150px;
  1016. }
  1017. .footer-col h4 {
  1018. font-size: 14px;
  1019. font-weight: 600;
  1020. color: var(--ink);
  1021. margin: 0 0 14px;
  1022. position: relative;
  1023. padding-left: 11px;
  1024. }
  1025. .footer-col h4::before {
  1026. content: "";
  1027. position: absolute;
  1028. left: 0;
  1029. top: 3px;
  1030. width: 3px;
  1031. height: 13px;
  1032. border-radius: 2px;
  1033. background: var(--brand);
  1034. }
  1035. .footer-col ul {
  1036. list-style: none;
  1037. margin: 0;
  1038. padding: 0;
  1039. }
  1040. .footer-col li {
  1041. margin-bottom: 10px;
  1042. }
  1043. .footer-col a,
  1044. .footer-col button,
  1045. .footer-bottom button {
  1046. background: none;
  1047. border: none;
  1048. border-radius: 0;
  1049. padding: 0;
  1050. cursor: pointer;
  1051. font-size: 13px;
  1052. font-weight: 400;
  1053. color: #43556b;
  1054. font-family: inherit;
  1055. text-align: left;
  1056. text-decoration: none;
  1057. }
  1058. .footer-col a:hover,
  1059. .footer-col button:hover,
  1060. .footer-bottom button:hover {
  1061. color: var(--brand);
  1062. border-color: transparent;
  1063. }
  1064. .footer-link-ico {
  1065. margin-right: 6px;
  1066. color: #93A5BB;
  1067. }
  1068. .footer-bottom {
  1069. border-top: 1px solid var(--line);
  1070. padding: 16px 0;
  1071. display: flex;
  1072. align-items: center;
  1073. justify-content: space-between;
  1074. gap: 12px;
  1075. flex-wrap: wrap;
  1076. font-size: 12px;
  1077. color: #93A5BB;
  1078. }
  1079. @media (max-width: 1160px) {
  1080. .hero-visual {
  1081. display: none;
  1082. }
  1083. .registry-text {
  1084. max-width: none;
  1085. }
  1086. }
  1087. @media (max-width: 760px) {
  1088. .footer-main {
  1089. flex-direction: column;
  1090. gap: 26px;
  1091. }
  1092. }
  1093. @media (max-width: 520px) {
  1094. .service-grid {
  1095. grid-template-columns: 1fr;
  1096. }
  1097. }
  1098. </style>