调整样式

This commit is contained in:
ljm
2024-12-02 14:34:45 +00:00
committed by 李鹏宇
parent 672dbbc4f6
commit 2b227c3fda
@@ -11,7 +11,7 @@ class EmployeeBannerRoute(Controller):
all_hired_count = employees.search_count([]) # 全职
return {
'html': f"""
<div style="display: flex; justify-content: space-around; align-items: center; text-align: center; padding: 20px; width: 100%;">
<div style="display: flex; justify-content: space-around; align-items: center; text-align: center; padding: 20px; width: 100%;margin-top:25px;margin-bottom:25px;">
<div style="flex: 1; padding: 20px;">
<h2>正式</h2>
<p style="font-size: 24px; color: #4CAF50;">{hired_count}</p>