ADD: 公告

This commit is contained in:
兰志宏
2025-03-03 18:28:11 +08:00
parent cc86523b6a
commit c967531e95
6 changed files with 40 additions and 14 deletions

View File

@@ -10,6 +10,26 @@
<div class="container mx-auto px-4 py-8">
<h1 class="text-3xl font-bold mb-8 text-center">股票分析系统</h1>
<!-- 添加公告栏 -->
{% if announcement %}
<div class="max-w-4xl mx-auto mb-8">
<div class="bg-blue-50 border-l-4 border-blue-500 p-4 rounded">
<div class="flex">
<div class="flex-shrink-0">
<svg class="h-5 w-5 text-blue-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd" />
</svg>
</div>
<div class="ml-3">
<p class="text-sm text-blue-700">
{{ announcement }}
</p>
</div>
</div>
</div>
</div>
{% endif %}
<div class="max-w-4xl mx-auto"> <!-- 将 max-w-2xl 改为 max-w-4xl -->
<!-- 批量分析 -->
<div class="bg-white p-6 rounded-lg shadow-md">