|
|
|
@ -413,88 +413,95 @@ video.slider-media .wx-video-volume-icon { |
|
|
|
box-shadow: 0 2px 8px rgba(82, 196, 26, 0.2); |
|
|
|
} |
|
|
|
|
|
|
|
/* 底部按钮区域样式 */ |
|
|
|
/* 底部操作栏 - 图一样式 */ |
|
|
|
.action-buttons { |
|
|
|
position: fixed; |
|
|
|
bottom: 0; |
|
|
|
left: 0; |
|
|
|
right: 0; |
|
|
|
padding: 12px 16px; |
|
|
|
display: flex; |
|
|
|
background-color: #ffffff; |
|
|
|
border-top: 1px solid #f0f0f0; |
|
|
|
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06); |
|
|
|
border-top: 2rpx solid #f0f0f0; |
|
|
|
box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.06); |
|
|
|
z-index: 99; |
|
|
|
display: flex; |
|
|
|
gap: 8px; |
|
|
|
flex-wrap: nowrap; |
|
|
|
box-sizing: border-box; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
height: 144rpx; /* 对应 h-18 (72px) */ |
|
|
|
} |
|
|
|
|
|
|
|
.bottom-button { |
|
|
|
flex: 1; |
|
|
|
min-width: 0; |
|
|
|
height: 48px; |
|
|
|
border-radius: 24px; |
|
|
|
font-size: 16px; |
|
|
|
font-weight: 700; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
flex-direction: column; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
background: transparent; |
|
|
|
border: none; |
|
|
|
outline: none; |
|
|
|
transition: all 0.3s ease; |
|
|
|
border-radius: 0; |
|
|
|
padding: 16rpx 0; |
|
|
|
margin: 0; |
|
|
|
white-space: nowrap; |
|
|
|
overflow: hidden; |
|
|
|
text-overflow: ellipsis; |
|
|
|
padding: 0 12px; |
|
|
|
height: 100%; |
|
|
|
line-height: 1.2; |
|
|
|
transition: background-color 0.2s; |
|
|
|
} |
|
|
|
|
|
|
|
.bottom-button:active { |
|
|
|
transform: scale(0.98); |
|
|
|
opacity: 0.9; |
|
|
|
background-color: #f5f5f5; /* 默认点击背景 */ |
|
|
|
} |
|
|
|
|
|
|
|
.call-button:active { |
|
|
|
background-color: #4066ff; |
|
|
|
border-color: #4066ff; |
|
|
|
box-shadow: 0 4px 12px rgba(47, 84, 235, 0.3); |
|
|
|
.bottom-button .icon { |
|
|
|
font-size: 44rpx; /* 约22px,略大于原 text-lg */ |
|
|
|
margin-bottom: 6rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.call-button.bottom-button { |
|
|
|
background-color: #ffffff; |
|
|
|
color: #2f54eb; |
|
|
|
border: 2px solid #2f54eb; |
|
|
|
box-shadow: none; |
|
|
|
.bottom-button .text { |
|
|
|
font-size: 26rpx; /* 13px */ |
|
|
|
font-weight: 400; |
|
|
|
} |
|
|
|
|
|
|
|
.call-button.bottom-button:active { |
|
|
|
background-color: #f0f4ff; |
|
|
|
transform: scale(0.98); |
|
|
|
/* 物流、对比、联系默认灰色 */ |
|
|
|
.logistics-btn .icon, |
|
|
|
.logistics-btn .text, |
|
|
|
.compare-btn .icon, |
|
|
|
.compare-btn .text, |
|
|
|
.chat-btn .icon, |
|
|
|
.chat-btn .text { |
|
|
|
color: #666; |
|
|
|
} |
|
|
|
|
|
|
|
.chat-button.bottom-button:active { |
|
|
|
background-color: #d6f7e6; |
|
|
|
transform: scale(0.98); |
|
|
|
/* 还价按钮 - 橙色背景与文字 */ |
|
|
|
.bargain-btn { |
|
|
|
background-color: #fff7e6; /* 对应 bg-orange-50 */ |
|
|
|
} |
|
|
|
|
|
|
|
.call-button.bottom-button { |
|
|
|
background-color: #ffffff; |
|
|
|
color: #2f54eb; |
|
|
|
border: 2px solid #2f54eb; |
|
|
|
box-shadow: none; |
|
|
|
.bargain-btn .icon, |
|
|
|
.bargain-btn .text { |
|
|
|
color: #f97316; /* 对应 text-orange-600 */ |
|
|
|
} |
|
|
|
.bargain-btn:active { |
|
|
|
background-color: #ffedd5; |
|
|
|
} |
|
|
|
|
|
|
|
.call-button.bottom-button:active { |
|
|
|
background-color: #f0f4ff; |
|
|
|
transform: scale(0.98); |
|
|
|
/* 电话按钮 - 绿色背景与白色文字 */ |
|
|
|
.phone-btn { |
|
|
|
background-color: #10b981; /* 对应 bg-green-500 */ |
|
|
|
} |
|
|
|
.phone-btn .icon, |
|
|
|
.phone-btn .text { |
|
|
|
color: #ffffff; |
|
|
|
} |
|
|
|
.phone-btn:active { |
|
|
|
background-color: #059669; |
|
|
|
} |
|
|
|
|
|
|
|
.chat-button.bottom-button:active { |
|
|
|
background-color: #d6f7e6; |
|
|
|
transform: scale(0.98); |
|
|
|
/* 返回按钮(来自 seller 时) */ |
|
|
|
.back-button.bottom-button { |
|
|
|
background-color: #ffffff; |
|
|
|
color: #333; |
|
|
|
border: 2rpx solid #d9d9d9; |
|
|
|
border-radius: 8rpx; |
|
|
|
margin: 12rpx 20rpx; |
|
|
|
height: auto; |
|
|
|
flex: none; |
|
|
|
width: auto; |
|
|
|
padding: 16rpx 32rpx; |
|
|
|
} |
|
|
|
|
|
|
|
/* 图片预览弹窗 */ |
|
|
|
@ -721,73 +728,103 @@ video.slider-media .wx-video-volume-icon { |
|
|
|
border: none; |
|
|
|
} |
|
|
|
|
|
|
|
/* 净重件数对应信息样式 */ |
|
|
|
/* 规格信息卡片样式(图一风格) */ |
|
|
|
.weight-quantity-info { |
|
|
|
background-color: #ffffff; |
|
|
|
margin: 8rpx 16rpx; |
|
|
|
padding: 16rpx; |
|
|
|
border-radius: 12rpx; |
|
|
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08); |
|
|
|
border: 1rpx solid #f0f0f0; |
|
|
|
background-color: transparent; /* 去除背景色,卡片自带白色背景 */ |
|
|
|
margin: 16rpx 16rpx 24rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.wq-title { |
|
|
|
font-size: 16px; |
|
|
|
font-size: 32rpx; |
|
|
|
font-weight: 600; |
|
|
|
color: #262626; |
|
|
|
margin-bottom: 16rpx; |
|
|
|
padding-bottom: 12rpx; |
|
|
|
border-bottom: 1rpx solid #f0f0f0; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
|
|
|
|
.wq-title::after { |
|
|
|
content: ''; |
|
|
|
position: absolute; |
|
|
|
bottom: -1rpx; |
|
|
|
left: 0; |
|
|
|
width: 60rpx; |
|
|
|
height: 4rpx; |
|
|
|
background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%); |
|
|
|
border-radius: 2rpx; |
|
|
|
padding-left: 8rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.wq-list { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
gap: 12rpx; |
|
|
|
gap: 16rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.wq-item { |
|
|
|
background-color: #f8f9fa; |
|
|
|
padding: 30rpx 20rpx; |
|
|
|
border-radius: 8rpx; |
|
|
|
border-left: 4rpx solid #1890ff; |
|
|
|
transition: all 0.3s ease; |
|
|
|
.spec-card { |
|
|
|
background-color: #ffffff; |
|
|
|
border: 2rpx solid #f0f0f0; |
|
|
|
border-radius: 16rpx; |
|
|
|
padding: 24rpx 20rpx; |
|
|
|
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.04); |
|
|
|
} |
|
|
|
|
|
|
|
.wq-item:active { |
|
|
|
background-color: #e6f7ff; |
|
|
|
transform: translateX(4rpx); |
|
|
|
.spec-header { |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
margin-bottom: 16rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.wq-text { |
|
|
|
line-height: 1.5; |
|
|
|
.spec-name { |
|
|
|
font-size: 30rpx; |
|
|
|
font-weight: 500; |
|
|
|
color: #262626; |
|
|
|
line-height: 1.4; |
|
|
|
flex: 1; |
|
|
|
word-break: break-word; |
|
|
|
padding-right: 20rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.spec-price { |
|
|
|
font-size: 34rpx; |
|
|
|
font-weight: 600; |
|
|
|
color: #595959; |
|
|
|
color: #ff4d4f; |
|
|
|
white-space: nowrap; |
|
|
|
} |
|
|
|
|
|
|
|
.wq-spec { |
|
|
|
font-size: 20px; |
|
|
|
color: #333333; |
|
|
|
.spec-footer { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
gap: 16rpx; |
|
|
|
flex-wrap: wrap; |
|
|
|
} |
|
|
|
|
|
|
|
.price-down-tag { |
|
|
|
display: inline-flex; |
|
|
|
align-items: center; |
|
|
|
background-color: #f0fff0; |
|
|
|
padding: 4rpx 12rpx; |
|
|
|
border-radius: 8rpx; |
|
|
|
border: 1rpx solid #b7eb8f; |
|
|
|
} |
|
|
|
|
|
|
|
.price-down-tag .arrow { |
|
|
|
font-size: 28rpx; |
|
|
|
color: #52c41a; |
|
|
|
margin-right: 4rpx; |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
|
|
|
|
.price-down-tag .label { |
|
|
|
font-size: 24rpx; |
|
|
|
color: #52c41a; |
|
|
|
font-weight: 500; |
|
|
|
} |
|
|
|
|
|
|
|
.wq-price { |
|
|
|
font-size: 18px; |
|
|
|
color: #666666; |
|
|
|
font-weight: 400; |
|
|
|
margin-left: 10rpx; |
|
|
|
.off-shelf-tag { |
|
|
|
font-size: 24rpx; |
|
|
|
color: #ff4d4f; |
|
|
|
background-color: #fff1f0; |
|
|
|
padding: 4rpx 12rpx; |
|
|
|
border-radius: 8rpx; |
|
|
|
border: 1rpx solid #ffccc7; |
|
|
|
font-weight: 500; |
|
|
|
} |
|
|
|
|
|
|
|
.stock-info { |
|
|
|
font-size: 24rpx; |
|
|
|
color: #8c8c8c; |
|
|
|
background-color: #f5f5f5; |
|
|
|
padding: 4rpx 12rpx; |
|
|
|
border-radius: 8rpx; |
|
|
|
} |
|
|
|
|
|
|
|
/* 价格变化箭头样式 */ |
|
|
|
|