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.

265 lines
4.8 KiB

5 years ago
/* 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;
}
6 months ago
.item .img-container{
5 years ago
margin: 0 25rpx;
flex-shrink: 0;
width: 173rpx;
height: 173rpx;
border-radius: 7rpx;
6 months ago
overflow: hidden;
position: relative;
}
.item .img-container image {
width: 173rpx;
height: 173rpx;
border-radius: 7rpx;
}
.item .img-container .use-type{
position: absolute;
left: 0;
bottom: 0;
width: 100%;
border-radius: 0rpx 0rpx 7rpx 7rpx;
height: 33rpx;
background: rgba(0,0,0,0.3);
font-weight: 400;
font-size: 24rpx;
color: #FFFFFF;
text-align: center;
line-height: 33rpx;
5 years ago
}
.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;
}
.fixed-btn {
width: 202rpx;
line-height: 84rpx;
background: #FB6E4D;
border-radius: 42rpx;
font-size: 36rpx;
font-weight: 500;
color: #fff;
text-align: center;
}
.del-btn {
box-sizing: border-box;
border: 1rpx solid #FB6E4D;
color: #FB6E4D;
background: white;
margin-right:40rpx ;
}
.mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.model{
width: 561rpx;
min-height: 449rpx;
background: #FFFFFF;
border-radius: 13rpx;
position: absolute;
box-sizing: border-box;
}
.model-title{
text-align: center;
font-size: 34rpx;
font-family: PingFang SC;
font-weight: bold;
color: #333333;
margin-top: 32rpx;
box-sizing: border-box;
}
.model-content{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-wrap: wrap;
margin-top: 100rpx;
font-size: 34rpx;
font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
.btn-list{
height: 106rpx;
width: 100%;
position: absolute;
bottom: 0;
border-top: 1rpx solid rgba(216, 216, 216, .99);
padding: 10rpx;
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
}
.model-btn{
width: 50%;
text-align: center;
height: 86rpx;
line-height: 86rpx;
font-size: 34rpx;
font-family: PingFang SC;
font-weight: 500;
color: #333333;
}