AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
feat(templates): 新增重庆大学 (CQU) 演示文稿布局模板
hugohe36b76be238c5a
diff --git "a/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/01_cover.svg" "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/01_cover.svg"new file mode 100644index 00000000..da233936--- /dev/null+++ "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/01_cover.svg"@@ -0,0 +1,74 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1280 720">+ <defs>+ <!-- 左侧主渐变 -->+ <linearGradient id="leftGradient" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" stop-color="#003D6B"/>+ <stop offset="100%" stop-color="#006BB7"/>+ </linearGradient>+ <!-- 金色渐变 -->+ <linearGradient id="goldLine" x1="0%" y1="0%" x2="100%" y2="0%">+ <stop offset="0%" stop-color="#B8860B"/>+ <stop offset="50%" stop-color="#D4A84B"/>+ <stop offset="100%" stop-color="#B8860B"/>+ </linearGradient>+ </defs>++ <!-- 背景 -->+ <rect width="1280" height="720" fill="#FFFFFF"/>++ <!-- 左侧色块(占据左边约 35%) -->+ <rect x="0" y="0" width="450" height="720" fill="url(#leftGradient)"/>++ <!-- 左侧色块上的装饰纹理 -->+ <line x1="50" y1="0" x2="50" y2="720" stroke="#FFFFFF" stroke-width="1" stroke-opacity="0.05"/>+ <line x1="100" y1="0" x2="100" y2="720" stroke="#FFFFFF" stroke-width="1" stroke-opacity="0.03"/>+ <line x1="350" y1="0" x2="350" y2="720" stroke="#FFFFFF" stroke-width="1" stroke-opacity="0.05"/>+ <line x1="400" y1="0" x2="400" y2="720" stroke="#FFFFFF" stroke-width="1" stroke-opacity="0.03"/>++ <!-- 左侧金色装饰竖线 -->+ <rect x="448" y="100" width="4" height="520" fill="url(#goldLine)"/>++ <!-- Logo(左侧色块中央,白色版本) -->+ <image x="75" y="260" width="300" height="90" xlink:href="重庆大学logo2.png" preserveAspectRatio="xMidYMid meet"/>++ <!-- 左侧底部年份水印 -->+ <text x="225" y="650" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.15" font-family="Arial, sans-serif" font-size="72" font-weight="bold">CQU</text>++ <!-- 右侧内容区 -->+ <!-- 主标题 -->+ <text x="860" y="280" text-anchor="middle" fill="#1A2E44" font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif" font-size="44" font-weight="bold">{{TITLE}}</text>++ <!-- 副标题 -->+ <text x="860" y="340" text-anchor="middle" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="20">{{SUBTITLE}}</text>++ <!-- 金色装饰分隔线 -->+ <rect x="710" y="380" width="300" height="2" fill="url(#goldLine)"/>+ <circle cx="710" cy="381" r="4" fill="#D4A84B"/>+ <circle cx="1010" cy="381" r="4" fill="#D4A84B"/>++ <!-- 答辩人信息 -->+ <text x="860" y="450" text-anchor="middle" fill="#333D4A" font-family="Microsoft YaHei, Arial, sans-serif" font-size="18">+ <tspan fill="#006BB7" font-weight="bold">答辩人</tspan>+ <tspan dx="16">{{AUTHOR}}</tspan>+ </text>++ <text x="860" y="490" text-anchor="middle" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="16">+ <tspan>指导老师:{{ADVISOR}}</tspan>+ </text>++ <text x="860" y="530" text-anchor="middle" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="16">{{INSTITUTION}}</text>++ <!-- 日期(底部居中于右侧区域) -->+ <rect x="780" y="620" width="160" height="36" fill="#F5F7FA" rx="18"/>+ <text x="860" y="644" text-anchor="middle" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{DATE}}</text>++ <!-- 右下角装饰几何 -->+ <polygon points="1280,600 1280,720 1160,720" fill="#006BB7" fill-opacity="0.06"/>+ <polygon points="1280,660 1280,720 1200,720" fill="#D4A84B" fill-opacity="0.1"/>++ <!-- 右上角装饰 -->+ <line x1="1100" y1="60" x2="1240" y2="60" stroke="#006BB7" stroke-width="1" stroke-opacity="0.2"/>+ <line x1="1150" y1="90" x2="1240" y2="90" stroke="#D4A84B" stroke-width="1" stroke-opacity="0.3"/>+ <circle cx="1240" cy="60" r="3" fill="#006BB7" fill-opacity="0.3"/>+ <circle cx="1240" cy="90" r="3" fill="#D4A84B" fill-opacity="0.4"/>+</svg>diff --git "a/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/02_chapter.svg" "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/02_chapter.svg"new file mode 100644index 00000000..8dbd5cf1--- /dev/null+++ "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/02_chapter.svg"@@ -0,0 +1,52 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1280 720">+ <defs>+ <!-- 天际渐变 -->+ <linearGradient id="skyGradient" x1="0%" y1="0%" x2="100%" y2="100%">+ <stop offset="0%" stop-color="#3A9BD9"/>+ <stop offset="100%" stop-color="#006BB7" stop-opacity="0.3"/>+ </linearGradient>+ </defs>++ <!-- 深邃蓝全屏背景 -->+ <rect width="1280" height="720" fill="#004A82"/>++ <!-- 右上角斜切浅色区域(天际) -->+ <polygon points="700,0 1280,0 1280,400 1000,0" fill="url(#skyGradient)" fill-opacity="0.3"/>+ <polygon points="850,0 1280,0 1280,280" fill="#3A9BD9" fill-opacity="0.15"/>++ <!-- 底部波浪装饰 -->+ <path d="M0,680 Q200,660 400,680 T800,660 T1200,680 L1280,680 L1280,720 L0,720 Z" fill="#006BB7" fill-opacity="0.3"/>+ <path d="M0,695 Q200,680 400,695 T800,680 T1200,695 L1280,695 L1280,720 L0,720 Z" fill="#FFFFFF" fill-opacity="0.05"/>++ <!-- 左侧大号半透明章节编号 -->+ <text x="60" y="580" fill="#FFFFFF" fill-opacity="0.06" font-family="Arial, sans-serif" font-size="400" font-weight="bold">{{CHAPTER_NUM}}</text>++ <!-- 金色装饰竖线 -->+ <rect x="60" y="200" width="4" height="120" fill="#D4A84B"/>++ <!-- CHAPTER 标签 -->+ <text x="80" y="240" fill="#D4A84B" font-family="Arial, sans-serif" font-size="16" font-weight="bold" letter-spacing="4">CHAPTER</text>++ <!-- 章节编号 -->+ <text x="80" y="300" fill="#FFFFFF" font-family="Arial, sans-serif" font-size="72" font-weight="bold">{{CHAPTER_NUM}}</text>++ <!-- 金色装饰横线 -->+ <rect x="80" y="330" width="100" height="3" fill="#D4A84B"/>++ <!-- 章节主标题 -->+ <text x="80" y="420" fill="#FFFFFF" font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif" font-size="44" font-weight="bold">{{CHAPTER_TITLE}}</text>++ <!-- 章节描述 -->+ <text x="80" y="480" fill="#FFFFFF" fill-opacity="0.7" font-family="Microsoft YaHei, Arial, sans-serif" font-size="18">{{CHAPTER_DESC}}</text>++ <!-- 金色光点装饰 -->+ <circle cx="1150" cy="100" r="4" fill="#D4A84B" fill-opacity="0.6"/>+ <circle cx="1200" cy="150" r="3" fill="#D4A84B" fill-opacity="0.4"/>+ <circle cx="1100" cy="180" r="5" fill="#D4A84B" fill-opacity="0.5"/>++ <!-- 右下角 Logo(白色版本) -->+ <image x="1020" y="640" width="220" height="60" xlink:href="重庆大学logo2.png" preserveAspectRatio="xMidYMid meet"/>++ <!-- 底部金色装饰线 -->+ <rect x="80" y="640" width="200" height="2" fill="#D4A84B" fill-opacity="0.5"/>+</svg>diff --git "a/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/02_toc.svg" "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/02_toc.svg"new file mode 100644index 00000000..2faf20ed--- /dev/null+++ "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/02_toc.svg"@@ -0,0 +1,80 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1280 720">+ <defs>+ <!-- 顶部斜切渐变 -->+ <linearGradient id="headerGradient" x1="0%" y1="0%" x2="100%" y2="0%">+ <stop offset="0%" stop-color="#004A82"/>+ <stop offset="100%" stop-color="#006BB7"/>+ </linearGradient>+ <!-- 金色渐变 -->+ <linearGradient id="goldAccent" x1="0%" y1="0%" x2="0%" y2="100%">+ <stop offset="0%" stop-color="#E8C675"/>+ <stop offset="100%" stop-color="#C49A3D"/>+ </linearGradient>+ </defs>++ <!-- 背景 -->+ <rect width="1280" height="720" fill="#FAFCFF"/>++ <!-- 顶部斜切蓝色装饰带 -->+ <polygon points="0,0 1280,0 1280,80 0,100" fill="url(#headerGradient)"/>+ <polygon points="0,100 1280,80 1280,95 0,115" fill="#E3F2FD"/>++ <!-- 页面标题 -->+ <text x="60" y="60" fill="#FFFFFF" font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif" font-size="26" font-weight="bold">{{TOC_TITLE}}</text>++ <!-- Logo -->+ <image x="1040" y="15" width="200" height="50" xlink:href="重庆大学logo2.png" preserveAspectRatio="xMidYMid meet"/>++ <!-- 目录内容区 -->+ <!-- 左侧大号数字区域 -->++ <!-- 目录项 1 -->+ <text x="80" y="200" fill="#006BB7" fill-opacity="0.15" font-family="Arial, sans-serif" font-size="80" font-weight="bold">01</text>+ <rect x="170" y="160" width="4" height="60" fill="url(#goldAccent)"/>+ <text x="190" y="195" fill="#1A2E44" font-family="Microsoft YaHei, Arial, sans-serif" font-size="22" font-weight="bold">{{TOC_ITEM_1}}</text>+ <text x="190" y="225" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{TOC_DESC_1}}</text>++ <!-- 目录项 2 -->+ <text x="700" y="200" fill="#006BB7" fill-opacity="0.15" font-family="Arial, sans-serif" font-size="80" font-weight="bold">02</text>+ <rect x="790" y="160" width="4" height="60" fill="url(#goldAccent)"/>+ <text x="810" y="195" fill="#1A2E44" font-family="Microsoft YaHei, Arial, sans-serif" font-size="22" font-weight="bold">{{TOC_ITEM_2}}</text>+ <text x="810" y="225" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{TOC_DESC_2}}</text>++ <!-- 目录项 3 -->+ <text x="80" y="340" fill="#006BB7" fill-opacity="0.15" font-family="Arial, sans-serif" font-size="80" font-weight="bold">03</text>+ <rect x="170" y="300" width="4" height="60" fill="url(#goldAccent)"/>+ <text x="190" y="335" fill="#1A2E44" font-family="Microsoft YaHei, Arial, sans-serif" font-size="22" font-weight="bold">{{TOC_ITEM_3}}</text>+ <text x="190" y="365" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{TOC_DESC_3}}</text>++ <!-- 目录项 4 -->+ <text x="700" y="340" fill="#006BB7" fill-opacity="0.15" font-family="Arial, sans-serif" font-size="80" font-weight="bold">04</text>+ <rect x="790" y="300" width="4" height="60" fill="url(#goldAccent)"/>+ <text x="810" y="335" fill="#1A2E44" font-family="Microsoft YaHei, Arial, sans-serif" font-size="22" font-weight="bold">{{TOC_ITEM_4}}</text>+ <text x="810" y="365" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{TOC_DESC_4}}</text>++ <!-- 目录项 5 -->+ <text x="80" y="480" fill="#006BB7" fill-opacity="0.15" font-family="Arial, sans-serif" font-size="80" font-weight="bold">05</text>+ <rect x="170" y="440" width="4" height="60" fill="url(#goldAccent)"/>+ <text x="190" y="475" fill="#1A2E44" font-family="Microsoft YaHei, Arial, sans-serif" font-size="22" font-weight="bold">{{TOC_ITEM_5}}</text>+ <text x="190" y="505" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{TOC_DESC_5}}</text>++ <!-- 目录项 6(可选,更淡化) -->+ <text x="700" y="480" fill="#006BB7" fill-opacity="0.08" font-family="Arial, sans-serif" font-size="80" font-weight="bold">06</text>+ <rect x="790" y="440" width="4" height="60" fill="#D0D7E0"/>+ <text x="810" y="475" fill="#A0AEC0" font-family="Microsoft YaHei, Arial, sans-serif" font-size="22" font-weight="bold">{{TOC_ITEM_6}}</text>+ <text x="810" y="505" fill="#B0BCC8" font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{TOC_DESC_6}}</text>++ <!-- 底部波浪装饰 -->+ <path d="M0,680 Q160,665 320,680 T640,665 T960,680 T1280,665 L1280,720 L0,720 Z" fill="#006BB7" fill-opacity="0.06"/>++ <!-- 页脚 -->+ <text x="640" y="680" text-anchor="middle" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="12">目录 · CONTENTS</text>++ <!-- 页码 -->+ <rect x="1180" y="655" width="40" height="28" fill="#006BB7" rx="4"/>+ <text x="1200" y="675" text-anchor="middle" fill="#FFFFFF" font-family="Arial, sans-serif" font-size="13" font-weight="bold">{{PAGE_NUM}}</text>++ <!-- 左下角金色光点 -->+ <circle cx="50" cy="670" r="3" fill="#D4A84B" fill-opacity="0.5"/>+ <circle cx="80" cy="690" r="2" fill="#D4A84B" fill-opacity="0.4"/>+</svg>diff --git "a/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/03_content.svg" "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/03_content.svg"new file mode 100644index 00000000..450ea472--- /dev/null+++ "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/03_content.svg"@@ -0,0 +1,56 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1280 720">+ <defs>+ <!-- 顶部斜切渐变 -->+ <linearGradient id="headerGradient" x1="0%" y1="0%" x2="100%" y2="0%">+ <stop offset="0%" stop-color="#004A82"/>+ <stop offset="100%" stop-color="#006BB7"/>+ </linearGradient>+ </defs>++ <!-- 背景 -->+ <rect width="1280" height="720" fill="#FAFCFF"/>++ <!-- 顶部斜切蓝色装饰带(左高右低) -->+ <polygon points="0,0 1280,0 1280,70 0,90" fill="url(#headerGradient)"/>++ <!-- 斜切带下方的浅色过渡 -->+ <polygon points="0,90 1280,70 1280,85 0,105" fill="#E3F2FD"/>++ <!-- 页面标题 -->+ <text x="60" y="55" fill="#FFFFFF" font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif" font-size="24" font-weight="bold">{{PAGE_TITLE}}</text>++ <!-- Logo(右上角,在斜切带上) -->+ <image x="1040" y="12" width="200" height="50" xlink:href="重庆大学logo2.png" preserveAspectRatio="xMidYMid meet"/>++ <!-- 左侧金色装饰竖线(贯穿内容区) -->+ <rect x="40" y="130" width="3" height="480" fill="#D4A84B" fill-opacity="0.6"/>++ <!-- 核心观点条 -->+ <rect x="60" y="120" width="1160" height="50" fill="#E3F2FD" rx="6"/>+ <rect x="60" y="120" width="4" height="50" fill="#006BB7"/>+ <text x="80" y="152" fill="#006BB7" font-family="Microsoft YaHei, Arial, sans-serif" font-size="15" font-weight="bold">核心观点</text>+ <text x="170" y="152" fill="#333D4A" font-family="Microsoft YaHei, Arial, sans-serif" font-size="15">{{KEY_MESSAGE}}</text>++ <!-- 内容区域占位 -->+ <rect x="60" y="190" width="1160" height="440" fill="#FFFFFF" stroke="#E3F2FD" stroke-width="2" rx="8"/>+ <text x="640" y="410" text-anchor="middle" fill="#B0C4D4" font-family="Microsoft YaHei, Arial, sans-serif" font-size="16">{{CONTENT_AREA}}</text>++ <!-- 底部波浪装饰 -->+ <path d="M0,690 Q160,680 320,690 T640,680 T960,690 T1280,680 L1280,720 L0,720 Z" fill="#006BB7" fill-opacity="0.05"/>++ <!-- 页脚区域 -->+ <rect x="0" y="650" width="1280" height="70" fill="#FAFCFF"/>++ <!-- 页脚左侧:数据来源 -->+ <text x="60" y="685" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="11">数据来源:{{SOURCE}}</text>++ <!-- 页脚中部:章节名称 -->+ <text x="640" y="685" text-anchor="middle" fill="#6B7B8C" font-family="Microsoft YaHei, Arial, sans-serif" font-size="12">{{SECTION_NAME}}</text>++ <!-- 页脚右侧:页码(金色装饰) -->+ <rect x="1180" y="665" width="40" height="28" fill="#006BB7" rx="4"/>+ <text x="1200" y="685" text-anchor="middle" fill="#FFFFFF" font-family="Arial, sans-serif" font-size="13" font-weight="bold">{{PAGE_NUM}}</text>++ <!-- 左下角金色光点 -->+ <circle cx="50" cy="670" r="3" fill="#D4A84B" fill-opacity="0.5"/>+</svg>diff --git "a/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/04_ending.svg" "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/04_ending.svg"new file mode 100644index 00000000..dce22ee9--- /dev/null+++ "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/04_ending.svg"@@ -0,0 +1,62 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1280 720">+ <defs>+ <!-- 底部渐变 -->+ <linearGradient id="bottomBar" x1="0%" y1="0%" x2="100%" y2="0%">+ <stop offset="0%" stop-color="#003D6B"/>+ <stop offset="100%" stop-color="#006BB7"/>+ </linearGradient>+ <!-- 金色渐变 -->+ <linearGradient id="goldAccent" x1="0%" y1="0%" x2="100%" y2="0%">+ <stop offset="0%" stop-color="#B8860B"/>+ <stop offset="50%" stop-color="#D4A84B"/>+ <stop offset="100%" stop-color="#B8860B"/>+ </linearGradient>+ </defs>++ <!-- 背景 -->+ <rect width="1280" height="720" fill="#FFFFFF"/>++ <!-- 顶部细线装饰 -->+ <rect x="0" y="0" width="1280" height="6" fill="#006BB7"/>+ <rect x="0" y="6" width="1280" height="2" fill="#D4A84B"/>++ <!-- 中央 Logo(大尺寸) -->+ <image x="390" y="160" width="500" height="150" xlink:href="重庆大学logo.png" preserveAspectRatio="xMidYMid meet"/>++ <!-- 金色装饰分隔线 -->+ <rect x="490" y="340" width="300" height="2" fill="url(#goldAccent)"/>+ <circle cx="490" cy="341" r="4" fill="#D4A84B"/>+ <circle cx="790" cy="341" r="4" fill="#D4A84B"/>++ <!-- 感谢语 -->+ <text x="640" y="420" text-anchor="middle" fill="#1A2E44" font-family="Microsoft YaHei, PingFang SC, Arial, sans-serif" font-size="48" font-weight="bold">{{THANK_YOU}}</text>++ <!-- 副标语 -->+ <text x="640" y="475" text-anchor="middle" fill="#006BB7" font-family="Microsoft YaHei, Arial, sans-serif" font-size="18">{{TAGLINE}}</text>++ <!-- 底部色块 -->+ <rect x="0" y="560" width="1280" height="160" fill="url(#bottomBar)"/>++ <!-- 底部色块顶部金色装饰线 -->+ <rect x="0" y="558" width="1280" height="3" fill="#D4A84B"/>++ <!-- 底部白色装饰纹理 -->+ <line x1="0" y1="600" x2="1280" y2="600" stroke="#FFFFFF" stroke-width="1" stroke-opacity="0.05"/>+ <line x1="0" y1="650" x2="1280" y2="650" stroke="#FFFFFF" stroke-width="1" stroke-opacity="0.03"/>++ <!-- 联系信息(在底部色块上) -->+ <text x="640" y="615" text-anchor="middle" fill="#FFFFFF" font-family="Microsoft YaHei, Arial, sans-serif" font-size="16" font-weight="bold">{{CONTACT_INFO}}</text>+ <text x="640" y="650" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.85" font-family="Microsoft YaHei, Arial, sans-serif" font-size="14">{{EMAIL}}</text>++ <!-- 版权信息 -->+ <text x="640" y="695" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.5" font-family="Microsoft YaHei, Arial, sans-serif" font-size="11">{{COPYRIGHT}}</text>++ <!-- 页码 -->+ <text x="1220" y="695" text-anchor="middle" fill="#FFFFFF" fill-opacity="0.5" font-family="Arial, sans-serif" font-size="11">{{PAGE_NUM}}</text>++ <!-- 左侧 CQU 水印 -->+ <text x="80" y="660" fill="#FFFFFF" fill-opacity="0.08" font-family="Arial, sans-serif" font-size="80" font-weight="bold">CQU</text>++ <!-- 右下角装饰 -->+ <polygon points="1280,560 1280,720 1120,720" fill="#FFFFFF" fill-opacity="0.03"/>+</svg>diff --git "a/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/design_spec.md" "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/design_spec.md"new file mode 100644index 00000000..316ee1d6--- /dev/null+++ "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/design_spec.md"@@ -0,0 +1,241 @@+# 重庆大学模板 - 设计规范++> 融合山城层叠意象与现代学术气质的独特设计++---++## 一、模板概述++| 属性 | 描述 |+| -------------- | ------------------------------------------------------------ |+| **模板名称** | 重庆大学(Chongqing University Template) |+| **适用场景** | 学术答辩、科研汇报、教学展示、学术交流 |+| **设计调性** | 学术稳重 · 山城气韵 · 现代简约 |+| **设计灵感** | 重庆山城的层叠地貌 + 校园历史建筑的沉稳 + 现代学术的专业感 |++### 设计特色++1. **层叠几何**:使用斜切色块模拟山城层叠感,打破传统方正布局+2. **不对称美学**:左重右轻的视觉平衡,引导阅读焦点+3. **渐变色带**:从深到浅的过渡,象征从厚重历史到光明未来+4. **波浪底纹**:抽象的长江/嘉陵江水元素++---++## 二、画布规范++| 属性 | 值 |+| -------------- | ----------------------------- |+| **格式** | 标准 16:9 |+| **尺寸** | 1280 × 720 px |+| **viewBox** | `0 0 1280 720` |+| **页面边距** | 左右 60px,上下 40px |+| **内容安全区** | x: 60-1220, y: 100-660 |++---++## 三、配色方案++### 主色系(从 Logo 提取)++| 角色 | 色值 | 备注 |+| -------------- | ----------- | ------------------------------------ |+| **重大蓝** | `#006BB7` | 校徽主色,页眉、标题、主要元素 |+| **深邃蓝** | `#004A82` | 章节页背景、强调区域 |+| **天际蓝** | `#3A9BD9` | 辅助色、渐变终点 |+| **浅云蓝** | `#E3F2FD` | 浅色背景、卡片底色 |+| **晨曦金** | `#D4A84B` | 装饰点缀、高亮强调(象征光明) |+| **背景白** | `#FAFCFF` | 略带蓝调的纯净白 |++### 文字色系++| 角色 | 色值 | 用途 |+| -------------- | ----------- | ---------------------- |+| **深墨文字** | `#1A2E44` | 主标题、正文标题 |+| **主文字** | `#333D4A` | 正文内容 |+| **辅助文字** | `#6B7B8C` | 说明文字、标注 |+| **白色文字** | `#FFFFFF` | 深色背景上的文字 |++### 渐变方案++```+主渐变:#004A82 → #006BB7 → #3A9BD9(深→浅,用于背景斜切)+金光渐变:#C49A3D → #D4A84B → #E8C675(装饰用)+```++---++## 四、排版体系++### 字体方案++**字体栈**: `"Microsoft YaHei", "微软雅黑", "PingFang SC", Arial, sans-serif`++### 字号层级++| 层级 | 用途 | 字号 | 字重 | 备注 |+| ---- | ---------------- | ---- | ------- | ------------ |+| H1 | 封面主标题 | 48px | Bold | 大气稳重 |+| H2 | 页面标题 | 26px | Bold | |+| H3 | 章节标题 | 44px | Bold | |+| H4 | 卡片标题 | 22px | Bold | |+| P | 正文内容 | 17px | Regular | |+| High | 强调数据 | 32px | Bold | |+| Sub | 注释/来源 | 13px | Regular | |+| XS | 页码/版权 | 11px | Regular | |++---++## 五、核心视觉元素++### 1. 斜切色块(山城层叠)++模板的标志性设计,使用斜向分割的色块模拟山城层叠感:++```+封面:左下角大面积深蓝斜切色块(约占 40%)+章节页:全屏深蓝 + 右上角浅色斜切装饰+内容页:顶部小斜切装饰带+```++### 2. 波浪底纹(两江意象)++抽象的曲线元素,象征长江与嘉陵江:++```xml+<path d="M0,700 Q320,680 640,700 T1280,680 L1280,720 L0,720 Z"+ fill="#006BB7" fill-opacity="0.08"/>+```++### 3. 光点装饰(城市灯火)++小圆点元素,代表山城夜景的灯火:++```xml+<circle cx="x" cy="y" r="3" fill="#D4A84B" fill-opacity="0.6"/>+```++---++## 六、页面类型++### 1. 封面页 (01_cover.svg)++**布局结构**:+- 右上区域:Logo(使用 logo.png)+- 中心偏左:主标题 + 副标题+- 左下角:大面积斜切深蓝色块(从左下角向右上延伸)+- 底部:答辩人信息、日期+- 装饰:波浪底纹 + 金色光点++### 2. 章节页 (02_chapter.svg)++**布局结构**:+- 全屏深邃蓝背景+- 右上角:斜切浅色区域(天际蓝渐变)+- 左侧:大号章节编号(半透明)+- 中间偏左:章节标题(白色)+- 底部:金色装饰线 + Logo(白色版本)++### 3. 内容页 (03_content.svg)++**布局结构**:+- 顶部:斜切蓝色装饰带(高度约 80px,左高右低)+- 装饰带上:页面标题 + Logo+- 主体:白色内容区(灵活布局)+- 左侧:细长金色装饰线+- 底部:简洁页脚 + 波浪底纹++### 4. 结束页 (04_ending.svg)++**布局结构**:+- 中心:大尺寸 Logo+- Logo 下方:感谢语+- 底部斜切蓝色区域:联系信息+- 装饰:波浪底纹 + 金色光点++### 5. 目录页 (02_toc.svg)++**布局结构**:+- 顶部斜切装饰带 + 标题+- 左侧:大号数字编号(垂直排列,带金色装饰)+- 右侧:目录项文字+- 底部:波浪装饰++---++## 七、Logo 使用规范++| 文件 | 适用场景 | 说明 |+|------|---------|------|+| `重庆大学logo.png` | 浅色/白色背景 | 蓝色版本 |+| `重庆大学logo2.png` | 深色/蓝色背景 | 白色版本 |++**Logo 尺寸建议**:+- 封面页:宽度 280-320px+- 内容页页眉:宽度 160-200px+- 结束页:宽度 320-400px++---++## 八、间距规范++| 元素 | 数值 |+| ------------ | ------ |+| 页面边距 | 60px |+| 内容块间距 | 28px |+| 卡片内边距 | 24px |+| 卡片圆角 | 12px |+| 斜切角度 | 约 8-12° |++---++## 九、SVG 技术约束++### 必须遵守++1. viewBox: `0 0 1280 720`+2. 渐变使用 `<linearGradient>` 定义在 `<defs>` 中+3. 透明度使用 `fill-opacity` / `stroke-opacity`+4. 文本换行使用 `<tspan>`+5. Logo 使用 Base64 内嵌或 `<image>` 引用++### 禁止使用++- `clipPath`、`mask`、`<style>`、`class`+- `foreignObject`、`textPath`、`animate*`+- `rgba()` 颜色格式+- `<g opacity="...">`(组透明度)++---++## 十、占位符规范++| 占位符 | 说明 |+| ------------------ | ------------------ |+| `{{TITLE}}` | 主标题 |+| `{{SUBTITLE}}` | 副标题 |+| `{{AUTHOR}}` | 答辩人姓名 |+| `{{ADVISOR}}` | 指导老师 |+| `{{INSTITUTION}}` | 学院/机构 |+| `{{DATE}}` | 日期 |+| `{{PAGE_TITLE}}` | 页面标题 |+| `{{CHAPTER_NUM}}` | 章节编号 |+| `{{CHAPTER_TITLE}}`| 章节标题 |+| `{{CHAPTER_DESC}}` | 章节描述 |+| `{{KEY_MESSAGE}}` | 核心观点 |+| `{{CONTENT_AREA}}` | 内容区域 |+| `{{PAGE_NUM}}` | 页码 |+| `{{THANK_YOU}}` | 感谢语 |+| `{{CONTACT_INFO}}` | 联系方式 |++---++## 十一、设计检查清单++- [ ] viewBox = `0 0 1280 720`+- [ ] 斜切色块角度一致(8-12°)+- [ ] Logo 版本与背景匹配+- [ ] 配色符合规范+- [ ] 波浪装饰位置正确+- [ ] 文本可读(≥11px)diff --git "a/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/\351\207\215\345\272\206\345\244\247\345\255\246logo.png" "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/\351\207\215\345\272\206\345\244\247\345\255\246logo.png"new file mode 100644index 00000000..21899974Binary files /dev/null and "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/\351\207\215\345\272\206\345\244\247\345\255\246logo.png" differdiff --git "a/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/\351\207\215\345\272\206\345\244\247\345\255\246logo2.png" "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/\351\207\215\345\272\206\345\244\247\345\255\246logo2.png"new file mode 100644index 00000000..a4605267Binary files /dev/null and "b/templates/layouts/\351\207\215\345\272\206\345\244\247\345\255\246/\351\207\215\345\272\206\345\244\247\345\255\246logo2.png" differ