小学数学思维导图
header { position: relative; /* 让内部绝对定位生效 */ display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; text-align: center; } .header-center { flex-grow: 1; text-align: center; } .header-left, .header-right { z-index: 10; } .top-btn { display: inline-block; padding: 6px 12px; background: rgba(255, 255, 255, 0.2); color: white; text-decoration: none; border-radius: 20px; font-size: 13px; border: 1px solid rgba(255,255,255,0.4); transition: 0.3s; cursor: pointer; } .top-btn:hover { background: rgba(255, 255, 255, 0.4); } /* 赞赏码弹窗样式 */ .modal { display: none; position: fixed; z-index: 100; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); } .modal-content { background-color: #fff; margin: 10% auto; padding: 20px; border-radius: 12px; width: 80%; max-width: 350px; text-align: center; position: relative; } .close-btn { position: absolute; top: 10px; right: 15px; color: #aaa; font-size: 24px; font-weight: bold; cursor: pointer; } .close-btn:hover { color: #333; } .reward-img { width: 200px; height: 200px; margin: 15px auto; display: block; }
1-6年级核心知识点 · 公式 · 易错点 · 例题全解析
章节导航
全部展开
全部收起
点击标题栏可展开/收起
function openReward() { document.getElementById('rewardModal').style.display = 'block'; } function closeReward() { document.getElementById('rewardModal').style.display = 'none'; }