.goods_item { background: #fff; font-size: 22rpx; width: 360rpx; overflow: hidden; margin-top: 10rpx; margin-left: 10rpx; } .goods_item .img { width: 367rpx; height: 367rpx; } .goods_item .goods_name { font-size: 24rpx; font-weight: bold; height: 33rpx; line-height: 33rpx; /* overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; */ color: #333; } .goods_desc { position: absolute; left: 0; right: 0; bottom: 0; padding-left: 20rpx; line-height: 42rpx; background: #FFF5D8; font-size: 24rpx; color: #B89941; box-sizing: border-box; } /* .goods_item .goods_desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #7e7e7e; min-height: 64rpx; } */ .goods_price { display: flex; align-items: center; height: 42rpx; margin-top: 7rpx; } .goods_item .goods_box { padding: 10rpx 13rpx 16rpx 20rpx; } .goods_item .goods_thumbnail { /* border-bottom: 1rpx solid #f9f9f9; */ position: relative; } .goods_item .current_price { font-size: 28rpx; color: #333; } .goods_item .original_price, .goods_item .discount { display: inline-block; position: relative; font-size: 18rpx; color: #7e7e7e; } .goods_item .original_price::after { content: ""; position: absolute; top: 14rpx; left: 0; height: 1rpx; width: 100%; background: #7e7e7e; z-index: 5; } .goods_item .discount { float: right; } .goods_item .original_price { float: left; } .goods_item .deduction { overflow: hidden; } .opgoods { position: absolute; bottom: 60rpx; left: 0; padding: 0 14rpx; color: #fff; font-size: 20rpx; text-align: center; background: #feacaa; border-bottom-right-radius: 20rpx; border-top-right-radius: 20rpx; } .tm_price { font-size: 18rpx; height: 42rpx; line-height: 46rpx; } .one_line_hidden { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .mt10 { margin-top: 10rpx; } .ml20 { margin-left: 20rpx; } .ft_bold { font-weight: bold; } .f18 { font-size: 18rpx; } .f22 { font-size: 22rpx; } .f26 { font-size: 26rpx; } .f30 { font-size: 30rpx; } .col333 { color: #333; } .col666 { color: #666; } .colD45 { color: #DD4545; } .line-through { text-decoration: line-through; } .align_center { display: flex; align-items: center; }