169 lines
3.2 KiB
Plaintext
169 lines
3.2 KiB
Plaintext
|
/* 添加组件样式隔离设置 */
|
||
|
:host {
|
||
|
isolation: isolate;
|
||
|
}
|
||
|
|
||
|
.modal-overlay {
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
background-color: transparent;
|
||
|
z-index: 9998;
|
||
|
display: flex;
|
||
|
justify-content: flex-end;
|
||
|
align-items: flex-end;
|
||
|
}
|
||
|
|
||
|
.modal-container {
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background-color: #ffffff;
|
||
|
border-radius: 20rpx 20rpx 0 0;
|
||
|
box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.1);
|
||
|
z-index: 9999;
|
||
|
overflow: hidden;
|
||
|
transition: transform 0.3s ease-out;
|
||
|
}
|
||
|
|
||
|
.modal-handle {
|
||
|
width: 80rpx;
|
||
|
height: 8rpx;
|
||
|
background-color: #dcdcdc;
|
||
|
border-radius: 4rpx;
|
||
|
margin: 24rpx auto;
|
||
|
}
|
||
|
|
||
|
.modal-close {
|
||
|
position: absolute;
|
||
|
top: 20rpx;
|
||
|
right: 20rpx;
|
||
|
width: 60rpx;
|
||
|
height: 60rpx;
|
||
|
border-radius: 50%;
|
||
|
background-color: rgba(0, 0, 0, 0.1);
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
font-size: 40rpx;
|
||
|
color: #666666;
|
||
|
}
|
||
|
|
||
|
/* 确保modal-container样式优先级 */
|
||
|
.modal-container {
|
||
|
padding: 30rpx !important;
|
||
|
background-color: #fff !important;
|
||
|
border-radius: 30rpx !important;
|
||
|
overflow: hidden !important;
|
||
|
position: relative !important;
|
||
|
z-index: 100 !important;
|
||
|
width: 100% !important;
|
||
|
box-sizing: border-box !important;
|
||
|
}
|
||
|
|
||
|
/* 内部元素样式 - 提高选择器优先级 */
|
||
|
.modal-header {
|
||
|
margin-bottom: 20rpx !important;
|
||
|
}
|
||
|
|
||
|
.modal-title {
|
||
|
font-size: 36rpx !important;
|
||
|
font-weight: bold !important;
|
||
|
margin-bottom: 10rpx !important;
|
||
|
color: #333 !important;
|
||
|
}
|
||
|
|
||
|
.modal-subtitle {
|
||
|
font-size: 28rpx !important;
|
||
|
color: #666 !important;
|
||
|
margin-bottom: 20rpx !important;
|
||
|
}
|
||
|
|
||
|
.modal-basic-info {
|
||
|
margin-bottom: 20rpx !important;
|
||
|
}
|
||
|
|
||
|
.modal-detail-info {
|
||
|
transition: all 0.3s ease-in-out !important;
|
||
|
}
|
||
|
|
||
|
/* 货运人员头部样式 */
|
||
|
.delivery-person-header {
|
||
|
display: flex !important;
|
||
|
align-items: center !important;
|
||
|
gap: 20rpx !important;
|
||
|
margin-bottom: 20rpx !important;
|
||
|
}
|
||
|
|
||
|
.delivery-person-avatar {
|
||
|
width: 120rpx !important;
|
||
|
height: 120rpx !important;
|
||
|
border-radius: 50% !important;
|
||
|
overflow: hidden !important;
|
||
|
background-color: #f5f5f5 !important;
|
||
|
}
|
||
|
|
||
|
.delivery-person-avatar image {
|
||
|
width: 100% !important;
|
||
|
height: 100% !important;
|
||
|
display: block !important;
|
||
|
}
|
||
|
|
||
|
.person-info-header {
|
||
|
flex: 1 !important;
|
||
|
}
|
||
|
|
||
|
/* 信息项样式 */
|
||
|
.detail-item {
|
||
|
display: flex !important;
|
||
|
justify-content: space-between !important;
|
||
|
align-items: center !important;
|
||
|
padding: 16rpx 0 !important;
|
||
|
border-bottom: 1rpx solid #f0f0f0 !important;
|
||
|
}
|
||
|
|
||
|
.detail-item:last-child {
|
||
|
border-bottom: none !important;
|
||
|
}
|
||
|
|
||
|
.detail-label {
|
||
|
font-size: 28rpx !important;
|
||
|
color: #666 !important;
|
||
|
}
|
||
|
|
||
|
.detail-value {
|
||
|
font-size: 28rpx !important;
|
||
|
color: #333 !important;
|
||
|
text-align: right !important;
|
||
|
}
|
||
|
|
||
|
/* 状态徽章样式 */
|
||
|
.status-badge {
|
||
|
padding: 6rpx 20rpx !important;
|
||
|
border-radius: 20rpx !important;
|
||
|
font-size: 24rpx !important;
|
||
|
font-weight: 500 !important;
|
||
|
}
|
||
|
|
||
|
.status-idle {
|
||
|
background-color: #e6f7ff !important;
|
||
|
color: #1890ff !important;
|
||
|
}
|
||
|
|
||
|
.status-busy {
|
||
|
background-color: #fff2e8 !important;
|
||
|
color: #fa8c16 !important;
|
||
|
}
|
||
|
|
||
|
.status-delivering {
|
||
|
background-color: #f6ffed !important;
|
||
|
color: #52c41a !important;
|
||
|
}
|
||
|
|
||
|
.status-offline {
|
||
|
background-color: #f5f5f5 !important;
|
||
|
color: #8c8c8c !important;
|
||
|
}
|