beefast-mini-deliveryman/pages/index/index.wxss
2025-02-27 22:15:09 +08:00

440 lines
8.3 KiB
Plaintext

.status-bar{
background-color:#111111;
}
.nav-bar{
background-color:#111111;
height: 88rpx;
padding:0 24rpx;
display: flex;
align-items: center;
}
.nav-bar .left-btn{
width:56rpx;
height:56rpx;
}
.nav-bar .community{
display: flex;
align-items: center;
color:#fff;
margin-left:24rpx;
background: rgba(255, 255, 255, 0.08);
border-radius: 40rpx;
font-size: 28rpx;
padding:15rpx 30rpx;
}
.nav-bar .community .icon{
width:20rpx;height:20rpx;
margin-right:8rpx;
}
.head{
display: flex;
background-color: #111111;
position: relative;
}
.head.loading::after{
content: '';
position: absolute;
left:0;right:0;top:0;bottom:0;
}
.head .item{
color: #BEBEBE;
font-size: 28rpx;
flex:1;
text-align: center;
padding:39rpx 0 19rpx 0;
}
.head .item.current{
color:#ffffff;
font-weight: 500;
}
.building{
display: flex;
overflow-x: auto;
gap: 10rpx;
flex-wrap: nowrap;
margin:20rpx 16rpx;
position: relative;
}
.building::-webkit-scrollbar{
display: none;
}
.building.loading{
overflow: hidden;
}
.building.loading::after{
content: '';
position: absolute;
width:100%;left:0;top:0;bottom:0;
}
.building .item{
font-size:28rpx;
color: #666666;
padding:15rpx 36rpx;
background-color: #ffffff;
border-radius: 10rpx;
white-space: nowrap;
}
.building .item.current{
background-color: var(--main-color);
color:var(--main-font-color);
font-weight: 500;
}
.package-list{
}
.package-list .item{
margin:30rpx 16rpx;
background-color: #ffffff;
border-radius: 18rpx;
color: #555555;
padding:56rpx 20rpx 20rpx;
position: relative;
}
.package-list .item:first-child{
margin-top:0;
}
.package-list .item::before{
content: '';
position: absolute;
width:1.2rpx;
background-color: rgba(85, 85, 85, 0.5);
left:38.5rpx;top:90rpx;
bottom:250rpx;
}
.package-list .item.is-new-order::before{
top:145rpx;
}
.package-list .item.is-new-order{
padding-top:110rpx;
}
.package-list .item.is-new-order::after{
content:'新';
position: absolute;
right:24rpx;top:0;
width:58rpx;height:58rpx;
line-height: 52rpx;
background-color: #FF0000;
border-radius: 0px 0px 40rpx 40rpx;
text-align: center;
color: #fff;
font-weight: 500;
}
.package-list .item.no-btns::before{
bottom:100rpx;
}
.package-list .item .name{
font-size: 40rpx;
font-weight: 600;
flex: 1;
}
.package-list .item .received-status{
border-left: 1rpx solid #999999;
padding-left:18rpx;
color:var(--main-color);
}
.package-list .item .received-status.done{
color:unset;
}
/* .package-list .item .package{
font-size:32rpx;
margin-top:24rpx;
display: flex;
} */
.package-list .item .station-list .sl-item{
position: relative;
padding-left:64rpx;
padding-bottom:80rpx;
display: flex;
align-items: center;
}
.package-list .item .station-list .sl-item:first-child::before{
content: '取';
left:0;top:0;
width:40rpx;height:40rpx;
color:#fff;
font-size: 24rpx;
text-align: center;
line-height: 40rpx;
}
.package-list .item .station-list .sl-item::before{
position: absolute;
left:12rpx;top:12rpx;
width:16rpx;height:16rpx;
content: '';
background-color: #555555;
border-radius: 50%;
display: inline-block;
}
/* .package-list .item .package .value{
flex:1;
display: flex;
flex-wrap: wrap;
gap: 16rpx;
} */
.package-list .item .address{
padding-left:64rpx;
position: relative;
padding-bottom:20rpx;
}
.package-list .item .address::before{
content: '送';
position: absolute;
top:0;left:0;
width:40rpx;height:40rpx;
background-color: var(--main-color);
border-radius: 50%;
color:#fff;
line-height: 40rpx;
text-align: center;
font-size: 24rpx;
}
.package-list .item .address .title{
color:var(--main-font-color);
font-size: 40rpx;
font-weight: 600;
}
.package-list .item .address .sub-title{
font-size: 32rpx;
margin-top:24rpx
}
.package-list .item .btns{
display: flex;
gap:24rpx;
margin-top:30rpx;
}
.package-list .item .btns .button{
height:96rpx;
line-height: 1;
border-radius: 12rpx;
border: 1.2px solid rgba(85, 85, 85, 0.5);
color: #555555;
font-weight: normal;
padding:30rpx 40rpx;
margin:0;
}
.package-list .item .btns .refund-btn{
width:200rpx;
}
.package-list .item .btns .refund-btn[disabled]{
color:#999;
border-color:rgb(221, 219, 219);
}
.package-list .item .btns .swipe-button{
height:96rpx;
flex:1;
}
.concat-user-btn{
display: flex;
align-items: center;
}
.concat-user-btn .icon{
width:28rpx;height:28rpx;
}
.confirm-send-btn{
flex:1;
height:96rpx;
line-height: 1;
border-radius: 12rpx;
}
.confirm-sending .content{
padding:50rpx 40rpx 80rpx 40rpx;
}
.confirm-sending .title{
font-size: 36rpx;
font-weight: 600;
padding-bottom:26rpx;
}
.confirm-sending .sub-title{
font-size: 30rpx;
color: #555555;
margin-top:24rpx;
}
.confirm-sending .photos{
margin-top:60rpx;
display: flex;
flex-wrap: wrap;
gap: 20rpx;
}
.confirm-sending .photos .item{
text-align: center;
width:160rpx;
height:160rpx;
border-radius: 12rpx;
border: 1.2rpx solid rgba(124, 134, 149, 0.3);
position: relative;
}
.confirm-sending .photos .item .progress{
position: absolute;
top:0;left:0;
width:100%;
z-index: 1;
}
.confirm-sending .photos .item .close-area{
position: absolute;
right:-16rpx;top:-16rpx;
z-index: 2;
padding:5rpx;
display: flex;
align-items: center;
}
.confirm-sending .photos .item .close-area .icon{
width:28rpx;height:28rpx;
}
.confirm-sending .photos .item.loading::after{
content: '';
position: absolute;
width:100%;height:100%;
left:0;top:0;
background-color: rgba(0, 0, 0, 0.3);
z-index: 0;
}
.confirm-sending .photos .item .image{
width:100%;height:100%;
border-radius: 12rpx;
}
.confirm-sending .photos .take-photo .icon{
width:36rpx;height:36rpx;
margin-top:40rpx;
}
.confirm-sending .photos .take-photo .title{
font-size: 24rpx;
color: #7C8695;
margin-top:16rpx;
}
.confirm-sending .button{
margin-top:114rpx;
}
.left-move-view{
width:1070rpx;height:100vh;
left: -510rpx;top:0;
position: fixed;
}
.left-panel{
width:510rpx;
background-color: #fff;
height:100vh;
/* position: fixed; */
/* left:0;top:0; */
/* transition-duration: .3s; */
}
.left-panel-mask{
position: fixed;
width:calc(100vw + 510rpx);
height:100vh;
right:0;top:0;
transition-duration: .4s;
background-color: rgba(0, 0, 0, 0.6);
}
.left-panel{
background-color: var(--main-bgclolor);
box-sizing: border-box;
}
.left-panel .user-info{
text-align: center;
padding-bottom:0;
padding-top:140rpx;
}
.left-panel .user-info .avatar{
width:120rpx;height:120rpx;
border-radius: 50%;
}
.left-panel .user-info .name{
margin-top:30rpx;
font-weight: 500;
}
.left-panel .user-info .phone{
color: #888888;
margin-top:30rpx;
}
.left-panel .user-info .community-name{
margin-top:60rpx;
font-size: 34rpx;
}
.left-panel .user-info .spliter{
margin-top:82rpx;
}
.left-panel .user-info .order-info{
display: flex;
justify-content: space-between;
}
.left-panel .user-info .order-info .item{
padding:30rpx 0;
}
.left-panel .user-info .order-info .key{
font-size:22rpx;
}
.left-panel .user-info .order-info .value{
font-size: 36rpx;
font-weight: 500;
margin-top:22rpx;
}
.left-panel .income{
display: flex;
justify-content: space-between;
text-align: center;
}
.left-panel .income .item{
padding:0 20rpx;
}
.left-panel .income .spliter{
width:1.2rpx;
height:88rpx;
background-color: rgba(153, 153, 153, 0.3);
}
.left-panel .income .item .key{
font-size: 24rpx;
}
.left-panel .income .item .value{
font-size: 36rpx;
margin-top:28rpx;
font-weight: 500;
}
.left-panel .income .item .icon{
width:16rpx;height:16rpx;
margin-left:6rpx;
}
.left-panel .actions{
text-align: center;
display: flex;
justify-content: space-between;
font-size: 24rpx;
color: #555555;
}
.left-panel .actions .item{
padding:0 20rpx;
}
.left-panel .actions .item .icon{
width:40rpx;height:40rpx;
margin-bottom:28rpx;
}
.left-panel .logout-btn{
position: fixed;
bottom:calc(constant(safe-area-inset-bottom) + 20rpx);
bottom:calc(env(safe-area-inset-bottom) + 20rpx);
left:0;right:0;
margin:30rpx 20rpx;
background-color: #fff;
font-weight: normal;
color: #888888;
font-size: 24rpx;
padding:30rpx;
line-height: 1;
}
.left-panel .logout-btn:hover{
background-color: #fff!important;
color:#222!important;
}