TakeOutShop/order/orderList/style.scss
2025-04-09 20:46:57 +08:00

304 lines
6.0 KiB
SCSS

page{
background: #f6f6f6;
}
.main{
.head{
position: fixed;
z-index: 100;
width: 100%;
top: 0;
left: 0;
background-color: #FFFFFF;
border-bottom: 1rpx solid #f6f6f6;
.head_top{
display: flex;
align-items: center;
.head_back{
display: flex;
align-items: center;
border-radius: 50rpx;
margin-left: 10px;
.head_back_img{
display: block;
width: 18px;
height: 18px;
margin-left: 7px;
}
}
.head_search{
width: 210px;
margin:0rpx 0px 0rpx 10px;;
display: flex;
align-items: center;
background-color: #F6F6F6;
height: 38px;
border-radius: 50rpx;
font-size: 28rpx;
color: #000000;
justify-content: space-between;
.head_search_img{
width: 28px;
height: 28px;
margin-right: 13rpx;
margin-left: 23rpx;
}
.head_search_input{
width: 500rpx;
height: 100%;
font-size: 27rpx;
display: flex;
align-items: center;
}
}
}
.order_nav{
width: 100%;
display: flex;
background-color: #ffffff;
height: 48px;
margin-top: 5px;
.order_nav_item{
font-size: 28rpx;
width: 20%;
.order_nav_name{
width: 100%;
text-align: center;
height: 35px;
color: #666666;
display: flex;
align-items: flex-end;
justify-content: center;
}
.order_nav_m{
margin: 0 auto;
width: 28px;
height: 10px;
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%;
}
}
}
}
.order_cont{
.order_list{
margin: 20rpx 20rpx 0 20rpx;
background-color: #FFFFFF;
border-radius: 16rpx;
padding: 0 20rpx 0 20rpx;
box-shadow: 0 4rpx 8rpx rgba(0,0,0,.05);
.order_type{
font-size: 34rpx;
color: #000000;
font-weight: 500;
padding: 25rpx 0 25rpx 0;
}
.order_time{
color: #999999;
font-size: 26rpx;
}
.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 25rpx 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;
}
}
}
.openShow{
position: fixed;
width: 100%;
top: 0;
z-index: 99;
height: 100vh;
}