Files
Zhang Jing Xuan 0841b1a103 智教助手平台:完整初始化
- 前端:Vue3 + TS + Element Plus,24 个页面路由(课件/组题/教案/动画/思维导图/作文批改/命题/课堂/资源/社区等)
- 后端:FastAPI + SQLAlchemy + SQLite,17 个路由模块,AI 服务层含降级模板
- AI:glm-5.x 推理模型已禁用思维链,确保输出真实内容
- 修复:ai_service 两处请求体注入 enable_thinking/thinking disabled
- 测试账号:13900999999 / test1234
2026-07-29 16:29:10 +08:00

40 lines
4.0 KiB
HTML

<!DOCTYPE html>
<html><head><meta charset="UTF-8"><title>Iframe Test</title></head>
<body style="background:#eee;padding:20px;font-family:sans-serif;">
<h2>Iframe srcdoc Test</h2>
<p>Below should show the courseware page:</p>
<div style="border:2px solid red;width:820px;height:620px;">
<iframe style="width:100%;height:100%;border:none;" srcdoc="&lt;div style=&quot;width:800px;height:600px;margin:0 auto;background:linear-gradient(135deg,#0f2027,#203a43,#2c5364);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;font-family:&#x27;Microsoft YaHei&#x27;,sans-serif;&quot;&gt;
&lt;div style=&quot;position:absolute;top:-80px;left:-80px;width:260px;height:260px;border-radius:50%;background:rgba(255,165,0,0.08);&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;position:absolute;bottom:-60px;right:-60px;width:220px;height:220px;border-radius:50%;background:rgba(0,200,150,0.08);&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;position:absolute;top:40px;right:60px;width:100px;height:100px;border:3px solid rgba(255,255,255,0.06);border-radius:50%;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;position:absolute;bottom:60px;left:50px;width:60px;height:60px;border:2px solid rgba(255,255,255,0.05);border-radius:50%;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;position:relative;z-index:2;text-align:center;&quot;&gt;
&lt;div style=&quot;display:inline-block;background:linear-gradient(135deg,#ff6b35,#f7931e);padding:8px 32px;border-radius:30px;margin-bottom:20px;&quot;&gt;
&lt;span style=&quot;color:#fff;font-size:15px;font-weight:bold;letter-spacing:4px;&quot;&gt;初一数学&lt;/span&gt;
&lt;/div&gt;
&lt;h1 style=&quot;font-size:52px;color:#ffffff;margin:0 0 12px 0;letter-spacing:6px;text-shadow:0 4px 20px rgba(0,0,0,0.3);&quot;&gt;一元一次方程&lt;/h1&gt;
&lt;div style=&quot;width:80px;height:3px;background:linear-gradient(90deg,#ff6b35,#00c896);margin:0 auto 20px auto;border-radius:2px;&quot;&gt;&lt;/div&gt;
&lt;p style=&quot;color:rgba(255,255,255,0.7);font-size:18px;margin:0 0 30px 0;letter-spacing:2px;&quot;&gt;从生活问题到代数思维的桥梁&lt;/p&gt;
&lt;div style=&quot;display:flex;gap:20px;justify-content:center;&quot;&gt;
&lt;div style=&quot;background:rgba(255,255,255,0.08);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.1);border-radius:16px;padding:20px 24px;text-align:center;width:160px;&quot;&gt;
&lt;div style=&quot;font-size:36px;margin-bottom:8px;&quot;&gt;📖&lt;/div&gt;
&lt;div style=&quot;color:#fff;font-size:14px;font-weight:bold;&quot;&gt;定义与性质&lt;/div&gt;
&lt;div style=&quot;color:rgba(255,255,255,0.5);font-size:12px;margin-top:4px;&quot;&gt;概念理解&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background:rgba(255,255,255,0.08);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.1);border-radius:16px;padding:20px 24px;text-align:center;width:160px;&quot;&gt;
&lt;div style=&quot;font-size:36px;margin-bottom:8px;&quot;&gt;✏️&lt;/div&gt;
&lt;div style=&quot;color:#fff;font-size:14px;font-weight:bold;&quot;&gt;解题步骤&lt;/div&gt;
&lt;div style=&quot;color:rgba(255,255,255,0.5);font-size:12px;margin-top:4px;&quot;&gt;方法掌握&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background:rgba(255,255,255,0.08);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.1);border-radius:16px;padding:20px 24px;text-align:center;width:160px;&quot;&gt;
&lt;div style=&quot;font-size:36px;margin-bottom:8px;&quot;&gt;🎯&lt;/div&gt;
&lt;div style=&quot;color:#fff;font-size:14px;font-weight:bold;&quot;&gt;实战练习&lt;/div&gt;
&lt;div style=&quot;color:rgba(255,255,255,0.5);font-size:12px;margin-top:4px;&quot;&gt;巩固提升&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;position:absolute;bottom:20px;color:rgba(255,255,255,0.3);font-size:12px;letter-spacing:1px;&quot;&gt;点击下方箭头开始学习 →&lt;/div&gt;
&lt;/div&gt;"></iframe>
</div>
</body></html>