|
|
@ -840,14 +840,14 @@ video.slider-media .wx-video-volume-icon { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-modal-container { |
|
|
.compare-modal-container { |
|
|
width: 340px; |
|
|
width: 380px; |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
border-radius: 20px; |
|
|
border-radius: 20px; |
|
|
box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12); |
|
|
box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12); |
|
|
animation: slideUp 0.3s ease-out; |
|
|
animation: slideUp 0.3s ease-out; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
max-height: 560px; |
|
|
max-height: 600px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@keyframes fadeIn { |
|
|
@keyframes fadeIn { |
|
|
@ -870,14 +870,14 @@ video.slider-media .wx-video-volume-icon { |
|
|
|
|
|
|
|
|
/* 步骤指示器 */ |
|
|
/* 步骤指示器 */ |
|
|
.compare-step-container { |
|
|
.compare-step-container { |
|
|
height: 120px; |
|
|
height: 80px; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-step-wrapper { |
|
|
.compare-step-wrapper { |
|
|
width: 280px; |
|
|
width: 240px; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
@ -886,12 +886,21 @@ video.slider-media .wx-video-volume-icon { |
|
|
.compare-step { |
|
|
.compare-step { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
flex: 1; |
|
|
position: relative; |
|
|
|
|
|
width: 50%; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.compare-step:first-child { |
|
|
|
|
|
justify-content: flex-start; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.compare-step:last-child { |
|
|
|
|
|
justify-content: flex-end; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-step-circle { |
|
|
.compare-step-circle { |
|
|
width: 32px; |
|
|
width: 28px; |
|
|
height: 32px; |
|
|
height: 28px; |
|
|
border-radius: 50%; |
|
|
border-radius: 50%; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
@ -901,6 +910,7 @@ video.slider-media .wx-video-volume-icon { |
|
|
background-color: #E5E7EB; |
|
|
background-color: #E5E7EB; |
|
|
color: #9CA3AF; |
|
|
color: #9CA3AF; |
|
|
z-index: 1; |
|
|
z-index: 1; |
|
|
|
|
|
position: relative; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-step.active .compare-step-circle { |
|
|
.compare-step.active .compare-step-circle { |
|
|
@ -909,10 +919,14 @@ video.slider-media .wx-video-volume-icon { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-step-line { |
|
|
.compare-step-line { |
|
|
flex: 1; |
|
|
position: absolute; |
|
|
|
|
|
top: 50%; |
|
|
|
|
|
left: 50%; |
|
|
|
|
|
right: -50%; |
|
|
height: 2px; |
|
|
height: 2px; |
|
|
background-color: #E5E7EB; |
|
|
background-color: #E5E7EB; |
|
|
margin: 0 12px; |
|
|
transform: translateY(-50%); |
|
|
|
|
|
z-index: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-step-line.active { |
|
|
.compare-step-line.active { |
|
|
@ -921,28 +935,28 @@ video.slider-media .wx-video-volume-icon { |
|
|
|
|
|
|
|
|
/* 标题和引导文字 */ |
|
|
/* 标题和引导文字 */ |
|
|
.compare-modal-header { |
|
|
.compare-modal-header { |
|
|
padding: 0 24px 24px; |
|
|
padding: 0 24px 20px; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-modal-title { |
|
|
.compare-modal-title { |
|
|
font-size: 18px; |
|
|
font-size: 20px; |
|
|
font-weight: 500; |
|
|
font-weight: 600; |
|
|
color: #1A1A1A; |
|
|
color: #1A1A1A; |
|
|
line-height: 24px; |
|
|
line-height: 28px; |
|
|
margin-bottom: 4px; |
|
|
margin-bottom: 4px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-modal-subtitle { |
|
|
.compare-modal-subtitle { |
|
|
font-size: 14px; |
|
|
font-size: 18px; |
|
|
font-weight: 400; |
|
|
font-weight: 600; |
|
|
color: #666666; |
|
|
color: #666666; |
|
|
line-height: 20px; |
|
|
line-height: 28px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* 已选品种提示区 */ |
|
|
/* 已选品种提示区 */ |
|
|
.compare-selected-category { |
|
|
.compare-selected-category { |
|
|
width: 292px; |
|
|
width: 332px; |
|
|
height: 48px; |
|
|
height: 48px; |
|
|
background-color: #F0F7FF; |
|
|
background-color: #F0F7FF; |
|
|
border-radius: 12px; |
|
|
border-radius: 12px; |
|
|
@ -970,7 +984,7 @@ video.slider-media .wx-video-volume-icon { |
|
|
.compare-content { |
|
|
.compare-content { |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
padding: 0 24px 24px; |
|
|
padding: 0 24px 24px; |
|
|
overflow-y: auto; |
|
|
overflow: hidden; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* 选项样式 */ |
|
|
/* 选项样式 */ |
|
|
@ -983,7 +997,7 @@ video.slider-media .wx-video-volume-icon { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
padding: 0 16px; |
|
|
padding: 0 16px; |
|
|
transition: all 0.3s ease; |
|
|
/* 移除过渡动画以提高iOS性能 */ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-option.selected { |
|
|
.compare-option.selected { |
|
|
@ -1012,10 +1026,10 @@ video.slider-media .wx-video-volume-icon { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-option-name { |
|
|
.compare-option-name { |
|
|
font-size: 16px; |
|
|
font-size: 18px; |
|
|
font-weight: 400; |
|
|
font-weight: 500; |
|
|
color: #666666; |
|
|
color: #666666; |
|
|
line-height: 22px; |
|
|
line-height: 24px; |
|
|
margin-bottom: 4px; |
|
|
margin-bottom: 4px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -1039,7 +1053,7 @@ video.slider-media .wx-video-volume-icon { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
transition: all 0.3s ease; |
|
|
/* 移除过渡动画以提高iOS性能 */ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-option-radio.selected { |
|
|
.compare-option-radio.selected { |
|
|
@ -1059,7 +1073,7 @@ video.slider-media .wx-video-volume-icon { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-next-button { |
|
|
.compare-next-button { |
|
|
width: 292px; |
|
|
width: 332px; |
|
|
height: 44px; |
|
|
height: 44px; |
|
|
background-color: #165DFF; |
|
|
background-color: #165DFF; |
|
|
color: #FFFFFF; |
|
|
color: #FFFFFF; |
|
|
@ -1075,15 +1089,10 @@ video.slider-media .wx-video-volume-icon { |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-next-button:active { |
|
|
|
|
|
background-color: #0E47D9; |
|
|
|
|
|
transform: scale(0.98); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.compare-footer-buttons { |
|
|
.compare-footer-buttons { |
|
|
display: flex; |
|
|
display: flex; |
|
|
gap: 12px; |
|
|
gap: 12px; |
|
|
width: 292px; |
|
|
width: 332px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.compare-back-button { |
|
|
.compare-back-button { |
|
|
|