.ab-mall-new-component .img-container { position: relative; } .ab-mall-new-component .img-container .img { width: 136rpx; height: 136rpx; border-radius: 8px; } .ab-mall-new-component .img-container .img.no-stock-back { opacity: 0.3; } .ab-mall-new-component .img-container .img-no-stock { position: absolute; height: 36rpx; width: 136rpx; background: rgba(0, 0, 0, 0.65); border-radius: 0 0 8px 8px; z-index: 1; bottom: 0; text-align: center; font-size: 20rpx; color: #fff; font-weight: 400; line-height: 36rpx; }