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.
316 lines
4.6 KiB
316 lines
4.6 KiB
.container {
|
|
padding: 30rpx;
|
|
min-height: 100vh;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
/* 已选择路径 */
|
|
.selected-path {
|
|
background: white;
|
|
border-radius: 16rpx;
|
|
padding: 30rpx;
|
|
margin-bottom: 30rpx;
|
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.path-title {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
display: block;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.path-items {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.path-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12rpx 20rpx;
|
|
background: #f0f8ff;
|
|
border-radius: 8rpx;
|
|
margin-right: 10rpx;
|
|
margin-bottom: 10rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.path-item:active {
|
|
background: #e1f0ff;
|
|
}
|
|
|
|
.path-item.last {
|
|
background: #e6f7ff;
|
|
border: 1rpx solid #1890ff;
|
|
}
|
|
|
|
.path-item text:first-child {
|
|
font-size: 28rpx;
|
|
color: #1890ff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.separator {
|
|
margin-left: 10rpx;
|
|
color: #999;
|
|
}
|
|
|
|
|
|
/* 选择按钮 */
|
|
.select-btn-container {
|
|
margin: 40rpx 0;
|
|
}
|
|
|
|
.select-btn {
|
|
width: 100%;
|
|
background: linear-gradient(135deg, #1890ff, #096dd9);
|
|
color: white;
|
|
border-radius: 12rpx;
|
|
font-size: 32rpx;
|
|
height: 88rpx;
|
|
line-height: 88rpx;
|
|
border: none;
|
|
}
|
|
|
|
.select-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.select-btn[loading] {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.select-btn:active {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* 操作按钮 */
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 20rpx;
|
|
margin-top: 50rpx;
|
|
}
|
|
|
|
.btn {
|
|
flex: 1;
|
|
border-radius: 12rpx;
|
|
font-size: 28rpx;
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
border: none;
|
|
}
|
|
|
|
.btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.complete-btn {
|
|
background: #07c160;
|
|
color: white;
|
|
}
|
|
|
|
.complete-btn[disabled] {
|
|
background: #ccc;
|
|
color: #999;
|
|
}
|
|
|
|
.complete-btn:active:not([disabled]) {
|
|
background: #06ad56;
|
|
}
|
|
|
|
.reset-btn {
|
|
background: #fff;
|
|
color: #ff4d4f;
|
|
border: 1rpx solid #ff4d4f !important;
|
|
}
|
|
|
|
.reset-btn:active {
|
|
background: #fff5f5;
|
|
}
|
|
|
|
/* 选择器模态框 */
|
|
.picker-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.picker-mask {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
.picker-content {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: white;
|
|
border-radius: 32rpx 32rpx 0 0;
|
|
max-height: 70vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: slideUp 0.3s ease;
|
|
}
|
|
|
|
.picker-header {
|
|
padding: 32rpx 40rpx;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
}
|
|
|
|
.picker-title {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
font-weight: 600;
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.picker-close {
|
|
font-size: 48rpx;
|
|
color: #999;
|
|
position: absolute;
|
|
right: 30rpx;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
text-align: center;
|
|
line-height: 60rpx;
|
|
}
|
|
|
|
.picker-close:active {
|
|
background: #f5f5f5;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.picker-body {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 加载状态 */
|
|
.loading-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 300rpx;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
border: 4rpx solid #f0f0f0;
|
|
border-top-color: #1890ff;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.loading-text {
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
}
|
|
|
|
/* 区域列表 */
|
|
.region-list {
|
|
height: 60vh;
|
|
}
|
|
|
|
.region-item {
|
|
padding: 32rpx 40rpx;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.region-item:active {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.region-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.region-name {
|
|
font-size: 30rpx;
|
|
color: #333;
|
|
display: block;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.arrow {
|
|
color: #ccc;
|
|
font-size: 36rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.empty-state {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 200rpx;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
}
|
|
|
|
/* 使用说明 */
|
|
.instruction {
|
|
margin-top: 60rpx;
|
|
padding: 24rpx;
|
|
background: white;
|
|
border-radius: 12rpx;
|
|
border-left: 6rpx solid #1890ff;
|
|
}
|
|
|
|
.instruction-title {
|
|
font-size: 28rpx;
|
|
color: #1890ff;
|
|
font-weight: 600;
|
|
display: block;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.instruction-text {
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
line-height: 1.6;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
/* 动画 */
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from { transform: translateY(100%); }
|
|
to { transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|