.pin-spec { position: relative; background: #fff; margin: 20rpx; border-radius: 20rpx; overflow: hidden; } .pin-spec-img { width: 100%; vertical-align: top; border-radius: 10rpx 10rpx 0 0; } .pin-spec-scroll { max-height: 380rpx; } .pin-spec-wrap { position: relative; display: flex; flex-direction: row; flex-wrap: nowrap; } .pin-spec-item { position: relative; width: 240rpx; box-sizing: border-box; padding: 20rpx; font-size: 28rpx; } .pin-spec-item .pin-img { width: 200rpx; height: 200rpx; margin-bottom: 20rpx; } .pin-spec-item .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pin-spec-item .new-bot { margin-top: 10rpx; display: flex; align-items: center; } .pin-spec-item .price { color: #ff5041; } .pin-spec-item .act-end { position: absolute; height: 60rpx; border-radius: 10rpx; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 28rpx; text-align: center; line-height: 60rpx; left: 50%; top: 80rpx; padding: 0 12rpx; transform: translateX(-50%); } .pin-spec-item .market-price { text-decoration: line-through; color: #999; font-size: 22rpx; margin-left: 10rpx; } .pin-spec-item .pin-tag { display: inline-block; font-size: 22rpx; padding: 0 6rpx; margin-right: 10rpx; border: 0.1rpx solid #ff758c; vertical-align: middle; color: #ff758c; border-radius: 4rpx; } /* 标签 */ .pin-spec .item-tag { position: absolute; left: 20rpx; top: 20rpx; width: 54rpx; height: 62rpx; z-index: 1; color: #fff; text-align: center; } .item-tag-bg { position: absolute; left: 0; top: 0; width: 54rpx; height: 62rpx; z-index: 0; } .pin-spec .item-tag .tag-name { position: relative; padding-top: 6rpx; font-size: 20rpx; line-height: 1; font-weight: 600; z-index: 1; } .pin-spec .item-tag .tag-name.two-word { font-size: 22rpx; padding-top: 14rpx; }