Model_item.wxss 2.1 KB
.real_goods {
  width: 750rpx;
  margin: 0 auto;
  background: #f9f9f9;
  display: flex;
  flex-wrap: wrap;
  padding: 8rpx 0 20rpx;
  box-sizing: border-box;
  margin-bottom:120rpx;
}

.real_goods_item {
 width: 367rpx;
  margin-top: 20rpx;
  border-radius: 10rpx;
  background: #fff;
  overflow: hidden;
  position: relative;
  display:flex;
  flex-direction: column;
  
 align-items: center;
 
}
.real_goods_item:nth-child(2n){
  border-left:16rpx solid #f5f5f5;
}

.real_goods_img {
  width: 332rpx;
  height: 332rpx;
  margin-bottom: 16rpx;
  border-top-left-radius: 10rpx;
  border-top-right-radius: 10rpx;
  overflow: hidden;
  position: relative;
}

.real_goods_img image {
  width: 100%;
  height: 100%;
}

.tip {
  width: 87rpx !important;
  height: 80rpx !important;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.real_goods_bottom {
  padding: 16rpx 32rpx 28rpx 32rpx;
  box-sizing: border-box;
  background: #fff;
}

.goods_title {
  
  font-size: 26rpx;
  font-family: PingFang SC;
  font-weight: 500;
  line-height: 36rpx;
  color: rgba(5, 9, 26, 1);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 10rpx;
}

.goods_flex {
  height: 50rpx;
  display: flex;
  align-items: center;
}

.score {
  width: 64rpx;
  height: 32rpx;
  background: rgba(242, 0, 0, 1);
  border-radius: 2rpx;
  text-align: center;
  color: #fff;
  font-size: 22rpx;
  font-family: PingFang SC;
  font-weight: 400;
  margin-right: 12rpx;
}

.price {
  font-size:30rpx;
  font-family: PingFang SC;
  font-weight: bold;
  color: rgba(242, 0, 0, 1);
  margin-right: 20rpx;
}

.sell {
  font-size: 20rpx;
  font-family: PingFang SC;
  font-weight: 400;
  color: rgba(156, 156, 156, 1);
}

.pink_cover{
  width: 100%;
  height: 100%;
  background: #ccc;
  opacity: 0.3;
  position: absolute;
  left: 0;
  top: 0;
}
.oldprice{
  color:#BDC4CE;
  font-size: 24rpx;
  text-decoration: line-through
}
.lineprice{
  color: rgba(156, 156, 156, 1);
  text-decoration: line-through;
  font-size: 20rpx;
  margin-right:5rpx;

}