|
|
@ -871,6 +871,86 @@ wx-button:not([size=mini]) { |
|
|
border: 1rpx solid rgba(82, 196, 26, 0.5); |
|
|
border: 1rpx solid rgba(82, 196, 26, 0.5); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* product-status-row 容器样式 */ |
|
|
|
|
|
.product-status-row { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-wrap: nowrap; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: flex-start; |
|
|
|
|
|
gap: 6rpx; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 36rpx; |
|
|
|
|
|
overflow: visible; |
|
|
|
|
|
position: relative; |
|
|
|
|
|
z-index: 9999; |
|
|
|
|
|
margin: 4rpx 0; |
|
|
|
|
|
background: transparent; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 货源类型标签 - 完全根据字数动态调整宽度 */ |
|
|
|
|
|
.product-status-row .source-tag { |
|
|
|
|
|
width: auto; |
|
|
|
|
|
min-width: 50rpx; |
|
|
|
|
|
max-width: 120rpx; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
font-size: 16rpx; |
|
|
|
|
|
padding: 6rpx 8rpx; |
|
|
|
|
|
height: 28rpx; |
|
|
|
|
|
line-height: 16rpx; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
border-radius: 6rpx; |
|
|
|
|
|
border: 1rpx solid rgba(0, 0, 0, 0.1); |
|
|
|
|
|
background: rgba(24, 144, 255, 0.1); |
|
|
|
|
|
color: #096dd9; |
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 议价状态标签 - 完全根据字数动态调整宽度 */ |
|
|
|
|
|
.product-status-row .negotiate-tag { |
|
|
|
|
|
width: auto; |
|
|
|
|
|
min-width: 50rpx; |
|
|
|
|
|
max-width: 80rpx; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
flex-shrink: 0; |
|
|
|
|
|
font-size: 16rpx; |
|
|
|
|
|
padding: 6rpx 8rpx; |
|
|
|
|
|
height: 28rpx; |
|
|
|
|
|
line-height: 16rpx; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
border-radius: 6rpx; |
|
|
|
|
|
border: 1rpx solid rgba(0, 0, 0, 0.1); |
|
|
|
|
|
background: rgba(255, 255, 255, 0.8); |
|
|
|
|
|
color: #333; |
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 库存标签 - 根据字数动态调整宽度 */ |
|
|
|
|
|
.product-status-row .stock-tag { |
|
|
|
|
|
width: auto; |
|
|
|
|
|
min-width: 70rpx; |
|
|
|
|
|
max-width: 160rpx; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
font-size: 16rpx; |
|
|
|
|
|
padding: 6rpx 8rpx; |
|
|
|
|
|
height: 28rpx; |
|
|
|
|
|
line-height: 16rpx; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
border-radius: 6rpx; |
|
|
|
|
|
border: 1rpx solid rgba(0, 0, 0, 0.1); |
|
|
|
|
|
background: rgba(82, 196, 26, 0.1); |
|
|
|
|
|
color: #389e0d; |
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.goods-footer { |
|
|
.goods-footer { |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
|