Files
2026-01-06 18:00:43 +08:00

223 lines
3.3 KiB
Plaintext

/**
* 价格趋势页面样式
*/
page {
background-color: #f5f5f5;
height: 100%;
}
.container {
min-height: 100vh;
padding-bottom: 120rpx;
}
/* ========== 筛选条件区域 ========== */
.filter-section {
background: #fff;
padding: 40rpx 30rpx;
margin-bottom: 20rpx;
border-radius: 0 0 24rpx 24rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
}
.section-title {
font-size: 36rpx;
font-weight: bold;
color: #1a1a1a;
margin-bottom: 32rpx;
padding-left: 16rpx;
border-left: 6rpx solid #1890ff;
}
.form-item {
margin-bottom: 32rpx;
}
.form-label {
font-size: 28rpx;
color: #595959;
margin-bottom: 16rpx;
font-weight: 500;
}
.form-picker {
background: #f5f5f5;
border-radius: 12rpx;
padding: 24rpx 20rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.picker-text {
font-size: 30rpx;
color: #1a1a1a;
}
.picker-text.placeholder {
color: #bfbfbf;
}
.btn-group {
display: flex;
gap: 20rpx;
margin-top: 40rpx;
}
.btn-primary,
.btn-secondary {
flex: 1;
height: 88rpx;
line-height: 88rpx;
border-radius: 12rpx;
font-size: 32rpx;
font-weight: 500;
border: none;
}
.btn-primary {
background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
color: #fff;
}
.btn-primary[disabled] {
background: #d9d9d9;
color: #bfbfbf;
}
.btn-secondary {
background: #fff;
color: #595959;
border: 2rpx solid #d9d9d9;
}
.btn-secondary[disabled] {
border-color: #f0f0f0;
color: #bfbfbf;
}
/* ========== 图表区域 ========== */
.chart-section {
padding: 0 30rpx;
}
.chart-card {
background: #fff;
border-radius: 16rpx;
padding: 32rpx;
margin-bottom: 24rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
}
.chart-title {
font-size: 32rpx;
font-weight: bold;
color: #1a1a1a;
margin-bottom: 24rpx;
}
.chart-container {
width: 100%;
height: 500rpx;
}
ec-canvas {
width: 100%;
height: 100%;
}
/* ========== 统计摘要 ========== */
.stats-summary {
display: flex;
justify-content: space-between;
background: #fff;
border-radius: 16rpx;
padding: 32rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
}
.stat-item {
flex: 1;
text-align: center;
}
.stat-label {
font-size: 24rpx;
color: #8c8c8c;
margin-bottom: 12rpx;
}
.stat-value {
font-size: 32rpx;
font-weight: bold;
color: #1a1a1a;
}
.stat-value.up {
color: #ff4d4f;
}
.stat-value.down {
color: #52c41a;
}
/* ========== 欢迎/空状态 ========== */
.welcome-section,
.empty-section {
padding: 120rpx 30rpx;
text-align: center;
}
.welcome-card {
background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
border-radius: 24rpx;
padding: 60rpx 40rpx;
box-shadow: 0 8rpx 24rpx rgba(82, 196, 26, 0.25);
}
.welcome-icon {
font-size: 120rpx;
margin-bottom: 24rpx;
}
.welcome-title {
font-size: 40rpx;
font-weight: bold;
color: #fff;
margin-bottom: 16rpx;
}
.welcome-desc {
font-size: 28rpx;
color: rgba(255, 255, 255, 0.9);
}
.empty-icon {
font-size: 120rpx;
margin-bottom: 24rpx;
opacity: 0.5;
}
.empty-text {
font-size: 30rpx;
color: #595959;
margin-bottom: 12rpx;
}
.empty-hint {
font-size: 26rpx;
color: #8c8c8c;
}
/* ========== 加载状态 ========== */
.loading-section {
padding: 120rpx 30rpx;
text-align: center;
}
.loading-text {
font-size: 28rpx;
color: #8c8c8c;
}