@import "../../../../themes/page.scss"; @import "../../searc-list.scss"; /* module/diet/pages/diet-info/diet-info.wxss */ .footprint-scroll { background: #f7f7f7; padding: 0 0 40rpx 0; } .footprint-item { display: flex; align-items: flex-start; background: #fff; border-radius: 16rpx; margin: 10rpx 14rpx 0 24rpx; padding: 20rpx 0; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.03); gap: 20rpx; } .item-img-box { width: 120rpx; height: 120rpx; background: #f3f3f3; border-radius: 8rpx; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 10rpx; } .item-img { width: 100%; height: 100%; border-radius: 8rpx; object-fit: cover; } .item-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 120rpx; } .item-title { font-size: 30rpx; color: #222; font-weight: 500; line-height: 1.4; margin-bottom: 8rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; // 最多两行 -webkit-box-orient: vertical; } .item-subtitle { font-size: 26rpx; color: #888; margin-bottom: 8rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .item-time { font-size: 24rpx; color: #bbb; margin-top: auto; }