.knowledge{ padding: 20rpx; } .knowledge-box{ display: flex; justify-content: space-between; box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1); padding: 20rpx; border-radius: 10rpx; margin-bottom: 20rpx; } .knowledge-box image{ width: 220rpx; height: 156rpx; border-radius: 10rpx; } .knowledge-info{ width: 420rpx; } .knowledge-title{ font-size: 34rpx; color: #000; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .summary{ font-size: 28rpx; color: #999; line-height: 40rpx; height: 80rpx; overflow: hidden; } .date{ font-size: 28rpx; color: #999; }