index.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. <template>
  2. <section>
  3. <section class="hero-section">
  4. <video ref="videoRef" class="hero-video-bg" preload="auto" :src="homeVideo" autoplay loop muted playsinline
  5. @loadedmetadata="onVideoLoaded"></video>
  6. <ParticlesCanvas class="canvas-overlay" />
  7. <div class="hero-content">
  8. <h2 class="hero-title">您专注业务,我们守护安全&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;再强的攻击,也有攻不破的防线
  9. </h2>
  10. <div class="hero-subtitle">
  11. <p>高防服务器&nbsp;|&nbsp;高防DNS&nbsp;|&nbsp;游戏盾SDK&nbsp;|&nbsp;高防CDN&nbsp;全方位守护您的业务</p>
  12. </div>
  13. </div>
  14. </section>
  15. <ProductTabs />
  16. <!-- 安全洞见标题 -->
  17. <!-- 数据展示区域 -->
  18. <!-- 安全运营与方案模块 -->
  19. <PlansSection />
  20. <!-- 安全漏洞 / 全景技术架构上方模块 -->
  21. <section class="security-arch-section">
  22. <!-- <NuxtImg alt="安全架构" src="/images/home/home-bg2.png" class="security-arch-img" />
  23. <div class="security-arch-animate">
  24. <SecurityParticles />
  25. </div> -->
  26. <div class="security-arch-desc">
  27. <h3 class="security-arch-title">
  28. 全景技术架构,让技术成为增长引擎
  29. </h3>
  30. <div class="security-arch-subtitle">
  31. <p>
  32. 从基础设施、数据引擎、服务中台到业务应用,层层协同,将算力、数据与能力统一管理,
  33. </p>
  34. <p>
  35. 保证系统在高并发、高复杂度场景下依然稳定运行。
  36. </p>
  37. </div>
  38. </div>
  39. </section>
  40. <section class="security-flowchart">
  41. <Flowchart />
  42. </section>
  43. <section class="insight-header">
  44. <h2 class="insight-title">安全洞见&nbsp;&nbsp;&nbsp;全网感知</h2>
  45. <p class="insight-subtitle">实时攻防态势数据</p>
  46. </section>
  47. <StatsSection />
  48. <!-- 助力各行业客户成功 -->
  49. <section class="cain-section">
  50. <h3 class="cain-section-title">
  51. 助力各行业客户成功
  52. </h3>
  53. </section>
  54. <section class="industry">
  55. <div class="industry-content">
  56. <div class="industry-item">
  57. <img src="~/assets/svg/home/icon1.svg" alt="icon">
  58. <div class="industry-text">金融</div>
  59. </div>
  60. <div class="industry-item">
  61. <img src="~/assets/svg/home/icon2.svg" alt="icon">
  62. <div class="industry-text">互联网</div>
  63. </div>
  64. <div class="industry-item">
  65. <img src="~/assets/svg/home/icon3.svg" alt="icon">
  66. <div class="industry-text">医疗健康</div>
  67. </div>
  68. <div class="industry-item">
  69. <img src="~/assets/svg/home/icon4.svg" alt="icon">
  70. <div class="industry-text">制造</div>
  71. </div>
  72. <div class="industry-item">
  73. <img src="~/assets/svg/home/icon5.svg" alt="icon">
  74. <div class="industry-text">教育</div>
  75. </div>
  76. </div>
  77. <div class="industry-other">
  78. <div class="other-item">
  79. <NuxtImg width="172" src="/images/home/icon6.png" alt="卓越教育" />
  80. </div>
  81. <div class="other-item">
  82. <NuxtImg width="178" src="/images/home/icon7.png" alt="华福证券" />
  83. </div>
  84. <div class="other-item">
  85. <NuxtImg width="178" src="/images/home/icon8.png" alt="汉王" />
  86. </div>
  87. <div class="other-item">
  88. <NuxtImg width="178" src="/images/home/icon9.png" alt="隧道股份" />
  89. </div>
  90. <div class="other-item">
  91. <NuxtImg width="102" src="/images/home/icon10.png" alt="岳阳医院" />
  92. </div>
  93. <div class="other-item">
  94. <NuxtImg width="120" src="/images/home/icon11.png" alt="杉德" />
  95. </div>
  96. <div class="other-item">
  97. <NuxtImg width="154" src="/images/home/icon12.png" alt="易班" />
  98. </div>
  99. <div class="other-item">
  100. <NuxtImg width="164" src="/images/home/icon13.png" alt="银联商务" />
  101. </div>
  102. <div class="other-item">
  103. <NuxtImg width="164" src="/images/home/icon14.png" alt="长海医院" />
  104. </div>
  105. <div class="other-item">
  106. <NuxtImg width="102" src="/images/home/icon15.png" alt="斗象科技" />
  107. </div>
  108. <div class="other-item">
  109. <NuxtImg width="72" src="/images/home/icon16.png" alt="瑞金" />
  110. </div>
  111. <div class="other-item">
  112. <NuxtImg width="84" src="/images/home/icon17.png" alt="3L" />
  113. </div>
  114. <div class="other-item">
  115. <NuxtImg width="138" src="/images/home/icon18.png" alt="宝付" />
  116. </div>
  117. <div class="other-item">
  118. <NuxtImg width="66" src="/images/home/icon19.png" alt="新华医院" />
  119. </div>
  120. <div class="other-item">
  121. <NuxtImg width="180" src="/images/home/icon20.png" alt="中船重工物贸集团" />
  122. </div>
  123. </div>
  124. <div class="industry-title">
  125. <h3><span>立即加入</span> <span>安全之旅</span></h3>
  126. <div class="industry-subtitle">完成注册,即可免费体验 DDoS防护、CC防护、DNS解析等多款安全产品</div>
  127. </div>
  128. </section>
  129. </section>
  130. </template>
  131. <script setup>
  132. definePageMeta({
  133. layout: 'web'
  134. })
  135. import { ref } from 'vue'
  136. import StatsSection from '~/components/home/StatsSection.vue'
  137. import ProductTabs from '~/components/home/ProductTabs.vue'
  138. import PlansSection from '~/components/PlansSection.vue'
  139. import ParticlesCanvas from '~/components/ParticlesCanvas.vue'
  140. // import SecurityParticles from '~/components/SecurityParticles.vue'
  141. import homeVideo from '~/assets/video/home.webm'
  142. import Flowchart from '~/components/home/Flowchart.vue'
  143. const videoRef = ref(null)
  144. const onVideoLoaded = () => {
  145. if (videoRef.value) {
  146. videoRef.value.play().catch(() => {
  147. })
  148. }
  149. }
  150. useHead(() => ({
  151. title: 'DDAC',
  152. meta: [
  153. { name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' },
  154. { name: 'description', content: 'DDAC - 游戏盾防御' },
  155. { name: 'keywords', content: '高防服务器 | 高防DNS | 游戏盾SDK | 高防CDN' }
  156. ],
  157. link: [
  158. { rel: 'icon', href: '/favicon.ico' },
  159. // { rel: 'preload', as: 'video', href: homeVideo }
  160. ],
  161. }))
  162. </script>
  163. <style scoped lang="scss">
  164. .main-content {
  165. width: 100%;
  166. max-width: 1920px;
  167. margin: 0 auto;
  168. padding: 0;
  169. }
  170. .hero-section {
  171. width: 100%;
  172. height: 497px;
  173. position: relative;
  174. display: flex;
  175. align-items: center;
  176. justify-content: center;
  177. box-sizing: border-box;
  178. .hero-video-bg {
  179. position: absolute;
  180. top: -10%;
  181. left: 50%;
  182. width: 100%;
  183. transform: translate(-50%);
  184. object-fit: cover;
  185. clip-path: inset(0 0 0% 0);
  186. z-index: 0;
  187. }
  188. .canvas-overlay {
  189. position: absolute;
  190. top: 260px;
  191. left: 0;
  192. width: 100%;
  193. height: 50%; // 只显示上半部分
  194. pointer-events: none;
  195. z-index: 1; // 层级不要太高
  196. }
  197. .hero-content {
  198. width: 100%;
  199. max-width: 1568px;
  200. padding: 0 20px;
  201. box-sizing: border-box;
  202. display: flex;
  203. flex-direction: column;
  204. align-items: center;
  205. position: relative;
  206. z-index: 2; // 内容在视频和canvas之上
  207. margin: 0 auto;
  208. .hero-title {
  209. font-size: 30px;
  210. font-weight: 400;
  211. line-height: 30px;
  212. // color: #7c4dff;
  213. margin: 0;
  214. white-space: normal;
  215. text-align: center;
  216. word-break: break-word;
  217. max-width: 100%;
  218. background: linear-gradient(90deg, #7C4DFF 0.24%, #DEB9FF 45.03%, #617FFF 132.52%);
  219. background-clip: text;
  220. -webkit-background-clip: text;
  221. -webkit-text-fill-color: transparent;
  222. }
  223. .hero-subtitle {
  224. margin-top: 28px;
  225. width: 100%;
  226. max-width: 918.27px;
  227. // min-height: 341.49px;
  228. position: relative;
  229. display: flex;
  230. justify-content: center;
  231. align-items: flex-start;
  232. p {
  233. font-size: 20px;
  234. font-weight: 400;
  235. line-height: normal;
  236. color: #ffffff;
  237. margin: 0;
  238. text-align: center;
  239. white-space: normal;
  240. word-break: break-word;
  241. max-width: 100%;
  242. }
  243. }
  244. }
  245. }
  246. // 安全洞见标题
  247. .insight-header {
  248. width: 313px;
  249. margin: 100px auto 0;
  250. display: flex;
  251. flex-direction: column;
  252. align-items: center;
  253. .insight-title {
  254. font-size: 36px;
  255. font-weight: 400;
  256. line-height: 36px;
  257. color: #ffffff;
  258. margin: 0;
  259. white-space: nowrap;
  260. }
  261. .insight-subtitle {
  262. font-size: 24px;
  263. font-weight: 400;
  264. line-height: 24px;
  265. color: #a39dff;
  266. margin: 24px 0 0 0;
  267. text-align: center;
  268. }
  269. }
  270. // 安全架构展示(到全景技术架构上方)
  271. .security-arch-section {
  272. position: relative;
  273. padding-top: 120px;
  274. padding-bottom: 60px;
  275. box-sizing: border-box;
  276. .security-arch-desc {
  277. display: flex;
  278. flex-direction: column;
  279. align-items: center;
  280. color: #fff;
  281. gap: 30px;
  282. .security-arch-title {
  283. font-size: 45px;
  284. font-style: normal;
  285. font-weight: 400;
  286. line-height: 36px;
  287. }
  288. .security-arch-subtitle {
  289. color: #A39DFF;
  290. text-align: center;
  291. font-size: 20px;
  292. font-weight: 400;
  293. line-height: 30px;
  294. }
  295. }
  296. }
  297. .security-flowchart {
  298. position: relative;
  299. display: flex;
  300. justify-content: center;
  301. margin-top: 40px;
  302. }
  303. .cain-section {
  304. width: 100%;
  305. text-align: center;
  306. padding-top: 120px;
  307. padding-bottom: 60px;
  308. box-sizing: border-box;
  309. .cain-section-title {
  310. color: #FFF;
  311. font-size: 45px;
  312. font-weight: 400;
  313. line-height: 36px;
  314. }
  315. }
  316. $Diameter :890px;
  317. .industry {
  318. position: relative;
  319. display: flex;
  320. flex-direction: column;
  321. align-items: center;
  322. gap: 20px;
  323. z-index: 2;
  324. .industry-content {
  325. display: flex;
  326. gap: 16px;
  327. }
  328. .industry-item {
  329. display: flex;
  330. width: 220px;
  331. height: 100px;
  332. justify-content: center;
  333. align-items: center;
  334. border-radius: 20px;
  335. border: 1px solid #C6BAFF;
  336. background: linear-gradient(169deg, rgba(101, 70, 255, 0.60) -37.16%, rgba(101, 70, 255, 0.10) 193.82%);
  337. backdrop-filter: blur(1px);
  338. gap: 20px;
  339. }
  340. .industry-text {
  341. color: #FFF;
  342. font-size: 30px;
  343. font-weight: 400;
  344. line-height: 30px;
  345. }
  346. .industry-other {
  347. display: grid;
  348. gap: 16px;
  349. grid-template-columns: repeat(5, 1fr);
  350. grid-template-rows: repeat(3, auto);
  351. }
  352. .other-item {
  353. display: flex;
  354. justify-content: center;
  355. align-items: center;
  356. width: 220px;
  357. height: 100px;
  358. border-radius: 10px;
  359. border: 1px solid #B2A1FF;
  360. background: #1C192B;
  361. }
  362. .industry-title {
  363. h3 {
  364. padding: 40px 0;
  365. text-align: center;
  366. color: #FFF;
  367. font-size: 45px;
  368. font-style: normal;
  369. font-weight: 400;
  370. line-height: 45px;
  371. span {
  372. margin: 0 20px
  373. }
  374. }
  375. .industry-subtitle {
  376. text-align: center;
  377. color: #FFF;
  378. font-size: 26px;
  379. font-style: normal;
  380. font-weight: 400;
  381. line-height: 26px;
  382. }
  383. }
  384. }
  385. </style>