@@ -29,7 +29,7 @@ const svgClasses = computed(() => [
2929 </script >
3030
3131<template >
32- <svg :class =" svgClasses" viewBox =" 0 0 800 420 " role =" img" aria-label =" 系统架构图" >
32+ <svg :class =" svgClasses" viewBox =" 0 0 800 460 " role =" img" aria-label =" 系统架构图" >
3333 <defs >
3434 <!-- Gradient for layers -->
3535 <linearGradient id =" layer-gradient" x1 =" 0%" y1 =" 0%" x2 =" 100%" y2 =" 100%" >
@@ -53,13 +53,13 @@ const svgClasses = computed(() => [
5353 </defs >
5454
5555 <!-- Background -->
56- <rect x =" 10" y =" 10" width =" 780" height =" 400 " rx =" 20" fill =" var(--figure-fill-surface)" stroke =" var(--figure-stroke-primary)" stroke-width =" 1" opacity =" 0.3" />
56+ <rect x =" 10" y =" 10" width =" 780" height =" 440 " rx =" 20" fill =" var(--figure-fill-surface)" stroke =" var(--figure-stroke-primary)" stroke-width =" 1" opacity =" 0.3" />
5757
5858 <!-- Layer rectangles -->
5959 <g v-for =" (layer, i) in layers" :key =" layer.name" >
6060 <rect
6161 :x =" 50"
62- :y =" 30 + i * 95 "
62+ :y =" 30 + i * 104 "
6363 width =" 700"
6464 height =" 80"
6565 rx =" 12"
@@ -70,7 +70,7 @@ const svgClasses = computed(() => [
7070 <!-- Layer icon circle -->
7171 <circle
7272 :cx =" 100"
73- :cy =" 70 + i * 95 "
73+ :cy =" 70 + i * 104 "
7474 r =" 28"
7575 fill =" url(#layer-gradient)"
7676 filter =" url(#glow)"
@@ -79,7 +79,7 @@ const svgClasses = computed(() => [
7979 <!-- Layer number -->
8080 <text
8181 :x =" 100"
82- :y =" 76 + i * 95 "
82+ :y =" 76 + i * 104 "
8383 text-anchor =" middle"
8484 :fill =" isDark ? 'white' : 'var(--figure-fill-surface)'"
8585 font-family =" var(--font-display)"
@@ -92,7 +92,7 @@ const svgClasses = computed(() => [
9292 <!-- Layer name (English) -->
9393 <text
9494 :x =" 150"
95- :y =" 60 + i * 95 "
95+ :y =" 60 + i * 104 "
9696 class =" arch-diagram__label"
9797 >
9898 {{ layer.name }}
@@ -101,7 +101,7 @@ const svgClasses = computed(() => [
101101 <!-- Layer name (Chinese) -->
102102 <text
103103 :x =" 150"
104- :y =" 82 + i * 95 "
104+ :y =" 82 + i * 104 "
105105 class =" arch-diagram__label-zh"
106106 >
107107 {{ layer.nameZh }}
@@ -110,7 +110,7 @@ const svgClasses = computed(() => [
110110 <!-- Layer description -->
111111 <text
112112 :x =" 150"
113- :y =" 100 + i * 95 "
113+ :y =" 100 + i * 104 "
114114 class =" arch-diagram__desc"
115115 >
116116 {{ layer.desc }}
@@ -119,13 +119,13 @@ const svgClasses = computed(() => [
119119
120120 <!-- Connection arrows -->
121121 <g class =" arch-diagram__connections" >
122- <path d =" M400 110 L400 125 " class =" arch-diagram__arrow" />
123- <path d =" M400 205 L400 220 " class =" arch-diagram__arrow" />
124- <path d =" M400 300 L400 315 " class =" arch-diagram__arrow" />
122+ <path d =" M400 110 L400 134 " class =" arch-diagram__arrow" />
123+ <path d =" M400 214 L400 238 " class =" arch-diagram__arrow" />
124+ <path d =" M400 318 L400 342 " class =" arch-diagram__arrow" />
125125 </g >
126126
127127 <!-- Title -->
128- <text x =" 400" y =" 400 " text-anchor =" middle" class =" arch-diagram__title" >
128+ <text x =" 400" y =" 440 " text-anchor =" middle" class =" arch-diagram__title" >
129129 Awesome Cursor Rules Academy · 四层系统架构
130130 </text >
131131 </svg >
0 commit comments