wxapp/pages/items/items.wxss
2025-04-21 22:59:44 +08:00

66 lines
962 B
Plaintext

.container {
padding: 20rpx;
}
.search-bar {
padding: 20rpx;
background: #f5f5f5;
border-radius: 10rpx;
margin-bottom: 20rpx;
}
.search-bar input {
background: #fff;
padding: 10rpx 20rpx;
border-radius: 8rpx;
}
.items-list {
display: flex;
flex-direction: column;
gap: 20rpx;
}
.item-card {
display: flex;
background: #fff;
padding: 20rpx;
border-radius: 10rpx;
box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.1);
}
.item-image {
width: 160rpx;
height: 160rpx;
border-radius: 8rpx;
margin-right: 20rpx;
}
.item-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.item-name {
font-size: 32rpx;
font-weight: bold;
color: #333;
}
.item-desc {
font-size: 28rpx;
color: #666;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.empty-tip {
text-align: center;
padding: 100rpx 0;
color: #999;
font-size: 28rpx;
}