boost.vue 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. <template>
  2. <div>
  3. <section class="video-section">
  4. <video ref="videoRef" class="video-bg" src="~/assets/video/web.mp4" autoplay loop muted playsinline
  5. @loadedmetadata="onVideoLoaded"></video>
  6. <div class="video-title">
  7. <p class="video-text">Intelligent routing / dynamic optimization / real-time processing</p>
  8. <h1><span>高防</span>服务器,也能<span>极致加速</span></h1>
  9. <div class="video-subtitle">
  10. <p>因为我们通过全球近源清洗,把攻击挡在千里之外,为合法流量让出了纯净快车道</p>
  11. <p>这得益于我们完整的智能网络架构,可以以此基础构建原生的高防CDN,</p>
  12. <p>这是一套完整的解决方案,而非功能拼凑 </p>
  13. </div>
  14. <div class="video-btn">
  15. <span>联系我们</span>
  16. <Icon name="line-md:chevron-right" />
  17. </div>
  18. </div>
  19. </section>
  20. <Defense />
  21. <SecurityServicesSuite />
  22. <section class="tabs-section">
  23. <ParticlesCanvas class="tabs-canvas" />
  24. <div class="toggle-container">
  25. <div class="toggle-bg" :class="{ 'right': activeTab === 'defense' }"></div>
  26. <div class="toggle-option" :class="{ 'active': activeTab === 'accelerate' }" @click="activeTab = 'accelerate'">
  27. 加速
  28. </div>
  29. <div class="toggle-option" :class="{ 'active': activeTab === 'defense' }" @click="activeTab = 'defense'">
  30. 防御
  31. </div>
  32. </div>
  33. <div class="tab-content">
  34. <transition name="fade" mode="out-in">
  35. <div v-if="activeTab === 'accelerate'" key="accelerate" class="content-panel">
  36. <div class="content-text">
  37. <h3>高防,不应以牺牲速度为代价</h3>
  38. <div>
  39. <p> 在传统方案中,您常常面临两难选择:开启全力防御,可能影响用户体验;追求极致速度,又需在安全上承担风险。 我们的高防服务器终结了这种取舍。它通过全球近源清洗与智能路由调度的一体化架构,实现了:</p>
  40. <p> 1. <span>加速式防御</span>:攻击在远离您服务器的外围被化解,合法流量无需绕行任何冗余检查点,路径更短,延迟更低。</p>
  41. <p>2. <span>无感安全</span>:用户不会感知到任何复杂的验证或速度衰减,他们只会体验到前所未有的稳定与流畅。</p>
  42. <p> <span>这意味您的业务可以同时达成两个看似矛盾的目标:在顶级安全防护下,实现全球用户的极速访问。</span></p>
  43. </div>
  44. </div>
  45. <NuxtPicture width="446" height="366" src="/images/products/tab-img.png" alt="tab图片" />
  46. </div>
  47. <div v-else key="defense" class="content-panel">
  48. <div class="content-text">
  49. <h3>御攻击于无形,赋业务以极速</h3>
  50. <div>
  51. <p>我们的高防服务器,重新定义了“防护”的含义。它并非在您的业务通道上设置一道需要检查的“减速闸”,而是在全球网络边缘提前构建了一个智能的“净化与调度层”。</p>
  52. <p>• <span>对于攻击流量</span>:在靠近攻击源的枢纽进行实时清洗与拦截,使其根本无权进入您的业务通道。</p>
  53. <p>• <span>对于合法用户</span>:系统自动为其选择最洁净、最短、最稳定的路径,直连您的服务器。</p>
  54. <p><span>因此,您获得的不是一个“更安全但可能更慢”的服务器,而是一个 “因极致安全而更加通畅” 的业务环境。威胁被阻挡在外,而体验畅行无内。</span></p>
  55. </div>
  56. </div>
  57. <NuxtPicture width="446" height="366" src="/images/products/tab-img.png" alt="tab图片" />
  58. </div>
  59. </transition>
  60. </div>
  61. </section>
  62. </div>
  63. </template>
  64. <script setup>
  65. definePageMeta({
  66. layout: 'pc'
  67. })
  68. useHead(() => ({
  69. title: '高防服务器',
  70. meta: [
  71. { name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' },
  72. { name: 'description', content: '高防服务器,也能极致加速' },
  73. { name: 'keywords', content: 'CDN分发|网站保护' }
  74. ]
  75. }))
  76. import SecurityServicesSuite from '~/components/products/SecurityServicesSuite.vue';
  77. import Defense from '~/components/products/Defense.vue';
  78. import ParticlesCanvas from '~/components/ParticlesCanvas.vue'
  79. const activeTab = ref('accelerate')
  80. </script>
  81. <style lang="scss" scoped>
  82. .video-section {
  83. position: relative;
  84. width: 100%;
  85. margin: 0 auto;
  86. overflow: hidden;
  87. .video-bg {
  88. width: 100%;
  89. height: auto;
  90. display: block;
  91. z-index: 1;
  92. position: relative;
  93. object-fit: cover;
  94. clip-path: inset(0 0 9% 0);
  95. }
  96. .video-title {
  97. position: absolute;
  98. top: 30%;
  99. left: 48%;
  100. transform: translateX(-50%);
  101. width: 100%;
  102. max-width: 1200px;
  103. z-index: 3;
  104. color: #fff;
  105. font-style: normal;
  106. display: flex;
  107. flex-direction: column;
  108. h1 {
  109. color: #D8D3FF;
  110. font-size: 45px;
  111. font-style: normal;
  112. font-weight: 500;
  113. line-height: 80px;
  114. span {
  115. color: #997DFF;
  116. }
  117. }
  118. .video-subtitle {
  119. color: #E2D9FF;
  120. font-size: 16px;
  121. font-weight: 400;
  122. line-height: 30px;
  123. >p:last-of-type {
  124. color: #9C8DFE;
  125. font-size: 18px;
  126. }
  127. }
  128. .video-text {
  129. color: #E2D9FF;
  130. font-size: 20px;
  131. font-style: normal;
  132. font-weight: 300;
  133. line-height: 30px;
  134. }
  135. .video-btn {
  136. cursor: pointer;
  137. margin-top: 30px;
  138. display: flex;
  139. box-sizing: border-box;
  140. width: 255px;
  141. height: 60px;
  142. padding: 7px 21px 7px 45px;
  143. justify-content: center;
  144. align-items: center;
  145. gap: 10px;
  146. border-radius: 10px;
  147. background: linear-gradient(91deg, #A39DFF 1.24%, #7D46FF 122.93%);
  148. }
  149. }
  150. }
  151. .tabs-section {
  152. width: 100%;
  153. height: 660px;
  154. position: relative;
  155. &::before {
  156. content: "";
  157. position: absolute;
  158. left: 50%;
  159. top: 0;
  160. transform: translate(-50%);
  161. width: 972px;
  162. height: 604px;
  163. border-radius: 972px;
  164. background: linear-gradient(180deg, rgba(123, 140, 255, 0.20) 0.19%, rgba(135, 85, 255, 0.20) 46.36%);
  165. filter: blur(50px);
  166. z-index: 1;
  167. }
  168. &::after {
  169. content: "";
  170. position: absolute;
  171. left: 50%;
  172. top: 0%;
  173. transform: translate(-50%);
  174. width: 574px;
  175. height: 336px;
  176. border-radius: 574px;
  177. background: linear-gradient(180deg, #7B8CFF 0.19%, #8755FF 46.36%);
  178. filter: blur(50px);
  179. z-index: 1;
  180. }
  181. .tabs-canvas {
  182. position: absolute;
  183. height: 200px;
  184. top: -10%;
  185. left: 50%;
  186. transform: translate(-50%);
  187. }
  188. .toggle-container {
  189. position: relative;
  190. display: flex;
  191. width: 200px;
  192. height: 50px;
  193. border-radius: 26px;
  194. border: 1px solid #CCA8FF;
  195. background: rgba(22, 19, 56, 0.50);
  196. backdrop-filter: blur(10px);
  197. cursor: pointer;
  198. overflow: hidden;
  199. user-select: none;
  200. margin: 0 auto;
  201. z-index: 10;
  202. box-sizing: border-box;
  203. }
  204. .toggle-bg {
  205. position: absolute;
  206. top: 0;
  207. left: 0;
  208. width: 50%;
  209. height: 100%;
  210. background: #17133B;
  211. border-radius: 24px;
  212. transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  213. z-index: 1;
  214. }
  215. .toggle-bg.right {
  216. transform: translateX(100%);
  217. }
  218. .toggle-option {
  219. flex: 1;
  220. display: flex;
  221. align-items: center;
  222. justify-content: center;
  223. z-index: 2;
  224. color: #9D8FFF;
  225. font-size: 20px;
  226. font-weight: 500;
  227. line-height: 20px;
  228. transition: color 0.3s;
  229. }
  230. .fade-enter-active,
  231. .fade-leave-active {
  232. transition: opacity 0.3s ease;
  233. }
  234. .fade-enter-from,
  235. .fade-leave-to {
  236. opacity: 0;
  237. }
  238. .toggle-option.active {
  239. color: #D2CCFF;
  240. }
  241. .tab-content {
  242. position: relative;
  243. width: 100%;
  244. max-width: 1200px;
  245. margin: 40px auto 0;
  246. padding: 40px 15px 40px 60px;
  247. box-sizing: border-box;
  248. z-index: 2;
  249. border-radius: 20px;
  250. border-top: 2px solid #9F46FF;
  251. background: rgba(28, 26, 43, 0.60);
  252. backdrop-filter: blur(100px);
  253. color: #fff;
  254. min-height: 446px;
  255. .content-panel {
  256. display: flex;
  257. gap: 56px;
  258. .content-text {
  259. margin-top: 40px;
  260. display: flex;
  261. flex-direction: column;
  262. gap: 40px;
  263. h3 {
  264. color: #FFF;
  265. font-size: 45px;
  266. font-weight: 400;
  267. line-height: 45px;
  268. }
  269. p {
  270. color: rgba(255, 255, 255, 0.60);
  271. font-size: 14px;
  272. font-weight: 400;
  273. line-height: 26px;
  274. width: 622px;
  275. }
  276. span {
  277. color: #A39DFF;
  278. }
  279. }
  280. }
  281. }
  282. }
  283. </style>