GoodsItem.wxss 1.23 KB
.goods-item {
  background: #ffffff;
}

.goods-img {
  width: 276rpx;
  height: 280rpx;
  border-radius: 8rpx 8rpx 0 0;
  -webkit-border-radius: 8rpx 8rpx 0 0;
  -moz-border-radius: 8rpx 8rpx 0 0;
  -ms-border-radius: 8rpx 8rpx 0 0;
  -o-border-radius: 8rpx 8rpx 0 0;
}

.goods-content-box {
  padding: 20rpx;
}

.goods-title-box {
  display: flex;
}

.goods-title-tips {
  width: 60rpx;
  height: 28rpx;
  border-radius: 4rpx;
  font-weight: 400;
  font-size: 20rpx;
  color: #ffffff;
  line-height: 28rpx;
  text-align: center;
}

.goods-title-tips-new {
  background: #70b2ff;
}

.goods-title-tips-miao {
  background: #f94a36;
}

.goods-title-text {
  max-width: 176rpx;
  font-weight: 500;
  font-size: 26rpx;
  color: #333333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.goods-msg {
  font-weight: 400;
  font-size: 20rpx;
  color: #d79736;
  margin-top: 8rpx;
}

.goods-price-box {
  display: flex;
  align-items: baseline;
  margin-top: 12rpx;
}

.goods-new-price-box {
  font-weight: 600;
  color: #ec3c1f;
}

.goods-new-price-icon {
  font-size: 24rpx;
}

.goods-new-price-text {
  font-size: 40rpx;
}

.goods-old-price-box {
  font-weight: 400;
  font-size: 22rpx;
  color: #999999;
  text-decoration: line-through;
}