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.
hezhiying/pages/MyOrderList/MyOrderList.scss

172 lines
2.8 KiB

1 year ago
.page{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: #f6f6f6;
}
/* 订单tab */
.order-tab{
position: fixed;
left: 0;
top: 100rpx;
/* #ifdef APP-PLUS */
top: calc(50rpx + var(--status-bar-height));
/* #endif */
z-index: 10;
display: flex;
align-items: center;
width: 100%;
1 year ago
height: 90rpx;
background: rgb(35, 96, 48);
1 year ago
.tab{
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 20%;
height: 80%;
text{
font-size: 26rpx;
1 year ago
color: #4D9A5E;
1 year ago
}
}
.action{
text{
1 year ago
color: #fff;
font-weight: bold;
1 year ago
}
.line{
position: absolute;
left: 50%;
bottom: 0;
width: 60rpx;
height: 6rpx;
1 year ago
background: #fff;
border-radius:3px;
1 year ago
transform: translate(-50%,0);
}
}
}
/* 订单列表 */
.order-list{
width: 100%;
1 year ago
margin-top: 250rpx;
text-align: center;
1 year ago
/* #ifdef APP-PLUS */
margin-top: calc(170rpx + var(--status-bar-height));
/* #endif */
.list{
padding: 0 4%;
min-height: 400rpx;
background-color: #FFFFFF;
border-radius: 20rpx;
margin-bottom: 20rpx;
.title-status{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 100rpx;
.title{
display: flex;
align-items: center;
text{
font-size: 26rpx;
font-weight: bold;
color: #222222;
}
}
.status{
display: flex;
align-items: center;
text{
font-size: 26rpx;
color: $base;
}
.del{
padding: 10rpx;
font-size: 34rpx;
color: #222222;
background-color: #f6f6f6;
border-radius: 100%;
margin-left: 20rpx;
}
}
}
.goods-list{
width: 100%;
.goods{
display: flex;
align-items: center;
width: 100%;
height: 200rpx;
.thumb{
display: flex;
align-items: center;
width: 30%;
height: 100%;
image{
width: 160rpx;
height: 160rpx;
border-radius: 10rpx;
}
}
.item{
display: flex;
align-items: center;
width: 70%;
height: 100%;
.goods-name{
width: 70%;
text{
font-size: 26rpx;
color: #555555;
}
}
.goods-price{
display: flex;
align-items: center;
justify-content: flex-end;
width: 30%;
text{
color: #222222;
}
.min{
font-size: 26rpx;
}
.max{
font-size: 34rpx;
}
}
}
}
}
.status-btn{
display: flex;
align-items: center;
justify-content: flex-end;
width: 100%;
height: 100rpx;
.btn{
padding: 10rpx 30rpx;
border: 2rpx solid #EEEEEE;
border-radius: 100rpx;
margin-left: 20rpx;
text{
font-size: 26rpx;
color: #555555;
}
}
.action{
border: 2rpx solid $base;
text{
color: $base;
}
}
}
}
}