.list { width: 100%; padding: 5px; box-sizing: border-box; } /** * 列表的样式212206213邓泽玉 */ .list .item { width: 48%; padding: 5px; box-sizing: border-box; float: left; background: #fff; margin: 2px 1%; } /**列表项目的样式**/ .list .item .goods_img image { width: 100%; } /**货物信息名字**/ .list .item .goods_info .goods_name { font-size: 14px; text-align: left; line-height: 1.05rem; height: 2.1rem; font-family: -apple-system, Helvetica, sans-serif; overflow: hidden; color: #434343; text-overflow: ellipsis; display: -webkit-box; word-break: break-all; } /**货物价格**/ .list .item .goods_info .goods_price { font-style: normal; font-family: JDZH-Regular, sans-serif; display: inline-block; font-size: 0.7rem; line-height: 1.5rem; color: #ff4142; } /**新货物的信息**/ .list .item .goods_info .goods_price text{ font-size: 1rem; }