You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
149 lines
2.4 KiB
149 lines
2.4 KiB
.secondhand-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
background-color: #f7f7f7;
|
|
}
|
|
|
|
/* 搜索栏样式 */
|
|
.search-container {
|
|
padding: 20rpx 30rpx;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.search-box {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #f2f2f2;
|
|
border-radius: 32rpx;
|
|
padding: 10rpx 20rpx;
|
|
}
|
|
|
|
.search-icon {
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
height: 60rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
/* 分类导航样式 */
|
|
.category-scroll {
|
|
background-color: #ffffff;
|
|
white-space: nowrap;
|
|
padding: 0 0 16rpx;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.category-list {
|
|
display: inline-flex;
|
|
padding: 0 20rpx;
|
|
}
|
|
|
|
.category-item {
|
|
display: inline-block;
|
|
padding: 12rpx 24rpx;
|
|
margin: 0 10rpx;
|
|
font-size: 28rpx;
|
|
color: #666666;
|
|
border-radius: 24rpx;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.category-item.active {
|
|
background-color: #3A86FF;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* 商品列表样式 */
|
|
.goods-container {
|
|
flex: 1;
|
|
padding: 20rpx 30rpx;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
|
|
.goods-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
}
|
|
|
|
.goods-item {
|
|
width: 47%;
|
|
background-color: #ffffff;
|
|
border-radius: 12rpx;
|
|
overflow: hidden;
|
|
margin-bottom: 20rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.goods-image {
|
|
width: 100%;
|
|
height: 320rpx;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.goods-info {
|
|
padding: 16rpx;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.goods-title {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
margin-bottom: 10rpx;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
height: 76rpx;
|
|
}
|
|
|
|
.goods-price {
|
|
font-size: 32rpx;
|
|
color: #FF5252;
|
|
font-weight: bold;
|
|
margin-bottom: 8rpx;
|
|
width: 100%;
|
|
overflow: visible;
|
|
}
|
|
|
|
.goods-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 22rpx;
|
|
color: #999999;
|
|
}
|
|
|
|
.loading-more, .no-more {
|
|
text-align: center;
|
|
padding: 20rpx 0;
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
}
|
|
|
|
/* 发布按钮样式 */
|
|
.publish-btn {
|
|
position: fixed;
|
|
right: 40rpx;
|
|
bottom: 120rpx;
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
background-color: #3A86FF;
|
|
color: #ffffff;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 60rpx;
|
|
box-shadow: 0 4rpx 20rpx rgba(58, 134, 255, 0.3);
|
|
} |