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

172 lines
2.8 KiB

5 months 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%;
height: 90rpx;
background: rgb(35, 96, 48);
.tab{
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 20%;
height: 80%;
text{
font-size: 26rpx;
color: #4D9A5E;
}
}
.action{
text{
color: #fff;
font-weight: bold;
}
.line{
position: absolute;
left: 50%;
bottom: 0;
width: 60rpx;
height: 6rpx;
background: #fff;
border-radius:3px;
transform: translate(-50%,0);
}
}
}
/* 订单列表 */
.order-list{
width: 100%;
margin-top: 250rpx;
text-align: center;
/* #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;
}
}
}
}
}