docs(database): 更新数据库设计规范和核心数据表结构

- 新增数据库基础规范、API映射规范、安全规范等详细设计要求- 增加读写分离、分库分表、数据生命周期管理等策略说明
- 新建核心业务表结构,包括用户表、贷款申请表、保险申请表等
- 优化索引设计,提高查询效率
This commit is contained in:
2025-08-19 22:04:18 +08:00
parent 1dbfbebd05
commit 47c67ff704
70 changed files with 104406 additions and 825 deletions

View File

@@ -1,200 +1,80 @@
/* 锡林郭勒盟安格斯牛平台官网样式 */
/* 基础样式重置 */
:root {
--primary-color: #4CAF50;
--secondary-color: #388E3C;
--accent-color: #FF9800;
--light-color: #f5f5f5;
--dark-color: #333;
--text-color: #333;
--border-radius: 4px;
--box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
--grass-green: #2e8b57;
--golden-yellow: #ffd700;
--dark-green: #1e5631;
--light-gold: #ffec80;
}
body {
font-family: 'Arial', sans-serif;
font-family: 'Microsoft YaHei', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: #fff;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
/* 蒙古族风格装饰元素 */
.gold-pattern {
background-image: url('../images/gold-pattern.png');
background-repeat: repeat-x;
height: 10px;
}
/* 头部样式 */
header {
background-color: var(--primary-color);
color: white;
padding: 1rem 0;
box-shadow: var(--box-shadow);
/* 导航栏增强 */
.navbar {
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
header h1 {
font-size: 1.8rem;
margin-bottom: 0.5rem;
.navbar.scrolled {
background-color: var(--dark-green) !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
nav ul {
display: flex;
list-style: none;
/* 英雄区域动画 */
.hero-section {
animation: fadeIn 1.5s ease-in-out;
}
nav ul li {
margin-right: 1.5rem;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
nav ul li a:hover {
color: var(--light-color);
}
/* 主要内容区域 */
main {
min-height: calc(100vh - 140px);
}
/* 英雄区域 */
.hero {
background: linear-gradient(rgba(76, 175, 80, 0.8), rgba(56, 142, 60, 0.9)), url('../images/hero-bg.jpg') no-repeat center center/cover;
color: white;
text-align: center;
padding: 4rem 0;
}
.hero h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
}
.cta-buttons {
display: flex;
justify-content: center;
gap: 1rem;
}
.btn {
display: inline-block;
padding: 0.8rem 1.5rem;
border-radius: var(--border-radius);
text-decoration: none;
font-weight: 500;
transition: all 0.3s;
}
.btn.primary {
background-color: var(--accent-color);
color: white;
}
.btn.primary:hover {
background-color: #F57C00;
transform: translateY(-2px);
}
.btn.secondary {
background-color: transparent;
color: white;
border: 2px solid white;
}
.btn.secondary:hover {
background-color: white;
color: var(--primary-color);
transform: translateY(-2px);
}
/* 特色功能区域 */
.features {
padding: 4rem 0;
background-color: var(--light-color);
}
.features h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 3rem;
color: var(--primary-color);
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* 功能卡片增强 */
.feature-card {
background: white;
padding: 2rem;
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
text-align: center;
transition: transform 0.3s;
border-radius: 12px;
overflow: hidden;
}
.feature-card:hover {
transform: translateY(-5px);
.feature-card .card-body {
position: relative;
z-index: 1;
}
.feature-card h3 {
color: var(--primary-color);
margin-bottom: 1rem;
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--grass-green), var(--dark-green));
opacity: 0;
transition: opacity 0.3s ease;
z-index: 0;
}
/* 页脚 */
footer {
background-color: var(--dark-color);
color: white;
text-align: center;
padding: 1.5rem 0;
.feature-card:hover::before {
opacity: 0.1;
}
/* 响应式设计 */
/* 响应式调整 */
@media (max-width: 768px) {
header h1 {
font-size: 1.5rem;
.hero-section {
min-height: 50vh;
}
nav ul {
flex-direction: column;
}
nav ul li {
margin: 0.5rem 0;
}
.hero h2 {
font-size: 2rem;
}
.hero p {
font-size: 1rem;
}
.cta-buttons {
flex-direction: column;
align-items: center;
}
.feature-grid {
grid-template-columns: 1fr;
.display-3 {
font-size: 2.5rem;
}
}