products.vue 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <template>
  2. <section class="container">
  3. <section class="video-section">
  4. <div class="left-bg"></div>
  5. <video ref="videoRef" class="video-bg" src="~/assets/video/products1.mp4" autoplay loop muted playsinline
  6. @loadedmetadata="onVideoLoaded"></video>
  7. <div class="video-title">
  8. <h1>DDAC游戏盾——让APP自带</h1>
  9. <div class="video-subtitle">“国家级别”防御</div>
  10. <div class="video-text">
  11. <p>我们把7层防护做成了一根函数 StartService</p>
  12. <p>客户端程序员几分钟就能完成集成,黑产却要</p>
  13. <p>重新设计整条攻击链</p>
  14. </div>
  15. </div>
  16. </section>
  17. <Introduction />
  18. <section class="main-text">
  19. <h2 class="main-text-title">一体化解决游戏安全问题</h2>
  20. <p class="main-text-subtitle">整合资源、强化防御,让安全从未如此简单</p>
  21. </section>
  22. <Card />
  23. <section class="products-server">
  24. <h2>为您定制的企业级安全服务包</h2>
  25. <PlansSection style="margin-top: 40px;" />
  26. </section>
  27. <section class="products-sdk">
  28. <h2>安全加速SDK防护架构</h2>
  29. <NuxtPicture src="/images/products/flowchart.png" alt="安全加速SDK防护架构" />
  30. </section>
  31. </section>
  32. </template>
  33. <script setup>
  34. definePageMeta({
  35. layout: 'pc'
  36. })
  37. import { ref } from 'vue'
  38. import Introduction from '~/components/products/Introduction.vue'
  39. import Card from '~/components/products/Card.vue'
  40. const videoRef = ref(null)
  41. const onVideoLoaded = () => {
  42. if (videoRef.value) {
  43. videoRef.value.play().catch(() => {
  44. // 自动播放失败时静默处理
  45. })
  46. }
  47. }
  48. useHead(() => ({
  49. title: '产品中心 - DDAC',
  50. meta: [
  51. { name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' },
  52. { name: 'description', content: '一体化解决游戏安全问题' },
  53. { name: 'keywords', content: '全链加密 | DDoS 防护 | 智能加速 ' }
  54. ]
  55. }))
  56. </script>
  57. <style scoped lang="scss">
  58. .container {
  59. width: 100%;
  60. height: 100%;
  61. overflow: hidden;
  62. box-sizing: border-box;
  63. }
  64. .video-section {
  65. position: relative;
  66. width: 100%;
  67. margin: 0 auto;
  68. overflow: hidden;
  69. .left-bg {
  70. position: absolute;
  71. top: 0;
  72. left: 0;
  73. width: 927px;
  74. height: auto;
  75. aspect-ratio: 103/62;
  76. background-image: url('/images/products/bg.png');
  77. background-size: contain;
  78. background-position: center;
  79. background-repeat: no-repeat;
  80. z-index: 2;
  81. opacity: 0.6;
  82. }
  83. .video-bg {
  84. width: 100%;
  85. height: auto;
  86. display: block;
  87. z-index: 1;
  88. position: relative;
  89. }
  90. .video-title {
  91. position: absolute;
  92. top: 30%;
  93. left: 48%;
  94. transform: translateX(-50%);
  95. width: 100%;
  96. max-width: 1200px;
  97. z-index: 3;
  98. color: #fff;
  99. font-style: normal;
  100. display: flex;
  101. flex-direction: column;
  102. gap: 30px;
  103. h1 {
  104. font-size: 45px;
  105. font-weight: 500;
  106. line-height: 45px;
  107. background: linear-gradient(91deg, #D8D3FF -6.9%, #E6D2FF 111.73%);
  108. background-clip: text;
  109. }
  110. .video-subtitle {
  111. color: #DBB9FF;
  112. font-size: 45px;
  113. font-weight: 500;
  114. line-height: 45px;
  115. }
  116. .video-text {
  117. margin-top: 20px;
  118. display: flex;
  119. flex-direction: column;
  120. gap: 20px;
  121. }
  122. p {
  123. color: #E2D9FF;
  124. font-size: 20px;
  125. font-weight: 400;
  126. line-height: 20px;
  127. }
  128. }
  129. }
  130. .main-text {
  131. width: 100%;
  132. text-align: center;
  133. margin-top: 92px;
  134. .main-text-title {
  135. font-family: "Source Han Sans CN";
  136. font-size: 45px;
  137. font-style: normal;
  138. font-weight: 500;
  139. line-height: 80px;
  140. background: linear-gradient(90deg, #B8AFFF 20.05%, #C597FF 101.05%);
  141. background-clip: text;
  142. -webkit-background-clip: text;
  143. -webkit-text-fill-color: transparent;
  144. }
  145. .main-text-subtitle {
  146. color: #E2D9FF;
  147. font-family: "Source Han Sans CN";
  148. font-size: 24px;
  149. font-style: normal;
  150. font-weight: 400;
  151. line-height: 80px;
  152. }
  153. }
  154. .products-server {
  155. width: 100%;
  156. height: 1280px;
  157. display: flex;
  158. flex-direction: column;
  159. align-items: center;
  160. margin-top: 50px;
  161. position: relative;
  162. h2 {
  163. font-size: 45px;
  164. font-style: normal;
  165. font-weight: 500;
  166. line-height: 80px;
  167. background: linear-gradient(91deg, #B8AFFF 10.8%, #C597FF 108.3%);
  168. background-clip: text;
  169. -webkit-background-clip: text;
  170. -webkit-text-fill-color: transparent;
  171. }
  172. &::before {
  173. content: '';
  174. position: absolute;
  175. left: 50%;
  176. top: -14%;
  177. width: 1280px;
  178. height: 1280px;
  179. transform: translate(-50%) rotate(173.992deg);
  180. border-radius: 50%;
  181. background: linear-gradient(189deg, #7A41FF 6.39%, rgba(3, 0, 20, 0.20) 30.53%);
  182. filter: blur(50px);
  183. z-index: 0;
  184. }
  185. }
  186. .products-sdk {
  187. display: flex;
  188. flex-direction: column;
  189. align-items: center;
  190. gap: 50px;
  191. h2 {
  192. font-family: "Source Han Sans CN";
  193. font-size: 62px;
  194. font-style: normal;
  195. font-weight: 500;
  196. line-height: 80px;
  197. background: linear-gradient(91deg, #C597FF 4.96%, #C597FF 109.07%);
  198. background-clip: text;
  199. -webkit-background-clip: text;
  200. -webkit-text-fill-color: transparent;
  201. }
  202. }
  203. </style>