You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1145 lines
19 KiB

/* pages/evaluate/index.wxss */
.evaluate-page {
min-height: 100vh;
background: linear-gradient(135deg, #f9f9f9, #f5f5f5);
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}
/* 顶部导航 */
.evaluate-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx 32rpx;
background: white;
border-bottom: 1rpx solid #f0f0f0;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.03);
}
.header-back {
font-size: 48rpx;
color: #333;
width: 60rpx;
transition: color 0.2s ease;
}
.header-back:active {
color: #FF6B00;
}
.header-title {
font-size: 36rpx;
font-weight: 600;
color: #333;
}
.header-placeholder {
width: 60rpx;
}
/* 进度指示器 */
.progress-indicator {
background: white;
padding: 30rpx 32rpx;
border-bottom: 1rpx solid #f0f0f0;
}
.progress-dots {
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
position: relative;
}
.progress-dots::after {
content: '';
position: absolute;
top: 14rpx;
left: 0;
right: 0;
height: 8rpx;
background: #e0e0e0;
z-index: 1;
}
.progress-dot {
width: 28rpx;
height: 28rpx;
background: #e0e0e0;
border-radius: 50%;
transition: all 0.3s ease;
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
font-size: 16rpx;
color: transparent;
}
.progress-dot.active {
background: #FF6B00;
color: white;
transform: scale(1.1);
box-shadow: 0 4rpx 12rpx rgba(255, 107, 0, 0.3);
}
.progress-text {
font-size: 28rpx;
color: #FF6B00;
text-align: center;
font-weight: 500;
}
/* 步骤内容 */
.evaluate-step {
padding: 60rpx 32rpx 40rpx;
display: block;
align-items: flex-start;
justify-content: flex-start;
}
.step-content {
max-width: 100%;
display: block;
align-items: flex-start;
justify-content: flex-start;
}
.step-title {
font-size: 48rpx;
font-weight: 700;
color: #333;
margin-bottom: 20rpx;
letter-spacing: 1rpx;
}
.step-subtitle {
font-size: 28rpx;
color: #666;
margin-bottom: 60rpx;
line-height: 42rpx;
}
/* 城市选择头部返回按钮 */
.city-header {
margin-bottom: 40rpx;
padding: 20rpx 0;
}
.city-back {
font-size: 32rpx;
color: #666;
display: inline-flex;
align-items: center;
padding: 10rpx 16rpx;
border-radius: 12rpx;
transition: all 0.2s ease;
}
.city-back:active {
background: #f5f5f5;
color: #FF6B00;
}
/* 返回上一步按钮样式 */
.back-btn {
font-size: 28rpx;
color: #666;
display: inline-flex;
align-items: center;
padding: 10rpx 0;
margin-bottom: 20rpx;
background: transparent;
border: none;
border-radius: 0;
transition: color 0.2s ease;
}
.back-btn::after {
border: none;
}
.back-btn:active {
color: #FF6B00;
}
/* 类别列表 */
.category-list {
background: white;
border-radius: 20rpx;
overflow: hidden;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
}
.category-item {
display: flex;
align-items: center;
padding: 36rpx;
border-bottom: 1rpx solid #f5f5f5;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}
.category-item::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 0;
background: linear-gradient(90deg, rgba(255, 107, 0, 0.05), transparent);
transition: width 0.3s ease;
}
.category-item:active::before {
width: 100%;
}
.category-item:last-child {
border-bottom: none;
}
.category-item.selected {
background: #fff8f0;
border-left: 8rpx solid #FF6B00;
}
.category-icon {
font-size: 64rpx;
margin-right: 24rpx;
filter: drop-shadow(0 4rpx 8rpx rgba(0, 0, 0, 0.1));
}
.category-info {
flex: 1;
}
.category-name {
font-size: 32rpx;
font-weight: 600;
color: #333;
margin-bottom: 8rpx;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.rank-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40rpx;
height: 40rpx;
background: #F5F5F5;
color: #666;
border-radius: 6rpx;
font-size: 26rpx;
font-weight: 600;
margin-right: 20rpx;
min-width: 40rpx;
line-height: 40rpx;
text-align: center;
transition: all 0.2s ease;
}
/* 前三名的特殊样式 */
.rank-number.rank-1 {
background: #FF6B00;
color: white;
transform: scale(1.05);
box-shadow: 0 4rpx 12rpx rgba(255, 107, 0, 0.25);
}
.rank-number.rank-2 {
background: #FF9500;
color: white;
box-shadow: 0 4rpx 12rpx rgba(255, 149, 0, 0.2);
}
.rank-number.rank-3 {
background: #FFB74D;
color: white;
box-shadow: 0 4rpx 12rpx rgba(255, 183, 77, 0.15);
}
/* 销售标签样式 */
.sales-tag {
display: flex;
align-items: center;
background: linear-gradient(135deg, #FF6B00, #FF9500);
padding: 6rpx 16rpx;
border-radius: 20rpx;
margin-left: 10rpx;
box-shadow: 0 4rpx 12rpx rgba(255, 107, 0, 0.2);
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.sales-icon {
font-size: 22rpx;
margin-right: 6rpx;
}
.sales-count {
font-size: 22rpx;
color: #FFF;
font-weight: 600;
}
.category-desc {
font-size: 24rpx;
color: #666;
}
.category-arrow {
font-size: 36rpx;
color: #999;
}
/* 选项列表 */
.option-list {
background: white;
border-radius: 20rpx;
overflow: hidden;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
}
.option-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 36rpx;
border-bottom: 1rpx solid #f5f5f5;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}
.option-item::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 0;
background: linear-gradient(90deg, rgba(255, 107, 0, 0.05), transparent);
transition: width 0.3s ease;
}
.option-item:active::before {
width: 100%;
}
.option-item:last-child {
border-bottom: none;
}
.option-item.selected {
background: #fff8f0;
border-left: 8rpx solid #FF6B00;
}
.option-text {
font-size: 32rpx;
color: #333;
font-weight: 500;
display: flex;
align-items: center;
flex-wrap: wrap;
flex: 1;
}
/* 销售信息样式 */
.sales-info {
display: flex;
align-items: center;
background: rgba(255, 107, 0, 0.1);
padding: 6rpx 16rpx;
border-radius: 20rpx;
margin-left: 15rpx;
transition: all 0.2s ease;
}
.sales-info .sales-icon {
font-size: 22rpx;
margin-right: 6rpx;
}
.sales-info .sales-count {
font-size: 22rpx;
color: #FF6B00;
font-weight: 600;
}
.option-arrow {
font-size: 36rpx;
color: #999;
transition: transform 0.2s ease;
}
.option-item:active .option-arrow {
transform: translateX(4rpx);
}
/* 条件列表 */
.condition-list {
background: white;
border-radius: 20rpx;
overflow: hidden;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
}
.condition-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 36rpx;
border-bottom: 1rpx solid #f5f5f5;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
text-align: left;
}
.condition-item::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 0;
background: linear-gradient(90deg, rgba(255, 107, 0, 0.05), transparent);
transition: width 0.3s ease;
}
.condition-item:active::before {
width: 100%;
}
.condition-item:last-child {
border-bottom: none;
}
.condition-item.selected {
background: #fff8f0;
border-left: 8rpx solid #FF6B00;
}
.condition-info {
flex: 1;
text-align: left;
align-self: flex-start;
}
.condition-name {
font-size: 32rpx;
font-weight: 600;
color: #333;
margin-bottom: 12rpx;
display: flex;
align-items: center;
text-align: left;
justify-content: flex-start;
align-self: flex-start;
}
.condition-desc {
font-size: 26rpx;
color: #666;
line-height: 36rpx;
text-align: left;
align-self: flex-start;
}
.condition-check {
color: #FF6B00;
font-size: 36rpx;
font-weight: bold;
background: white;
width: 50rpx;
height: 50rpx;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4rpx 12rpx rgba(255, 107, 0, 0.3);
}
/* 获取报价按钮 */
.get-price-section {
margin-top: 80rpx;
padding: 0 32rpx;
}
.get-price-btn {
background: linear-gradient(135deg, #FF6B00, #FF9500);
color: white;
border: none;
border-radius: 50rpx;
padding: 32rpx 0;
font-size: 34rpx;
font-weight: 700;
width: 100%;
box-shadow: 0 10rpx 30rpx rgba(255, 107, 0, 0.35);
transition: all 0.3s ease;
letter-spacing: 2rpx;
}
.get-price-btn:active {
transform: scale(0.98);
box-shadow: 0 6rpx 20rpx rgba(255, 107, 0, 0.3);
}
.get-price-btn::after {
content: none;
}
/* 结果页面 */
.result-step {
background: linear-gradient(135deg, #fff8f0, #ffffff);
min-height: 100vh;
}
.result-header {
text-align: center;
padding: 80rpx 0 30rpx;
background: white;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.03);
animation: fadeIn 0.8s ease-out;
}
.result-icon {
font-size: 140rpx;
margin-bottom: 30rpx;
animation: bounce 1s ease-out;
}
@keyframes bounce {
0% {
transform: translateY(-30rpx) scale(0.8);
opacity: 0;
}
70% {
transform: translateY(10rpx) scale(1.1);
}
100% {
transform: translateY(0) scale(1);
opacity: 1;
}
}
.result-title {
font-size: 48rpx;
font-weight: 700;
color: #333;
margin-bottom: 20rpx;
letter-spacing: 2rpx;
animation: fadeUp 0.6s ease-out;
}
.result-subtitle {
font-size: 28rpx;
color: #666;
animation: fadeUp 0.6s ease-out 0.2s both;
}
@keyframes fadeUp {
from {
transform: translateY(20rpx);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.result-content {
padding: 40rpx 32rpx;
}
/* 商品信息卡片 */
.product-info-card {
background: white;
border-radius: 20rpx;
padding: 40rpx;
margin-bottom: 50rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
animation: slideUp 0.8s ease-out;
}
@keyframes slideUp {
from {
transform: translateY(40rpx);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.product-type {
font-size: 36rpx;
font-weight: 700;
color: #333;
margin-bottom: 20rpx;
letter-spacing: 1rpx;
}
.product-details {
display: flex;
gap: 20rpx;
flex-wrap: wrap;
}
.product-brand, .product-model {
font-size: 28rpx;
color: #666;
background: #f5f5f5;
padding: 14rpx 28rpx;
border-radius: 30rpx;
font-weight: 500;
transition: all 0.2s ease;
}
.product-brand:active, .product-model:active {
background: #e8e8e8;
}
/* 价格结果 */
.price-result {
text-align: center;
margin-top: 30rpx;
margin-bottom: 0;
padding: 0 32rpx;
animation: pulseScale 1s ease-out;
}
@keyframes pulseScale {
0% {
transform: scale(0.9);
opacity: 0;
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
opacity: 1;
}
}
.price-label {
font-size: 28rpx;
color: #666;
margin-bottom: 24rpx;
font-weight: 500;
}
.price-amount {
display: flex;
align-items: baseline;
justify-content: center;
gap: 12rpx;
margin-bottom: 16rpx;
}
.price-symbol {
font-size: 44rpx;
color: #FF6B00;
font-weight: 700;
}
.price-number {
font-size: 80rpx;
font-weight: bold;
color: #FF6B00;
line-height: 1;
text-shadow: 0 4rpx 12rpx rgba(255, 107, 0, 0.2);
}
.price-unit {
font-size: 30rpx;
color: #666;
font-weight: 500;
}
/* 状况汇总 */
.condition-summary {
background: white;
border-radius: 20rpx;
padding: 40rpx;
margin-bottom: 40rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
animation: slideUp 0.8s ease-out 0.4s both;
}
.summary-title {
font-size: 32rpx;
font-weight: 700;
color: #333;
margin-bottom: 24rpx;
letter-spacing: 1rpx;
}
.condition-items {
display: flex;
flex-wrap: wrap;
gap: 20rpx;
}
.condition-item {
background: #f5f5f5;
padding: 20rpx 32rpx;
border-radius: 16rpx;
display: flex;
flex-direction: column;
align-items: center;
gap: 12rpx;
flex: 1;
min-width: 200rpx;
transition: all 0.2s ease;
}
.condition-item:active {
background: #e8e8e8;
}
.condition-label {
font-size: 26rpx;
color: #666;
font-weight: 500;
}
.condition-value {
font-size: 32rpx;
font-weight: 700;
color: #333;
letter-spacing: 1rpx;
}
/* 价格提示 */
.price-tips {
display: flex;
align-items: center;
justify-content: center;
gap: 12rpx;
padding: 24rpx;
background: rgba(255, 107, 0, 0.05);
border-radius: 16rpx;
margin: 0 20rpx 60rpx;
animation: fadeUp 0.8s ease-out 0.6s both;
}
.tip-icon {
font-size: 30rpx;
color: #FF6B00;
flex-shrink: 0;
margin-top: 4rpx;
}
.tip-text {
font-size: 26rpx;
color: #666;
line-height: 38rpx;
flex: 1;
text-align: center;
}
/* 结果操作按钮 */
.result-actions {
display: flex;
gap: 24rpx;
padding: 0 32rpx 60rpx;
animation: slideUp 0.8s ease-out 0.8s both;
}
.btn-secondary {
flex: 1;
background: white;
color: #666;
border: 1rpx solid #e0e0e0;
border-radius: 50rpx;
padding: 32rpx 0;
font-size: 34rpx;
font-weight: 700;
transition: all 0.3s ease;
letter-spacing: 2rpx;
box-shadow: 0 6rpx 16rpx rgba(0, 0, 0, 0.04);
}
.btn-secondary:active {
background: #f8f8f8;
transform: scale(0.98);
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.03);
}
.btn-primary {
flex: 1;
background: linear-gradient(135deg, #FF6B00, #FF9500);
color: white;
border: none;
border-radius: 50rpx;
padding: 32rpx 0;
font-size: 34rpx;
font-weight: 700;
transition: all 0.3s ease;
letter-spacing: 2rpx;
box-shadow: 0 10rpx 30rpx rgba(255, 107, 0, 0.35);
}
.btn-primary:active {
transform: scale(0.98);
box-shadow: 0 6rpx 20rpx rgba(255, 107, 0, 0.3);
}
.btn-secondary::after, .btn-primary::after {
content: none;
}
/* ========== 新增3步流程样式 ========== */
/* 步骤1:提示说明页面样式 */
.step-icon {
font-size: 120rpx;
text-align: center;
margin-bottom: 40rpx;
animation: fadeIn 1s ease-out;
}
.step-description {
background: white;
border-radius: 20rpx;
padding: 40rpx;
margin-bottom: 60rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
font-size: 28rpx;
color: #333;
line-height: 48rpx;
white-space: pre-line;
animation: slideUp 0.8s ease-out;
}
.know-btn-wrapper {
text-align: center;
}
.know-btn {
background: linear-gradient(135deg, #FF6B00, #FF9500);
color: white;
border: none;
border-radius: 50rpx;
padding: 32rpx 80rpx;
font-size: 34rpx;
font-weight: 700;
box-shadow: 0 10rpx 30rpx rgba(255, 107, 0, 0.35);
transition: all 0.3s ease;
letter-spacing: 2rpx;
}
.know-btn:active {
transform: scale(0.98);
box-shadow: 0 6rpx 20rpx rgba(255, 107, 0, 0.3);
}
.know-btn::after {
content: none;
}
/* 步骤2:选择参数页面样式 */
.selection-group {
background: white;
border-radius: 20rpx;
padding: 40rpx;
margin-bottom: 30rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
animation: slideUp 0.8s ease-out;
}
.selection-group:last-child {
margin-bottom: 60rpx;
}
.group-title {
font-size: 32rpx;
font-weight: 700;
color: #333;
margin-bottom: 30rpx;
letter-spacing: 1rpx;
}
.option-check {
color: #FF6B00;
font-size: 36rpx;
font-weight: bold;
background: white;
width: 50rpx;
height: 50rpx;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4rpx 12rpx rgba(255, 107, 0, 0.3);
}
.evaluate-btn-wrapper {
text-align: center;
}
.evaluate-btn {
background: linear-gradient(135deg, #FF6B00, #FF9500);
color: white;
border: none;
border-radius: 50rpx;
padding: 32rpx 0;
font-size: 34rpx;
font-weight: 700;
width: 100%;
box-shadow: 0 10rpx 30rpx rgba(255, 107, 0, 0.35);
transition: all 0.3s ease;
letter-spacing: 2rpx;
}
.evaluate-btn.active {
background: linear-gradient(135deg, #FF6B00, #FF9500);
transform: scale(1);
}
.evaluate-btn.active:active {
transform: scale(0.98);
box-shadow: 0 6rpx 20rpx rgba(255, 107, 0, 0.3);
}
.evaluate-btn.disabled {
background: #ccc;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
transform: none;
}
.evaluate-btn::after {
content: none;
}
/* 步骤3:估价结果页面样式 */
.result-header {
text-align: center;
padding: 60rpx 0 40rpx;
background: white;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.03);
animation: fadeIn 0.8s ease-out;
}
.result-icon {
font-size: 120rpx;
margin-bottom: 20rpx;
animation: bounce 1s ease-out;
}
.result-title {
font-size: 42rpx;
font-weight: 700;
color: #333;
margin-bottom: 20rpx;
letter-spacing: 2rpx;
animation: fadeUp 0.6s ease-out;
}
.result-subtitle {
font-size: 26rpx;
color: #666;
animation: fadeUp 0.6s ease-out 0.2s both;
}
.price-card {
background: white;
border-radius: 20rpx;
padding: 40rpx;
margin: 40rpx 0;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
text-align: center;
animation: pulseScale 1s ease-out;
}
.price-label {
font-size: 28rpx;
color: #666;
margin-bottom: 24rpx;
font-weight: 500;
}
.price-amount {
display: flex;
align-items: baseline;
justify-content: center;
gap: 12rpx;
margin-bottom: 16rpx;
}
.price-symbol {
font-size: 44rpx;
color: #FF6B00;
font-weight: 700;
}
.price-number {
font-size: 72rpx;
font-weight: bold;
color: #FF6B00;
line-height: 1;
text-shadow: 0 4rpx 12rpx rgba(255, 107, 0, 0.2);
}
.price-unit {
font-size: 28rpx;
color: #666;
font-weight: 500;
}
.price-range {
font-size: 26rpx;
color: #999;
margin-top: 12rpx;
}
.evaluation-details {
background: white;
border-radius: 20rpx;
padding: 40rpx;
margin-bottom: 40rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
animation: slideUp 0.8s ease-out 0.4s both;
}
.detail-title {
font-size: 32rpx;
font-weight: 700;
color: #333;
margin-bottom: 30rpx;
letter-spacing: 1rpx;
text-align: center;
}
.detail-items {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20rpx;
}
.detail-item {
display: flex;
flex-direction: column;
align-items: center;
padding: 20rpx;
background: #f8f8f8;
border-radius: 12rpx;
transition: all 0.2s ease;
}
.detail-item:active {
background: #f0f0f0;
}
.detail-label {
font-size: 24rpx;
color: #666;
margin-bottom: 8rpx;
font-weight: 500;
}
.detail-value {
font-size: 28rpx;
font-weight: 700;
color: #333;
text-align: center;
}
/* ========== 下拉框选择器样式 ========== */
.picker-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
background: white;
border: 2rpx solid #e0e0e0;
border-radius: 16rpx;
padding: 32rpx;
transition: all 0.3s ease;
position: relative;
}
.picker-wrapper:active {
border-color: #FF6B00;
background: #fff8f0;
}
.picker-wrapper.small {
padding: 24rpx;
margin: 0 10rpx;
border-radius: 12rpx;
}
.picker-wrapper.disabled {
background: #f5f5f5;
border-color: #e0e0e0;
}
.picker-wrapper.disabled:active {
border-color: #e0e0e0;
background: #f5f5f5;
}
.picker-display {
flex: 1;
font-size: 32rpx;
color: #999;
transition: color 0.3s ease;
}
.picker-display.selected {
color: #333;
font-weight: 500;
}
.picker-arrow {
font-size: 24rpx;
color: #999;
transition: transform 0.3s ease;
margin-left: 20rpx;
}
.picker-wrapper:active .picker-arrow {
transform: scale(1.1);
}
/* ========== 月日二级框样式 ========== */
.date-selector {
display: flex;
align-items: center;
justify-content: space-between;
background: white;
border-radius: 20rpx;
padding: 20rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.04);
}
.date-selector .picker-wrapper {
flex: 1;
margin: 0;
box-shadow: none;
border: 2rpx solid #e0e0e0;
}