sdk.vue 4.4 KB

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