index.vue 100 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679
  1. <template>
  2. <div class="home-page">
  3. <section class="home-section home-hero">
  4. <!-- 左侧文字 -->
  5. <div class="home-hero-copy">
  6. <div class="home-hero-badge">
  7. <span class="home-hero-badge-dot"></span>
  8. <span class="home-hero-badge-text">环境专业能力开放平台</span>
  9. </div>
  10. <div class="home-hero-title">
  11. <div class="home-hero-title-main">环评云助手 MCP</div>
  12. <div class="home-hero-title-sub">让 AI 直接调用环保专业能力</div>
  13. </div>
  14. <p class="home-hero-desc">
  15. 面向标准核查、报告编制、合规咨询、政策问答等场景,为 AI 工具提供专业、可信、可追溯的环境知识服务。
  16. </p>
  17. <div class="home-hero-actions">
  18. <button type="button" class="home-hero-btn home-hero-btn-primary" @click="router.push({ name: 'mcpServer' })">
  19. <icon-svg name="cut_in_Mcp" size="16px" />
  20. <span>立即接入 MCP</span>
  21. </button>
  22. <button type="button" class="home-hero-btn home-hero-btn-secondary" @click="router.push({ name: 'guide' })">
  23. <icon-svg name="connection_guide" size="16px" />
  24. <span>接入指南</span>
  25. </button>
  26. <button type="button" class="home-hero-btn home-hero-btn-secondary"
  27. @click="router.push({ name: 'mcpOnlineTest' })">
  28. <icon-svg name="effect_experience" size="16px" />
  29. <span>效果体验</span>
  30. </button>
  31. </div>
  32. </div>
  33. <!-- 右侧图片 -->
  34. <div class="home-hero-visual">
  35. <img src="@/assets/images/home_one_image.png" alt="" class="home-hero-image" />
  36. </div>
  37. </section>
  38. <div class="home-content-stack">
  39. <section class="home-section home-overview">
  40. <div class="home-overview-inner">
  41. <div class="home-overview-block">
  42. <div class="home-overview-heading">
  43. <div class="home-overview-title">覆盖环境业务核心知识数据</div>
  44. <div class="home-overview-subtitle">
  45. 多年专业数据沉淀,为 AI 提供法规检索、标准核查、政策解释和环境数据调用能力
  46. </div>
  47. </div>
  48. <div class="home-overview-cards home-overview-stats">
  49. <div class="home-overview-stat-card">
  50. <div class="home-overview-icon-box">
  51. <icon-svg name="laws_and_regulations" size="22px" />
  52. </div>
  53. <div class="home-overview-card-value">10万+</div>
  54. <div class="home-overview-card-label">环境法律法规</div>
  55. </div>
  56. <div class="home-overview-stat-card">
  57. <div class="home-overview-icon-box">
  58. <icon-svg name="report_library" size="22px" />
  59. </div>
  60. <div class="home-overview-card-value">50万+</div>
  61. <div class="home-overview-card-label">行业报告文库</div>
  62. </div>
  63. <div class="home-overview-stat-card">
  64. <div class="home-overview-icon-box">
  65. <icon-svg name="blocks_of_knowledge" size="22px" />
  66. </div>
  67. <div class="home-overview-card-value">500万+</div>
  68. <div class="home-overview-card-label">专业知识单元</div>
  69. </div>
  70. <div class="home-overview-stat-card">
  71. <div class="home-overview-icon-box">
  72. <icon-svg name="Mcp_serve" size="22px" />
  73. </div>
  74. <div class="home-overview-card-value">4+</div>
  75. <div class="home-overview-card-label">MCP 服务</div>
  76. </div>
  77. </div>
  78. </div>
  79. <div class="home-overview-block">
  80. <div class="home-overview-heading">
  81. <div class="home-overview-title">MCP 智能服务 — 让环保更智能</div>
  82. <div class="home-overview-subtitle">
  83. 基于 MCP 协议,为大模型接入专业环保知识、数据与业务工具,提供智能化环境服务能力
  84. </div>
  85. </div>
  86. <div class="home-overview-cards home-overview-services">
  87. <div class="home-overview-service-card">
  88. <div class="home-overview-service-icon">
  89. <icon-svg name="Intelligent_understanding" size="24px" />
  90. </div>
  91. <div class="home-overview-service-title">智能理解</div>
  92. <div class="home-overview-service-desc">
  93. 支持自然语言查询,智能识别用户意图,精准检索生态环境政策、法律法规、标准规范及专业知识。
  94. </div>
  95. </div>
  96. <div class="home-overview-service-card">
  97. <div class="home-overview-service-icon">
  98. <icon-svg name="seamless_integration" size="24px" />
  99. </div>
  100. <div class="home-overview-service-title">无缝集成</div>
  101. <div class="home-overview-service-desc">
  102. 支持与 Workbuddy、豆包、Codex 等主流大模型灵活集成,一键接入专业环境知识与数据服务能力。
  103. </div>
  104. </div>
  105. <div class="home-overview-service-card">
  106. <div class="home-overview-service-icon">
  107. <icon-svg name="intelligent_inference" size="24px" />
  108. </div>
  109. <div class="home-overview-service-title">智能推理</div>
  110. <div class="home-overview-service-desc">
  111. 基于上下文理解与知识检索,为环境业务提供法规标准解读、政策分析和信息辅助,提升业务决策效率。
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. </section>
  118. <section class="home-section home-scenes">
  119. <div class="home-scenes-upper">
  120. <div class="home-scenes-heading">
  121. <div class="home-scenes-title">热门服务速览</div>
  122. <div class="home-scenes-subtitle">
  123. 快速接入高价值环保数据与智能能力
  124. </div>
  125. </div>
  126. <div class="home-scenes-cards">
  127. <div
  128. v-for="item in hotServerList"
  129. :key="item.id"
  130. class="home-scenes-card"
  131. :style="item.cardBackground ? { background: item.cardBackground } : undefined"
  132. >
  133. <div class="home-scenes-card-head">
  134. <div class="home-scenes-card-icon-box" :style="parseCssStyle(item.iconStyle)">
  135. <img
  136. v-if="item.iconUrl"
  137. :src="item.iconUrl"
  138. :alt="item.name"
  139. class="home-scenes-card-icon-img"
  140. />
  141. </div>
  142. <div class="home-scenes-card-title">{{ item.name }}</div>
  143. </div>
  144. <div class="home-scenes-card-desc">{{ item.describe }}</div>
  145. <div class="home-scenes-card-tags">
  146. <span v-for="tool in item.toolList || []" :key="tool.id">{{ tool.name }}</span>
  147. </div>
  148. <div class="home-scenes-card-footer">
  149. <span class="home-scenes-card-stat">近30天请求 {{ formatHotRequestCount(item.requestCount30d) }}</span>
  150. <router-link
  151. class="home-scenes-card-link"
  152. :to="{ name: 'mcpServer', query: { id: item.id } }"
  153. >查看详情</router-link>
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. <div class="home-scenes-lower">
  159. <div class="home-scenes-demo">
  160. <div class="home-scenes-demo-copy">
  161. <div class="home-scenes-demo-badge">真实调用案例</div>
  162. <div class="home-scenes-demo-title">问一句话,AI自动调用环评云助手</div>
  163. <div class="home-scenes-demo-desc">
  164. 点击不同业务问题,查看 MCP 如何把用户意图转成专业检索,并返回可核验的业务结果。
  165. </div>
  166. <div class="home-scenes-demo-questions">
  167. <div v-for="(question, index) in demoQuestions" :key="question" class="home-scenes-demo-question"
  168. :class="{ 'is-active': activeDemoQuestion === index }" @click="activeDemoQuestion = index">
  169. <div class="home-scenes-demo-question-label">
  170. <span class="home-scenes-demo-question-dot"></span>
  171. <span>测试指令</span>
  172. </div>
  173. <div class="home-scenes-demo-question-text">{{ question }}</div>
  174. </div>
  175. </div>
  176. </div>
  177. <div class="home-scenes-demo-preview">
  178. <img
  179. :src="demoCaseImages[activeDemoQuestion]"
  180. :alt="demoQuestions[activeDemoQuestion]"
  181. class="home-scenes-demo-preview-img"
  182. />
  183. </div>
  184. </div>
  185. </div>
  186. </section>
  187. <section class="home-section home-guide">
  188. <div class="home-guide-inner">
  189. <div class="home-guide-heading">
  190. <div class="home-guide-title">3 步接入,5 分钟上手</div>
  191. <div class="home-guide-subtitle">MCP 协议 / CLI 命令行一键接入,共用一套 Token</div>
  192. </div>
  193. <div class="home-guide-timeline">
  194. <div class="home-guide-timeline-item">
  195. <div class="home-guide-timeline-dot">1</div>
  196. <div class="home-guide-timeline-name">获取 Token</div>
  197. <div class="home-guide-timeline-desc">生成访问令牌</div>
  198. </div>
  199. <div class="home-guide-timeline-line home-guide-timeline-line-1"></div>
  200. <div class="home-guide-timeline-item">
  201. <div class="home-guide-timeline-dot">2</div>
  202. <div class="home-guide-timeline-name">选择 AI 工具</div>
  203. <div class="home-guide-timeline-desc">MCP 一键接入/CLI命令行接入</div>
  204. </div>
  205. <div class="home-guide-timeline-line home-guide-timeline-line-2"></div>
  206. <div class="home-guide-timeline-item">
  207. <div class="home-guide-timeline-dot">3</div>
  208. <div class="home-guide-timeline-name">验证接入</div>
  209. <div class="home-guide-timeline-desc">发送问题验证接入是否成功</div>
  210. </div>
  211. </div>
  212. <div class="home-guide-block home-guide-block-token">
  213. <div class="home-guide-block-head">
  214. <div class="home-guide-block-num">1</div>
  215. <div class="home-guide-block-copy">
  216. <div class="home-guide-block-title">获取 Token</div>
  217. <div class="home-guide-block-desc">登录平台后生成访问令牌,适用于 MCP 协议与 CLI 接入</div>
  218. </div>
  219. <div class="home-guide-token">
  220. <div v-if="guideToken" class="home-guide-token-bar">
  221. <span class="home-guide-token-tag">Bearer</span>
  222. <span class="home-guide-token-value">
  223. <template v-if="guideTokenVisible">{{ guideToken }}</template>
  224. <template v-else>
  225. <span>{{ guideTokenMasked.head }}</span><span class="home-guide-token-mask">{{
  226. guideTokenMasked.middle }}</span><span>{{ guideTokenMasked.tail }}</span>
  227. </template>
  228. </span>
  229. <div class="home-guide-token-icons">
  230. <icon-svg :name="guideTokenVisible ? 'eye_not_displayed' : 'eye_show'" size="24px"
  231. class="home-guide-token-icon" @click="guideTokenVisible = !guideTokenVisible" />
  232. <icon-svg name="http_copy" size="14px" class="home-guide-token-icon"
  233. @click="copyText(`Bearer ${guideToken}`)" />
  234. </div>
  235. </div>
  236. <button
  237. v-else
  238. type="button"
  239. class="home-guide-token-btn"
  240. @click="createToken"
  241. >
  242. <icon-svg name="gain_token" size="14px" class="home-guide-token-btn-icon" />
  243. <span>获取 Token</span>
  244. </button>
  245. </div>
  246. </div>
  247. <div class="home-guide-features">
  248. <div class="home-guide-feature">
  249. <icon-svg name="Mcp_general" size="38px" />
  250. <div>
  251. <div class="home-guide-feature-title">MCP 通用配置</div>
  252. <div class="home-guide-feature-desc">3 个 Server 共用同一套 Token</div>
  253. </div>
  254. </div>
  255. <div class="home-guide-feature">
  256. <icon-svg name="token_general" size="38px" />
  257. <div>
  258. <div class="home-guide-feature-title">一套 Token 通用</div>
  259. <div class="home-guide-feature-desc">MCP 客户端与 CLI 命令行均使用同一令牌</div>
  260. </div>
  261. </div>
  262. <div class="home-guide-feature">
  263. <icon-svg name="Core_scenario" size="38px" />
  264. <div>
  265. <div class="home-guide-feature-title">覆盖环境知识核心场景</div>
  266. <div class="home-guide-feature-desc">环境法规检索 / 标准导则查询 / 政策问答</div>
  267. </div>
  268. </div>
  269. </div>
  270. </div>
  271. <div class="home-guide-block home-guide-block-tools">
  272. <div class="home-guide-block-head">
  273. <div class="home-guide-block-num">2</div>
  274. <div class="home-guide-block-copy">
  275. <div class="home-guide-block-title">选择你的 AI 工具并复制配置</div>
  276. <div class="home-guide-block-desc">推荐使用 WorkBuddy 一键接入</div>
  277. </div>
  278. </div>
  279. <div class="home-guide-access-tabs">
  280. <button type="button" class="home-guide-access-tab" :class="{ 'is-active': guideAccessTab === 'mcp' }"
  281. @click="guideAccessTab = 'mcp'">
  282. MCP 接入
  283. </button>
  284. <button type="button" class="home-guide-access-tab" :class="{ 'is-active': guideAccessTab === 'cli' }"
  285. @click="guideAccessTab = 'cli'">
  286. CLI 命令行接入
  287. </button>
  288. </div>
  289. <div class="home-guide-tool-panel">
  290. <template v-if="guideAccessTab === 'mcp'">
  291. <div class="home-guide-tool-tabs">
  292. <button v-for="tool in guideTools" :key="tool.key" type="button" class="home-guide-tool-tab"
  293. :class="{ 'is-active': guideToolTab === tool.key }" @click="guideToolTab = tool.key">
  294. <icon-svg :name="tool.iconName" size="20px" class="home-guide-tool-tab-icon" />
  295. <span>{{ tool.label }}</span>
  296. </button>
  297. </div>
  298. <div v-if="guideToolTab === 'workbuddy'" class="home-guide-tool-body">
  299. <div class="home-guide-tool-steps">
  300. <div class="home-guide-tool-step">
  301. <div class="home-guide-tool-step-num">1</div>
  302. <div class="home-guide-tool-step-copy">
  303. <div class="home-guide-tool-step-title">自定义 MCP 配置</div>
  304. <div class="home-guide-tool-step-desc">
  305. 复制右侧 JSON → 对话框发送「这是环评云助手的 MCP 服务 JSON,帮我配置自定义的 mcp」并粘贴
  306. </div>
  307. </div>
  308. </div>
  309. <div class="home-guide-tool-step">
  310. <div class="home-guide-tool-step-num">2</div>
  311. <div class="home-guide-tool-step-copy">
  312. <div class="home-guide-tool-step-title">验证接入是否成功</div>
  313. <div class="home-guide-tool-step-desc">
  314. 按环境法规、标准导则、政策问答分别验证(见下方验证卡片)
  315. </div>
  316. </div>
  317. </div>
  318. <div class="home-guide-note">
  319. <div class="home-guide-note-head">
  320. <div class="home-guide-note-icon-box">
  321. <icon-svg name="WorkBuddy_attention" size="12px" class="home-guide-note-icon" />
  322. </div>
  323. <div class="home-guide-note-title">注意事项</div>
  324. </div>
  325. <ul class="home-guide-note-list">
  326. <li>优先用内置「环评云助手」连接器;仅在需要自定义时用右侧 JSON</li>
  327. <li>自定义接入时 type 字段为 streamableHttp(H 大写)</li>
  328. <li>不需要在 URL 末尾添加 /mcp 后缀</li>
  329. <li>将 YOUR_ACCESS_TOKEN 替换为真实 Token</li>
  330. <li>若工具未立即出现,完全退出并重新打开 WorkBuddy 后再验证</li>
  331. </ul>
  332. </div>
  333. </div>
  334. <div class="home-guide-code">
  335. <div class="home-guide-code-bar">
  336. <div class="home-guide-code-dots">
  337. <span></span>
  338. <span></span>
  339. <span></span>
  340. </div>
  341. <div class="home-guide-code-title">mcp.json</div>
  342. <button type="button" class="home-guide-code-copy" @click="copyGuideMcpJson">
  343. <icon-svg name="copy_icon_white" size="14px" class="home-guide-code-copy-icon" />
  344. <span>复制</span>
  345. </button>
  346. </div>
  347. <div class="home-guide-code-body">
  348. <div class="home-guide-code-lines">
  349. <span v-for="line in guideMcpLines" :key="line">{{ line }}</span>
  350. </div>
  351. <pre class="home-guide-code-pre"><span class="code-punct">{</span>
  352. <span class="code-key">"mcpServers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  353. <span class="code-key">"hpyzs-law-keyword"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  354. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/law-keyword"</span><span class="code-punct">,</span>
  355. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  356. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  357. <span class="code-punct">}</span>
  358. <span class="code-punct">},</span>
  359. <span class="code-key">"hpyzs-law-semantic"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  360. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/law-semantic"</span><span class="code-punct">,</span>
  361. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  362. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  363. <span class="code-punct">}</span>
  364. <span class="code-punct">},</span>
  365. <span class="code-key">"hpyzs-qa"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  366. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/qa"</span><span class="code-punct">,</span>
  367. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  368. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  369. <span class="code-punct">}</span>
  370. <span class="code-punct">},</span>
  371. <span class="code-key">"hpyzs-emission"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  372. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/emission"</span><span class="code-punct">,</span>
  373. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  374. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  375. <span class="code-punct">}</span>
  376. <span class="code-punct">}</span>
  377. <span class="code-punct">}</span>
  378. <span class="code-punct">}</span></pre>
  379. </div>
  380. </div>
  381. </div>
  382. <div v-else-if="guideToolTab === 'doubao'" class="home-guide-tool-body home-guide-doubao-body">
  383. <div class="home-guide-ima-left">
  384. <div class="home-guide-ima-alert">
  385. <icon-svg name="ima_wps_warning" size="16px" class="home-guide-ima-alert-icon" />
  386. <div class="home-guide-ima-alert-text">
  387. {{ guideDoubaoContent.alert }}
  388. </div>
  389. </div>
  390. <div class="home-guide-ima-steps">
  391. <div v-for="step in guideDoubaoContent.steps" :key="step.num" class="home-guide-ima-step">
  392. <div class="home-guide-ima-step-num">{{ step.num }}</div>
  393. <div class="home-guide-ima-step-title">{{ step.title }}</div>
  394. </div>
  395. </div>
  396. <div class="home-guide-ima-notes">
  397. <div class="home-guide-ima-notes-title">注意事项</div>
  398. <ul class="home-guide-ima-notes-list">
  399. <li v-for="item in guideDoubaoContent.notes" :key="item">
  400. {{ item }}
  401. </li>
  402. </ul>
  403. </div>
  404. </div>
  405. <div class="home-guide-doubao-right">
  406. <img
  407. src="@/assets/images/doubao_img.png"
  408. alt="豆包自定义连接器示意"
  409. class="home-guide-doubao-img"
  410. />
  411. </div>
  412. </div>
  413. <div v-else-if="guideToolTab === 'qianwen'" class="home-guide-tool-body">
  414. <div class="home-guide-tool-steps">
  415. <div class="home-guide-tool-step">
  416. <div class="home-guide-tool-step-num">1</div>
  417. <div class="home-guide-tool-step-copy">
  418. <div class="home-guide-tool-step-title">打开配置入口</div>
  419. <div class="home-guide-tool-step-desc">
  420. 左侧「扩展」→「连接器」→ 右上角「+ 添加」→「粘贴 JSON 配置」
  421. </div>
  422. </div>
  423. </div>
  424. <div class="home-guide-tool-step">
  425. <div class="home-guide-tool-step-num">2</div>
  426. <div class="home-guide-tool-step-copy">
  427. <div class="home-guide-tool-step-title">粘贴 MCP 配置</div>
  428. <div class="home-guide-tool-step-desc">
  429. 在「通过 JSON 导入」对话框粘贴右侧全量 JSON → 点击「导入」
  430. </div>
  431. </div>
  432. </div>
  433. <div class="home-guide-note">
  434. <div class="home-guide-note-head">
  435. <div class="home-guide-note-icon-box">
  436. <icon-svg name="WorkBuddy_attention" size="12px" class="home-guide-note-icon" />
  437. </div>
  438. <div class="home-guide-note-title">注意事项</div>
  439. </div>
  440. <ul class="home-guide-note-list">
  441. <li>将 YOUR_ACCESS_TOKEN 替换为页面「获取 Token」生成的真实 Token</li>
  442. <li>导入后可在「连接器 → 已安装」查看安装状态</li>
  443. </ul>
  444. </div>
  445. </div>
  446. <div class="home-guide-code">
  447. <div class="home-guide-code-bar">
  448. <div class="home-guide-code-dots">
  449. <span></span>
  450. <span></span>
  451. <span></span>
  452. </div>
  453. <div class="home-guide-code-title">mcp.json</div>
  454. <button type="button" class="home-guide-code-copy" @click="copyGuideMcpJson">
  455. <icon-svg name="copy_icon_white" size="14px" class="home-guide-code-copy-icon" />
  456. <span>复制</span>
  457. </button>
  458. </div>
  459. <div class="home-guide-code-body">
  460. <div class="home-guide-code-lines">
  461. <span v-for="line in guideMcpLines" :key="line">{{ line }}</span>
  462. </div>
  463. <pre class="home-guide-code-pre"><span class="code-punct">{</span>
  464. <span class="code-key">"mcpServers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  465. <span class="code-key">"hpyzs-law-keyword"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  466. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/law-keyword"</span><span class="code-punct">,</span>
  467. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  468. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  469. <span class="code-punct">}</span>
  470. <span class="code-punct">},</span>
  471. <span class="code-key">"hpyzs-law-semantic"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  472. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/law-semantic"</span><span class="code-punct">,</span>
  473. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  474. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  475. <span class="code-punct">}</span>
  476. <span class="code-punct">},</span>
  477. <span class="code-key">"hpyzs-qa"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  478. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/qa"</span><span class="code-punct">,</span>
  479. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  480. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  481. <span class="code-punct">}</span>
  482. <span class="code-punct">},</span>
  483. <span class="code-key">"hpyzs-emission"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  484. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/emission"</span><span class="code-punct">,</span>
  485. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  486. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  487. <span class="code-punct">}</span>
  488. <span class="code-punct">}</span>
  489. <span class="code-punct">}</span>
  490. <span class="code-punct">}</span></pre>
  491. </div>
  492. </div>
  493. </div>
  494. <div v-else-if="guideToolTab === 'qoderwork'" class="home-guide-tool-body">
  495. <div class="home-guide-tool-steps">
  496. <div class="home-guide-tool-step">
  497. <div class="home-guide-tool-step-num">1</div>
  498. <div class="home-guide-tool-step-copy">
  499. <div class="home-guide-tool-step-title">打开配置入口</div>
  500. <div class="home-guide-tool-step-desc">
  501. 左侧「扩展」→「连接器」→ 右上角「+ 添加」→「粘贴 JSON 配置」→ 在「通过 JSON 导入」对话框粘贴下方全量 JSON → 点击「导入」
  502. </div>
  503. </div>
  504. </div>
  505. <div class="home-guide-tool-step">
  506. <div class="home-guide-tool-step-num">2</div>
  507. <div class="home-guide-tool-step-copy">
  508. <div class="home-guide-tool-step-title">粘贴 MCP 配置</div>
  509. <div class="home-guide-tool-step-desc">
  510. 将右侧「配置」中的 JSON 粘贴到客户端对应位置并保存
  511. </div>
  512. </div>
  513. </div>
  514. <div class="home-guide-tool-step">
  515. <div class="home-guide-tool-step-num">3</div>
  516. <div class="home-guide-tool-step-copy">
  517. <div class="home-guide-tool-step-title">配置文件位置</div>
  518. <div class="home-guide-tool-step-desc">
  519. macOS:~/.qoderwork/mcp.json Windows:C:\Users\用户名\.qoderwork\mcp.json
  520. </div>
  521. </div>
  522. </div>
  523. <div class="home-guide-note">
  524. <div class="home-guide-note-head">
  525. <div class="home-guide-note-icon-box">
  526. <icon-svg name="WorkBuddy_attention" size="12px" class="home-guide-note-icon" />
  527. </div>
  528. <div class="home-guide-note-title">注意事项</div>
  529. </div>
  530. <ul class="home-guide-note-list">
  531. <li>type 字段为 "streamableHttp"(H 大写),与 WorkBuddy 一致</li>
  532. <li>不需要在 URL 末尾添加 /mcp 后缀</li>
  533. <li>将 YOUR_ACCESS_TOKEN 替换为页面「获取 Token」生成的真实 Token</li>
  534. <li>导入后可在「连接器 → 已安装」查看状态;改配置后需完全退出并重启 QoderWork</li>
  535. </ul>
  536. </div>
  537. </div>
  538. <div class="home-guide-code">
  539. <div class="home-guide-code-bar">
  540. <div class="home-guide-code-dots">
  541. <span></span>
  542. <span></span>
  543. <span></span>
  544. </div>
  545. <div class="home-guide-code-title">mcp.json</div>
  546. <button type="button" class="home-guide-code-copy" @click="copyGuideMcpJson">
  547. <icon-svg name="copy_icon_white" size="14px" class="home-guide-code-copy-icon" />
  548. <span>复制</span>
  549. </button>
  550. </div>
  551. <div class="home-guide-code-body">
  552. <div class="home-guide-code-lines">
  553. <span v-for="line in guideMcpLines" :key="line">{{ line }}</span>
  554. </div>
  555. <pre class="home-guide-code-pre"><span class="code-punct">{</span>
  556. <span class="code-key">"mcpServers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  557. <span class="code-key">"hpyzs-law-keyword"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  558. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/law-keyword"</span><span class="code-punct">,</span>
  559. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  560. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  561. <span class="code-punct">}</span>
  562. <span class="code-punct">},</span>
  563. <span class="code-key">"hpyzs-law-semantic"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  564. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/law-semantic"</span><span class="code-punct">,</span>
  565. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  566. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  567. <span class="code-punct">}</span>
  568. <span class="code-punct">},</span>
  569. <span class="code-key">"hpyzs-qa"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  570. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/qa"</span><span class="code-punct">,</span>
  571. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  572. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  573. <span class="code-punct">}</span>
  574. <span class="code-punct">},</span>
  575. <span class="code-key">"hpyzs-emission"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  576. <span class="code-key">"url"</span><span class="code-punct">:</span> <span class="code-string">"https://mcp.eiacloud.com/emission"</span><span class="code-punct">,</span>
  577. <span class="code-key">"headers"</span><span class="code-punct">:</span> <span class="code-punct">{</span>
  578. <span class="code-key">"Authorization"</span><span class="code-punct">:</span> <span class="code-string">"Bearer {{ guideAccessToken }}"</span>
  579. <span class="code-punct">}</span>
  580. <span class="code-punct">}</span>
  581. <span class="code-punct">}</span>
  582. <span class="code-punct">}</span></pre>
  583. </div>
  584. </div>
  585. </div>
  586. <div v-else-if="guideToolTab === 'wps'" class="home-guide-tool-body home-guide-ima-body">
  587. <div class="home-guide-ima-left">
  588. <div class="home-guide-ima-alert">
  589. <icon-svg name="ima_wps_warning" size="16px" class="home-guide-ima-alert-icon" />
  590. <div class="home-guide-ima-alert-text">
  591. {{ guideWpsContent.alert }}
  592. </div>
  593. </div>
  594. <div class="home-guide-ima-steps">
  595. <div v-for="step in guideWpsContent.steps" :key="step.num" class="home-guide-ima-step">
  596. <div class="home-guide-ima-step-num">{{ step.num }}</div>
  597. <div class="home-guide-ima-step-title">{{ step.title }}</div>
  598. </div>
  599. </div>
  600. <div class="home-guide-ima-notes">
  601. <div class="home-guide-ima-notes-title">注意事项</div>
  602. <ul class="home-guide-ima-notes-list">
  603. <li v-for="item in guideWpsContent.notes" :key="item">
  604. {{ item }}
  605. </li>
  606. </ul>
  607. </div>
  608. </div>
  609. <div class="home-guide-ima-right">
  610. <div class="home-guide-ima-panel home-guide-ima-panel--config">
  611. <div class="home-guide-ima-panel-title">【配置】</div>
  612. <div v-for="line in guideWpsContent.configLines" :key="line" class="home-guide-ima-panel-line">
  613. {{ line }}
  614. </div>
  615. </div>
  616. <div class="home-guide-ima-panel home-guide-ima-panel--verify">
  617. <div class="home-guide-ima-panel-title">【验证】</div>
  618. <div class="home-guide-ima-panel-hint">
  619. {{ guideWpsContent.verifyIntro }}
  620. </div>
  621. <div class="home-guide-ima-quote">{{ guideWpsContent.verifyQuote }}</div>
  622. <div class="home-guide-ima-panel-hint">
  623. {{ guideWpsContent.verifyResult }}
  624. </div>
  625. <div class="home-guide-ima-check">
  626. <span class="home-guide-ima-check-marks">
  627. <span>√</span>
  628. <span>√</span>
  629. </span>
  630. <span class="home-guide-ima-check-text">{{ guideWpsContent.verifyCheck }}</span>
  631. </div>
  632. </div>
  633. </div>
  634. </div>
  635. </template>
  636. <template v-else>
  637. <div class="home-guide-cli-body">
  638. <div class="home-guide-cli-head">
  639. <icon-svg name="systemLogoCircle" size="38px" class="home-guide-cli-logo-icon" />
  640. <div class="home-guide-cli-head-copy">
  641. <div class="home-guide-cli-name">
  642. <span class="home-guide-cli-pkg">hpyzs-mcp</span>
  643. <span class="home-guide-cli-sep">·</span>
  644. <span class="home-guide-cli-alias">环评云助手命令行工具</span>
  645. </div>
  646. <div class="home-guide-cli-tip">npm 全局安装 · 纯命令行执行 · 结果为原始 JSON</div>
  647. </div>
  648. </div>
  649. <div class="home-guide-cli-steps-title">接入步骤</div>
  650. <div class="home-guide-cli-steps">
  651. <div v-for="step in guideCliSteps" :key="step.num" class="home-guide-cli-step">
  652. <div class="home-guide-cli-step-num">{{ step.num }}</div>
  653. <div class="home-guide-cli-step-copy">
  654. <div class="home-guide-cli-step-title">{{ step.title }}</div>
  655. <div class="home-guide-cli-step-desc">{{ step.desc }}</div>
  656. </div>
  657. </div>
  658. </div>
  659. <div class="home-guide-cli-panel">
  660. <div class="home-guide-cli-list">
  661. <div v-for="command in guideCliCommands" :key="command.label" class="home-guide-cli-command">
  662. <div class="home-guide-cli-command-main">
  663. <div class="home-guide-cli-command-label">
  664. <span class="home-guide-cli-command-dot"></span>
  665. <span>{{ command.label }}</span>
  666. </div>
  667. <code class="home-guide-cli-command-text">{{ command.text }}</code>
  668. </div>
  669. <button type="button" class="home-guide-cli-command-copy" @click="copyText(command.text)">
  670. <icon-svg name="copy_icon_violet" size="12px" class="home-guide-cli-command-copy-icon" />
  671. <span>复制</span>
  672. </button>
  673. </div>
  674. </div>
  675. <div class="home-guide-cli-footer">
  676. <span class="home-guide-cli-footer-tip">{{ guideCliFooterTip }}</span>
  677. <button type="button" class="home-guide-cli-copy-all" @click="copyAllCliCommands">
  678. <icon-svg name="copy_icon_white" size="12px" class="home-guide-cli-copy-all-icon" />
  679. <span>全部复制</span>
  680. </button>
  681. </div>
  682. </div>
  683. </div>
  684. </template>
  685. </div>
  686. </div>
  687. <div class="home-guide-block home-guide-block-verify">
  688. <div class="home-guide-block-head">
  689. <div class="home-guide-block-num">3</div>
  690. <div class="home-guide-block-copy">
  691. <div class="home-guide-block-title">验证接入</div>
  692. <div class="home-guide-block-desc">在对话框中分别发送以下指令验证接入是否成功</div>
  693. </div>
  694. </div>
  695. <div class="home-guide-verify">
  696. <div v-for="card in guideVerifyCards" :key="card.title" class="home-guide-verify-card">
  697. <div class="home-guide-verify-line"></div>
  698. <div class="home-guide-verify-head">
  699. <div class="home-guide-verify-icon-box">
  700. <icon-svg :name="card.icon" size="16px" />
  701. </div>
  702. <div class="home-guide-verify-title">{{ card.title }}</div>
  703. </div>
  704. <div class="home-guide-verify-list">
  705. <div v-for="(question, questionIndex) in card.questions" :key="`${card.title}-${questionIndex}`"
  706. class="home-guide-verify-item">
  707. <span>{{ question }}</span>
  708. <icon-svg name="Connection_Copy" size="13px" class="home-guide-verify-copy"
  709. @click="copyText(question)" />
  710. </div>
  711. </div>
  712. </div>
  713. </div>
  714. </div>
  715. </div>
  716. </section>
  717. <section class="home-section home-footer">
  718. <div class="home-guide-inner home-footer-inner">
  719. <div class="home-footer-left">
  720. <div class="home-footer-brand">
  721. <icon-svg name="systemLogoCircle" size="24px" class="home-footer-brand-icon" />
  722. <span class="home-footer-brand-text">环评云助手 MCP · 智能环境法规标准平台</span>
  723. </div>
  724. <p class="home-footer-legal">
  725. <span>京公网安备 11010802024562号</span>
  726. <span class="home-footer-legal-sep">|</span>
  727. <span>Copyright © 2001-2013 Comsenz Inc. All Rights Reserved.</span>
  728. <span class="home-footer-legal-sep">|</span>
  729. <span>Powered by Discuz! X3.4( 京ICP备17049511号-1 )</span>
  730. </p>
  731. </div>
  732. <div class="home-footer-right">
  733. <div class="home-footer-icons">
  734. <div class="home-footer-icon-item">
  735. <icon-svg name="footer_WeChat" size="24px" class="home-footer-icon" />
  736. <div class="home-footer-popover">
  737. <img src="@/assets/images/service_WeChat.png" alt="云助手客服微信" class="home-footer-popover-img" />
  738. <div class="home-footer-popover-sub">云助手客服微信</div>
  739. </div>
  740. </div>
  741. <div class="home-footer-icon-item">
  742. <icon-svg name="footer_phone" size="24px" class="home-footer-icon" />
  743. <div class="home-footer-popover">
  744. <div class="home-footer-popover-title">官方应用下载</div>
  745. <img src="@/assets/images/app_download.png" alt="官方应用下载" class="home-footer-popover-img" />
  746. <div class="home-footer-popover-sub">环评云助手APP</div>
  747. </div>
  748. </div>
  749. </div>
  750. <div class="home-footer-links">
  751. <a
  752. class="home-footer-link"
  753. href="https://www.eiacloud.com/lxwmhjzx/550.jhtml"
  754. target="_blank"
  755. rel="noopener noreferrer"
  756. >关于我们</a>
  757. <a
  758. class="home-footer-link"
  759. href="https://www.eiacloud.com/bbs/userAgreement"
  760. target="_blank"
  761. rel="noopener noreferrer"
  762. >用户协议</a>
  763. <a
  764. class="home-footer-link"
  765. href="https://www.eiacloud.com/hpy/lawstandardApp/getDetailYS"
  766. target="_blank"
  767. rel="noopener noreferrer"
  768. >隐私政策</a>
  769. <a
  770. class="home-footer-link"
  771. href="https://www.eiacloud.com/lxwmlxfs/669.jhtml"
  772. target="_blank"
  773. rel="noopener noreferrer"
  774. >联系我们</a>
  775. </div>
  776. </div>
  777. </div>
  778. </section>
  779. </div>
  780. </div>
  781. </template>
  782. <script setup>
  783. import { computed, onMounted, ref } from "vue";
  784. import { useRouter } from "vue-router";
  785. import { ElMessage } from "element-plus";
  786. import { getMcpToken, createMcpToken, getMcpServerHotList } from "@/api/mcp";
  787. import { requireUserLogin } from "@/utils/auth";
  788. import globalStore from "@/store/modules/global";
  789. import demoImgGreen from "@/assets/images/test_instruction_green.jpg";
  790. import demoImgBlue from "@/assets/images/test_instruction_blue.jpg";
  791. import demoImgPurple from "@/assets/images/test_instruction_purple.jpg";
  792. const router = useRouter();
  793. const global = globalStore();
  794. const demoQuestions = [
  795. "「大气污染物综合排放标准 GB16297 相关限值要求?」",
  796. "「建设项目环境影响评价分类管理名录中化工项目如何分类?」",
  797. "「地下水质量标准 GB/T14848 中Ⅲ类水质的具体指标限值?」",
  798. ];
  799. const demoCaseImages = [demoImgGreen, demoImgBlue, demoImgPurple];
  800. const activeDemoQuestion = ref(0);
  801. const hotServerList = ref([]);
  802. const parseCssStyle = (cssText) => {
  803. if (!cssText) return {};
  804. const style = {};
  805. String(cssText)
  806. .split(";")
  807. .forEach((rule) => {
  808. const colonIndex = rule.indexOf(":");
  809. if (colonIndex === -1) return;
  810. const key = rule.slice(0, colonIndex).trim();
  811. const value = rule.slice(colonIndex + 1).trim();
  812. if (!key || !value) return;
  813. const prop = key.replace(/-([a-z])/g, (_, char) => char.toUpperCase());
  814. style[prop] = value;
  815. });
  816. return style;
  817. };
  818. const formatHotRequestCount = (value) => {
  819. if (value == null || value === "") return "-";
  820. const num = Number(value);
  821. if (Number.isNaN(num)) return String(value);
  822. return String(num);
  823. };
  824. const fetchHotServerList = async () => {
  825. try {
  826. const res = await getMcpServerHotList();
  827. hotServerList.value = Array.isArray(res?.data) ? res.data : [];
  828. } catch (error) {
  829. console.error(error);
  830. hotServerList.value = [];
  831. }
  832. };
  833. const guideToken = computed(() => global.mcpToken || "");
  834. const guideTokenVisible = ref(false);
  835. const guideTokenMasked = computed(() => {
  836. const token = guideToken.value;
  837. if (!token || token.length <= 15) {
  838. return { head: token, middle: "", tail: "" };
  839. }
  840. return {
  841. head: token.slice(0, 9),
  842. middle: "*".repeat(token.length - 15),
  843. tail: token.slice(-6),
  844. };
  845. });
  846. const applyToken = (data) => {
  847. // 兼容 data 为字符串,或 { token, expireTime, status, ... } 对象
  848. const token =
  849. typeof data === "string"
  850. ? data
  851. : data && typeof data === "object"
  852. ? data.token
  853. : "";
  854. if (token === null || token === undefined || token === "") {
  855. global.setMcpToken("");
  856. return;
  857. }
  858. global.setMcpToken(String(token));
  859. };
  860. const fetchMcpToken = async () => {
  861. try {
  862. const res = await getMcpToken();
  863. applyToken(res?.data);
  864. } catch (error) {
  865. console.error(error);
  866. }
  867. };
  868. const createToken = async () => {
  869. if (!requireUserLogin("请先登录", { redirect: true })) return;
  870. if (guideToken.value) {
  871. ElMessage.warning("Token 已存在,无需重复获取");
  872. return;
  873. }
  874. try {
  875. const res = await createMcpToken();
  876. applyToken(res?.data);
  877. } catch (error) {
  878. console.error(error);
  879. }
  880. };
  881. onMounted(() => {
  882. fetchMcpToken();
  883. fetchHotServerList();
  884. });
  885. const guideAccessTab = ref("mcp");
  886. const guideToolTab = ref("workbuddy");
  887. const guideTools = [
  888. { key: "workbuddy", label: "WorkBuddy", iconName: "WorkBuddy_icon" },
  889. { key: "doubao", label: "豆包", iconName: "doubao_icon" },
  890. { key: "qianwen", label: "千问办公", iconName: "qianwen_icon" },
  891. { key: "qoderwork", label: "Qoderwork", iconName: "Qoderwork_icon" },
  892. ];
  893. const guideDoubaoContent = {
  894. alert: "豆包只能通过新建自定义连接器接入,不支持直接粘贴 JSON 配置。",
  895. steps: [
  896. {
  897. num: 1,
  898. title:
  899. "打开 豆包 → 找到「 技能·连接器·伙伴 」→ 点击「新建」→ 选择「 新建自定义连接器」 ",
  900. },
  901. {
  902. num: 2,
  903. title: "输入服务器名称、 URL 链接、自定义 Headers → 点击保存完成链接",
  904. },
  905. {
  906. num: 3,
  907. title:
  908. "验证是否成功——在对话中发送「用环评云助手MCP检索《大气污染物综合排放标准》中关于 VOCs 排放限值的规定」",
  909. },
  910. ],
  911. notes: [
  912. "服务器名称可自行命名",
  913. "服务器 URL 内填入对应的 server URL ,每个服务对应一个链接",
  914. "自定义 Headers 内填入 Authorization",
  915. "自定义 Headers 内需要填写页面「获取 Token」生成的真实 Token",
  916. ],
  917. };
  918. const guideWpsContent = {
  919. alert:
  920. "仅支持内置连接:WPS Comate 只能通过内置「环评云助手」连接接入,不支持粘贴 JSON 或自定义 MCP 配置。",
  921. steps: [
  922. {
  923. num: 1,
  924. title: "打开 WPS Comate → 进入「连接」→ 找到「环评云助手」→ 点击「连接」",
  925. },
  926. {
  927. num: 2,
  928. title: "按提示完成登录授权并启用连接即可使用,无需粘贴 JSON / Token",
  929. },
  930. {
  931. num: 3,
  932. title:
  933. "验证是否成功——在对话中发送「用环评云助手检索《大气污染物综合排放标准》中关于 VOCs 排放限值的规定」——返回的是权威法规数据,非网络搜索结果。",
  934. },
  935. ],
  936. notes: [
  937. "仅支持内置连接,无需手动粘贴 JSON 或自定义 MCP 配置",
  938. "首次使用需完成环评云助手账号登录授权,授权后连接长期有效",
  939. ],
  940. configLines: [
  941. "# 本平台仅支持内置「环评云助手」连接",
  942. "# 发现 → MCP → 环评云助手 → 一键连接并完成授权即可使用",
  943. ],
  944. verifyIntro: "# 在对话框中发一句:",
  945. verifyQuote:
  946. "「用环评云助手检索《大气污染物综合排放标准》中关于 VOCs 排放限值的规定」",
  947. verifyResult: " # → 看到法规检索工具运行成功 → 返回限值 = 接入成功",
  948. verifyCheck: "返回的是权威法规数据,非网络搜索",
  949. };
  950. const guideAccessToken = computed(
  951. () => guideToken.value || "YOUR_ACCESS_TOKEN",
  952. );
  953. const guideMcpJson = computed(() => {
  954. const token = guideAccessToken.value;
  955. return `{
  956. "mcpServers": {
  957. "hpyzs-law-keyword": {
  958. "url": "https://mcp.eiacloud.com/law-keyword",
  959. "headers": {
  960. "Authorization": "Bearer ${token}"
  961. }
  962. },
  963. "hpyzs-law-semantic": {
  964. "url": "https://mcp.eiacloud.com/law-semantic",
  965. "headers": {
  966. "Authorization": "Bearer ${token}"
  967. }
  968. },
  969. "hpyzs-qa": {
  970. "url": "https://mcp.eiacloud.com/qa",
  971. "headers": {
  972. "Authorization": "Bearer ${token}"
  973. }
  974. },
  975. "hpyzs-emission": {
  976. "url": "https://mcp.eiacloud.com/emission",
  977. "headers": {
  978. "Authorization": "Bearer ${token}"
  979. }
  980. }
  981. }
  982. }`;
  983. });
  984. const guideMcpLines = computed(() =>
  985. Array.from({ length: guideMcpJson.value.split("\n").length }, (_, i) => i + 1),
  986. );
  987. const copyText = async (text) => {
  988. if (!text) {
  989. ElMessage.warning("暂无内容可复制");
  990. return;
  991. }
  992. try {
  993. if (navigator.clipboard?.writeText) {
  994. await navigator.clipboard.writeText(text);
  995. } else {
  996. const textarea = document.createElement("textarea");
  997. textarea.value = text;
  998. textarea.setAttribute("readonly", "");
  999. textarea.style.position = "fixed";
  1000. textarea.style.left = "-9999px";
  1001. document.body.appendChild(textarea);
  1002. textarea.select();
  1003. const ok = document.execCommand("copy");
  1004. document.body.removeChild(textarea);
  1005. if (!ok) throw new Error("execCommand copy failed");
  1006. }
  1007. ElMessage.success("复制成功");
  1008. } catch (error) {
  1009. console.error(error);
  1010. ElMessage.error("复制失败");
  1011. }
  1012. };
  1013. const copyGuideMcpJson = () => copyText(guideMcpJson.value);
  1014. const guideCliSteps = [
  1015. {
  1016. num: 1,
  1017. title: "控制台获取 Token(与 MCP 共用)",
  1018. desc: "在第一步生成或复制 Token,CLI 与 MCP 使用同一套鉴权。",
  1019. },
  1020. {
  1021. num: 2,
  1022. title: "npm 全局安装环评云助手 CLI",
  1023. desc: "npm install -g hpyzs-mcp",
  1024. },
  1025. {
  1026. num: 3,
  1027. title: "绑定 Token",
  1028. desc: "右侧初始化命令已自动填入真实 Token,复制执行即可",
  1029. },
  1030. {
  1031. num: 4,
  1032. title: "命令行直接查询,返回原始 JSON",
  1033. desc: "不经过 LLM,适合自动化流程与数据验证。",
  1034. },
  1035. ];
  1036. const guideCliCommands = computed(() => {
  1037. const token = guideAccessToken.value;
  1038. return [
  1039. {
  1040. label: "安装 CLI",
  1041. text: "npm install -g hpyzs-mcp",
  1042. },
  1043. {
  1044. label: "绑定 Token",
  1045. text: `hpyzs-mcp init --authorization "Bearer ${token}"`,
  1046. },
  1047. {
  1048. label: "执行查询",
  1049. text: 'hpyzs-mcp law-keyword search_keyword_standard --name "地表水环境治疗标准"',
  1050. },
  1051. ];
  1052. });
  1053. const guideCliFooterTip = computed(() =>
  1054. guideToken.value
  1055. ? "初始化命令已自动填入真实 Token"
  1056. : "将 YOUR_ACCESS_TOKEN 替换为页面「获取 Token」生成的真实 Token",
  1057. );
  1058. const copyAllCliCommands = () =>
  1059. copyText(guideCliCommands.value.map((item) => item.text).join("\n"));
  1060. const guideVerifyCards = [
  1061. {
  1062. icon: "environmental_legislation",
  1063. title: "政策法规",
  1064. questions: [
  1065. "大气污染防治法第118条餐饮油烟怎么罚?",
  1066. "环办政法函〔2017〕40号答复了什么?",
  1067. "大气污染防治法2018修订何时施行?",
  1068. ],
  1069. },
  1070. {
  1071. icon: "Standard_guidelines",
  1072. title: "标准导则",
  1073. questions: [
  1074. "GB16297表2二氧化硫二级浓度?",
  1075. "GB16297排气筒最低高度要求?",
  1076. "GB16297颗粒物无组织监控限值?",
  1077. ],
  1078. },
  1079. {
  1080. icon: "Policy_QA",
  1081. title: "问答检索",
  1082. questions: [
  1083. "重大变动如何重新报批环评?",
  1084. "排污许可证内容变更如何重新办理?",
  1085. "环评批复几年不开工作废?",
  1086. ],
  1087. },
  1088. ];
  1089. </script>
  1090. <style scoped lang="less">
  1091. .home-page {
  1092. width: 100%;
  1093. --home-inline-padding: 70px;
  1094. box-sizing: border-box;
  1095. }
  1096. .home-section {
  1097. width: 100%;
  1098. }
  1099. .home-hero {
  1100. display: flex;
  1101. align-items: stretch;
  1102. justify-content: center;
  1103. gap: 12px;
  1104. padding: 70px var(--home-inline-padding);
  1105. box-sizing: border-box;
  1106. background: url("@/assets/images/home_one_bg.png") center / cover no-repeat;
  1107. }
  1108. .home-hero-copy {
  1109. flex: 0 1 auto;
  1110. min-width: 0;
  1111. display: flex;
  1112. flex-direction: column;
  1113. align-items: flex-start;
  1114. }
  1115. .home-hero-visual {
  1116. flex: 0 1 616px;
  1117. width: 616px;
  1118. position: relative;
  1119. min-width: 0;
  1120. max-width: 616px;
  1121. }
  1122. .home-hero-image {
  1123. position: absolute;
  1124. inset: 0;
  1125. width: 100%;
  1126. height: 100%;
  1127. object-fit: contain;
  1128. object-position: center right;
  1129. }
  1130. .home-hero-badge {
  1131. display: inline-flex;
  1132. align-items: center;
  1133. gap: 8px;
  1134. background: rgba(22, 120, 255, 0.15);
  1135. border-radius: 100px;
  1136. border: 1px solid rgba(22, 120, 255, 0.3);
  1137. padding: 10px 20px;
  1138. }
  1139. .home-hero-badge-dot {
  1140. width: 8px;
  1141. height: 8px;
  1142. flex-shrink: 0;
  1143. background: #10B981;
  1144. box-shadow: 0px 0px 12px 0px #10B981;
  1145. border-radius: 4px;
  1146. }
  1147. .home-hero-badge-text {
  1148. font-family: PingFang SC, PingFang SC;
  1149. font-weight: 500;
  1150. font-size: 13px;
  1151. color: #60A5FA;
  1152. line-height: 19px;
  1153. text-align: left;
  1154. font-style: normal;
  1155. }
  1156. .home-hero-title {
  1157. display: flex;
  1158. flex-direction: column;
  1159. gap: 4px;
  1160. margin-top: 30px;
  1161. }
  1162. .home-hero-title-main {
  1163. font-family: PingFang SC, PingFang SC;
  1164. font-weight: 400;
  1165. font-size: 52px;
  1166. color: #FFFFFF;
  1167. line-height: 73px;
  1168. text-align: left;
  1169. font-style: normal;
  1170. }
  1171. .home-hero-title-sub {
  1172. font-family: PingFang SC, PingFang SC;
  1173. font-weight: 400;
  1174. font-size: 40px;
  1175. line-height: 56px;
  1176. text-align: left;
  1177. font-style: normal;
  1178. text-transform: none;
  1179. background: linear-gradient(45deg, #60A5FA 0%, #A78BFA 50%, #22D3EE 100%);
  1180. -webkit-background-clip: text;
  1181. background-clip: text;
  1182. -webkit-text-fill-color: transparent;
  1183. color: transparent;
  1184. }
  1185. .home-hero-desc {
  1186. margin: 60px 0 0;
  1187. font-family: PingFang SC, PingFang SC;
  1188. font-weight: 400;
  1189. font-size: 18px;
  1190. color: rgba(255, 255, 255, 0.8);
  1191. line-height: 31px;
  1192. text-align: left;
  1193. font-style: normal;
  1194. }
  1195. .home-hero-actions {
  1196. display: flex;
  1197. align-items: center;
  1198. flex-wrap: wrap;
  1199. gap: 16px;
  1200. margin-top: 80px;
  1201. }
  1202. .home-hero-btn {
  1203. display: inline-flex;
  1204. align-items: center;
  1205. gap: 3px;
  1206. margin: 0;
  1207. cursor: pointer;
  1208. box-sizing: border-box;
  1209. font-family: PingFang SC, PingFang SC;
  1210. font-weight: 600;
  1211. font-size: 16px;
  1212. color: #FFFFFF;
  1213. line-height: 22px;
  1214. text-align: left;
  1215. font-style: normal;
  1216. white-space: nowrap;
  1217. }
  1218. .home-hero-btn:hover {
  1219. transform: scale(1.06);
  1220. }
  1221. .home-hero-btn-primary {
  1222. padding: 14px 30px;
  1223. border: none;
  1224. border-radius: 8px;
  1225. background: linear-gradient(135deg, #1678FF 0%, #2563EB 100%);
  1226. box-shadow: 0px 4px 24px 0px rgba(22, 120, 255, 0.4);
  1227. }
  1228. .home-hero-btn-secondary {
  1229. padding: 14px 30px;
  1230. border-radius: 8px;
  1231. background: rgba(255, 255, 255, 0.06);
  1232. border: 1px solid rgba(255, 255, 255, 0.12);
  1233. }
  1234. .home-content-stack {
  1235. width: 100%;
  1236. box-sizing: border-box;
  1237. }
  1238. .home-content-stack>.home-section {
  1239. width: 100%;
  1240. box-sizing: border-box;
  1241. }
  1242. .home-section-inner-padding() {
  1243. padding-left: var(--home-inline-padding);
  1244. padding-right: var(--home-inline-padding);
  1245. box-sizing: border-box;
  1246. }
  1247. .home-section-content-width() {
  1248. max-width: 1320px;
  1249. margin-left: auto;
  1250. margin-right: auto;
  1251. width: 100%;
  1252. }
  1253. /* 内容限宽 + 左右内边距(与 overview / guide 一致) */
  1254. .home-section-content-box() {
  1255. .home-section-content-width();
  1256. .home-section-inner-padding();
  1257. }
  1258. .home-overview {
  1259. padding: 80px 0;
  1260. background: #F3F4FF;
  1261. }
  1262. .home-overview-inner {
  1263. display: flex;
  1264. flex-direction: column;
  1265. align-items: stretch;
  1266. gap: 120px;
  1267. .home-section-content-box();
  1268. }
  1269. .home-overview-block {
  1270. display: flex;
  1271. flex-direction: column;
  1272. align-items: center;
  1273. gap: 32px;
  1274. }
  1275. .home-overview-block:last-child {
  1276. width: 100%;
  1277. }
  1278. .home-overview-heading {
  1279. display: flex;
  1280. flex-direction: column;
  1281. align-items: center;
  1282. gap: 8px;
  1283. }
  1284. .home-overview-title {
  1285. font-family: PingFang SC, PingFang SC;
  1286. font-weight: 600;
  1287. font-size: 32px;
  1288. color: #1E293B;
  1289. line-height: 40px;
  1290. text-align: center;
  1291. }
  1292. .home-overview-subtitle {
  1293. font-family: PingFang SC, PingFang SC;
  1294. font-weight: 400;
  1295. font-size: 16px;
  1296. color: #64748B;
  1297. line-height: 24px;
  1298. text-align: center;
  1299. }
  1300. .home-overview-cards {
  1301. display: flex;
  1302. justify-content: stretch;
  1303. gap: 16px;
  1304. width: 100%;
  1305. min-width: 0;
  1306. }
  1307. .home-overview-stats {
  1308. display: flex;
  1309. justify-content: stretch;
  1310. gap: 16px;
  1311. width: 100%;
  1312. min-width: 0;
  1313. }
  1314. .home-overview-stat-card {
  1315. flex: 1 1 0;
  1316. min-width: 0;
  1317. display: flex;
  1318. flex-direction: column;
  1319. align-items: center;
  1320. justify-content: center;
  1321. gap: 10px;
  1322. padding: 30px 20px;
  1323. background: #FFFFFF;
  1324. box-shadow: 0px 4px 24px 0px rgba(15, 23, 42, 0.06);
  1325. border-radius: 16px;
  1326. box-sizing: border-box;
  1327. }
  1328. .home-overview-icon-box {
  1329. display: flex;
  1330. align-items: center;
  1331. justify-content: center;
  1332. padding: 15px;
  1333. border-radius: 14px;
  1334. }
  1335. .home-overview-stat-card:nth-child(1) .home-overview-icon-box {
  1336. background: linear-gradient(135deg, #1678FF 0%, #3B82F6 100%);
  1337. box-shadow: 0px 8px 20px 0px rgba(22, 120, 255, 0.25);
  1338. }
  1339. .home-overview-stat-card:nth-child(2) .home-overview-icon-box {
  1340. background: linear-gradient(135deg, #FB923C 0%, #FF9900 100%);
  1341. box-shadow: 0px 8px 20px 0px rgba(245, 158, 11, 0.25);
  1342. }
  1343. .home-overview-stat-card:nth-child(3) .home-overview-icon-box {
  1344. background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
  1345. box-shadow: 0px 8px 20px 0px rgba(124, 58, 237, 0.25);
  1346. }
  1347. .home-overview-stat-card:nth-child(4) .home-overview-icon-box {
  1348. background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
  1349. box-shadow: 0px 8px 20px 0px rgba(14, 165, 233, 0.25);
  1350. }
  1351. .home-overview-stat-card .home-overview-card-value {
  1352. font-family: PingFang SC, PingFang SC;
  1353. font-weight: 400;
  1354. font-size: 28px;
  1355. line-height: 39px;
  1356. text-align: left;
  1357. }
  1358. .home-overview-stat-card:nth-child(1) .home-overview-card-value {
  1359. color: #1678FF;
  1360. }
  1361. .home-overview-stat-card:nth-child(2) .home-overview-card-value {
  1362. color: #FB923C;
  1363. }
  1364. .home-overview-stat-card:nth-child(3) .home-overview-card-value {
  1365. color: #7C3AED;
  1366. }
  1367. .home-overview-stat-card:nth-child(4) .home-overview-card-value {
  1368. color: #0EA5E9;
  1369. }
  1370. .home-overview-stat-card .home-overview-card-label {
  1371. font-family: PingFang SC, PingFang SC;
  1372. font-weight: 600;
  1373. font-size: 20px;
  1374. color: #0F172A;
  1375. line-height: 28px;
  1376. text-align: left;
  1377. }
  1378. .home-overview-services {
  1379. width: 100%;
  1380. min-width: 0;
  1381. }
  1382. .home-overview-service-card {
  1383. flex: 1 1 0;
  1384. min-width: 0;
  1385. display: flex;
  1386. flex-direction: column;
  1387. align-items: center;
  1388. gap: 16px;
  1389. padding: 28px;
  1390. background: #FFFFFF;
  1391. box-shadow: 0px 4px 24px 0px rgba(15, 23, 42, 0.06);
  1392. border-radius: 16px;
  1393. }
  1394. .home-overview-service-icon {
  1395. display: flex;
  1396. align-items: center;
  1397. justify-content: center;
  1398. padding: 16px;
  1399. border-radius: 14px;
  1400. }
  1401. .home-overview-service-card:nth-child(1) .home-overview-service-icon {
  1402. background: #F5F3FF;
  1403. }
  1404. .home-overview-service-card:nth-child(2) .home-overview-service-icon {
  1405. background: #EEF4FF;
  1406. }
  1407. .home-overview-service-card:nth-child(3) .home-overview-service-icon {
  1408. background: #ECFDF5;
  1409. }
  1410. .home-overview-service-title {
  1411. width: 100%;
  1412. font-family: PingFang SC, PingFang SC;
  1413. font-weight: 600;
  1414. font-size: 18px;
  1415. color: #0F172A;
  1416. line-height: 25px;
  1417. text-align: center;
  1418. }
  1419. .home-overview-service-desc {
  1420. width: 100%;
  1421. font-family: PingFang SC, PingFang SC;
  1422. font-weight: 400;
  1423. font-size: 16px;
  1424. color: #64748B;
  1425. line-height: 24px;
  1426. text-align: left;
  1427. }
  1428. .home-scenes {
  1429. background: #F3F7FF;
  1430. }
  1431. .home-scenes-upper {
  1432. display: flex;
  1433. flex-direction: column;
  1434. row-gap: 20px;
  1435. width: 100%;
  1436. padding: 80px 0;
  1437. background: linear-gradient(180deg, #FFFFFF 0%, #F3F7FF 100%);
  1438. border-radius: 0;
  1439. }
  1440. .home-scenes-heading {
  1441. display: flex;
  1442. flex-direction: column;
  1443. align-items: center;
  1444. gap: 8px;
  1445. .home-section-content-box();
  1446. }
  1447. .home-scenes-title {
  1448. font-family: PingFang SC, PingFang SC;
  1449. font-weight: 600;
  1450. font-size: 32px;
  1451. color: #1E293B;
  1452. line-height: 40px;
  1453. text-align: center;
  1454. }
  1455. .home-scenes-subtitle {
  1456. font-family: PingFang SC, PingFang SC;
  1457. font-weight: 400;
  1458. font-size: 16px;
  1459. color: #64748B;
  1460. line-height: 24px;
  1461. text-align: center;
  1462. }
  1463. .home-scenes-cards {
  1464. display: flex;
  1465. min-width: 0;
  1466. gap: 16px;
  1467. .home-section-content-box();
  1468. }
  1469. .home-scenes-card {
  1470. flex: 1;
  1471. min-width: 0;
  1472. display: flex;
  1473. flex-direction: column;
  1474. align-items: flex-start;
  1475. padding: 20px;
  1476. box-shadow: 0px 4px 24px 0px rgba(15, 23, 42, 0.06);
  1477. border-radius: 14px;
  1478. border: 1px solid #EEF2F7;
  1479. }
  1480. .home-scenes-card-head {
  1481. display: flex;
  1482. flex-direction: column;
  1483. align-items: flex-start;
  1484. gap: 14px;
  1485. }
  1486. .home-scenes-card-icon-box {
  1487. display: flex;
  1488. align-items: center;
  1489. justify-content: center;
  1490. flex-shrink: 0;
  1491. padding: 10px;
  1492. border-radius: 12px;
  1493. }
  1494. .home-scenes-card-icon-img {
  1495. width: 24px;
  1496. height: 24px;
  1497. object-fit: contain;
  1498. }
  1499. .home-scenes-card-title {
  1500. font-family: PingFang SC, PingFang SC;
  1501. font-weight: 600;
  1502. font-size: 18px;
  1503. color: #0F172A;
  1504. line-height: 25px;
  1505. text-align: left;
  1506. }
  1507. .home-scenes-card-desc {
  1508. margin-top: 20px;
  1509. font-family: PingFang SC, PingFang SC;
  1510. font-weight: 400;
  1511. font-size: 14px;
  1512. color: #64748B;
  1513. line-height: 20px;
  1514. text-align: left;
  1515. }
  1516. .home-scenes-card-tags {
  1517. display: flex;
  1518. flex-direction: column;
  1519. align-items: flex-start;
  1520. gap: 8px;
  1521. margin-top: 20px;
  1522. }
  1523. .home-scenes-card-tags span {
  1524. background: #F8FAFC;
  1525. border-radius: 4px;
  1526. border: 1px solid #E2E8F0;
  1527. padding: 5px 14px;
  1528. font-family: PingFang SC, PingFang SC;
  1529. font-weight: 500;
  1530. font-size: 12px;
  1531. color: #64748B;
  1532. line-height: 18px;
  1533. text-align: left;
  1534. font-style: normal;
  1535. }
  1536. .home-scenes-card-footer {
  1537. display: flex;
  1538. align-items: center;
  1539. justify-content: space-between;
  1540. width: 100%;
  1541. margin-top: auto;
  1542. padding-top: 20px;
  1543. }
  1544. .home-scenes-card-stat {
  1545. font-family: PingFang SC, PingFang SC;
  1546. font-weight: 400;
  1547. font-size: 11px;
  1548. color: #94A3B8;
  1549. line-height: 14px;
  1550. text-align: left;
  1551. }
  1552. .home-scenes-card-link {
  1553. font-family: PingFang SC, PingFang SC;
  1554. font-weight: 500;
  1555. font-size: 12px;
  1556. color: #1678FF;
  1557. line-height: 16px;
  1558. text-align: left;
  1559. text-decoration: none;
  1560. cursor: pointer;
  1561. &:link,
  1562. &:visited,
  1563. &:active {
  1564. color: #1678FF;
  1565. text-decoration: none;
  1566. }
  1567. &:hover {
  1568. color: #1678FF;
  1569. opacity: 0.8;
  1570. text-decoration: none;
  1571. }
  1572. }
  1573. .home-scenes-lower {
  1574. width: 100%;
  1575. background: #F3F7FF;
  1576. border-radius: 10px;
  1577. margin: 36px 0 0;
  1578. padding: 36px 0 80px;
  1579. box-sizing: border-box;
  1580. }
  1581. .home-scenes-demo {
  1582. display: grid;
  1583. grid-template-columns: 1fr 1fr;
  1584. align-items: start;
  1585. gap: 40px;
  1586. .home-section-content-box();
  1587. }
  1588. .home-scenes-demo-copy {
  1589. display: flex;
  1590. flex-direction: column;
  1591. align-items: flex-start;
  1592. gap: 20px;
  1593. min-width: 0;
  1594. }
  1595. .home-scenes-demo-preview {
  1596. align-self: end;
  1597. min-width: 0;
  1598. overflow: hidden;
  1599. border-radius: 10px;
  1600. }
  1601. .home-scenes-demo-preview-img {
  1602. display: block;
  1603. width: 100%;
  1604. height: auto;
  1605. object-fit: contain;
  1606. }
  1607. .home-scenes-demo-badge {
  1608. background: #FFFFFF;
  1609. border-radius: 4px;
  1610. border: 1px solid #D6E8FE;
  1611. padding: 4px 8px;
  1612. font-family: PingFang SC, PingFang SC;
  1613. font-weight: 400;
  1614. font-size: 13px;
  1615. color: #1678FF;
  1616. line-height: 18px;
  1617. text-align: left;
  1618. }
  1619. .home-scenes-demo-title {
  1620. font-family: PingFang SC, PingFang SC;
  1621. font-weight: 600;
  1622. font-size: 32px;
  1623. color: #1E293B;
  1624. line-height: 40px;
  1625. text-align: left;
  1626. }
  1627. .home-scenes-demo-desc {
  1628. font-family: PingFang SC, PingFang SC;
  1629. font-weight: 400;
  1630. font-size: 16px;
  1631. color: #64748B;
  1632. line-height: 24px;
  1633. text-align: left;
  1634. }
  1635. .home-scenes-demo-questions {
  1636. display: flex;
  1637. flex-direction: column;
  1638. gap: 20px;
  1639. width: 100%;
  1640. }
  1641. .home-scenes-demo-question {
  1642. background: #FFFFFF;
  1643. box-shadow: 0px 4px 24px 0px rgba(15, 23, 42, 0.06);
  1644. border-radius: 8px;
  1645. padding: 12px;
  1646. cursor: pointer;
  1647. }
  1648. .home-scenes-demo-question-label {
  1649. display: flex;
  1650. align-items: center;
  1651. gap: 6px;
  1652. font-family: PingFang SC, PingFang SC;
  1653. font-weight: 600;
  1654. font-size: 11px;
  1655. color: #64748B;
  1656. line-height: 16px;
  1657. text-align: left;
  1658. }
  1659. .home-scenes-demo-question-dot {
  1660. width: 6px;
  1661. height: 6px;
  1662. flex-shrink: 0;
  1663. border-radius: 6px;
  1664. }
  1665. .home-scenes-demo-question:nth-child(1) .home-scenes-demo-question-dot {
  1666. background: #059669;
  1667. }
  1668. .home-scenes-demo-question:nth-child(2) .home-scenes-demo-question-dot {
  1669. background: #3B82F6;
  1670. }
  1671. .home-scenes-demo-question:nth-child(3) .home-scenes-demo-question-dot {
  1672. background: #8B5CF6;
  1673. }
  1674. .home-scenes-demo-question-text {
  1675. font-family: PingFang SC, PingFang SC;
  1676. font-weight: 500;
  1677. font-size: 13px;
  1678. color: #334155;
  1679. line-height: 20px;
  1680. text-align: left;
  1681. }
  1682. .home-scenes-demo-question.is-active {
  1683. background: linear-gradient(107deg, #3B82F6 0%, #6366F1 100%);
  1684. box-shadow: 0px 4px 14px 0px rgba(59, 130, 246, 0.24);
  1685. }
  1686. .home-scenes-demo-question.is-active .home-scenes-demo-question-dot {
  1687. background: rgba(255, 255, 255, 0.8);
  1688. }
  1689. .home-scenes-demo-question.is-active .home-scenes-demo-question-label {
  1690. color: rgba(255, 255, 255, 0.8);
  1691. }
  1692. .home-scenes-demo-question.is-active .home-scenes-demo-question-text {
  1693. color: #FFFFFF;
  1694. }
  1695. .home-guide {
  1696. padding: 80px 0;
  1697. background: #FFFFFF;
  1698. border-radius: 0;
  1699. }
  1700. .home-guide-inner {
  1701. display: flex;
  1702. flex-direction: column;
  1703. align-items: stretch;
  1704. gap: 32px;
  1705. .home-section-content-box();
  1706. }
  1707. .home-guide-heading {
  1708. display: flex;
  1709. flex-direction: column;
  1710. align-items: center;
  1711. gap: 8px;
  1712. }
  1713. .home-guide-title {
  1714. font-family: PingFang SC, PingFang SC;
  1715. font-weight: 600;
  1716. font-size: 32px;
  1717. color: #1E293B;
  1718. line-height: 40px;
  1719. text-align: center;
  1720. }
  1721. .home-guide-subtitle {
  1722. font-family: PingFang SC, PingFang SC;
  1723. font-weight: 400;
  1724. font-size: 16px;
  1725. color: #64748B;
  1726. line-height: 24px;
  1727. text-align: center;
  1728. }
  1729. .home-guide-timeline {
  1730. display: flex;
  1731. align-items: flex-start;
  1732. justify-content: center;
  1733. margin-top: 8px;
  1734. width: 100%;
  1735. max-width: 100%;
  1736. min-width: 0;
  1737. }
  1738. .home-guide-timeline-item {
  1739. flex: 1 1 0;
  1740. min-width: 0;
  1741. max-width: 210px;
  1742. display: flex;
  1743. flex-direction: column;
  1744. align-items: center;
  1745. }
  1746. .home-guide-timeline-dot {
  1747. display: flex;
  1748. align-items: center;
  1749. justify-content: center;
  1750. width: 52px;
  1751. height: 52px;
  1752. border-radius: 52px;
  1753. font-family: PingFang SC, PingFang SC;
  1754. font-weight: 600;
  1755. font-size: 22px;
  1756. color: #FFFFFF;
  1757. line-height: 30px;
  1758. text-align: center;
  1759. }
  1760. .home-guide-timeline-item:nth-child(1) .home-guide-timeline-dot {
  1761. background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  1762. box-shadow: 0px 8px 24px 0px rgba(5, 150, 105, 0.3);
  1763. }
  1764. .home-guide-timeline-item:nth-child(3) .home-guide-timeline-dot {
  1765. background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  1766. box-shadow: 0px 8px 24px 0px rgba(59, 130, 246, 0.28);
  1767. }
  1768. .home-guide-timeline-item:nth-child(5) .home-guide-timeline-dot {
  1769. background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  1770. box-shadow: 0px 8px 24px 0px rgba(139, 92, 246, 0.28);
  1771. }
  1772. .home-guide-timeline-name {
  1773. margin-top: 10px;
  1774. width: 100%;
  1775. font-family: PingFang SC, PingFang SC;
  1776. font-weight: 600;
  1777. font-size: 20px;
  1778. line-height: 28px;
  1779. text-align: center;
  1780. }
  1781. .home-guide-timeline-item:nth-child(1) .home-guide-timeline-name {
  1782. color: #059669;
  1783. }
  1784. .home-guide-timeline-item:nth-child(3) .home-guide-timeline-name {
  1785. color: #3B82F6;
  1786. }
  1787. .home-guide-timeline-item:nth-child(5) .home-guide-timeline-name {
  1788. color: #8B5CF6;
  1789. }
  1790. .home-guide-timeline-desc {
  1791. margin-top: 2px;
  1792. width: 100%;
  1793. padding: 0 4px;
  1794. box-sizing: border-box;
  1795. font-family: PingFang SC, PingFang SC;
  1796. font-weight: 400;
  1797. font-size: 14px;
  1798. color: #64748B;
  1799. line-height: 20px;
  1800. text-align: center;
  1801. word-break: break-word;
  1802. }
  1803. .home-guide-timeline-line {
  1804. flex: 1 1 0;
  1805. min-width: 24px;
  1806. max-width: 245px;
  1807. height: 4px;
  1808. margin-top: 24px;
  1809. border-radius: 2px;
  1810. }
  1811. .home-guide-timeline-line-1 {
  1812. background: linear-gradient(270deg, #059669 0%, #3B82F6 100%);
  1813. }
  1814. .home-guide-timeline-line-2 {
  1815. background: linear-gradient(270deg, #3B82F6 0%, #8B5CF6 100%);
  1816. }
  1817. .home-guide-block {
  1818. background: #FFFFFF;
  1819. border-radius: 16px;
  1820. padding: 24px 0;
  1821. }
  1822. .home-guide-block-head {
  1823. display: flex;
  1824. align-items: flex-start;
  1825. gap: 12px;
  1826. }
  1827. .home-guide-block-num {
  1828. display: flex;
  1829. align-items: center;
  1830. justify-content: center;
  1831. width: 24px;
  1832. height: 24px;
  1833. flex-shrink: 0;
  1834. border-radius: 50%;
  1835. background: #10B981;
  1836. color: #FFFFFF;
  1837. font-size: 13px;
  1838. font-weight: 600;
  1839. }
  1840. .home-guide-block:nth-child(3) .home-guide-block-num {
  1841. background: #10B981;
  1842. }
  1843. .home-guide-block:nth-child(4) .home-guide-block-num {
  1844. background: #3B82F6;
  1845. }
  1846. .home-guide-block:nth-child(5) .home-guide-block-num {
  1847. background: #A78BFA;
  1848. }
  1849. .home-guide-block-copy {
  1850. flex: 1;
  1851. min-width: 0;
  1852. }
  1853. .home-guide-block-title {
  1854. font-size: 18px;
  1855. font-weight: 600;
  1856. color: #0F172A;
  1857. line-height: 25px;
  1858. }
  1859. .home-guide-block-desc {
  1860. margin-top: 4px;
  1861. font-size: 14px;
  1862. color: #64748B;
  1863. line-height: 20px;
  1864. }
  1865. .home-guide-token {
  1866. display: flex;
  1867. align-items: center;
  1868. gap: 8px;
  1869. flex-shrink: 0;
  1870. }
  1871. .home-guide-token-value {
  1872. padding: 8px 12px;
  1873. border-radius: 8px;
  1874. background: #0F172A;
  1875. color: #FFFFFF;
  1876. font-size: 12px;
  1877. }
  1878. .home-guide-token-btn {
  1879. padding: 8px 16px;
  1880. border: none;
  1881. border-radius: 8px;
  1882. background: #1678FF;
  1883. color: #FFFFFF;
  1884. font-size: 13px;
  1885. cursor: pointer;
  1886. }
  1887. .home-guide-block-token .home-guide-block-head {
  1888. align-items: center;
  1889. gap: 16px;
  1890. }
  1891. .home-guide-block-token .home-guide-block-num {
  1892. width: 46px;
  1893. height: 46px;
  1894. background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  1895. box-shadow: 0px 8px 20px 0px rgba(5, 150, 105, 0.24);
  1896. border-radius: 14px;
  1897. font-family: PingFang SC, PingFang SC;
  1898. font-weight: 600;
  1899. font-size: 20px;
  1900. color: #FFFFFF;
  1901. line-height: 26px;
  1902. text-align: center;
  1903. }
  1904. .home-guide-block-token .home-guide-block-title {
  1905. font-family: PingFang SC, PingFang SC;
  1906. font-weight: 600;
  1907. font-size: 22px;
  1908. color: #0F172A;
  1909. line-height: 30px;
  1910. text-align: left;
  1911. }
  1912. .home-guide-block-token .home-guide-block-desc {
  1913. font-family: PingFang SC, PingFang SC;
  1914. font-weight: 400;
  1915. font-size: 14px;
  1916. color: #64748B;
  1917. line-height: 20px;
  1918. text-align: left;
  1919. }
  1920. .home-guide-block-token .home-guide-token {
  1921. display: flex;
  1922. align-items: center;
  1923. gap: 16px;
  1924. margin-left: auto;
  1925. }
  1926. .home-guide-token-bar {
  1927. box-sizing: border-box;
  1928. display: flex;
  1929. align-items: center;
  1930. flex: 1 1 auto;
  1931. width: auto;
  1932. min-width: 0;
  1933. max-width: 400px;
  1934. height: 44px;
  1935. padding: 12px 14px;
  1936. background: #1E293B;
  1937. border-radius: 6px;
  1938. }
  1939. .home-guide-token-tag {
  1940. flex-shrink: 0;
  1941. background: #1678FF;
  1942. border-radius: 4px;
  1943. padding: 3px 8px;
  1944. font-family: PingFang SC, PingFang SC;
  1945. font-weight: 600;
  1946. font-size: 11px;
  1947. color: #FFFFFF;
  1948. line-height: 14px;
  1949. text-align: center;
  1950. }
  1951. .home-guide-block-token .home-guide-token-value {
  1952. margin-left: 8px;
  1953. padding: 0;
  1954. background: transparent;
  1955. border-radius: 0;
  1956. font-family: PingFang SC, PingFang SC;
  1957. font-weight: 500;
  1958. font-size: 13px;
  1959. color: #E5E7EB;
  1960. line-height: 18px;
  1961. text-align: left;
  1962. }
  1963. .home-guide-token-icons {
  1964. display: flex;
  1965. align-items: center;
  1966. gap: 10px;
  1967. margin-left: auto;
  1968. }
  1969. .home-guide-token-icon {
  1970. width: 24px;
  1971. height: 24px;
  1972. color: #FFFFFF;
  1973. cursor: pointer;
  1974. }
  1975. .home-guide-block-token .home-guide-token-btn {
  1976. display: inline-flex;
  1977. align-items: center;
  1978. justify-content: center;
  1979. gap: 6px;
  1980. flex-shrink: 0;
  1981. box-sizing: border-box;
  1982. min-height: 44px;
  1983. padding: 12px 16px;
  1984. border: none;
  1985. border-radius: 8px;
  1986. background: linear-gradient(107deg, #3B82F6 0%, #6366F1 100%);
  1987. box-shadow: 0px 2px 8px 0px rgba(59, 130, 246, 0.25);
  1988. font-family: PingFang SC, PingFang SC;
  1989. font-weight: 500;
  1990. font-size: 14px;
  1991. color: #FFFFFF;
  1992. line-height: 20px;
  1993. white-space: nowrap;
  1994. cursor: pointer;
  1995. }
  1996. .home-guide-token-btn-icon {
  1997. width: 14px;
  1998. height: 14px;
  1999. }
  2000. .home-guide-features {
  2001. display: flex;
  2002. align-items: center;
  2003. justify-content: space-between;
  2004. gap: 40px;
  2005. margin-top: 16px;
  2006. padding: 30px 40px;
  2007. background: #F8FAFC;
  2008. border-radius: 12px;
  2009. border: 1px solid #E2E8F0;
  2010. }
  2011. .home-guide-feature {
  2012. flex: 0 1 auto;
  2013. display: flex;
  2014. align-items: flex-start;
  2015. gap: 12px;
  2016. min-width: 0;
  2017. }
  2018. .home-guide-feature > :first-child {
  2019. flex-shrink: 0;
  2020. width: 38px;
  2021. height: 38px;
  2022. }
  2023. .home-guide-feature > div {
  2024. flex: 0 1 auto;
  2025. min-width: 0;
  2026. }
  2027. .home-guide-feature-title {
  2028. font-family: PingFang SC, PingFang SC;
  2029. font-weight: 500;
  2030. font-size: 18px;
  2031. color: #0F172A;
  2032. line-height: 26px;
  2033. text-align: left;
  2034. white-space: nowrap;
  2035. }
  2036. .home-guide-feature-desc {
  2037. font-family: PingFang SC, PingFang SC;
  2038. font-weight: 400;
  2039. font-size: 14px;
  2040. color: #64748B;
  2041. line-height: 20px;
  2042. text-align: left;
  2043. white-space: nowrap;
  2044. }
  2045. .home-guide-access-tabs {
  2046. display: flex;
  2047. gap: 24px;
  2048. margin-top: 20px;
  2049. }
  2050. .home-guide-access-tab {
  2051. padding: 0;
  2052. border: none;
  2053. background: transparent;
  2054. font-size: 14px;
  2055. color: #64748B;
  2056. cursor: pointer;
  2057. }
  2058. .home-guide-access-tab.is-active {
  2059. color: #1678FF;
  2060. font-weight: 600;
  2061. }
  2062. .home-guide-block-tools .home-guide-block-head {
  2063. align-items: center;
  2064. gap: 16px;
  2065. }
  2066. .home-guide-block-tools .home-guide-block-num {
  2067. width: 46px;
  2068. height: 46px;
  2069. background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  2070. box-shadow: 0px 8px 20px 0px rgba(59, 130, 246, 0.24);
  2071. border-radius: 14px;
  2072. font-family: PingFang SC, PingFang SC;
  2073. font-weight: 600;
  2074. font-size: 20px;
  2075. color: #FFFFFF;
  2076. line-height: 26px;
  2077. text-align: center;
  2078. }
  2079. .home-guide-block-tools .home-guide-block-title {
  2080. font-family: PingFang SC, PingFang SC;
  2081. font-weight: 600;
  2082. font-size: 22px;
  2083. color: #0F172A;
  2084. line-height: 30px;
  2085. text-align: left;
  2086. }
  2087. .home-guide-block-tools .home-guide-block-desc {
  2088. font-family: PingFang SC, PingFang SC;
  2089. font-weight: 400;
  2090. font-size: 14px;
  2091. color: #64748B;
  2092. line-height: 20px;
  2093. text-align: left;
  2094. }
  2095. .home-guide-block-tools .home-guide-access-tabs {
  2096. gap: 32px;
  2097. margin-top: 26px;
  2098. }
  2099. .home-guide-block-tools .home-guide-access-tab {
  2100. position: relative;
  2101. padding: 0 0 13px;
  2102. font-family: PingFang SC, PingFang SC;
  2103. font-weight: 400;
  2104. font-size: 18px;
  2105. color: #0F172A;
  2106. line-height: 25px;
  2107. text-align: center;
  2108. }
  2109. .home-guide-block-tools .home-guide-access-tab.is-active {
  2110. font-weight: 600;
  2111. color: #1678FF;
  2112. }
  2113. .home-guide-block-tools .home-guide-access-tab.is-active::after {
  2114. content: "";
  2115. position: absolute;
  2116. left: 0;
  2117. right: 0;
  2118. bottom: 0;
  2119. height: 3px;
  2120. background: #1678FF;
  2121. }
  2122. .home-guide-tool-panel {
  2123. margin-top: 16px;
  2124. padding: 20px;
  2125. background: #F8FAFC;
  2126. border-radius: 12px;
  2127. border: 1px solid #E2E8F0;
  2128. }
  2129. .home-guide-tool-tabs {
  2130. display: flex;
  2131. justify-content: center;
  2132. gap: 12px;
  2133. }
  2134. .home-guide-tool-tab {
  2135. display: inline-flex;
  2136. align-items: center;
  2137. justify-content: center;
  2138. gap: 8px;
  2139. margin: 0;
  2140. padding: 10px 20px;
  2141. border: 1px solid #E2E8F0;
  2142. border-radius: 12px;
  2143. background: #FFFFFF;
  2144. font-family: PingFang SC, PingFang SC;
  2145. font-weight: 500;
  2146. font-size: 14px;
  2147. color: #475569;
  2148. line-height: 20px;
  2149. text-align: center;
  2150. cursor: pointer;
  2151. }
  2152. .home-guide-tool-tab-icon {
  2153. width: 20px;
  2154. height: 20px;
  2155. flex-shrink: 0;
  2156. }
  2157. .home-guide-tool-tab.is-active {
  2158. border: none;
  2159. background: linear-gradient(107deg, #3B82F6 0%, #6366F1 100%);
  2160. box-shadow: 0px 4px 14px 0px rgba(59, 130, 246, 0.24);
  2161. font-weight: 600;
  2162. color: #FFFFFF;
  2163. }
  2164. .home-guide-tool-body {
  2165. display: flex;
  2166. gap: 20px;
  2167. margin-top: 20px;
  2168. align-items: stretch;
  2169. min-width: 0;
  2170. }
  2171. .home-guide-pending-body {
  2172. min-height: 280px;
  2173. }
  2174. .home-guide-ima-body {
  2175. align-items: stretch;
  2176. }
  2177. .home-guide-doubao-body {
  2178. align-items: flex-start;
  2179. min-width: 0;
  2180. }
  2181. .home-guide-doubao-body .home-guide-ima-left {
  2182. flex: 1 1 0;
  2183. min-width: 0;
  2184. }
  2185. .home-guide-doubao-right {
  2186. flex: 1 1 0;
  2187. min-width: 0;
  2188. max-width: 608px;
  2189. display: flex;
  2190. justify-content: flex-end;
  2191. align-items: flex-start;
  2192. }
  2193. .home-guide-doubao-img {
  2194. display: block;
  2195. width: 100%;
  2196. max-width: 100%;
  2197. height: auto;
  2198. object-fit: contain;
  2199. }
  2200. .home-guide-ima-left,
  2201. .home-guide-ima-right {
  2202. flex: 1;
  2203. min-width: 0;
  2204. display: flex;
  2205. flex-direction: column;
  2206. }
  2207. .home-guide-ima-right {
  2208. gap: 16px;
  2209. }
  2210. .home-guide-ima-alert {
  2211. display: flex;
  2212. align-items: center;
  2213. gap: 10px;
  2214. padding: 12px 16px;
  2215. background: #FFF7E6;
  2216. border-radius: 12px;
  2217. border: 1px solid #FFD591;
  2218. }
  2219. .home-guide-ima-alert-icon {
  2220. width: 16px;
  2221. height: 16px;
  2222. flex-shrink: 0;
  2223. color: #F59E0B;
  2224. }
  2225. .home-guide-ima-alert-text {
  2226. flex: 1;
  2227. min-width: 0;
  2228. font-family: PingFang SC, PingFang SC;
  2229. font-weight: 400;
  2230. font-size: 13px;
  2231. color: #78350F;
  2232. line-height: 20px;
  2233. text-align: left;
  2234. }
  2235. .home-guide-ima-steps {
  2236. display: flex;
  2237. flex-direction: column;
  2238. gap: 18px;
  2239. margin-top: 18px;
  2240. }
  2241. .home-guide-ima-step {
  2242. display: flex;
  2243. align-items: center;
  2244. gap: 16px;
  2245. }
  2246. .home-guide-ima-step-num {
  2247. display: flex;
  2248. align-items: center;
  2249. justify-content: center;
  2250. flex-shrink: 0;
  2251. width: 32px;
  2252. height: 32px;
  2253. background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  2254. box-shadow: 0px 4px 12px 0px rgba(59, 130, 246, 0.3);
  2255. border-radius: 10px;
  2256. font-family: PingFang SC, PingFang SC;
  2257. font-weight: 600;
  2258. font-size: 15px;
  2259. color: #FFFFFF;
  2260. line-height: 20px;
  2261. text-align: center;
  2262. }
  2263. .home-guide-ima-step-title {
  2264. flex: 1;
  2265. min-width: 0;
  2266. font-family: PingFang SC, PingFang SC;
  2267. font-weight: 400;
  2268. font-size: 14px;
  2269. color: #1F2937;
  2270. line-height: 22px;
  2271. text-align: left;
  2272. }
  2273. .home-guide-ima-notes {
  2274. margin-top: 20px;
  2275. }
  2276. .home-guide-ima-notes-title {
  2277. font-family: PingFang SC, PingFang SC;
  2278. font-weight: 600;
  2279. font-size: 14px;
  2280. color: #1F2937;
  2281. line-height: 20px;
  2282. text-align: left;
  2283. }
  2284. .home-guide-ima-notes-list {
  2285. display: flex;
  2286. flex-direction: column;
  2287. gap: 8px;
  2288. margin: 8px 0 0;
  2289. padding: 0;
  2290. list-style: none;
  2291. }
  2292. .home-guide-ima-notes-list li {
  2293. display: flex;
  2294. align-items: flex-start;
  2295. gap: 8px;
  2296. font-family: PingFang SC, PingFang SC;
  2297. font-weight: 400;
  2298. font-size: 13px;
  2299. color: #6B7280;
  2300. line-height: 20px;
  2301. text-align: left;
  2302. }
  2303. .home-guide-ima-notes-list li::before {
  2304. content: "";
  2305. flex-shrink: 0;
  2306. width: 6px;
  2307. height: 6px;
  2308. margin-top: 7px;
  2309. background: #1678FF;
  2310. border-radius: 6px;
  2311. }
  2312. .home-guide-ima-panel {
  2313. display: flex;
  2314. flex-direction: column;
  2315. padding: 20px;
  2316. background: #1E293B;
  2317. border-radius: 12px;
  2318. }
  2319. .home-guide-ima-panel--config {
  2320. gap: 10px;
  2321. }
  2322. .home-guide-ima-panel--verify {
  2323. gap: 12px;
  2324. }
  2325. .home-guide-ima-panel-title {
  2326. font-family: PingFang SC, PingFang SC;
  2327. font-weight: 600;
  2328. font-size: 12px;
  2329. color: #94A3B8;
  2330. line-height: 16px;
  2331. text-align: left;
  2332. }
  2333. .home-guide-ima-panel-line {
  2334. font-family: PingFang SC, PingFang SC;
  2335. font-weight: 400;
  2336. font-size: 13px;
  2337. color: #E2E8F0;
  2338. line-height: 20px;
  2339. text-align: left;
  2340. }
  2341. .home-guide-ima-panel-hint {
  2342. font-family: PingFang SC, PingFang SC;
  2343. font-weight: 400;
  2344. font-size: 13px;
  2345. color: #94A3B8;
  2346. line-height: 20px;
  2347. text-align: left;
  2348. }
  2349. .home-guide-ima-quote {
  2350. width: fit-content;
  2351. max-width: 100%;
  2352. box-sizing: border-box;
  2353. padding: 6px 16px;
  2354. background: #213040;
  2355. border-radius: 4px;
  2356. border: 1px solid #454E5A;
  2357. font-family: PingFang SC, PingFang SC;
  2358. font-weight: 600;
  2359. font-size: 12px;
  2360. color: #86EFAC;
  2361. line-height: 16px;
  2362. text-align: center;
  2363. }
  2364. .home-guide-ima-check {
  2365. display: flex;
  2366. align-items: center;
  2367. gap: 9px;
  2368. }
  2369. .home-guide-ima-check-marks {
  2370. display: inline-flex;
  2371. align-items: center;
  2372. gap: 9px;
  2373. flex-shrink: 0;
  2374. font-family: PingFang SC, PingFang SC;
  2375. font-weight: 400;
  2376. font-size: 13px;
  2377. color: #10B981;
  2378. line-height: 20px;
  2379. }
  2380. .home-guide-ima-check-text {
  2381. font-family: PingFang SC, PingFang SC;
  2382. font-weight: 400;
  2383. font-size: 13px;
  2384. color: #E2E8F0;
  2385. line-height: 20px;
  2386. text-align: left;
  2387. }
  2388. .home-guide-cli-body {
  2389. display: grid;
  2390. grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  2391. grid-template-areas:
  2392. "head ."
  2393. "title panel"
  2394. "steps panel";
  2395. column-gap: 20px;
  2396. row-gap: 20px;
  2397. }
  2398. .home-guide-cli-head {
  2399. grid-area: head;
  2400. display: flex;
  2401. align-items: center;
  2402. gap: 14px;
  2403. }
  2404. .home-guide-cli-logo-icon {
  2405. width: 38px;
  2406. height: 38px;
  2407. flex-shrink: 0;
  2408. }
  2409. .home-guide-cli-head-copy {
  2410. min-width: 0;
  2411. }
  2412. .home-guide-cli-name {
  2413. display: flex;
  2414. align-items: center;
  2415. flex-wrap: wrap;
  2416. }
  2417. .home-guide-cli-pkg {
  2418. font-family: Menlo, Menlo;
  2419. font-weight: 700;
  2420. font-size: 14px;
  2421. color: #0F172A;
  2422. line-height: 20px;
  2423. text-align: left;
  2424. }
  2425. .home-guide-cli-sep {
  2426. margin: 0 8px;
  2427. font-family: PingFang SC, PingFang SC;
  2428. font-weight: 400;
  2429. font-size: 14px;
  2430. color: #64748B;
  2431. line-height: 20px;
  2432. }
  2433. .home-guide-cli-alias {
  2434. font-family: PingFang SC, PingFang SC;
  2435. font-weight: 400;
  2436. font-size: 14px;
  2437. color: #64748B;
  2438. line-height: 20px;
  2439. text-align: left;
  2440. }
  2441. .home-guide-cli-tip {
  2442. margin-top: 2px;
  2443. font-family: PingFang SC, PingFang SC;
  2444. font-weight: 400;
  2445. font-size: 12px;
  2446. color: #94A3B8;
  2447. line-height: 16px;
  2448. text-align: left;
  2449. }
  2450. .home-guide-cli-steps-title {
  2451. grid-area: title;
  2452. margin: 0;
  2453. font-family: PingFang SC, PingFang SC;
  2454. font-weight: 500;
  2455. font-size: 16px;
  2456. color: #0F172A;
  2457. line-height: 24px;
  2458. text-align: left;
  2459. }
  2460. .home-guide-cli-steps {
  2461. grid-area: steps;
  2462. min-width: 0;
  2463. }
  2464. .home-guide-cli-panel {
  2465. grid-area: panel;
  2466. align-self: stretch;
  2467. min-width: 0;
  2468. display: flex;
  2469. flex-direction: column;
  2470. overflow: hidden;
  2471. border-radius: 12px;
  2472. background: #1E293B;
  2473. }
  2474. .home-guide-cli-step {
  2475. display: flex;
  2476. align-items: flex-start;
  2477. gap: 12px;
  2478. padding: 20px 0;
  2479. border-bottom: 1px solid #E2E8F0;
  2480. }
  2481. .home-guide-cli-step:first-child {
  2482. padding-top: 0;
  2483. }
  2484. .home-guide-cli-step:last-child {
  2485. border-bottom: none;
  2486. padding-bottom: 0;
  2487. }
  2488. .home-guide-cli-step-num {
  2489. display: flex;
  2490. align-items: center;
  2491. justify-content: center;
  2492. flex-shrink: 0;
  2493. width: 32px;
  2494. height: 32px;
  2495. background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  2496. box-shadow: 0px 4px 12px 0px rgba(139, 92, 246, 0.3);
  2497. border-radius: 10px;
  2498. font-family: PingFang SC, PingFang SC;
  2499. font-weight: 600;
  2500. font-size: 15px;
  2501. color: #FFFFFF;
  2502. line-height: 20px;
  2503. text-align: center;
  2504. }
  2505. .home-guide-cli-step-copy {
  2506. min-width: 0;
  2507. }
  2508. .home-guide-cli-step-title {
  2509. font-family: PingFang SC, PingFang SC;
  2510. font-weight: 500;
  2511. font-size: 16px;
  2512. color: #0F172A;
  2513. line-height: 24px;
  2514. text-align: left;
  2515. }
  2516. .home-guide-cli-step-desc {
  2517. font-family: PingFang SC, PingFang SC;
  2518. font-weight: 400;
  2519. font-size: 14px;
  2520. color: #64748B;
  2521. line-height: 20px;
  2522. text-align: left;
  2523. }
  2524. .home-guide-cli-list {
  2525. display: flex;
  2526. flex-direction: column;
  2527. gap: 10px;
  2528. padding: 14px 16px;
  2529. background: #1E293B;
  2530. }
  2531. .home-guide-cli-command {
  2532. display: flex;
  2533. align-items: flex-start;
  2534. justify-content: space-between;
  2535. gap: 12px;
  2536. padding: 12px;
  2537. background: #0F172A;
  2538. border-radius: 10px;
  2539. }
  2540. .home-guide-cli-command-main {
  2541. min-width: 0;
  2542. flex: 1;
  2543. }
  2544. .home-guide-cli-command-label {
  2545. display: flex;
  2546. align-items: center;
  2547. gap: 6px;
  2548. font-family: PingFang SC, PingFang SC;
  2549. font-weight: 600;
  2550. font-size: 11px;
  2551. color: #94A3B8;
  2552. line-height: 16px;
  2553. text-align: left;
  2554. white-space: nowrap;
  2555. }
  2556. .home-guide-cli-command-dot {
  2557. width: 6px;
  2558. height: 6px;
  2559. flex-shrink: 0;
  2560. background: #A78BFA;
  2561. border-radius: 6px;
  2562. }
  2563. .home-guide-cli-command-text {
  2564. display: block;
  2565. margin-top: 6px;
  2566. min-width: 0;
  2567. white-space: pre-wrap;
  2568. word-break: break-all;
  2569. font-family: Consolas, Monaco, monospace;
  2570. font-size: 13px;
  2571. color: #7DD3FC;
  2572. line-height: 18px;
  2573. }
  2574. .home-guide-cli-command-copy {
  2575. display: inline-flex;
  2576. align-items: center;
  2577. gap: 4px;
  2578. margin: 0;
  2579. padding: 4px 8px;
  2580. border: none;
  2581. border-radius: 6px;
  2582. background: rgba(139, 92, 246, 0.2);
  2583. font-family: PingFang SC, PingFang SC;
  2584. font-weight: 600;
  2585. font-size: 11px;
  2586. color: #A78BFA;
  2587. line-height: 14px;
  2588. text-align: left;
  2589. cursor: pointer;
  2590. white-space: nowrap;
  2591. }
  2592. .home-guide-cli-command-copy-icon {
  2593. width: 12px;
  2594. height: 12px;
  2595. }
  2596. .home-guide-cli-footer {
  2597. display: flex;
  2598. align-items: center;
  2599. justify-content: space-between;
  2600. gap: 12px;
  2601. margin-top: auto;
  2602. padding: 18px 16px;
  2603. background: #0F172A;
  2604. border: 0 solid #334155;
  2605. }
  2606. .home-guide-cli-footer-tip {
  2607. font-family: PingFang SC, PingFang SC;
  2608. font-weight: 400;
  2609. font-size: 12px;
  2610. color: #94A3B8;
  2611. line-height: 16px;
  2612. text-align: left;
  2613. }
  2614. .home-guide-cli-copy-all {
  2615. display: inline-flex;
  2616. align-items: center;
  2617. gap: 6px;
  2618. margin: 0;
  2619. padding: 6px 12px;
  2620. border: none;
  2621. border-radius: 8px;
  2622. background: #1678FF;
  2623. font-family: PingFang SC, PingFang SC;
  2624. font-weight: 600;
  2625. font-size: 12px;
  2626. color: #FFFFFF;
  2627. line-height: 16px;
  2628. text-align: left;
  2629. cursor: pointer;
  2630. }
  2631. .home-guide-cli-copy-all-icon {
  2632. width: 12px;
  2633. height: 12px;
  2634. }
  2635. .home-guide-tool-steps,
  2636. .home-guide-code {
  2637. flex: 1;
  2638. min-width: 0;
  2639. }
  2640. .home-guide-tool-steps {
  2641. display: flex;
  2642. flex-direction: column;
  2643. }
  2644. .home-guide-tool-step+.home-guide-tool-step {
  2645. margin-top: 18px;
  2646. }
  2647. .home-guide-tool-step {
  2648. display: flex;
  2649. align-items: flex-start;
  2650. gap: 16px;
  2651. }
  2652. .home-guide-tool-step-num {
  2653. display: flex;
  2654. align-items: center;
  2655. justify-content: center;
  2656. flex-shrink: 0;
  2657. width: 32px;
  2658. height: 32px;
  2659. background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  2660. box-shadow: 0px 4px 12px 0px rgba(59, 130, 246, 0.3);
  2661. border-radius: 10px;
  2662. font-family: PingFang SC, PingFang SC;
  2663. font-weight: 600;
  2664. font-size: 15px;
  2665. color: #FFFFFF;
  2666. line-height: 20px;
  2667. text-align: center;
  2668. }
  2669. .home-guide-tool-step-copy {
  2670. flex: 1;
  2671. min-width: 0;
  2672. }
  2673. .home-guide-tool-step-title {
  2674. font-family: PingFang SC, PingFang SC;
  2675. font-weight: 500;
  2676. font-size: 16px;
  2677. color: #0F172A;
  2678. line-height: 24px;
  2679. text-align: left;
  2680. }
  2681. .home-guide-tool-step-desc {
  2682. font-family: PingFang SC, PingFang SC;
  2683. font-weight: 400;
  2684. font-size: 14px;
  2685. color: #64748B;
  2686. line-height: 20px;
  2687. text-align: left;
  2688. }
  2689. .home-guide-note {
  2690. margin-top: 20px;
  2691. padding: 16px;
  2692. background: linear-gradient(107deg, #FFFBEB 0%, #FEF3C7 100%);
  2693. border-radius: 12px;
  2694. border: 1px solid #FDE68A;
  2695. }
  2696. .home-guide-note-head {
  2697. display: flex;
  2698. align-items: center;
  2699. gap: 8px;
  2700. }
  2701. .home-guide-note-icon-box {
  2702. display: flex;
  2703. align-items: center;
  2704. justify-content: center;
  2705. flex-shrink: 0;
  2706. padding: 6px;
  2707. background: #F59E0B;
  2708. border-radius: 6px;
  2709. }
  2710. .home-guide-note-icon {
  2711. width: 12px;
  2712. height: 12px;
  2713. color: #FFFFFF;
  2714. }
  2715. .home-guide-note-title {
  2716. font-family: PingFang SC, PingFang SC;
  2717. font-weight: 500;
  2718. font-size: 15px;
  2719. color: #92400E;
  2720. line-height: 22px;
  2721. text-align: left;
  2722. }
  2723. .home-guide-note-list {
  2724. margin: 10px 0 0;
  2725. padding-left: 18px;
  2726. list-style: disc;
  2727. font-family: PingFang SC, PingFang SC;
  2728. font-weight: 400;
  2729. font-size: 13px;
  2730. color: #78350F;
  2731. line-height: 20px;
  2732. text-align: left;
  2733. }
  2734. .home-guide-note-list li {
  2735. margin-bottom: 10px;
  2736. }
  2737. .home-guide-note-list li:last-child {
  2738. margin-bottom: 0;
  2739. }
  2740. .home-guide-note-list li::marker {
  2741. color: #D97706;
  2742. }
  2743. .home-guide-code {
  2744. position: relative;
  2745. overflow: hidden;
  2746. border-radius: 12px;
  2747. background: #1E293B;
  2748. box-shadow: 0px 8px 24px 0px rgba(15, 23, 42, 0.18);
  2749. /* 高度由左侧步骤区撑开,代码内容不撑高整块区域 */
  2750. }
  2751. .home-guide-code-bar {
  2752. position: absolute;
  2753. top: 0;
  2754. left: 0;
  2755. right: 0;
  2756. z-index: 1;
  2757. display: flex;
  2758. align-items: center;
  2759. justify-content: space-between;
  2760. padding: 12px 14px;
  2761. border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  2762. background: #1E293B;
  2763. }
  2764. .home-guide-code-dots {
  2765. display: flex;
  2766. align-items: center;
  2767. gap: 6px;
  2768. width: 72px;
  2769. }
  2770. .home-guide-code-dots span {
  2771. width: 10px;
  2772. height: 10px;
  2773. border-radius: 50%;
  2774. }
  2775. .home-guide-code-dots span:nth-child(1) {
  2776. background: #FF5F57;
  2777. }
  2778. .home-guide-code-dots span:nth-child(2) {
  2779. background: #FEBC2E;
  2780. }
  2781. .home-guide-code-dots span:nth-child(3) {
  2782. background: #28C840;
  2783. }
  2784. .home-guide-code-title {
  2785. position: absolute;
  2786. left: 50%;
  2787. transform: translateX(-50%);
  2788. font-family: PingFang SC, PingFang SC;
  2789. font-weight: 500;
  2790. font-size: 13px;
  2791. color: #94A3B8;
  2792. line-height: 18px;
  2793. }
  2794. .home-guide-code-copy {
  2795. display: inline-flex;
  2796. align-items: center;
  2797. gap: 4px;
  2798. margin: 0;
  2799. padding: 6px 10px;
  2800. border: none;
  2801. border-radius: 6px;
  2802. background: #1678FF;
  2803. font-family: PingFang SC, PingFang SC;
  2804. font-weight: 500;
  2805. font-size: 12px;
  2806. color: #FFFFFF;
  2807. line-height: 16px;
  2808. cursor: pointer;
  2809. }
  2810. .home-guide-code-copy-icon {
  2811. width: 14px;
  2812. height: 14px;
  2813. }
  2814. .home-guide-code-body {
  2815. position: absolute;
  2816. top: 49px;
  2817. right: 0;
  2818. bottom: 0;
  2819. left: 0;
  2820. display: flex;
  2821. gap: 14px;
  2822. padding: 14px 16px 18px;
  2823. overflow: auto;
  2824. }
  2825. .home-guide-code-lines {
  2826. display: flex;
  2827. flex-direction: column;
  2828. flex-shrink: 0;
  2829. font-family: Consolas, Monaco, monospace;
  2830. font-size: 13px;
  2831. color: #64748B;
  2832. line-height: 22px;
  2833. text-align: right;
  2834. user-select: none;
  2835. }
  2836. .home-guide-code-pre {
  2837. margin: 0;
  2838. flex: 1;
  2839. min-width: 0;
  2840. font-family: Consolas, Monaco, monospace;
  2841. font-size: 13px;
  2842. line-height: 22px;
  2843. white-space: pre-wrap;
  2844. word-break: break-all;
  2845. color: #E2E8F0;
  2846. }
  2847. .home-guide-code-pre .code-key {
  2848. color: #7DD3FC;
  2849. }
  2850. .home-guide-code-pre .code-string {
  2851. color: #86EFAC;
  2852. }
  2853. .home-guide-code-pre .code-punct {
  2854. color: #CBD5E1;
  2855. }
  2856. .home-guide-block-verify .home-guide-block-head {
  2857. align-items: center;
  2858. gap: 12px;
  2859. }
  2860. .home-guide-block-verify .home-guide-block-num {
  2861. width: 46px;
  2862. height: 46px;
  2863. background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  2864. box-shadow: 0px 8px 20px 0px rgba(139, 92, 246, 0.24);
  2865. border-radius: 14px;
  2866. font-family: PingFang SC, PingFang SC;
  2867. font-weight: 600;
  2868. font-size: 20px;
  2869. color: #FFFFFF;
  2870. line-height: 26px;
  2871. text-align: center;
  2872. }
  2873. .home-guide-block-verify .home-guide-block-title {
  2874. font-family: PingFang SC, PingFang SC;
  2875. font-weight: 600;
  2876. font-size: 20px;
  2877. color: #0F172A;
  2878. line-height: 28px;
  2879. text-align: left;
  2880. }
  2881. .home-guide-block-verify .home-guide-block-desc {
  2882. margin-top: 2px;
  2883. font-family: PingFang SC, PingFang SC;
  2884. font-weight: 400;
  2885. font-size: 14px;
  2886. color: #64748B;
  2887. line-height: 20px;
  2888. text-align: left;
  2889. }
  2890. .home-guide-verify {
  2891. display: flex;
  2892. gap: 16px;
  2893. margin-top: 16px;
  2894. }
  2895. .home-guide-verify-card {
  2896. flex: 1;
  2897. min-width: 0;
  2898. padding: 20px;
  2899. background: #F8FAFC;
  2900. border-radius: 12px;
  2901. border: 1px solid #E2E8F0;
  2902. }
  2903. .home-guide-verify-line {
  2904. height: 4px;
  2905. border-radius: 0;
  2906. }
  2907. .home-guide-verify-card:nth-child(1) .home-guide-verify-line {
  2908. background: linear-gradient(270deg, #059669 0%, #10B981 100%);
  2909. }
  2910. .home-guide-verify-card:nth-child(2) .home-guide-verify-line {
  2911. background: linear-gradient(270deg, #3B82F6 0%, #60A5FA 100%);
  2912. }
  2913. .home-guide-verify-card:nth-child(3) .home-guide-verify-line {
  2914. background: linear-gradient(270deg, #8B5CF6 0%, #A78BFA 100%);
  2915. }
  2916. .home-guide-verify-head {
  2917. display: flex;
  2918. align-items: center;
  2919. gap: 10px;
  2920. margin-top: 10px;
  2921. }
  2922. .home-guide-verify-icon-box {
  2923. display: flex;
  2924. align-items: center;
  2925. justify-content: center;
  2926. flex-shrink: 0;
  2927. padding: 10px;
  2928. border-radius: 10px;
  2929. }
  2930. .home-guide-verify-card:nth-child(1) .home-guide-verify-icon-box {
  2931. background: #ECFDF5;
  2932. }
  2933. .home-guide-verify-card:nth-child(2) .home-guide-verify-icon-box {
  2934. background: #DBEAFE;
  2935. }
  2936. .home-guide-verify-card:nth-child(3) .home-guide-verify-icon-box {
  2937. background: #F3E8FF;
  2938. }
  2939. .home-guide-verify-title {
  2940. font-family: PingFang SC, PingFang SC;
  2941. font-weight: 600;
  2942. font-size: 16px;
  2943. color: #0F172A;
  2944. line-height: 24px;
  2945. text-align: left;
  2946. }
  2947. .home-guide-verify-list {
  2948. display: flex;
  2949. flex-direction: column;
  2950. gap: 10px;
  2951. margin-top: 10px;
  2952. }
  2953. .home-guide-verify-item {
  2954. display: flex;
  2955. align-items: center;
  2956. justify-content: space-between;
  2957. gap: 8px;
  2958. padding: 12px 10px;
  2959. background: #FFFFFF;
  2960. border-radius: 10px;
  2961. font-family: PingFang SC, PingFang SC;
  2962. font-weight: 500;
  2963. font-size: 13px;
  2964. color: #334155;
  2965. line-height: 20px;
  2966. text-align: left;
  2967. }
  2968. .home-guide-verify-item span {
  2969. flex: 1;
  2970. min-width: 0;
  2971. white-space: nowrap;
  2972. overflow: hidden;
  2973. text-overflow: ellipsis;
  2974. }
  2975. .home-guide-verify-copy {
  2976. flex-shrink: 0;
  2977. color: #94A3B8;
  2978. cursor: pointer;
  2979. }
  2980. .home-footer {
  2981. background: #F5F7FA;
  2982. border-radius: 0;
  2983. padding: 70px 0;
  2984. .home-footer-inner {
  2985. box-sizing: border-box;
  2986. flex-direction: row;
  2987. justify-content: space-between;
  2988. align-items: flex-start;
  2989. gap: 24px;
  2990. }
  2991. .home-footer-left {
  2992. flex: 1;
  2993. min-width: 0;
  2994. }
  2995. .home-footer-left,
  2996. .home-footer-right {
  2997. display: flex;
  2998. flex-direction: column;
  2999. gap: 16px;
  3000. }
  3001. .home-footer-right {
  3002. flex-shrink: 0;
  3003. align-items: flex-end;
  3004. }
  3005. .home-footer-brand {
  3006. display: flex;
  3007. align-items: center;
  3008. gap: 8px;
  3009. }
  3010. .home-footer-brand-icon {
  3011. width: 24px;
  3012. height: 24px;
  3013. flex-shrink: 0;
  3014. }
  3015. .home-footer-brand-text {
  3016. font-family: PingFang SC, PingFang SC;
  3017. font-weight: 400;
  3018. font-size: 16px;
  3019. color: #333333;
  3020. line-height: 24px;
  3021. text-align: left;
  3022. }
  3023. .home-footer-legal {
  3024. margin: 0;
  3025. display: flex;
  3026. align-items: center;
  3027. flex-wrap: wrap;
  3028. font-family: PingFang SC, PingFang SC;
  3029. font-weight: 300;
  3030. font-size: 12px;
  3031. color: #666666;
  3032. line-height: 20px;
  3033. text-align: left;
  3034. }
  3035. .home-footer-legal-sep {
  3036. margin: 0 4px;
  3037. }
  3038. .home-footer-icons {
  3039. display: flex;
  3040. align-items: center;
  3041. gap: 16px;
  3042. }
  3043. .home-footer-icon-item {
  3044. position: relative;
  3045. display: inline-flex;
  3046. align-items: center;
  3047. justify-content: center;
  3048. &:hover {
  3049. .home-footer-popover {
  3050. opacity: 1;
  3051. visibility: visible;
  3052. transform: translateX(-50%) translateY(0);
  3053. pointer-events: auto;
  3054. }
  3055. }
  3056. }
  3057. .home-footer-icon {
  3058. cursor: pointer;
  3059. }
  3060. .home-footer-popover {
  3061. box-sizing: border-box;
  3062. position: absolute;
  3063. left: 50%;
  3064. bottom: calc(100% + 10px);
  3065. z-index: 20;
  3066. display: flex;
  3067. flex-direction: column;
  3068. align-items: center;
  3069. gap: 4px;
  3070. width: 140px;
  3071. padding: 10px;
  3072. background: #FFFFFF;
  3073. box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
  3074. border-radius: 8px;
  3075. opacity: 0;
  3076. visibility: hidden;
  3077. transform: translateX(-50%) translateY(4px);
  3078. pointer-events: none;
  3079. transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  3080. }
  3081. .home-footer-popover-img {
  3082. display: block;
  3083. width: 100%;
  3084. height: auto;
  3085. }
  3086. .home-footer-popover-title {
  3087. font-family: PingFang SC, PingFang SC;
  3088. font-weight: 400;
  3089. font-size: 14px;
  3090. color: #333333;
  3091. line-height: 20px;
  3092. text-align: left;
  3093. }
  3094. .home-footer-popover-sub {
  3095. font-family: PingFang SC, PingFang SC;
  3096. font-weight: 400;
  3097. font-size: 12px;
  3098. color: #666666;
  3099. line-height: 16px;
  3100. text-align: left;
  3101. }
  3102. .home-footer-links {
  3103. display: flex;
  3104. align-items: center;
  3105. gap: 24px;
  3106. white-space: nowrap;
  3107. }
  3108. .home-footer-link {
  3109. font-family: PingFang SC, PingFang SC;
  3110. font-weight: 300;
  3111. font-size: 14px;
  3112. color: #333333;
  3113. line-height: 20px;
  3114. text-align: left;
  3115. text-decoration: none;
  3116. cursor: pointer;
  3117. &:link,
  3118. &:visited,
  3119. &:active {
  3120. color: #333333;
  3121. text-decoration: none;
  3122. }
  3123. &:hover {
  3124. color: #1678FF;
  3125. text-decoration: none;
  3126. }
  3127. }
  3128. }
  3129. @media (max-width: 1200px) {
  3130. .home-page {
  3131. --home-inline-padding: 40px;
  3132. }
  3133. .home-hero {
  3134. padding-top: 48px;
  3135. padding-bottom: 48px;
  3136. gap: 0;
  3137. }
  3138. .home-hero-visual {
  3139. display: none;
  3140. }
  3141. .home-hero-copy {
  3142. flex: 1 1 auto;
  3143. width: 100%;
  3144. max-width: 100%;
  3145. }
  3146. .home-hero-title-main {
  3147. font-size: 40px;
  3148. line-height: 56px;
  3149. }
  3150. .home-hero-title-sub {
  3151. font-size: 32px;
  3152. line-height: 44px;
  3153. }
  3154. .home-hero-desc {
  3155. margin-top: 40px;
  3156. font-size: 16px;
  3157. line-height: 28px;
  3158. }
  3159. .home-hero-actions {
  3160. margin-top: 48px;
  3161. }
  3162. .home-overview-inner {
  3163. gap: 80px;
  3164. }
  3165. .home-overview-stat-card {
  3166. padding: 24px 12px;
  3167. }
  3168. .home-overview-stat-card .home-overview-card-label {
  3169. font-size: 16px;
  3170. line-height: 22px;
  3171. }
  3172. .home-scenes-lower {
  3173. padding-top: 36px;
  3174. padding-bottom: 36px;
  3175. }
  3176. .home-scenes-demo {
  3177. grid-template-columns: 1fr;
  3178. gap: 32px;
  3179. }
  3180. .home-scenes-demo-preview {
  3181. align-self: stretch;
  3182. width: 100%;
  3183. }
  3184. .home-guide-timeline-item {
  3185. max-width: 160px;
  3186. }
  3187. .home-guide-timeline-dot {
  3188. width: 44px;
  3189. height: 44px;
  3190. font-size: 18px;
  3191. line-height: 26px;
  3192. }
  3193. .home-guide-timeline-name {
  3194. margin-top: 8px;
  3195. font-size: 16px;
  3196. line-height: 22px;
  3197. }
  3198. .home-guide-timeline-desc {
  3199. font-size: 12px;
  3200. line-height: 18px;
  3201. }
  3202. .home-guide-timeline-line {
  3203. max-width: 100px;
  3204. margin-top: 20px;
  3205. }
  3206. .home-guide-doubao-body {
  3207. flex-direction: column;
  3208. align-items: stretch;
  3209. }
  3210. .home-guide-doubao-right {
  3211. max-width: 100%;
  3212. justify-content: center;
  3213. }
  3214. .home-guide-tool-body:not(.home-guide-ima-body) {
  3215. flex-direction: column;
  3216. align-items: stretch;
  3217. }
  3218. .home-guide-tool-body:not(.home-guide-ima-body) .home-guide-tool-steps {
  3219. flex: none;
  3220. width: 100%;
  3221. }
  3222. .home-guide-tool-body:not(.home-guide-ima-body) .home-guide-code {
  3223. flex: none;
  3224. width: 100%;
  3225. min-height: 360px;
  3226. }
  3227. }
  3228. @media (max-width: 768px) {
  3229. .home-page {
  3230. --home-inline-padding: 24px;
  3231. }
  3232. .home-hero {
  3233. padding-top: 32px;
  3234. padding-bottom: 32px;
  3235. }
  3236. .home-hero-title {
  3237. margin-top: 20px;
  3238. }
  3239. .home-hero-title-main {
  3240. font-size: 32px;
  3241. line-height: 44px;
  3242. }
  3243. .home-hero-title-sub {
  3244. font-size: 24px;
  3245. line-height: 34px;
  3246. }
  3247. .home-hero-desc {
  3248. margin-top: 24px;
  3249. font-size: 14px;
  3250. line-height: 24px;
  3251. }
  3252. .home-hero-actions {
  3253. margin-top: 32px;
  3254. gap: 12px;
  3255. }
  3256. .home-hero-btn {
  3257. font-size: 14px;
  3258. }
  3259. .home-hero-btn-primary,
  3260. .home-hero-btn-secondary {
  3261. padding: 12px 20px;
  3262. }
  3263. .home-overview-inner {
  3264. gap: 48px;
  3265. }
  3266. .home-overview,
  3267. .home-scenes-upper,
  3268. .home-guide {
  3269. padding-top: 48px;
  3270. padding-bottom: 48px;
  3271. }
  3272. .home-overview-stats,
  3273. .home-overview-services,
  3274. .home-scenes-cards {
  3275. flex-direction: column;
  3276. }
  3277. .home-overview-stat-card,
  3278. .home-overview-service-card,
  3279. .home-scenes-card {
  3280. width: 100%;
  3281. }
  3282. .home-overview-stat-card {
  3283. padding: 24px 20px;
  3284. }
  3285. .home-scenes-lower {
  3286. margin: 24px 0 48px;
  3287. padding-top: 24px;
  3288. padding-bottom: 24px;
  3289. }
  3290. .home-scenes-demo {
  3291. gap: 24px;
  3292. }
  3293. .home-scenes-demo-title {
  3294. font-size: 24px;
  3295. line-height: 32px;
  3296. }
  3297. .home-guide-timeline-item {
  3298. max-width: 108px;
  3299. }
  3300. .home-guide-timeline-dot {
  3301. width: 40px;
  3302. height: 40px;
  3303. font-size: 16px;
  3304. line-height: 24px;
  3305. }
  3306. .home-guide-timeline-name {
  3307. font-size: 14px;
  3308. line-height: 20px;
  3309. }
  3310. .home-guide-timeline-desc {
  3311. font-size: 11px;
  3312. line-height: 16px;
  3313. }
  3314. .home-guide-timeline-line {
  3315. min-width: 12px;
  3316. max-width: 48px;
  3317. margin-top: 18px;
  3318. height: 3px;
  3319. }
  3320. }
  3321. </style>