Hanye官网
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.vue 38KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964
  1. <template>
  2. <div>
  3. <div class="w-full h-[55px] sm:h-[72px]"></div>
  4. <ErrorBoundary :error="error">
  5. <div v-if="isLoading" class="flex justify-center py-16">
  6. <div
  7. class="animate-spin h-8 w-8 border-2 border-cyan-400 border-t-transparent rounded-full"
  8. ></div>
  9. </div>
  10. <div v-else>
  11. <!-- 面包屑导航 -->
  12. <div class="max-w-full xl:px-8 lg:px-6 md:px-4 px-4 mt-6 mb-8">
  13. <div class="max-w-screen-2xl mx-auto">
  14. <nuxt-link
  15. :to="`${homepagePath}/`"
  16. class="text-white/60 text-base font-normal hover:text-white transition-colors duration-300"
  17. >
  18. {{ t("common.home") }}
  19. </nuxt-link>
  20. <span class="text-white/60 text-base font-normal px-2"> / </span>
  21. <nuxt-link
  22. :to="`${homepagePath}/support`"
  23. class="text-white text-base font-normal"
  24. >
  25. {{ t("support.title") }}
  26. </nuxt-link>
  27. </div>
  28. </div>
  29. <!-- 页面头部 -->
  30. <div class="max-w-full mb-16 xl:px-8 lg:px-6 md:px-4 px-4">
  31. <div class="max-w-screen-2xl mx-auto">
  32. <div class="text-center mb-8">
  33. <div
  34. class="inline-flex items-center px-4 py-2 bg-cyan-400/10 border border-cyan-400/30 rounded-full mb-6"
  35. >
  36. <svg
  37. class="w-5 h-5 text-cyan-400 mr-2"
  38. fill="none"
  39. stroke="currentColor"
  40. viewBox="0 0 24 24"
  41. >
  42. <path
  43. stroke-linecap="round"
  44. stroke-linejoin="round"
  45. stroke-width="2"
  46. d="M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192L5.636 18.364M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"
  47. ></path>
  48. </svg>
  49. <span class="text-cyan-400 font-medium text-sm"
  50. >TECHNICAL SUPPORT</span
  51. >
  52. </div>
  53. <h1 class="text-4xl md:text-5xl font-bold text-white mb-6">
  54. {{ t("support.title") }}
  55. </h1>
  56. <p
  57. class="text-xl text-gray-300 max-w-4xl mx-auto leading-relaxed"
  58. >
  59. {{ t("support.subtitle") }}
  60. </p>
  61. </div>
  62. <!-- 服务统计 -->
  63. <div class="grid grid-cols-2 md:grid-cols-4 gap-6 mt-12">
  64. <div class="text-center">
  65. <div class="text-3xl font-bold text-cyan-400 mb-2">24/7</div>
  66. <div class="text-sm text-gray-400">{{ t("support.stats.support247") }}</div>
  67. </div>
  68. <div class="text-center">
  69. <div class="text-3xl font-bold text-cyan-400 mb-2">&lt; 2H</div>
  70. <div class="text-sm text-gray-400">{{ t("support.stats.responseTime") }}</div>
  71. </div>
  72. <div class="text-center">
  73. <div class="text-3xl font-bold text-cyan-400 mb-2">95%</div>
  74. <div class="text-sm text-gray-400">{{ t("support.stats.resolutionRate") }}</div>
  75. </div>
  76. <div class="text-center">
  77. <div class="text-3xl font-bold text-cyan-400 mb-2">3+</div>
  78. <div class="text-sm text-gray-400">{{ t("support.stats.languageSupport") }}</div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. <!-- 主要支持服务 -->
  84. <div class="max-w-full mb-20 xl:px-8 lg:px-6 md:px-4 px-4">
  85. <div class="max-w-screen-2xl mx-auto">
  86. <div class="text-center mb-12">
  87. <h2 class="text-2xl md:text-3xl font-bold text-white mb-4">
  88. {{ t("support.services.mainTitle") }}
  89. </h2>
  90. <div class="w-24 h-1 bg-cyan-400 mx-auto"></div>
  91. </div>
  92. <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
  93. <!-- 常见问题解答 -->
  94. <div
  95. class="bg-gradient-to-br from-zinc-900 to-zinc-800/80 border border-zinc-700 rounded-xl p-8 relative overflow-hidden"
  96. >
  97. <div class="relative z-10">
  98. <div class="flex items-start justify-between mb-6">
  99. <div class="flex items-center">
  100. <div
  101. class="w-12 h-12 bg-cyan-400/20 rounded-xl flex items-center justify-center mr-4"
  102. >
  103. <svg
  104. class="w-6 h-6 text-cyan-400"
  105. fill="none"
  106. stroke="currentColor"
  107. viewBox="0 0 24 24"
  108. >
  109. <path
  110. stroke-linecap="round"
  111. stroke-linejoin="round"
  112. stroke-width="2"
  113. d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
  114. ></path>
  115. </svg>
  116. </div>
  117. <div>
  118. <h3 class="text-xl font-semibold text-white">
  119. {{ t("support.faq.title") }}
  120. </h3>
  121. <div class="text-sm text-cyan-400 font-medium mt-1">
  122. {{ t("support.services.faqRecommended") }}
  123. </div>
  124. </div>
  125. </div>
  126. <span
  127. class="px-3 py-1 bg-cyan-400/20 text-cyan-400 text-xs font-medium rounded-full"
  128. >FREE</span
  129. >
  130. </div>
  131. <p class="text-gray-300 mb-6 leading-relaxed">
  132. {{ t("support.faq.description") }}
  133. </p>
  134. <div class="space-y-3 mb-8">
  135. <div class="flex items-center text-sm text-gray-400">
  136. <svg
  137. class="w-4 h-4 text-green-400 mr-3"
  138. fill="none"
  139. stroke="currentColor"
  140. viewBox="0 0 24 24"
  141. >
  142. <path
  143. stroke-linecap="round"
  144. stroke-linejoin="round"
  145. stroke-width="2"
  146. d="M5 13l4 4L19 7"
  147. ></path>
  148. </svg>
  149. {{ t("support.services.faqFeatures.coverage") }}
  150. </div>
  151. <div class="flex items-center text-sm text-gray-400">
  152. <svg
  153. class="w-4 h-4 text-green-400 mr-3"
  154. fill="none"
  155. stroke="currentColor"
  156. viewBox="0 0 24 24"
  157. >
  158. <path
  159. stroke-linecap="round"
  160. stroke-linejoin="round"
  161. stroke-width="2"
  162. d="M5 13l4 4L19 7"
  163. ></path>
  164. </svg>
  165. {{ t("support.services.faqFeatures.search") }}
  166. </div>
  167. <div class="flex items-center text-sm text-gray-400">
  168. <svg
  169. class="w-4 h-4 text-green-400 mr-3"
  170. fill="none"
  171. stroke="currentColor"
  172. viewBox="0 0 24 24"
  173. >
  174. <path
  175. stroke-linecap="round"
  176. stroke-linejoin="round"
  177. stroke-width="2"
  178. d="M5 13l4 4L19 7"
  179. ></path>
  180. </svg>
  181. {{ t("support.services.faqFeatures.maintenance") }}
  182. </div>
  183. </div>
  184. <nuxt-link
  185. :to="`${homepagePath}/support/faq`"
  186. class="inline-flex items-center px-6 py-3 bg-cyan-400 text-zinc-900 font-medium rounded-lg hover:bg-cyan-500 transition-colors duration-200"
  187. >
  188. {{ t("support.services.viewFaq") }}
  189. <svg
  190. class="w-4 h-4 ml-2"
  191. fill="none"
  192. stroke="currentColor"
  193. viewBox="0 0 24 24"
  194. >
  195. <path
  196. stroke-linecap="round"
  197. stroke-linejoin="round"
  198. stroke-width="2"
  199. d="M9 5l7 7-7 7"
  200. ></path>
  201. </svg>
  202. </nuxt-link>
  203. </div>
  204. </div>
  205. <!-- 技术支持联系 -->
  206. <div
  207. class="bg-gradient-to-br from-zinc-900 to-zinc-800/80 border border-zinc-700 rounded-xl p-8 relative overflow-hidden"
  208. >
  209. <div class="relative z-10">
  210. <div class="flex items-start justify-between mb-6">
  211. <div class="flex items-center">
  212. <div
  213. class="w-12 h-12 bg-cyan-400/20 rounded-xl flex items-center justify-center mr-4"
  214. >
  215. <svg
  216. class="w-6 h-6 text-cyan-400"
  217. fill="none"
  218. stroke="currentColor"
  219. viewBox="0 0 24 24"
  220. >
  221. <path
  222. stroke-linecap="round"
  223. stroke-linejoin="round"
  224. stroke-width="2"
  225. d="M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
  226. ></path>
  227. </svg>
  228. </div>
  229. <div>
  230. <h3 class="text-xl font-semibold text-white">
  231. {{ t("support.contact.title") }}
  232. </h3>
  233. <div class="text-sm text-cyan-400 font-medium mt-1">
  234. {{ t("support.services.contactPriority") }}
  235. </div>
  236. </div>
  237. </div>
  238. <span
  239. class="px-3 py-1 bg-orange-400/20 text-orange-400 text-xs font-medium rounded-full"
  240. >PRIORITY</span
  241. >
  242. </div>
  243. <p class="text-gray-300 mb-6 leading-relaxed">
  244. {{ t("support.contact.description") }}
  245. </p>
  246. <div class="space-y-3 mb-8">
  247. <div class="flex items-center text-sm text-gray-400">
  248. <svg
  249. class="w-4 h-4 text-green-400 mr-3"
  250. fill="none"
  251. stroke="currentColor"
  252. viewBox="0 0 24 24"
  253. >
  254. <path
  255. stroke-linecap="round"
  256. stroke-linejoin="round"
  257. stroke-width="2"
  258. d="M5 13l4 4L19 7"
  259. ></path>
  260. </svg>
  261. {{ t("support.services.contactFeatures.engineer") }}
  262. </div>
  263. <div class="flex items-center text-sm text-gray-400">
  264. <svg
  265. class="w-4 h-4 text-green-400 mr-3"
  266. fill="none"
  267. stroke="currentColor"
  268. viewBox="0 0 24 24"
  269. >
  270. <path
  271. stroke-linecap="round"
  272. stroke-linejoin="round"
  273. stroke-width="2"
  274. d="M5 13l4 4L19 7"
  275. ></path>
  276. </svg>
  277. {{ t("support.services.contactFeatures.response") }}
  278. </div>
  279. <div class="flex items-center text-sm text-gray-400">
  280. <svg
  281. class="w-4 h-4 text-green-400 mr-3"
  282. fill="none"
  283. stroke="currentColor"
  284. viewBox="0 0 24 24"
  285. >
  286. <path
  287. stroke-linecap="round"
  288. stroke-linejoin="round"
  289. stroke-width="2"
  290. d="M5 13l4 4L19 7"
  291. ></path>
  292. </svg>
  293. {{ t("support.services.contactFeatures.solution") }}
  294. </div>
  295. </div>
  296. <nuxt-link
  297. :to="`${homepagePath}/contact`"
  298. class="inline-flex items-center px-6 py-3 bg-zinc-800 border border-zinc-600 text-white font-medium rounded-lg hover:bg-zinc-700 hover:border-cyan-400/40 transition-all duration-200"
  299. >
  300. {{ t("support.services.contactSupport") }}
  301. <svg
  302. class="w-4 h-4 ml-2"
  303. fill="none"
  304. stroke="currentColor"
  305. viewBox="0 0 24 24"
  306. >
  307. <path
  308. stroke-linecap="round"
  309. stroke-linejoin="round"
  310. stroke-width="2"
  311. d="M9 5l7 7-7 7"
  312. ></path>
  313. </svg>
  314. </nuxt-link>
  315. </div>
  316. </div>
  317. </div>
  318. </div>
  319. </div>
  320. <!-- 扩展服务 -->
  321. <div class="max-w-full mb-20 xl:px-8 lg:px-6 md:px-4 px-4">
  322. <div class="max-w-screen-2xl mx-auto">
  323. <div class="text-center mb-12">
  324. <h2 class="text-2xl md:text-3xl font-bold text-white mb-4">
  325. {{ t("support.services.extendedTitle") }}
  326. </h2>
  327. <div class="w-24 h-1 bg-cyan-400 mx-auto"></div>
  328. <p class="text-gray-400 mt-4">{{ t("support.services.extendedSubtitle") }}</p>
  329. </div>
  330. <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
  331. <!-- 产品手册 -->
  332. <div
  333. class="bg-zinc-900 border border-zinc-700 rounded-lg p-6 text-center hover:border-cyan-400/30 transition-all duration-300 cursor-pointer group"
  334. @click="showManualsModal = true"
  335. >
  336. <div
  337. class="w-16 h-16 bg-zinc-800 rounded-lg flex items-center justify-center mx-auto mb-4 group-hover:bg-cyan-400/10 transition-colors duration-300"
  338. >
  339. <svg
  340. class="w-8 h-8 text-zinc-400 group-hover:text-cyan-400 transition-colors duration-300"
  341. fill="none"
  342. stroke="currentColor"
  343. viewBox="0 0 24 24"
  344. >
  345. <path
  346. stroke-linecap="round"
  347. stroke-linejoin="round"
  348. stroke-width="2"
  349. d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
  350. ></path>
  351. </svg>
  352. </div>
  353. <h3 class="text-lg font-semibold text-white mb-3">
  354. {{ t("support.manuals.title") }}
  355. </h3>
  356. <p class="text-gray-400 text-sm mb-4 leading-relaxed">
  357. {{ t("support.manuals.description") }}
  358. </p>
  359. <span
  360. class="inline-flex items-center px-3 py-1 bg-zinc-800 text-gray-400 text-xs font-medium rounded-full"
  361. >
  362. {{ t("support.comingSoon") }}
  363. </span>
  364. </div>
  365. <!-- 技术文档 -->
  366. <div
  367. class="bg-zinc-900 border border-zinc-700 rounded-lg p-6 text-center hover:border-cyan-400/30 transition-all duration-300 cursor-pointer group"
  368. @click="showDocsModal = true"
  369. >
  370. <div
  371. class="w-16 h-16 bg-zinc-800 rounded-lg flex items-center justify-center mx-auto mb-4 group-hover:bg-cyan-400/10 transition-colors duration-300"
  372. >
  373. <svg
  374. class="w-8 h-8 text-zinc-400 group-hover:text-cyan-400 transition-colors duration-300"
  375. fill="none"
  376. stroke="currentColor"
  377. viewBox="0 0 24 24"
  378. >
  379. <path
  380. stroke-linecap="round"
  381. stroke-linejoin="round"
  382. stroke-width="2"
  383. d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.246 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
  384. ></path>
  385. </svg>
  386. </div>
  387. <h3 class="text-lg font-semibold text-white mb-3">
  388. {{ t("support.docs.title") }}
  389. </h3>
  390. <p class="text-gray-400 text-sm mb-4 leading-relaxed">
  391. {{ t("support.docs.description") }}
  392. </p>
  393. <span
  394. class="inline-flex items-center px-3 py-1 bg-zinc-800 text-gray-400 text-xs font-medium rounded-full"
  395. >
  396. {{ t("support.comingSoon") }}
  397. </span>
  398. </div>
  399. <!-- 驱动下载 -->
  400. <div
  401. class="bg-zinc-900 border border-zinc-700 rounded-lg p-6 text-center hover:border-cyan-400/30 transition-all duration-300 cursor-pointer group"
  402. @click="showDriversModal = true"
  403. >
  404. <div
  405. class="w-16 h-16 bg-zinc-800 rounded-lg flex items-center justify-center mx-auto mb-4 group-hover:bg-cyan-400/10 transition-colors duration-300"
  406. >
  407. <svg
  408. class="w-8 h-8 text-zinc-400 group-hover:text-cyan-400 transition-colors duration-300"
  409. fill="none"
  410. stroke="currentColor"
  411. viewBox="0 0 24 24"
  412. >
  413. <path
  414. stroke-linecap="round"
  415. stroke-linejoin="round"
  416. stroke-width="2"
  417. d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10"
  418. ></path>
  419. </svg>
  420. </div>
  421. <h3 class="text-lg font-semibold text-white mb-3">
  422. {{ t("support.drivers.title") }}
  423. </h3>
  424. <p class="text-gray-400 text-sm mb-4 leading-relaxed">
  425. {{ t("support.drivers.description") }}
  426. </p>
  427. <span
  428. class="inline-flex items-center px-3 py-1 bg-zinc-800 text-gray-400 text-xs font-medium rounded-full"
  429. >
  430. {{ t("support.comingSoon") }}
  431. </span>
  432. </div>
  433. <!-- 在线客服 -->
  434. <div
  435. class="bg-zinc-900 border border-zinc-700 rounded-lg p-6 text-center hover:border-cyan-400/30 transition-all duration-300 cursor-pointer group"
  436. @click="showChatModal = true"
  437. >
  438. <div
  439. class="w-16 h-16 bg-zinc-800 rounded-lg flex items-center justify-center mx-auto mb-4 group-hover:bg-cyan-400/10 transition-colors duration-300"
  440. >
  441. <svg
  442. class="w-8 h-8 text-zinc-400 group-hover:text-cyan-400 transition-colors duration-300"
  443. fill="none"
  444. stroke="currentColor"
  445. viewBox="0 0 24 24"
  446. >
  447. <path
  448. stroke-linecap="round"
  449. stroke-linejoin="round"
  450. stroke-width="2"
  451. d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
  452. ></path>
  453. </svg>
  454. </div>
  455. <h3 class="text-lg font-semibold text-white mb-3">
  456. {{ t("support.chat.title") }}
  457. </h3>
  458. <p class="text-gray-400 text-sm mb-4 leading-relaxed">
  459. {{ t("support.chat.description") }}
  460. </p>
  461. <span
  462. class="inline-flex items-center px-3 py-1 bg-zinc-800 text-gray-400 text-xs font-medium rounded-full"
  463. >
  464. {{ t("support.comingSoon") }}
  465. </span>
  466. </div>
  467. </div>
  468. </div>
  469. </div>
  470. <!-- 联系信息区域 -->
  471. <div class="max-w-full xl:px-8 lg:px-6 md:px-4 px-4 mb-16">
  472. <div class="max-w-screen-2xl mx-auto">
  473. <div
  474. class="bg-gradient-to-r from-zinc-900 via-zinc-800/90 to-zinc-900 border border-zinc-700 rounded-xl p-8 md:p-12 text-center relative overflow-hidden"
  475. >
  476. <div class="absolute inset-0 bg-grid-pattern opacity-5"></div>
  477. <div class="relative z-10">
  478. <h2 class="text-2xl md:text-3xl font-bold text-white mb-4">
  479. {{ t("support.team.title") }}
  480. </h2>
  481. <p
  482. class="text-gray-300 mb-8 max-w-3xl mx-auto text-lg leading-relaxed"
  483. >
  484. {{ t("support.team.description") }}
  485. </p>
  486. <div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-10">
  487. <div class="text-center">
  488. <div
  489. class="w-12 h-12 bg-cyan-400/20 rounded-lg flex items-center justify-center mx-auto mb-3"
  490. >
  491. <svg
  492. class="w-6 h-6 text-cyan-400"
  493. fill="none"
  494. stroke="currentColor"
  495. viewBox="0 0 24 24"
  496. >
  497. <path
  498. stroke-linecap="round"
  499. stroke-linejoin="round"
  500. stroke-width="2"
  501. d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
  502. ></path>
  503. </svg>
  504. </div>
  505. <h3 class="font-semibold text-white mb-2">{{ t("support.team.fastResponse.title") }}</h3>
  506. <p class="text-gray-400 text-sm">{{ t("support.team.fastResponse.description") }}</p>
  507. </div>
  508. <div class="text-center">
  509. <div
  510. class="w-12 h-12 bg-cyan-400/20 rounded-lg flex items-center justify-center mx-auto mb-3"
  511. >
  512. <svg
  513. class="w-6 h-6 text-cyan-400"
  514. fill="none"
  515. stroke="currentColor"
  516. viewBox="0 0 24 24"
  517. >
  518. <path
  519. stroke-linecap="round"
  520. stroke-linejoin="round"
  521. stroke-width="2"
  522. d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"
  523. ></path>
  524. </svg>
  525. </div>
  526. <h3 class="font-semibold text-white mb-2">{{ t("support.team.professional.title") }}</h3>
  527. <p class="text-gray-400 text-sm">{{ t("support.team.professional.description") }}</p>
  528. </div>
  529. <div class="text-center">
  530. <div
  531. class="w-12 h-12 bg-cyan-400/20 rounded-lg flex items-center justify-center mx-auto mb-3"
  532. >
  533. <svg
  534. class="w-6 h-6 text-cyan-400"
  535. fill="none"
  536. stroke="currentColor"
  537. viewBox="0 0 24 24"
  538. >
  539. <path
  540. stroke-linecap="round"
  541. stroke-linejoin="round"
  542. stroke-width="2"
  543. d="M13 10V3L4 14h7v7l9-11h-7z"
  544. ></path>
  545. </svg>
  546. </div>
  547. <h3 class="font-semibold text-white mb-2">{{ t("support.team.efficient.title") }}</h3>
  548. <p class="text-gray-400 text-sm">{{ t("support.team.efficient.description") }}</p>
  549. </div>
  550. </div>
  551. <div class="flex flex-col sm:flex-row gap-4 justify-center">
  552. <nuxt-link
  553. :to="`${homepagePath}/contact`"
  554. class="inline-flex items-center px-8 py-4 bg-cyan-400 text-zinc-900 font-semibold rounded-lg hover:bg-cyan-500 transition-colors duration-200"
  555. >
  556. <svg
  557. class="w-5 h-5 mr-2"
  558. fill="none"
  559. stroke="currentColor"
  560. viewBox="0 0 24 24"
  561. >
  562. <path
  563. stroke-linecap="round"
  564. stroke-linejoin="round"
  565. stroke-width="2"
  566. d="M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
  567. ></path>
  568. </svg>
  569. {{ t("support.services.contactSupport") }}
  570. </nuxt-link>
  571. <nuxt-link
  572. :to="`${homepagePath}/support/faq`"
  573. class="inline-flex items-center px-8 py-4 border border-zinc-600 text-white font-semibold rounded-lg hover:bg-zinc-800 hover:border-cyan-400/40 transition-all duration-200"
  574. >
  575. <svg
  576. class="w-5 h-5 mr-2"
  577. fill="none"
  578. stroke="currentColor"
  579. viewBox="0 0 24 24"
  580. >
  581. <path
  582. stroke-linecap="round"
  583. stroke-linejoin="round"
  584. stroke-width="2"
  585. d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
  586. ></path>
  587. </svg>
  588. {{ t("support.team.viewFaq") }}
  589. </nuxt-link>
  590. </div>
  591. </div>
  592. </div>
  593. </div>
  594. </div>
  595. <!-- 保持原有的模态框 -->
  596. <div
  597. v-if="showDocsModal"
  598. class="fixed inset-0 bg-black bg-opacity-75 z-50 flex items-center justify-center p-4"
  599. @click="showDocsModal = false"
  600. >
  601. <div
  602. class="bg-zinc-800 rounded-lg max-w-md w-full shadow-2xl border border-zinc-700"
  603. @click.stop
  604. >
  605. <div
  606. class="flex items-center justify-between p-6 border-b border-zinc-700"
  607. >
  608. <h2 class="text-xl font-semibold text-white">
  609. {{ t("support.docs.title") }}
  610. </h2>
  611. <button
  612. @click="showDocsModal = false"
  613. class="text-gray-400 hover:text-gray-200 transition-colors"
  614. >
  615. <svg
  616. class="w-6 h-6"
  617. fill="none"
  618. stroke="currentColor"
  619. viewBox="0 0 24 24"
  620. >
  621. <path
  622. stroke-linecap="round"
  623. stroke-linejoin="round"
  624. stroke-width="2"
  625. d="M6 18L18 6M6 6l12 12"
  626. ></path>
  627. </svg>
  628. </button>
  629. </div>
  630. <div class="p-6 text-center">
  631. <div
  632. class="w-16 h-16 bg-cyan-400/20 text-cyan-400 rounded-full flex items-center justify-center mx-auto mb-4"
  633. >
  634. <svg
  635. class="w-8 h-8"
  636. fill="none"
  637. stroke="currentColor"
  638. viewBox="0 0 24 24"
  639. >
  640. <path
  641. stroke-linecap="round"
  642. stroke-linejoin="round"
  643. stroke-width="2"
  644. d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
  645. ></path>
  646. </svg>
  647. </div>
  648. <h3 class="text-lg font-semibold text-white mb-2">
  649. {{ t("support.comingSoon") }}
  650. </h3>
  651. <p class="text-gray-400 text-sm">
  652. {{ locale === 'zh' ? '我们正在为您准备详细的技术文档,敬请期待' : locale === 'en' ? 'We are preparing detailed technical documentation for you, please stay tuned' : '詳細な技術ドキュメントを準備中です。お楽しみに' }}
  653. </p>
  654. </div>
  655. </div>
  656. </div>
  657. <div
  658. v-if="showManualsModal"
  659. class="fixed inset-0 bg-black bg-opacity-75 z-50 flex items-center justify-center p-4"
  660. @click="showManualsModal = false"
  661. >
  662. <div
  663. class="bg-zinc-800 rounded-lg max-w-md w-full shadow-2xl border border-zinc-700"
  664. @click.stop
  665. >
  666. <div
  667. class="flex items-center justify-between p-6 border-b border-zinc-700"
  668. >
  669. <h2 class="text-xl font-semibold text-white">
  670. {{ t("support.manuals.title") }}
  671. </h2>
  672. <button
  673. @click="showManualsModal = false"
  674. class="text-gray-400 hover:text-gray-200 transition-colors"
  675. >
  676. <svg
  677. class="w-6 h-6"
  678. fill="none"
  679. stroke="currentColor"
  680. viewBox="0 0 24 24"
  681. >
  682. <path
  683. stroke-linecap="round"
  684. stroke-linejoin="round"
  685. stroke-width="2"
  686. d="M6 18L18 6M6 6l12 12"
  687. ></path>
  688. </svg>
  689. </button>
  690. </div>
  691. <div class="p-6 text-center">
  692. <div
  693. class="w-16 h-16 bg-cyan-400/20 text-cyan-400 rounded-full flex items-center justify-center mx-auto mb-4"
  694. >
  695. <svg
  696. class="w-8 h-8"
  697. fill="none"
  698. stroke="currentColor"
  699. viewBox="0 0 24 24"
  700. >
  701. <path
  702. stroke-linecap="round"
  703. stroke-linejoin="round"
  704. stroke-width="2"
  705. d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
  706. ></path>
  707. </svg>
  708. </div>
  709. <h3 class="text-lg font-semibold text-white mb-2">
  710. {{ t("support.comingSoon") }}
  711. </h3>
  712. <p class="text-gray-400 text-sm">
  713. {{ locale === 'zh' ? '产品手册下载功能即将上线,敬请期待' : locale === 'en' ? 'Product manual download feature will be available soon, please stay tuned' : '製品マニュアルダウンロード機能が近日公開予定です。お楽しみに' }}
  714. </p>
  715. </div>
  716. </div>
  717. </div>
  718. <div
  719. v-if="showDriversModal"
  720. class="fixed inset-0 bg-black bg-opacity-75 z-50 flex items-center justify-center p-4"
  721. @click="showDriversModal = false"
  722. >
  723. <div
  724. class="bg-zinc-800 rounded-lg max-w-md w-full shadow-2xl border border-zinc-700"
  725. @click.stop
  726. >
  727. <div
  728. class="flex items-center justify-between p-6 border-b border-zinc-700"
  729. >
  730. <h2 class="text-xl font-semibold text-white">
  731. {{ t("support.drivers.title") }}
  732. </h2>
  733. <button
  734. @click="showDriversModal = false"
  735. class="text-gray-400 hover:text-gray-200 transition-colors"
  736. >
  737. <svg
  738. class="w-6 h-6"
  739. fill="none"
  740. stroke="currentColor"
  741. viewBox="0 0 24 24"
  742. >
  743. <path
  744. stroke-linecap="round"
  745. stroke-linejoin="round"
  746. stroke-width="2"
  747. d="M6 18L18 6M6 6l12 12"
  748. ></path>
  749. </svg>
  750. </button>
  751. </div>
  752. <div class="p-6 text-center">
  753. <div
  754. class="w-16 h-16 bg-cyan-400/20 text-cyan-400 rounded-full flex items-center justify-center mx-auto mb-4"
  755. >
  756. <svg
  757. class="w-8 h-8"
  758. fill="none"
  759. stroke="currentColor"
  760. viewBox="0 0 24 24"
  761. >
  762. <path
  763. stroke-linecap="round"
  764. stroke-linejoin="round"
  765. stroke-width="2"
  766. d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
  767. ></path>
  768. </svg>
  769. </div>
  770. <h3 class="text-lg font-semibold text-white mb-2">
  771. {{ t("support.comingSoon") }}
  772. </h3>
  773. <p class="text-gray-400 text-sm">
  774. {{ locale === 'zh' ? '驱动程序下载区域正在准备中,敬请期待' : locale === 'en' ? 'Driver download area is being prepared, please stay tuned' : 'ドライバーダウンロードエリアを準備中です。お楽しみに' }}
  775. </p>
  776. </div>
  777. </div>
  778. </div>
  779. <div
  780. v-if="showChatModal"
  781. class="fixed inset-0 bg-black bg-opacity-75 z-50 flex items-center justify-center p-4"
  782. @click="showChatModal = false"
  783. >
  784. <div
  785. class="bg-zinc-800 rounded-lg max-w-md w-full shadow-2xl border border-zinc-700"
  786. @click.stop
  787. >
  788. <div
  789. class="flex items-center justify-between p-6 border-b border-zinc-700"
  790. >
  791. <h2 class="text-xl font-semibold text-white">
  792. {{ t("support.chat.title") }}
  793. </h2>
  794. <button
  795. @click="showChatModal = false"
  796. class="text-gray-400 hover:text-gray-200 transition-colors"
  797. >
  798. <svg
  799. class="w-6 h-6"
  800. fill="none"
  801. stroke="currentColor"
  802. viewBox="0 0 24 24"
  803. >
  804. <path
  805. stroke-linecap="round"
  806. stroke-linejoin="round"
  807. stroke-width="2"
  808. d="M6 18L18 6M6 6l12 12"
  809. ></path>
  810. </svg>
  811. </button>
  812. </div>
  813. <div class="p-6 text-center">
  814. <div
  815. class="w-16 h-16 bg-cyan-400/20 text-cyan-400 rounded-full flex items-center justify-center mx-auto mb-4"
  816. >
  817. <svg
  818. class="w-8 h-8"
  819. fill="none"
  820. stroke="currentColor"
  821. viewBox="0 0 24 24"
  822. >
  823. <path
  824. stroke-linecap="round"
  825. stroke-linejoin="round"
  826. stroke-width="2"
  827. d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
  828. ></path>
  829. </svg>
  830. </div>
  831. <h3 class="text-lg font-semibold text-white mb-2">
  832. {{ t("support.comingSoon") }}
  833. </h3>
  834. <p class="text-gray-400 text-sm">
  835. {{ locale === 'zh' ? '在线客服功能即将为您开通,敬请期待' : locale === 'en' ? 'Live chat feature will be available soon, please stay tuned' : 'オンラインカスタマーサービス機能が近日開通予定です。お楽しみに' }}
  836. </p>
  837. </div>
  838. </div>
  839. </div>
  840. </div>
  841. </ErrorBoundary>
  842. </div>
  843. </template>
  844. <script setup lang="ts">
  845. /**
  846. * 技术支持页面
  847. * 提供专业的技术支持服务入口
  848. */
  849. import { useErrorHandler } from "~/composables/useErrorHandler";
  850. const { error, isLoading } = useErrorHandler();
  851. const { t, locale } = useI18n();
  852. // 计算首页路径
  853. const homepagePath = computed(() => {
  854. return locale.value === "zh" ? "" : `/${locale.value}`;
  855. });
  856. // 模态框控制
  857. const showDocsModal = ref(false);
  858. const showManualsModal = ref(false);
  859. const showDriversModal = ref(false);
  860. const showChatModal = ref(false);
  861. // SEO优化
  862. useHead({
  863. title: t("support.title") + " - Hanye",
  864. meta: [
  865. {
  866. name: "description",
  867. content: t("support.description"),
  868. },
  869. {
  870. name: "keywords",
  871. content: t("support.keywords"),
  872. },
  873. ],
  874. });
  875. </script>
  876. <style scoped>
  877. /* 简洁的悬停效果 */
  878. .group:hover {
  879. transform: translateY(-2px);
  880. }
  881. /* 按钮悬停效果 */
  882. .hover\:bg-blue-700:hover {
  883. background-color: #1d4ed8;
  884. }
  885. .hover\:bg-gray-600:hover {
  886. background-color: #4b5563;
  887. }
  888. /* 过渡效果 */
  889. .transition-all {
  890. transition-property: all;
  891. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  892. }
  893. .transition-colors {
  894. transition-property: color, background-color, border-color,
  895. text-decoration-color, fill, stroke;
  896. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  897. }
  898. .transition-transform {
  899. transition-property: transform;
  900. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  901. }
  902. .duration-200 {
  903. transition-duration: 200ms;
  904. }
  905. /* 专业的阴影效果 */
  906. .shadow-lg {
  907. box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
  908. 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  909. }
  910. .shadow-xl {
  911. box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
  912. 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  913. }
  914. .shadow-2xl {
  915. box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  916. }
  917. /* 响应式优化 */
  918. @media (max-width: 768px) {
  919. .group:hover {
  920. transform: none;
  921. }
  922. }
  923. </style>