/* pages/quality/index/index.wxss */ page { width: 100%; height: 100%; background-color: #fff; } .container-goods { width: 100%; height: 100%; padding-top: 100rpx; } .tabs { position: fixed; top: 0; left: 0; width: 100%; height: 100rpx; background-color: #fff; border-bottom: 1rpx solid #e6e6e6; z-index: 3; } .tabs .scroll-view { width: 100%; height: 100%; white-space: nowrap; line-height: 100rpx; padding: 0 32rpx; font-size: 28rpx; font-family: FZZhunYuan-M02S, FZZhunYuan-M02S-Regular; font-weight: 400; color: #666666; } .tabs .scroll-view .tab { display: inline-block; margin-right: 72rpx; } .tabs .scroll-view .tab-active { position: relative; color: #1a1a1a; font-size: 32rpx; } .tabs .scroll-view .tab-active::after { position: absolute; bottom: 0; left: 0; display: block; content: ""; width: 100%; height: 4rpx; background-color: #ffdd36; border-radius: 2rpx; z-index: 9; } .goods { padding: 30rpx; } .goods .goods-item { display: flex; padding: 30rpx 0; border-bottom: 1rpx solid #e6e6e6; } .goods .goods-item image { width: 240rpx; height: 240rpx; border-radius: 20rpx; margin-right: 28rpx; flex-shrink: 0; } .goods .goods-item .body { font-weight: 400; font-family: FZZhunYuan-M02S, FZZhunYuan-M02S-Regular; } .goods .goods-item .body .goods-title { /* display: flex; align-items: center; */ padding-top: 8rpx; height: 80rpx; font-size: 28rpx; /* color: #1a1a1a; */ color: #333333; font-weight: 700; margin-bottom: 20rpx; word-break: break-all; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; /* 设置行数 */ -webkit-box-orient: vertical; } .goods .goods-item .body .goods-title text { flex: 1; word-break: break-all; overflow: hidden; text-overflow: ellipsis; /* display: -webkit-box; */ -webkit-line-clamp: 2; /* 设置行数 */ -webkit-box-orient: vertical; } .goods .goods-item .body .goods-classify, .goods .goods-item .body .goods-total-num { font-size: 24rpx; color: #808080; margin-bottom: 20rpx; } .goods .goods-item .body .goods-total-num { margin-bottom: 6rpx; } .goods .goods-item .body .goods-price { font-size: 32rpx; font-family: PingFang SC, PingFang SC-Medium; font-weight: 500; color: #ec2e26; } .goods .goods-item .body .getCoupon { display: inline-block; background-color: #ffdc2f; padding: 10rpx 40rpx; border-radius: 20rpx; font-size: 28rpx; } /* .goods .goods-item .body .goods-price text { font-size: 32rpx; } */