sdk.vue 5.3 KB

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