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.
 

160 lines
2.8 KiB

/* pages/user/cartlist/list.wxss */
.edit-btn {
font-size: 29rpx;
color: #000;
position: absolute;
}
page {
background: #f6f6f6;
}
.item {
display: flex;
padding: 40rpx 20rpx;
justify-content: space-between;
align-items: center;
transition: all 0.4s;
transform: translateX(180rpx);
margin-left: -180rpx;
flex-shrink: 0;
width: 660rpx;
}
.item.disable {
color: #999 !important;
opacity: 0.5;
}
.del {
background-color: #e4393c;
width: 180rpx;
display: flex;
flex-direction: column;
align-items: center;
height: 260rpx;
justify-content: center;
color: #fff;
transform: translateX(180rpx);
transition: all 0.4s;
flex-shrink: 0;
opacity: 0;
margin-left: 30rpx;
text-align: center;
}
.goods-item {
display: flex;
align-items: center;
justify-content: space-between;
margin: 30rpx 25rpx;
background: white;
border-radius: 10rpx;
overflow: hidden;
}
.touch-move-active .del,.touch-move-active .item {
-webkit-transform: translateX(0);
transform: translateX(0);
opacity: 1;
}
.icon-gou,.icon-quan {
color: #999999;
flex-shrink: 0;
font-size: 40rpx;
}
.item image {
margin: 0 25rpx;
flex-shrink: 0;
width: 173rpx;
height: 173rpx;
border-radius: 7rpx;
}
.item-info {
flex: 1;
}
.item-info .title {
font-size: 31rpx;
font-weight: 500;
color: #000;
}
.item-info .sku-title {
display: flex;
justify-content: space-between;
align-items: center;
color: #666;
font-size: 27rpx;
margin-top: 10rpx;
margin-bottom: 20rpx;
}
.item-bottom {
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.item-bottom .price {
color: #D62828;
font-size: 40rpx;
font-weight: 500;
flex: 1;
margin-right: 10rpx;
}
.item-bottom .price::before {
content: "¥";
font-size: 27rpx;
font-weight: 400;
}
.item-bottom .iconfont {
flex-shrink: 0;
font-size: 32rpx;
line-height: 50rpx;
}
.item-bottom .number {
flex-shrink: 0;
width: 67rpx;
line-height: 50rpx;
background: #F0F0F0;
border-radius: 7rpx;
text-align: center;
margin: 0 20rpx;
}
.fixed-bottom {
position: fixed;
left: 0;
right: 0;
height: 113rpx;
background: #FFFFFF;
box-shadow: 0px 0px 16rpx 0px rgba(6, 0, 1, 0.1);
bottom: 0;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 27rpx;
color: #999;
padding-left: 40rpx;
}
.fixed-bottom .tip {
font-size: 29rpx;
color: #000;
font-weight: 500;
margin-left: 20rpx;
flex-shrink: 0;
}
.bottom-price {
color: #D62828;
font-size: 36rpx;
font-weight: 500;
flex-shrink: 0;
margin-right: 20rpx;
}
.fixed-bottom .btn {
width: 267rpx;
line-height: 113rpx;
text-align: center;
background: #D62828;
color: #fff;
font-size: 36rpx;
flex-shrink: 0;
font-weight: 500;
}
.fixed-bottom .iconfont {
font-size: 42rpx;
}
.icon-gou {
color: #D62828;
}