Flowchart.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <section class="about-flow">
  3. <div class="flow-title">
  4. <div class="flow-title-text">
  5. 全线产品自主研发
  6. </div>
  7. <div class="flow-title-subtext">
  8. 全线产品自主研发,从高防IP、CDN到游戏盾SDK,核心技术完全自控,安全能力不受制于人,防护效果快人一步。
  9. </div>
  10. </div>
  11. </section>
  12. </template>
  13. <script setup>
  14. </script>
  15. <style lang="scss" scoped>
  16. .about-flow {
  17. width: 1200px;
  18. margin: 0 auto;
  19. box-sizing: border-box;
  20. height: 500px;
  21. .flow-title {
  22. position: relative;
  23. border-radius: 10px;
  24. border: 2px solid #8B74FF;
  25. background: rgba(63, 51, 125, 0.30);
  26. color: #FFF;
  27. &::before {
  28. content: '';
  29. position: absolute;
  30. bottom: -75px;
  31. left: 50%;
  32. transform: translateX(-50%);
  33. width: 2px;
  34. height: 75px;
  35. background: #8B74FF;
  36. }
  37. &::after {
  38. content: '';
  39. position: absolute;
  40. bottom: -77px;
  41. left: 50%;
  42. transform: translateX(-50%);
  43. width: 0;
  44. height: 0;
  45. border-left: 10px solid transparent;
  46. border-right: 10px solid transparent;
  47. border-top: 12px solid #8B74FF;
  48. }
  49. }
  50. .flow-title-text {
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. width: 100%;
  55. height: 70px;
  56. font-size: 30px;
  57. font-weight: 400;
  58. background: rgba(128, 119, 255, .5);
  59. }
  60. .flow-title-subtext {
  61. padding: 16px 36px 22px;
  62. font-size: 24px;
  63. font-weight: 400;
  64. }
  65. }
  66. </style>