TakeOutShop/order/assList/style.scss
2025-04-11 17:49:34 +08:00

254 lines
5.3 KiB
SCSS

page{
background-color: #f6f6f6;
}
.main{
.order_nav{
width: 100%;
display: flex;
justify-content: space-around;
background-color: #ffffff;
position: sticky;
border-bottom: 1rpx solid #f6f6f6;
top: 0;
.order_nav_item{
font-size: 28rpx;
width: 50%;
padding-top: 20rpx;
.order_nav_name{
width: 100%;
text-align: center;
height: 38rpx;
color: #666666;
display: flex;
align-items: center;
justify-content: center;
}
.order_nav_m{
margin: 0 auto;
width: 45rpx;
height: 20rpx;
display: block;
}
}
.order_nav_active{
.order_nav_name{
font-size: 32rpx;
color: #333333;
font-weight: 500;
}
.order_nav_m{
background: url(../../static/act.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
}
}
.cont{
// margin: 20rpx 20rpx 0 20rpx;
// background-color: #FFFFFF;
border-radius: 16rpx;
padding: 0 0rpx 25rpx 0rpx;
.order_list{
margin: 20rpx 20rpx 0 20rpx;
background-color: #FFFFFF;
border-radius: 16rpx;
padding: 0 20rpx 25rpx 20rpx;
.order_type{
font-size: 34rpx;
color: #000000;
font-weight: 500;
padding: 25rpx 0rpx 0rpx 0rpx;
}
.order_time{
color: #999999;
font-size: 26rpx;
padding-top: 25rpx;
}
.order_scroll{
width:100%;
display: flex;
overflow: hidden;
white-space: nowrap;
left: 0;
top: 0;
margin-top: 25rpx;
.order_scroll_ul{
.order_scroll_li{
width: 138rpx;
display: inline-block;
margin-right: 20rpx;
.order_scroll_img{
background: #FFFFFF;
border-radius: 10rpx;
width: 138rpx;
height: 138rpx;
overflow: hidden;
border: 1rpx solid #F3F3F3;
.order_scroll_img_url{
width: 138rpx;
height: 138rpx;
display: block;
}
}
.order_scroll_title{
color: #333333;
font-size: 26rpx;
font-weight: 500;
white-space: break-spaces;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
display: -webkit-box;
-webkit-line-clamp: 2;
overflow: hidden;
overflow-wrap: break-word;
margin-top: 20rpx;
}
.order_scroll_price{
font-size: 32rpx;
color: #FF0000;
font-weight: 500;
margin-top: 10rpx;
}
.order_scroll_market_name{
color: #999999;
font-size: 28rpx;
text-decoration: line-through;
font-weight: 400;
}
}
}
}
.order_x{
color: #333333;
font-size: 28rpx;
text-align: right;
.order_price{
font-size: 34rpx;
font-weight: 500;
color: #000000;
}
.order_price::before{
content: "¥";
font-size: 26rpx;
margin: 0 5rpx 0 5rpx;
}
}
.order_bottom{
display: flex;
align-items: center;
justify-content: space-between;
padding: 25rpx 0 0 0;
.order_l{
width: 90rpx;
height: 55rpx;
position: relative;
.more_text{
color: #333333;
font-size: 28rpx;
height: 55rpx;
display: flex;
align-items: center;
}
.more_open{
position: absolute;
left: -10rpx;
z-index: 9999;
top: 55rpx;
.more_j{
width: 0;
height: 0;
border-left: 15rpx solid transparent;
border-right: 15rpx solid transparent;
border-bottom: 15rpx solid #333333;
margin-left: 18rpx;
}
.more_cont{
background-color: #333333;
border-radius: 10rpx;
padding: 0rpx 20rpx 0rpx 20rpx;
margin-top: -2rpx;
.more_item{
font-size: 26rpx;
color: #FFFFFF;
height: 65rpx;
display: flex;
align-items: center;
justify-content: center;
width: 125rpx;
}
.more_border{
border-bottom: 1rpx solid #999999;
}
}
}
}
.order_r{
display: flex;
justify-content: flex-end;
.order_btn{
padding-left: 23rpx;
padding-right: 21rpx;
height: 55rpx;
background: #FFFFFF;
border-radius: 33rpx;
border: 1rpx solid #D9D9D9;
display: flex;
align-items: center;
justify-content: center;
color: #999999;
font-size: 23rpx;
margin-left: 10rpx;
}
.order_bcg{
background: #FF0000;
border-radius: 33rpx;
border: 1rpx solid #FF0000;
color: #ffffff;
font-size: 26rpx;
}
}
}
}
}
}
.load_desc{
font-size: 28rpx;
color: #aaa;
text-align: center;
padding-top: 30rpx;
padding-bottom: 30rpx;
}
.empty{
height:480rpx;
margin:200rpx 20rpx 0rpx 20rpx;
border-radius: 20rpx;
display: flex;
align-items: center;
justify-content: center;
.empty_cont{
.empty_cont_img{
margin: 0 auto;
width: 355rpx;
height: 280rpx;
display: flex;
}
.empty_cont_title{
font-size: 28rpx;
color: #aaaaaa;
text-align: center;
}
.empty_cont_btn{
margin: 0 auto;
width: 154rpx;
height: 46rpx;
border-radius: 30rpx;
border: 1rpx solid #FF0000;
color: #FF0000;
line-height: 30rpx;
display: flex;
align-items: center;
justify-content: center;
margin-top: 40rpx;
}
}
}