Initial commit: yu-zhi-ran platform with automation integration

This commit is contained in:
lt
2026-04-19 14:05:09 +08:00
commit 3cb2df51c8
209 changed files with 80379 additions and 0 deletions
@@ -0,0 +1,74 @@
<svg width="900" height="500" viewBox="0 0 900 500" xmlns="http://www.w3.org/2000/svg">
<defs>
<style>
.title { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 28px; font-weight: bold; fill: #2c3e50; }
.axis-label { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; fill: #666; }
.bar-value { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; font-weight: bold; fill: #333; }
.legend { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 18px; fill: #333; }
</style>
</defs>
<!-- Title -->
<text x="450" y="50" text-anchor="middle" class="title">种植前后心理指标对比(1-10分制,专注时间为小时)</text>
<g transform="translate(120, 120)">
<!-- Bars: each metric group width ~200, groups at x=0, 250, 500 -->
<!-- Metric 1: 焦虑水平 -->
<text x="60" y="0" text-anchor="middle" class="axis-label">焦虑水平</text>
<!-- Before bar (gray) -->
<rect x="0" y="20" width="60" height="200" fill="#95a5a6" rx="4"/>
<text x="30" y="240" text-anchor="middle" class="bar-value">7.2</text>
<!-- After bar (green) -->
<rect x="80" y="64" width="60" height="156" fill="#27ae60" rx="4"/>
<text x="110" y="240" text-anchor="middle" class="bar-value">4.1</text>
<!-- Metric 2: 生活满意度 -->
<text x="210" y="0" text-anchor="middle" class="axis-label">生活满意度</text>
<!-- Before -->
<rect x="150" y="104" width="60" height="116" fill="#95a5a6" rx="4"/>
<text x="180" y="240" text-anchor="middle" class="bar-value">5.8</text>
<!-- After -->
<rect x="230" y="40" width="60" height="180" fill="#27ae60" rx="4"/>
<text x="260" y="240" text-anchor="middle" class="bar-value">7.5</text>
<!-- Metric 3: 专注时间 -->
<text x="360" y="0" text-anchor="middle" class="axis-label">专注时间</text>
<!-- Note: scale uses same height: 3h => 300px, so 1 = 100px -->
<!-- Before 1.2h => 120px -->
<rect x="300" y="180" width="60" height="120" fill="#95a5a6" rx="4"/>
<text x="330" y="312" text-anchor="middle" class="bar-value">1.2h</text>
<!-- After 2.5h => 250px -->
<rect x="380" y="50" width="60" height="250" fill="#27ae60" rx="4"/>
<text x="410" y="312" text-anchor="middle" class="bar-value">2.5h</text>
</g>
<!-- Axis labels for scores -->
<text x="50" y="300" transform="rotate(-90 50,300)" class="axis-label">分数 / 小时</text>
<g transform="translate(120, 320)">
<line x1="0" y1="0" x2="500" y2="0" stroke="#333" stroke-width="2"/>
<!-- ticks -->
<line x1="0" y1="0" x2="0" y2="-5" stroke="#333"/>
<text x="0" y="15" text-anchor="middle" class="axis-label">0</text>
<line x1="150" y1="-75" x2="150" y2="5" stroke="#ddd"/>
<text x="150" y="15" text-anchor="middle" class="axis-label">2.5</text>
<line x1="300" y1="-150" x2="300" y2="5" stroke="#ddd"/>
<text x="300" y="15" text-anchor="middle" class="axis-label">5</text>
<line x1="450" y1="-225" x2="450" y2="5" stroke="#ddd"/>
<text x="450" y="15" text-anchor="middle" class="axis-label">7.5</text>
<line x1="600" y1="-300" x2="600" y2="5" stroke="#ddd"/>
<text x="600" y="15" text-anchor="middle" class="axis-label">10</text>
</g>
<!-- Legend -->
<g transform="translate(700, 200)">
<rect x="0" y="0" width="20" height="20" fill="#95a5a6" rx="3"/>
<text x="30" y="15" class="legend">种植前</text>
<rect x="0" y="40" width="20" height="20" fill="#27ae60" rx="3"/>
<text x="30" y="55" class="legend">种植后</text>
</g>
<!-- Note -->
<text x="450" y="480" text-anchor="middle" class="note">
焦虑降低43%(7.2→4.1),生活满意度提升29%(5.8→7.5),专注时间翻倍(1.2h→2.5h)
</text>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB