From 3d5b4ddcf112c33a19e51876487313cae28faeb1 Mon Sep 17 00:00:00 2001 From: HuangHai <10402852@qq.com> Date: Fri, 5 Sep 2025 07:48:04 +0800 Subject: [PATCH] 'commit' --- dsLightRag/static/teacherHelper/index.html | 165 +++++++++++++++--- .../导学案_20250905074207.docx | Bin 0 -> 14921 bytes .../导学案_20250905074451.docx | Bin 0 -> 14259 bytes 3 files changed, 143 insertions(+), 22 deletions(-) create mode 100644 dsLightRag/static/teacherHelpergenerated_files/导学案_20250905074207.docx create mode 100644 dsLightRag/static/teacherHelpergenerated_files/导学案_20250905074451.docx diff --git a/dsLightRag/static/teacherHelper/index.html b/dsLightRag/static/teacherHelper/index.html index 5635ae82..dfda8f8c 100644 --- a/dsLightRag/static/teacherHelper/index.html +++ b/dsLightRag/static/teacherHelper/index.html @@ -152,6 +152,102 @@ .result-container table { border-collapse: collapse; width: 100%; margin-bottom: 1.2rem; } .result-container table th, .result-container table td { padding: 0.75rem; border: 1px solid #dfe2e5; text-align: left; } .result-container table th { background-color: #f6f8fa; font-weight: 600; } + /* 难度选择器样式 - 优化版 */ + .difficulty-selector { + display: flex; + gap: 15px; + margin: 20px 0; + } + + .difficulty-btn { + flex: 1; + padding: 20px 10px; + border: none; + border-radius: 12px; + cursor: pointer; + transition: all 0.3s ease; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + font-size: 18px; + font-weight: 600; + box-shadow: 0 4px 12px rgba(0,0,0,0.08); + } + + /* 基础难度 - 清新蓝绿色系 */ + .difficulty-btn[data-difficulty='basic'] { + background: linear-gradient(135deg, #4ade80 0%, #2dd4bf 100%); + color: #ffffff; + } + + /* 提高难度 - 活力蓝紫色系 */ + .difficulty-btn[data-difficulty='intermediate'] { + background: linear-gradient(135deg, #60a5fa 0%, #818cf8 100%); + color: #ffffff; + } + + /* 进阶难度 - 优雅粉紫色系 */ + .difficulty-btn[data-difficulty='advanced'] { + background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%); + color: #ffffff; + } + + .difficulty-btn i { + font-size: 32px; + margin-bottom: 8px; + } + + .difficulty-btn:hover { + transform: translateY(-5px); + box-shadow: 0 8px 16px rgba(0,0,0,0.12); + } + + .difficulty-btn.active { + transform: scale(1.1); + box-shadow: 0 8px 24px rgba(0,0,0,0.2); + border: 3px solid #ffffff; + position: relative; + font-weight: bold; + } + + .difficulty-btn.active::after { + content: "✓ 已选择"; + position: absolute; + bottom: -18px; + left: 50%; + transform: translateX(-50%); + background-color: #333; + color: white; + font-size: 12px; + padding: 2px 8px; + border-radius: 10px; + white-space: nowrap; + } + + /* 为选中状态添加脉动动画效果 */ + @keyframes pulse { + 0% { box-shadow: 0 8px 24px rgba(0,0,0,0.2); } + 50% { box-shadow: 0 8px 32px rgba(0,0,0,0.3); } + 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.2); } + } + + .difficulty-btn.active { + /* 保留之前的样式 */ + transform: scale(1.1); + box-shadow: 0 8px 24px rgba(0,0,0,0.2); + border: 3px solid #ffffff; + position: relative; + font-weight: bold; + animation: pulse 2s infinite; + } + .difficulty-icon { color: #27ae60; } + .difficulty-intermediate .difficulty-icon { color: #f39c12; } + .difficulty-advanced .difficulty-icon { color: #e74c3c; } + + .difficulty-text { + font-weight: 500; + }
@@ -162,14 +258,7 @@ - + @@ -207,14 +296,23 @@ - +