Hanye官网
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. <template>
  2. <div class="careers-page bg-stone-950 min-h-screen">
  3. <div class="relative z-10">
  4. <!-- 顶部间距 -->
  5. <div class="w-full h-[55px] sm:h-[72px]"></div>
  6. <!-- 面包屑导航 -->
  7. <div class="max-w-full xl:px-2 lg:px-2 md:px-4 px-4 mt-6 mb-1 sm:mb-4">
  8. <div class="max-w-screen-2xl mx-auto">
  9. <nuxt-link
  10. :to="homepagePath"
  11. class="justify-start text-white/60 text-base font-normal"
  12. >{{ t("common.breadcrumb.home") }}</nuxt-link
  13. >
  14. <span class="text-white/60 text-base font-normal px-2"> / </span>
  15. <span class="text-white text-base font-normal">{{
  16. t("common.careers")
  17. }}</span>
  18. </div>
  19. </div>
  20. <!-- 错误边界 -->
  21. <ErrorBoundary :error="pageError">
  22. <!-- 页面标题区域 -->
  23. <section class="hero-section">
  24. <div class="w-full py-20 md:py-40 relative overflow-hidden">
  25. <!-- 图片背景 -->
  26. <div class="absolute inset-0 z-0">
  27. <img
  28. src="/assets/images/careersbg.webp"
  29. alt="Background"
  30. class="w-full h-full object-cover opacity-10"
  31. />
  32. </div>
  33. <div
  34. class="max-w-screen-2xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10"
  35. >
  36. <!-- 标题 -->
  37. <div class="text-center space-y-12">
  38. <div
  39. class="inline-flex items-center px-4 py-2 bg-[#35F1FF]/10 rounded-xl border border-[#35F1FF]/20 backdrop-blur-sm"
  40. >
  41. <span
  42. class="text-[#35F1FF] text-xs font-bold tracking-[0.2em] uppercase"
  43. >
  44. {{ t("careers.sectionTitle") }}
  45. </span>
  46. </div>
  47. <h1
  48. class="text-white text-3xl sm:text-4xl md:text-6xl font-bold tracking-wider leading-tight"
  49. >
  50. <span
  51. class="bg-gradient-to-r from-white to-zinc-300 bg-clip-text text-transparent"
  52. >
  53. {{ t("careers.title") }}
  54. </span>
  55. </h1>
  56. <div class="w-20 h-px bg-[#35F1FF] mx-auto"></div>
  57. <p
  58. class="text-zinc-300/80 text-base md:text-xl max-w-4xl mx-auto leading-relaxed"
  59. >
  60. {{ t("careers.subtitle") }}
  61. </p>
  62. <!-- 统计数据 -->
  63. <div
  64. class="grid grid-cols-2 md:grid-cols-4 gap-8 pt-12 max-w-3xl mx-auto"
  65. >
  66. <div class="text-center space-y-2">
  67. <div class="text-2xl md:text-3xl font-bold text-[#35F1FF]">
  68. 20+
  69. </div>
  70. <div class="text-sm text-zinc-400"> {{ t("careers.CompanyHistory") }}</div>
  71. </div>
  72. <div class="text-center space-y-2">
  73. <div class="text-2xl md:text-3xl font-bold text-[#35F1FF]">
  74. 50+
  75. </div>
  76. <div class="text-sm text-zinc-400">{{ t("careers.TeamMembers") }}</div>
  77. </div>
  78. <div class="text-center space-y-2">
  79. <div class="text-2xl md:text-3xl font-bold text-[#35F1FF]">
  80. 100+
  81. </div>
  82. <div class="text-sm text-zinc-400">{{ t("careers.ProductModel") }}</div>
  83. </div>
  84. <div class="text-center space-y-2">
  85. <div class="text-2xl md:text-3xl font-bold text-[#35F1FF]">
  86. 24/7
  87. </div>
  88. <div class="text-sm text-zinc-400">{{ t("careers.technicalSupport") }}</div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </section>
  95. <!-- 企业文化区域 -->
  96. <section class="culture-section">
  97. <div
  98. class="section-block w-full py-20 md:py-32 relative"
  99. >
  100. <div
  101. class="max-w-screen-2xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10"
  102. >
  103. <div class="text-center mb-12 md:mb-20">
  104. <div
  105. class="inline-flex items-center px-4 py-2 bg-indigo-500/10 rounded-xl border border-indigo-400/20 backdrop-blur-sm mb-6"
  106. >
  107. <span
  108. class="text-indigo-400 text-xs font-bold tracking-[0.2em] uppercase"
  109. >
  110. {{ t("careers.culture.sectionTitle") }}
  111. </span>
  112. </div>
  113. <h3
  114. class="text-white text-2xl md:text-4xl font-bold mb-6 tracking-wider"
  115. >
  116. {{ t("careers.culture.title") }}
  117. </h3>
  118. <div class="w-20 h-px bg-indigo-400 mx-auto"></div>
  119. </div>
  120. <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
  121. <!-- 创新驱动 -->
  122. <div class="culture-card group">
  123. <div
  124. class="relative p-8 bg-zinc-800/30 backdrop-blur-sm border border-zinc-700/30 rounded-xl transition-all duration-700 hover:border-indigo-400/50 hover:bg-zinc-800/50 hover:shadow-2xl hover:shadow-indigo-500/10 hover:transform hover:scale-105"
  125. >
  126. <div
  127. class="absolute inset-0 bg-gradient-to-br from-indigo-500/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-700 rounded-xl"
  128. ></div>
  129. <div class="relative">
  130. <div
  131. class="w-16 h-16 bg-indigo-500/10 rounded-xl flex items-center justify-center mb-6 group-hover:bg-indigo-500/20 transition-all duration-500 group-hover:rotate-12 group-hover:scale-110"
  132. >
  133. <svg
  134. class="w-8 h-8 text-indigo-400"
  135. fill="none"
  136. stroke="currentColor"
  137. viewBox="0 0 24 24"
  138. >
  139. <path
  140. stroke-linecap="round"
  141. stroke-linejoin="round"
  142. stroke-width="2"
  143. d="M13 10V3L4 14h7v7l9-11h-7z"
  144. ></path>
  145. </svg>
  146. </div>
  147. <h4
  148. class="text-white text-xl font-semibold mb-4 group-hover:text-indigo-400 transition-colors duration-500"
  149. >
  150. {{ t("careers.culture.innovation.title") }}
  151. </h4>
  152. <p class="text-zinc-300/80 text-sm leading-relaxed">
  153. {{ t("careers.culture.innovation.description") }}
  154. </p>
  155. </div>
  156. </div>
  157. </div>
  158. <!-- 团队协作 -->
  159. <div class="culture-card group">
  160. <div
  161. class="relative p-8 bg-zinc-800/30 backdrop-blur-sm border border-zinc-700/30 rounded-xl transition-all duration-700 hover:border-indigo-400/50 hover:bg-zinc-800/50 hover:shadow-2xl hover:shadow-indigo-500/10 hover:transform hover:scale-105"
  162. >
  163. <div
  164. class="absolute inset-0 bg-gradient-to-br from-indigo-500/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-700 rounded-xl"
  165. ></div>
  166. <div class="relative">
  167. <div
  168. class="w-16 h-16 bg-indigo-500/10 rounded-xl flex items-center justify-center mb-6 group-hover:bg-indigo-500/20 transition-all duration-500 group-hover:rotate-12 group-hover:scale-110"
  169. >
  170. <svg
  171. class="w-8 h-8 text-indigo-400"
  172. fill="none"
  173. stroke="currentColor"
  174. viewBox="0 0 24 24"
  175. >
  176. <path
  177. stroke-linecap="round"
  178. stroke-linejoin="round"
  179. stroke-width="2"
  180. d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"
  181. ></path>
  182. </svg>
  183. </div>
  184. <h4
  185. class="text-white text-xl font-semibold mb-4 group-hover:text-indigo-400 transition-colors duration-500"
  186. >
  187. {{ t("careers.culture.teamwork.title") }}
  188. </h4>
  189. <p class="text-zinc-300/80 text-sm leading-relaxed">
  190. {{ t("careers.culture.teamwork.description") }}
  191. </p>
  192. </div>
  193. </div>
  194. </div>
  195. <!-- 品质第一 -->
  196. <div class="culture-card group">
  197. <div
  198. class="relative p-8 bg-zinc-800/30 backdrop-blur-sm border border-zinc-700/30 rounded-xl transition-all duration-700 hover:border-indigo-400/50 hover:bg-zinc-800/50 hover:shadow-2xl hover:shadow-indigo-500/10 hover:transform hover:scale-105"
  199. >
  200. <div
  201. class="absolute inset-0 bg-gradient-to-br from-indigo-500/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-700 rounded-xl"
  202. ></div>
  203. <div class="relative">
  204. <div
  205. class="w-16 h-16 bg-indigo-500/10 rounded-xl flex items-center justify-center mb-6 group-hover:bg-indigo-500/20 transition-all duration-500 group-hover:rotate-12 group-hover:scale-110"
  206. >
  207. <svg
  208. class="w-8 h-8 text-indigo-400"
  209. fill="none"
  210. stroke="currentColor"
  211. viewBox="0 0 24 24"
  212. >
  213. <path
  214. stroke-linecap="round"
  215. stroke-linejoin="round"
  216. stroke-width="2"
  217. d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"
  218. ></path>
  219. </svg>
  220. </div>
  221. <h4
  222. class="text-white text-xl font-semibold mb-4 group-hover:text-indigo-400 transition-colors duration-500"
  223. >
  224. {{ t("careers.culture.quality.title") }}
  225. </h4>
  226. <p class="text-zinc-300/80 text-sm leading-relaxed">
  227. {{ t("careers.culture.quality.description") }}
  228. </p>
  229. </div>
  230. </div>
  231. </div>
  232. <!-- 共同成长 -->
  233. <div class="culture-card group">
  234. <div
  235. class="relative p-8 bg-zinc-800/30 backdrop-blur-sm border border-zinc-700/30 rounded-xl transition-all duration-700 hover:border-indigo-400/50 hover:bg-zinc-800/50 hover:shadow-2xl hover:shadow-indigo-500/10 hover:transform hover:scale-105"
  236. >
  237. <div
  238. class="absolute inset-0 bg-gradient-to-br from-indigo-500/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-700 rounded-xl"
  239. ></div>
  240. <div class="relative">
  241. <div
  242. class="w-16 h-16 bg-indigo-500/10 rounded-xl flex items-center justify-center mb-6 group-hover:bg-indigo-500/20 transition-all duration-500 group-hover:rotate-12 group-hover:scale-110"
  243. >
  244. <svg
  245. class="w-8 h-8 text-indigo-400"
  246. fill="none"
  247. stroke="currentColor"
  248. viewBox="0 0 24 24"
  249. >
  250. <path
  251. stroke-linecap="round"
  252. stroke-linejoin="round"
  253. stroke-width="2"
  254. d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"
  255. ></path>
  256. </svg>
  257. </div>
  258. <h4
  259. class="text-white text-xl font-semibold mb-4 group-hover:text-indigo-400 transition-colors duration-500"
  260. >
  261. {{ t("careers.culture.growth.title") }}
  262. </h4>
  263. <p class="text-zinc-300/80 text-sm leading-relaxed">
  264. {{ t("careers.culture.growth.description") }}
  265. </p>
  266. </div>
  267. </div>
  268. </div>
  269. </div>
  270. </div>
  271. </div>
  272. </section>
  273. <!-- 职位列表区域 -->
  274. <section class="jobs-section">
  275. <div
  276. class="section-block w-full py-20 md:py-32 relative"
  277. >
  278. <!-- 背景网格pattern -->
  279. <div class="absolute inset-0 opacity-5">
  280. <div
  281. class="absolute inset-0 bg-[linear-gradient(rgba(52,211,153,0.1)_1px,transparent_1px),linear-gradient(90deg,rgba(52,211,153,0.1)_1px,transparent_1px)] bg-[size:100px_100px]"
  282. ></div>
  283. </div>
  284. <div
  285. class="max-w-screen-2xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10"
  286. >
  287. <div class="text-center mb-12 md:mb-20">
  288. <div
  289. class="inline-flex items-center px-4 py-2 bg-emerald-400/10 rounded-xl border border-emerald-400/20 backdrop-blur-sm mb-6"
  290. >
  291. <span
  292. class="text-emerald-400 text-xs font-bold tracking-[0.2em] uppercase"
  293. >
  294. {{ t("careers.jobs.sectionTitle") }}
  295. </span>
  296. </div>
  297. <h3
  298. class="text-white text-2xl md:text-4xl font-bold mb-6 tracking-wider"
  299. >
  300. {{ t("careers.jobs.title") }}
  301. </h3>
  302. <div class="w-20 h-px bg-emerald-400 mx-auto mb-8"></div>
  303. <p
  304. class="text-zinc-300/80 text-base md:text-lg max-w-3xl mx-auto leading-relaxed"
  305. >
  306. {{ t("careers.jobs.description") }}
  307. </p>
  308. <!-- 职位统计 -->
  309. <div v-if="totalJobs > 0" class="mt-8">
  310. <div
  311. class="inline-flex items-center px-4 py-2 bg-emerald-400/5 rounded-xl border border-emerald-400/10"
  312. >
  313. <svg class="w-4 h-4 mr-2 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  314. <path d="M21.5 12.5v-6a2 2 0 00-2-2h-15a2 2 0 00-2 2v12a2 2 0 002 2h6"></path>
  315. <path d="M16.5 14.5a2.5 2.5 0 115 0 2.5 2.5 0 01-5 0z"></path>
  316. <path d="M21.5 12.5v1.5a1 1 0 01-1 1h-4a1 1 0 01-1-1v-1.5"></path>
  317. </svg>
  318. <span class="text-emerald-400 text-sm font-medium">
  319. {{ t('careers.CurrentlyOpen') }} {{ jobsList.length }} {{ t('careers.Aposition') }}
  320. </span>
  321. </div>
  322. </div>
  323. </div>
  324. <!-- 加载状态 -->
  325. <div v-if="jobsLoading" class="flex justify-center py-20">
  326. <div
  327. class="animate-spin h-8 w-8 border-4 border-emerald-400 rounded-full border-t-transparent"
  328. ></div>
  329. </div>
  330. <!-- 职位列表 -->
  331. <div v-else-if="jobsList.length > 0">
  332. <!-- 职位卡片网格 -->
  333. <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
  334. <JobCard
  335. v-for="job in jobsList"
  336. :key="job.id"
  337. :job="job"
  338. @click="handleJobClick"
  339. />
  340. </div>
  341. </div>
  342. <!-- 无职位状态 -->
  343. <div v-else class="text-center py-20">
  344. <div
  345. class="relative inline-flex items-center justify-center w-24 h-24 mb-8"
  346. >
  347. <svg
  348. class="w-12 h-12 text-zinc-500"
  349. fill="none"
  350. stroke="currentColor"
  351. viewBox="0 0 24 24"
  352. >
  353. <path
  354. stroke-linecap="round"
  355. stroke-linejoin="round"
  356. stroke-width="2"
  357. d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2-2v2m8 0H8m8 0v2a2 2 0 002 2M8 6V4h8V6M8 6v2a2 2 0 002 2h4a2 2 0 002-2V6"
  358. ></path>
  359. </svg>
  360. </div>
  361. <h4 class="text-zinc-400 text-xl font-medium mb-3">
  362. {{ t("careers.jobs.noPositions") }}
  363. </h4>
  364. <p
  365. class="text-zinc-500 text-base max-w-md mx-auto leading-relaxed"
  366. >
  367. {{ t("careers.jobs.checkLater") }}
  368. </p>
  369. </div>
  370. </div>
  371. </div>
  372. </section>
  373. <!-- 底部CTA区域 -->
  374. <section class="cta-section">
  375. <div
  376. class="section-block w-full py-20 md:py-32 relative"
  377. >
  378. <!-- 图片背景 -->
  379. <img
  380. src="/assets/images/careers.webp"
  381. alt="CTA Background"
  382. class="absolute inset-0 w-full h-full object-cover opacity-40 z-0"
  383. />
  384. <div
  385. class="max-w-screen-2xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-center"
  386. >
  387. <div class="max-w-3xl mx-auto space-y-8">
  388. <h3
  389. class="text-white text-2xl md:text-4xl font-bold leading-tight"
  390. >
  391. {{ t("careers.cta.title") }}
  392. </h3>
  393. <p class="text-zinc-300/80 text-base md:text-xl leading-relaxed">
  394. {{ t("careers.cta.description") }}
  395. </p>
  396. <div class="pt-4">
  397. <nuxt-link
  398. :to="`${homepagePath}/contact`"
  399. class="inline-flex w-32 h-10 md:w-40 md:h-11 bg-zinc-300/10 rounded-lg outline outline-1 items-center justify-center gap-2 outline-white/20 backdrop-blur-[10px] cursor-pointer hover:bg-zinc-300/20 transition-colors duration-200"
  400. >
  401. <span class="text-sm md:text-base font-normal text-white">{{
  402. t("careers.cta.button")
  403. }}</span>
  404. <i class="icon-arrow-right text-xs md:text-sm font-normal text-white"></i>
  405. </nuxt-link>
  406. </div>
  407. </div>
  408. </div>
  409. </div>
  410. </section>
  411. </ErrorBoundary>
  412. </div>
  413. </div>
  414. </template>
  415. <script setup lang="ts">
  416. import type { Job, JobsApiResponse } from "~/data/jobs";
  417. import { localJobs } from "~/data/jobs";
  418. const { t, locale } = useI18n();
  419. // 计算首页路径
  420. const homepagePath = computed(() => {
  421. return locale.value === "zh" ? "" : `/${locale.value}`;
  422. });
  423. // SEO和页面元数据
  424. useSeoMeta({
  425. title: `${t("careers.title")} - Hanye`,
  426. description: t("careers.subtitle"),
  427. keywords: t("careers.keywords"),
  428. });
  429. // 响应式数据
  430. const pageError = ref<Error | null>(null);
  431. const jobsLoading = ref(false);
  432. const jobsList = ref<Job[]>([]);
  433. const totalJobs = ref(0);
  434. // API配置
  435. const API_BASE_URL = "https://digital.sohomall.jp/prod-api/system/workInfo";
  436. /**
  437. * 从API获取职位数据
  438. * @param pageNum 页码
  439. * @param pageSize 页面大小
  440. * @returns Promise<JobsApiResponse>
  441. */
  442. const fetchJobsFromApi = async (
  443. pageNum: number = 1,
  444. pageSize: number = 10
  445. ): Promise<JobsApiResponse> => {
  446. const response = await $fetch<JobsApiResponse>(
  447. `${API_BASE_URL}/noVerifyList`,
  448. {
  449. params: {
  450. pageNum,
  451. pageSize,
  452. },
  453. timeout: 10000, // 10秒超时
  454. }
  455. );
  456. if (response.code !== 200) {
  457. throw new Error(response.msg || "获取职位信息失败");
  458. }
  459. return response;
  460. };
  461. /**
  462. * 初始化职位数据
  463. */
  464. const initializeJobs = async () => {
  465. try {
  466. jobsLoading.value = true;
  467. pageError.value = null;
  468. // 尝试从API获取数据
  469. const apiResponse = await fetchJobsFromApi();
  470. console.log(apiResponse);
  471. // 过滤掉已禁用的职位
  472. const availableJobs = apiResponse.rows.filter(
  473. (job: Job) => job.isDisabled !== "0"
  474. );
  475. jobsList.value = availableJobs;
  476. totalJobs.value = apiResponse.total;
  477. console.log(`成功加载 ${availableJobs.length} 个职位信息`);
  478. } catch (error) {
  479. console.warn("API获取失败,使用本地数据:", error);
  480. // API失败时使用本地数据作为fallback
  481. jobsList.value = localJobs;
  482. totalJobs.value = localJobs.length;
  483. // 不设置pageError,因为有fallback数据
  484. } finally {
  485. jobsLoading.value = false;
  486. }
  487. };
  488. /**
  489. * 处理职位点击事件
  490. * @param job 职位信息
  491. */
  492. const handleJobClick = (job: Job) => {
  493. // 这里可以添加职位详情页面跳转或弹窗逻辑
  494. console.log("Job clicked:", job);
  495. };
  496. /**
  497. * 处理联系按钮点击
  498. */
  499. const handleContactClick = () => {
  500. navigateTo("/contact");
  501. };
  502. /**
  503. * 刷新职位数据
  504. */
  505. const refreshJobs = async () => {
  506. await initializeJobs();
  507. };
  508. // 组件挂载时初始化数据
  509. onMounted(async () => {
  510. await initializeJobs();
  511. // 添加页面加载动画
  512. nextTick(() => {
  513. const cards = document.querySelectorAll(".culture-card, .job-card");
  514. cards.forEach((card, index) => {
  515. setTimeout(() => {
  516. (card as HTMLElement).style.opacity = "1";
  517. (card as HTMLElement).style.transform = "translateY(0)";
  518. }, 100 * index);
  519. });
  520. // 面包屑动画
  521. const breadcrumb = document.querySelector("nav");
  522. if (breadcrumb) {
  523. setTimeout(() => {
  524. breadcrumb.classList.remove("opacity-0");
  525. breadcrumb.classList.add("opacity-100");
  526. }, 200);
  527. }
  528. });
  529. });
  530. </script>
  531. <style scoped>
  532. .careers-page {
  533. scroll-behavior: smooth;
  534. }
  535. .culture-card,
  536. .job-card {
  537. opacity: 0;
  538. transform: translateY(20px);
  539. transition: opacity 0.8s ease, transform 0.8s ease;
  540. }
  541. @keyframes fade-in {
  542. from {
  543. opacity: 0;
  544. transform: translateY(10px);
  545. }
  546. to {
  547. opacity: 1;
  548. transform: translateY(0);
  549. }
  550. }
  551. .animate-fade-in {
  552. animation: fade-in 0.6s ease-out forwards;
  553. }
  554. /* 自定义滚动条 */
  555. ::-webkit-scrollbar {
  556. width: 6px;
  557. }
  558. ::-webkit-scrollbar-track {
  559. background: rgba(0, 0, 0, 0.1);
  560. }
  561. ::-webkit-scrollbar-thumb {
  562. background: #35f1ff;
  563. border-radius: 3px;
  564. }
  565. ::-webkit-scrollbar-thumb:hover {
  566. background: #35f1ff;
  567. }
  568. /* 动画关键帧 */
  569. @keyframes float {
  570. 0%,
  571. 100% {
  572. transform: translateY(0px);
  573. }
  574. 50% {
  575. transform: translateY(-10px);
  576. }
  577. }
  578. @keyframes pulse-glow {
  579. 0%,
  580. 100% {
  581. box-shadow: 0 0 5px rgba(53, 241, 255, 0.3);
  582. }
  583. 50% {
  584. box-shadow: 0 0 20px rgba(53, 241, 255, 0.6);
  585. }
  586. }
  587. .animate-float {
  588. animation: float 6s ease-in-out infinite;
  589. }
  590. .animate-pulse-glow {
  591. animation: pulse-glow 2s ease-in-out infinite;
  592. }
  593. /* 蒙层和光泽效果 */
  594. .section-block {
  595. position: relative;
  596. transition: all 0.5s ease;
  597. overflow: hidden;
  598. }
  599. .section-block::before {
  600. content: "";
  601. position: absolute;
  602. inset: 0;
  603. opacity: 0;
  604. transition: opacity 0.5s ease;
  605. pointer-events: none;
  606. z-index: 5;
  607. }
  608. .section-block:hover::before {
  609. opacity: 1;
  610. }
  611. /* 为每个模块单独定义蒙层颜色 */
  612. .culture-section .section-block::before {
  613. background: linear-gradient(
  614. 45deg,
  615. transparent,
  616. rgba(99, 102, 241, 0.1), /* Indigo */
  617. transparent
  618. );
  619. }
  620. .jobs-section .section-block::before {
  621. background: linear-gradient(
  622. 45deg,
  623. transparent,
  624. rgba(52, 211, 153, 0.1), /* Emerald */
  625. transparent
  626. );
  627. }
  628. .cta-section .section-block::before {
  629. background: linear-gradient(
  630. 45deg,
  631. transparent,
  632. rgba(241, 252, 255, 0.021), /* Rose */
  633. transparent
  634. );
  635. }
  636. </style>