ProductTabs.vue 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <template>
  2. <div class="product-tabs-container">
  3. <section class="product-tabs">
  4. <div v-for="(tab, index) in tabs" :key="index" class="tab-item" :class="{ active: activeTab === index }"
  5. @click="tabClick(index)">
  6. {{ tab.name }}
  7. </div>
  8. </section>
  9. <section class="product-cards-wrapper">
  10. <component :is="currentLayout" :key="activeTab" :cards="currentTabData.cards" />
  11. </section>
  12. </div>
  13. </template>
  14. <script setup>
  15. import { ref, computed } from 'vue'
  16. import MultiCardLayout from './ProductTabs/MultiCardLayout.vue'
  17. import SingleCardLayout from './ProductTabs/SingleCardLayout.vue'
  18. const activeTab = ref(0)
  19. const tabs = [
  20. {
  21. name: '网站安全加速',
  22. layout: 'multi',
  23. cards: [
  24. {
  25. title: 'Web安全加速',
  26. description: '为游戏、电商、金融、医疗、门户等网站业务,提供DDoS、CC、页面篡改、爬虫等各类攻击防护,结合精准访问控制和全网联防联控,在抵御各类攻击的同时,保障网站业务的快速稳定访问。',
  27. features: ['支持HTTP、HTTPS和WebSocket协议', '适用网站类业务']
  28. },
  29. {
  30. title: 'DNS安全加速',
  31. description: '安全可靠的智能DNS解析服务,具备多重灾备机制,支持IPv4、IPv6双栈,全球及自定义智能解析线路,运营商缓存刷新,提供大QPS DNS查询攻击、大流量DNS DDoS攻击等针对域名解析的攻击防御服务,为网站域名提供安全、稳定、可靠的解析体验。',
  32. features: ['支持定制专用清洗集群']
  33. },
  34. {
  35. title: '扫描观测(漏洞扫描)',
  36. description: '为网站业务提供安全体检服务,模拟黑客视角,对网站业务进行可用性监测、内容安全监测、漏洞渗透性探测等风险多维度巡检综合评估,提出相应安全对策,告警安全事件,输出网站安全体检报告',
  37. features: []
  38. }
  39. ]
  40. },
  41. {
  42. name: 'TCP业务安全',
  43. layout: 'single',
  44. cards: [
  45. {
  46. title: 'TCP安全加速',
  47. description: '为游戏、电商、金融等客户的TCP协议应用业务提供DDoS替身安全防御服务,支持HTTP、HTTPS、WebSocket和TCP协议,适用于网站及非网站业务 隐藏目标源IP,将DDoS攻击流量牵引至TCP安全加速的高防清洗集群,结合 全球IP威胁情报库、用户行为分析、特征学习、防护对抗等多种技术,有效防护SYN Flood、UDP Flood、ACK Flood、ICMP Flood、DNS Query Flood、NTP Reply Flood、CC等DDoS攻击,全方位对威胁进行阻断过滤',
  48. features: ['全力防御,不按防御大小计费 ', '超80Tbps储存宽带,融合强大得清洗能力']
  49. }
  50. ]
  51. },
  52. {
  53. name: '客户端安全加速',
  54. layout: 'single',
  55. cards: [
  56. {
  57. title: 'SDK安全加速 AntiDDoS SDK (Client&Mobile SDK)',
  58. description: '专门针对游戏、电商、金融等APP提供DDoS、CC攻击防护服务通过在端应用嵌入安全SDK,结合风控大脑,形成主动端安全、风险管控调度、云安全资源池的端管云一体化安全架构核心风控大脑持续评估每个终端设备环境、网络环境、应用程序和用户行为是否可信,标注威胁等级 未通过可信认证的终端将被拒绝服务且进行攻击智能拆分调度,可信用户即使在被攻击后也能秒级调度,最终做到动态地隔离风险用户,定位攻击者',
  59. features: ['终端管控、智能调度、DDoS/CC免疫、链路加密、精准溯源']
  60. }
  61. ]
  62. },
  63. {
  64. name: '专家服务',
  65. layout: 'single',
  66. cards: [
  67. {
  68. title: '“管家式”人工服务,全天候业务护航',
  69. description: '提供等保咨询、渗透测试、应急演练、应急响应、现场值守、重点事件安全保障等多种专家服务',
  70. features: []
  71. }
  72. ]
  73. },
  74. {
  75. name: '零信任安全访问',
  76. layout: 'single',
  77. cards: [
  78. {
  79. title: '零信任安全访问',
  80. description: '为企业应用提供服务级的动态自适应细粒度授权,替代内部VPN,实现应用统一管理、企业应用程序远程访问服务,解决企业内、外部相对应的安全风险',
  81. features: []
  82. }
  83. ]
  84. },
  85. {
  86. name: '出海业务保障',
  87. layout: 'single',
  88. cards: [
  89. {
  90. title: '出海业务保障',
  91. description: '为企业应用提供服务级的动态自适应细粒度授权,替代内部VPN,实现应用统一管理、企业应用程序远程访问服务,解决企业内、外部相对应的安全风险',
  92. features: []
  93. }
  94. ]
  95. }
  96. ]
  97. const tabClick = (index) => {
  98. activeTab.value = index
  99. }
  100. const currentTabData = computed(() => tabs[activeTab.value])
  101. const currentLayout = computed(() => {
  102. return currentTabData.value.layout === 'multi' ? MultiCardLayout : SingleCardLayout
  103. })
  104. </script>
  105. <style scoped lang="scss">
  106. .product-tabs-container {
  107. width: 100%;
  108. }
  109. .product-tabs {
  110. width: 100%;
  111. max-width: 1200px;
  112. padding: 0 20px;
  113. box-sizing: border-box;
  114. height: 100px;
  115. margin: 0 auto;
  116. border-radius: 150px;
  117. background: linear-gradient(177deg, rgba(165, 101, 255, 0.30) -20.47%, rgba(3, 0, 20, 0.30) 134.25%);
  118. backdrop-filter: blur(20px);
  119. display: flex;
  120. align-items: center;
  121. gap: 60px;
  122. .tab-item {
  123. font-family: 'Source Han Sans CN', sans-serif;
  124. font-size: 16px;
  125. font-weight: 400;
  126. line-height: 16px;
  127. color: #ffffff;
  128. cursor: pointer;
  129. white-space: nowrap;
  130. transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. width: 177px;
  135. height: 60px;
  136. padding: 0;
  137. border-radius: 46.5px;
  138. background: transparent;
  139. &.active {
  140. background: linear-gradient(62.84deg, rgba(130, 77, 255, 1) 0%, rgba(164, 125, 255, 1) 100%);
  141. color: #ffffff;
  142. transform: translateY(0);
  143. }
  144. &:hover:not(.active) {
  145. color: #bdbdbd;
  146. transform: translateY(-2px);
  147. }
  148. }
  149. }
  150. .product-cards-wrapper {
  151. width: 100%;
  152. max-width: 1200px;
  153. margin: 81px auto 0;
  154. padding: 0 20px;
  155. box-sizing: border-box;
  156. }
  157. .product-cards {
  158. width: 100%;
  159. height: 474px;
  160. border-radius: 20px;
  161. background: linear-gradient(177deg, rgba(165, 101, 255, 0.30) -20.47%, rgba(3, 0, 20, 0.30) 134.25%);
  162. }
  163. .fade-enter-active,
  164. .fade-leave-active {
  165. transition: opacity 0.3s ease, transform 0.3s ease;
  166. }
  167. .fade-enter-from {
  168. opacity: 0;
  169. transform: translateY(10px);
  170. }
  171. .fade-leave-to {
  172. opacity: 0;
  173. transform: translateY(-10px);
  174. }
  175. </style>