修改大屏,继续完善官网
This commit is contained in:
@@ -285,6 +285,48 @@ body {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
|
||||
/* 百度地图样式 */
|
||||
#baidu-map-container {
|
||||
border: 2px solid #e9ecef;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#baidu-map-container:hover {
|
||||
border-color: #667eea;
|
||||
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
|
||||
}
|
||||
|
||||
/* 地图加载状态样式 */
|
||||
.map-loading {
|
||||
background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%),
|
||||
linear-gradient(-45deg, #f8f9fa 25%, transparent 25%),
|
||||
linear-gradient(45deg, transparent 75%, #f8f9fa 75%),
|
||||
linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
|
||||
background-size: 20px 20px;
|
||||
background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
|
||||
animation: mapLoading 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes mapLoading {
|
||||
0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
|
||||
100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
|
||||
}
|
||||
|
||||
/* 地图控件样式优化 */
|
||||
.BMap_cpyCtrl {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 响应式地图 */
|
||||
@media (max-width: 768px) {
|
||||
#baidu-map-container {
|
||||
height: 250px !important;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.contact-info {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
@@ -406,6 +448,163 @@ html {
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* 页面加载动画 */
|
||||
.page-loader {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999;
|
||||
transition: opacity 0.5s ease-out;
|
||||
}
|
||||
|
||||
.page-loader.fade-out {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.loader-content {
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border: 4px solid rgba(255, 255, 255, 0.3);
|
||||
border-top: 4px solid white;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
margin: 0 auto 20px;
|
||||
}
|
||||
|
||||
.loader-text {
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.loader-subtitle {
|
||||
font-size: 14px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* 性能优化 - 图片懒加载 */
|
||||
.lazy-image {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.lazy-image.loaded {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 按钮悬停效果优化 */
|
||||
.btn {
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* 卡片悬停效果优化 */
|
||||
.card, .feature-card, .download-card {
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
.card:hover, .feature-card:hover, .download-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* 文字渐入动画 */
|
||||
.fade-in-up {
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
transition: all 0.6s ease-out;
|
||||
}
|
||||
|
||||
.fade-in-up.animate {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* 进度条动画 */
|
||||
.progress-bar {
|
||||
transition: width 1.5s ease-in-out;
|
||||
}
|
||||
|
||||
/* 数字计数动画 */
|
||||
.counter {
|
||||
font-weight: bold;
|
||||
color: #667eea;
|
||||
}
|
||||
|
||||
/* 表单提交状态 */
|
||||
.form-submitting {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.form-submitting .btn {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* 通知样式优化 */
|
||||
.alert {
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* 骨架屏加载效果 */
|
||||
.skeleton {
|
||||
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: loading 1.5s infinite;
|
||||
}
|
||||
|
||||
@keyframes loading {
|
||||
0% {
|
||||
background-position: 200% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: -200% 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* 图片加载优化 */
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
loading: lazy;
|
||||
}
|
||||
|
||||
/* 减少重绘重排 */
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* GPU加速 */
|
||||
.gpu-accelerated {
|
||||
transform: translateZ(0);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* 系统入口功能区 */
|
||||
.systems-section {
|
||||
padding: 5rem 0;
|
||||
|
||||
Reference in New Issue
Block a user