@import '../../../../styles/base.less'; page { background: #f6f6f6; } .comments-wrapper { margin: 30rpx; padding: 10rpx 20rpx 20rpx; background: #ffffff; border-radius: 30rpx; .order-row { display: flex; align-items: center; margin: 10rpx 0; padding: 10rpx 0; } .order-number { display: flex; justify-content: space-between; border-bottom: 0.5px solid #46a9a4; } .order-content { margin: 0; .count { font-size: 24rpx; color:#d1cccc ; overflow: hidden; //一定要写 text-overflow: ellipsis; //超出省略号 display: -webkit-box; //一定要写 -webkit-line-clamp: 2; //控制行数 -webkit-box-orient: vertical; //一定要写 } .avatar { width: 80rpx; height: 80rpx; margin-right: 20rpx; border-radius: 50%; } .order-shop-img { width: 120rpx; height: 90rpx; margin-right: 20rpx; } .order-user { display: flex; align-items: center; justify-content: space-between; .order-user-name { flex: 1; overflow: hidden; //一定要写 text-overflow: ellipsis; //超出省略号 display: -webkit-box; //一定要写 -webkit-line-clamp: 2; //控制行数 -webkit-box-orient: vertical; //一定要写 } .order-time {} } .order-info { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10rpx 20rpx; border: 1px solid #46a9a4; border-radius: 40rpx; } .order-comment-text { margin: 20rpx 0; overflow: hidden; //一定要写 text-overflow: ellipsis; //超出省略号 display: -webkit-box; //一定要写 -webkit-line-clamp: 2; //控制行数 -webkit-box-orient: vertical; //一定要写 color: #b5b0b0; } } .order-footer { display: flex; flex-direction: row-reverse; .reply-btn { text { color: #000000; letter-spacing: 4rpx; } } } }