EP-WachatApp/eaterplanet_ecommerce/pages/supply/home.wxss

154 lines
2.5 KiB
Plaintext
Raw Normal View History

2023-03-24 11:26:36 +08:00
.special {
min-height: 100vh;
}
.topic-img {
width: 100%;
}
.like {
padding-bottom: 100rpx;
}
.like-list {
position: relative;
padding: 20rpx;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
z-index: 0;
}
.new-comers-item {
background-color: #fff;
width: 345rpx;
box-sizing: border-box;
padding: 30rpx;
border-radius: 10px;
font-size: 28rpx;
margin-bottom: 20rpx;
}
.new-comers-item .new-img {
width: 285rpx;
height: 240rpx;
margin-bottom: 20rpx;
}
.new-comers-item .title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.new-comers-item .new-bot {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10rpx;
}
.new-comers-item .add-cart {
height: 48rpx;
line-height: 48rpx;
padding: 0 20rpx;
color: #fff;
border-radius: 22rpx;
margin: 0;
background: linear-gradient(270deg,#4facfe 0%,#00f2fe 100%);
font-size: 24rpx;
}
.new-comers-item .add-cart.disabled {
background: #ccc;
}
.new-comers-item .price {
color: #4facfe;
}
.new-comers-item {
position: relative;
}
.new-comers-item .act-end {
position: absolute;
height: 60rpx;
border-radius: 10rpx;
background: rgba(0, 0, 0, 0.5);
color: #fff;
font-size: 28rpx;
text-align: center;
line-height: 60rpx;
left: 50%;
top: 120rpx;
padding: 0 12rpx;
transform: translateX(-50%);
}
.none-rush-list {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-bottom: 140rpx;
padding-top: 140rpx;
}
.none-rush-list .img-block {
width: 240rpx;
height: 240rpx;
margin-bottom: 30rpx;
}
.none-rush-list .h1 {
font-size: 32rpx;
line-height: 32rpx;
color: #444;
margin-bottom: 20rpx;
}
.none-rush-list .h2 {
font-size: 24rpx;
line-height: 24rpx;
color: #aaa;
}
/* 数量加减 */
.like-list .index-input-number {
position: absolute;
right: 20rpx;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
}
.like-list .index-input-number .i-input-number-view {
width: 80rpx;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
}
.like-list .index-input-number .i-input-number-view .img{
width: 40rpx;
height: 40rpx;
}
.like-list .index-input-number .i-input-number-minus {
justify-content: flex-end;
}
.like-list .index-input-number .i-input-number-plus {
justify-content: flex-start;
}
.like-list .index-input-number .input-number-text {
height: 88rpx;
line-height: 88rpx;
font-size: 24rpx;
color: #333;
width: 58rpx;
}