.container { padding: 20rpx; min-height: 100vh; background-color: #f5f5f5; } .header { padding: 30rpx 0; text-align: center; } .title { font-size: 40rpx; font-weight: bold; color: #333; } .tabs { display: flex; margin-bottom: 30rpx; border-bottom: 1rpx solid #eee; } .tab { flex: 1; text-align: center; padding: 20rpx 0; font-size: 32rpx; color: #666; } .tab.active { color: #e74c3c; border-bottom: 4rpx solid #e74c3c; } /* 地图部分样式 */ .map-section { margin: 20rpx 0; background: #fff; border-radius: 16rpx; padding: 20rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08); } .day-tabs { white-space: nowrap; margin-bottom: 20rpx; } .day-tab { display: inline-block; padding: 8rpx 20rpx; margin-right: 16rpx; border-radius: 40rpx; border: 2rpx solid #e54d42; font-size: 26rpx; } .day-tab.active { color: #fff; background-color: #e54d42; } .map-container { position: relative; border-radius: 12rpx; overflow: hidden; } .map-controls { position: absolute; right: 20rpx; bottom: 20rpx; display: flex; flex-direction: column; } .control-btn { width: 60rpx; height: 60rpx; background: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 12rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.12); } .control-icon { width: 32rpx; height: 32rpx; } .map-legend { display: flex; justify-content: center; margin-top: 20rpx; flex-wrap: wrap; } .legend-item { display: flex; align-items: center; margin: 0 20rpx; font-size: 24rpx; color: #666; } .legend-color { width: 24rpx; height: 24rpx; border-radius: 4rpx; margin-right: 8rpx; } .legend-icon { width: 24rpx; height: 24rpx; margin-right: 8rpx; } /* 路线详情部分 */ .route-plan-section { margin: 30rpx 0; background: #fff; border-radius: 24rpx; padding: 30rpx; box-shadow: 0 4rpx 24rpx rgba(0, 0, 0, 0.04); } .section-header { display: flex; align-items: center; margin-bottom: 30rpx; } .section-icon { width: 44rpx; height: 44rpx; margin-right: 16rpx; } .section-title { font-size: 36rpx; font-weight: bold; color: #333; } .day-route { margin-bottom: 40rpx; position: relative; } .route-header { display: flex; align-items: center; margin-bottom: 24rpx; } .route-day-tag { padding: 8rpx 24rpx; border-radius: 24rpx; color: #fff; font-size: 28rpx; font-weight: 500; margin-right: 20rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); } .route-theme { font-size: 32rpx; font-weight: bold; color: #333; } .route-steps { margin-left: 60rpx; border-left: 4rpx dashed rgba(0, 0, 0, 0.08); padding-left: 40rpx; position: relative; } .route-step { display: flex; margin-bottom: 40rpx; position: relative; transition: all 0.3s ease; } .route-step:active { transform: scale(0.98); } .step-marker { width: 48rpx; height: 48rpx; border-radius: 50%; color: #fff; display: flex; justify-content: center; align-items: center; font-size: 28rpx; font-weight: bold; position: absolute; left: -74rpx; top: 0; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.2); z-index: 2; } .checked-icon { width: 28rpx; height: 28rpx; position: absolute; right: -6rpx; bottom: -6rpx; background: #fff; border-radius: 50%; padding: 2rpx; } .step-content { flex: 1; background: #f8fafc; border-radius: 16rpx; padding: 30rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05); display: flex; justify-content: space-between; align-items: center; } .step-main { flex: 1; margin-right: 20rpx; } .step-header { display: flex; align-items: center; margin-bottom: 20rpx; } .step-title { font-size: 32rpx; font-weight: bold; color: #333; margin-right: 16rpx; } .step-tag { font-size: 24rpx; color: #fff; background: #0081ff; padding: 4rpx 12rpx; border-radius: 8rpx; } .step-info { margin-bottom: 20rpx; } .info-item { display: flex; align-items: center; margin-bottom: 12rpx; font-size: 26rpx; color: #666; } .info-icon { width: 28rpx; height: 28rpx; margin-right: 10rpx; opacity: 0.8; } .step-actions { flex-shrink: 0; } .step-actions-vertical { display: flex; flex-direction: column; gap: 10rpx; width: 160rpx; margin-left: 20rpx; } /* 打卡弹窗样式 */ .checkin-modal { width: 90%; max-height: 80vh; border-radius: 16rpx; overflow: hidden; } .checkin-image-section { margin-bottom: 30rpx; } .image-uploader { width: 93%; height: 300rpx; background: #f7f7f7; border-radius: 12rpx; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; margin-top: 20rpx; } .uploaded-image { width: 100%; height: 100%; } .upload-icon { width: 80rpx; height: 80rpx; margin-bottom: 20rpx; } .upload-text { font-size: 28rpx; color: #999; } .uploading-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); display: flex; justify-content: center; align-items: center; } .loading-icon { width: 60rpx; height: 60rpx; } .checkin-note-section { margin-bottom: 20rpx; } .note-textarea { width: 93%; height: 200rpx; background: #f7f7f7; border-radius: 12rpx; padding: 20rpx; box-sizing: border-box; font-size: 28rpx; margin-top: 20rpx; } .word-count { font-size: 24rpx; color: #999; text-align: right; display: block; margin-top: 10rpx; margin-right: 40rpx; } .section-label { font-size: 30rpx; color: #333; font-weight: bold; } .modal-footer { display: flex; justify-content: space-between; padding: 20rpx 30rpx; } .modal-btn { flex: 1; height: 80rpx; line-height: 80rpx; border-radius: 40rpx; font-size: 30rpx; margin: 0 10rpx; } .cancel-btn { background: #f5f5f5; color: #666; } .confirm-btn { background: #e54d42; color: white; } /* 打卡图片样式 */ .checkin-images { display: flex; flex-wrap: wrap; margin-top: 10rpx; } .checkin-image { width: 120rpx; height: 120rpx; border-radius: 8rpx; margin-right: 10rpx; margin-bottom: 10rpx; border: 1rpx solid #eee; } .detail-btn { background: #fff; border: 2rpx solid #e54d42; color: #e54d42; border-radius: 40rpx; font-size: 28rpx; padding: 0 24rpx; height: 64rpx; line-height: 64rpx; display: flex; align-items: center; transition: all 0.3s ease; white-space: nowrap; } .detail-btn .action-icon { width: 14px; height: 14px; margin-right: 4px; } .check-btn { background: #fff; border: 2rpx solid #e54d42; color: #e54d42; border-radius: 40rpx; font-size: 28rpx; padding: 0 24rpx; height: 64rpx; line-height: 64rpx; display: flex; align-items: center; transition: all 0.3s ease; white-space: nowrap; } .check-btn.checked { background: #e54d42; color: #fff; } .action-icon { width: 30rpx; height: 30rpx; margin-right: 10rpx; } .route-summary { display: flex; background: #f8fafc; border-radius: 16rpx; padding: 24rpx; margin-top: 30rpx; border-left: 4rpx solid #e54d42; } .summary-icon { width: 36rpx; height: 36rpx; margin-right: 16rpx; margin-top: 4rpx; } .summary-text { font-size: 28rpx; color: #666; line-height: 1.6; flex: 1; } /* 操作按钮 */ .action-buttons { display: flex; justify-content: space-between; margin-top: 40rpx; } .action-buttons button { flex: 1; margin: 0 10rpx; border-radius: 50rpx; font-size: 28rpx; height: 80rpx; line-height: 80rpx; display: flex; align-items: center; justify-content: center; } .view-btn { background: #f0f7ff; color: #0081ff; } .share-btn { background: #fff0f0; color: #e54d42; } .btn-icon { width: 32rpx; height: 32rpx; margin-right: 8rpx; } /* 打卡按钮样式 */ .check-btn { background: #fff; border: 1rpx solid #e54d42; color: #e54d42; border-radius: 40rpx; font-size: 26rpx; padding: 0 20rpx; height: 60rpx; line-height: 60rpx; display: flex; align-items: center; } .check-btn[disabled] { background: #f5f5f5; color: #999; border-color: #ddd; } .action-icon { width: 28rpx; height: 28rpx; margin-right: 8rpx; } .step-actions { margin-top: 15rpx; display: flex; justify-content: flex-end; } .checked-icon { width: 24rpx; height: 24rpx; position: absolute; right: -6rpx; bottom: -6rpx; } /* 详情弹窗样式 */ .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999; display: flex; justify-content: center; align-items: center; } .modal-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); } .modal-content { width: 90%; max-height: 80vh; background: #fff; border-radius: 20rpx; overflow: hidden; display: flex; flex-direction: column; z-index: 1000; } .modal-header { padding: 30rpx; border-bottom: 1rpx solid #eee; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; } .modal-title { font-size: 34rpx; font-weight: bold; color: #333; flex: 1; } .close-icon { width: 36rpx; height: 36rpx; margin-left: 20rpx; } .modal-body { flex: 1; padding: 30rpx; overflow-y: auto; } .spot-image { width: 90%; max-height: 500rpx; border-radius: 12rpx; margin-bottom: 30rpx; object-fit: cover; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); } .spot-info { margin-bottom: 30rpx; } .info-item { display: flex; align-items: center; margin-bottom: 15rpx; font-size: 28rpx; color: #666; } .info-icon { width: 32rpx; height: 32rpx; margin-right: 12rpx; } .desc-title { font-size: 30rpx; font-weight: bold; color: #333; display: block; margin-bottom: 15rpx; } .spot-desc{ margin-right: 50rpx; } .desc-content { font-size: 28rpx; color: #666; line-height: 1.8; white-space: pre-line; } .modal-footer { display: flex; padding: 20rpx 30rpx; border-top: 1rpx solid #eee; flex-shrink: 0; } .modal-btn { flex: 1; margin: 0 10rpx; height: 80rpx; line-height: 80rpx; font-size: 28rpx; display: flex; justify-content: center; align-items: center; } .nav-btn { background: #e54d42; color: #fff; border-radius: 40rpx; } /* 历史行程容器 */ .history-container { padding: 20rpx 30rpx 60rpx; background-color: #fafafa; min-height: 100vh; } /* 分区标题 */ .section-header { position: relative; margin: 40rpx 0 50rpx; padding-left: 20rpx; } .section-icon { width: 48rpx; height: 48rpx; position: absolute; left: 0; top: 50%; transform: translateY(-50%); } .section-title { font-size: 38rpx; font-weight: 600; color: #333; margin-left: 60rpx; position: relative; display: inline-block; } .section-title::after { content: ""; position: absolute; left: 0; bottom: -10rpx; width: 100%; height: 6rpx; background: linear-gradient(90deg, rgba(219, 68, 55, 0.5), rgba(219, 68, 55, 0.1)); border-radius: 3rpx; } .section-decoration { position: absolute; right: 0; top: 50%; width: 120rpx; height: 2rpx; background: linear-gradient(90deg, rgba(219, 68, 55, 0.1), rgba(219, 68, 55, 0.5)); border-radius: 1rpx; } /* 行程卡片 */ .plan-list { display: flex; flex-direction: column; gap: 30rpx; } .plan-card { background: #fff; border-radius: 20rpx; overflow: hidden; box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06); position: relative; transition: all 0.3s ease; border: 1rpx solid #f0f0f0; } .plan-card:active { transform: translateY(-4rpx); box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1); } .card-ribbon { height: 56rpx; display: flex; align-items: center; justify-content: flex-end; padding: 0 30rpx; background-color: rgba(219, 68, 55, 0.9); } .ribbon-text { color: white; font-size: 26rpx; font-weight: 500; } .card-content { padding: 30rpx; } /* 卡片头部 */ .plan-header { margin-bottom: 20rpx; } .city-tags { display: flex; flex-wrap: wrap; gap: 10rpx; margin-bottom: 15rpx; } .city-tag { font-size: 30rpx; color: #db4437; background: rgba(219, 68, 55, 0.08); padding: 6rpx 16rpx; border-radius: 20rpx; } .plan-title { font-size: 34rpx; font-weight: 600; color: #333; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } /* 卡片内容 */ .plan-content { margin: 25rpx 0; } .plan-desc { font-size: 28rpx; color: #666; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 25rpx; } .plan-stats { display: flex; flex-wrap: wrap; gap: 20rpx; } .stat-item { display: flex; align-items: center; font-size: 26rpx; color: #888; } .stat-icon { width: 28rpx; height: 28rpx; margin-right: 8rpx; } /* 卡片底部操作区域 */ .card-footer { display: flex; border-top: 1rpx solid #f5f5f5; padding: 20rpx 0 0; margin-top: 20rpx; } .action-btn { flex: 1; height: 76rpx; line-height: 76rpx; font-size: 28rpx; font-weight: 500; border-radius: 38rpx; margin: 0 10rpx; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; background: #fff; } .action-btn:active { opacity: 0.9; transform: scale(0.98); } .detail-btn { color: #db4437; border: 1rpx solid #db4437; } .share-btn { color: #666; border: 1rpx solid #e0e0e0; } .btn-icon { width: 30rpx; height: 30rpx; margin-right: 8rpx; } /* 分页容器 */ .pagination-container { margin: 60rpx 0 40rpx; } .pagination { display: flex; justify-content: center; align-items: center; gap: 30rpx; } .pagination-btn { height: 68rpx; line-height: 68rpx; font-size: 28rpx; color: #db4437; background: transparent; border: 1rpx solid rgba(219, 68, 55, 0.5); border-radius: 34rpx; padding: 0 30rpx; display: flex; align-items: center; transition: all 0.3s ease; } .pagination-btn[disabled] { opacity: 0.5; } .pagination-btn:active { background: rgba(219, 68, 55, 0.05); } .pagination-icon { width: 24rpx; height: 24rpx; } .prev .pagination-icon { margin-right: 10rpx; } .next .pagination-icon { margin-left: 10rpx; } .page-indicator { display: flex; align-items: center; font-size: 28rpx; } .current-page { color: #db4437; font-weight: 500; } .page-separator { margin: 0 8rpx; color: #ccc; } .total-pages { color: #999; } /* 空状态 */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 0; text-align: center; } .empty-illustration { width: 300rpx; height: 300rpx; margin-bottom: 40rpx; opacity: 0.8; } .empty-title { font-size: 34rpx; color: #333; font-weight: 500; margin-bottom: 10rpx; } .empty-subtitle { font-size: 28rpx; color: #999; margin-bottom: 50rpx; } .create-btn { background: #db4437; color: white; border-radius: 40rpx; font-size: 30rpx; height: 80rpx; line-height: 80rpx; padding: 0 50rpx; display: flex; align-items: center; transition: all 0.3s ease; box-shadow: 0 4rpx 12rpx rgba(219, 68, 55, 0.2); } .create-btn:active { transform: scale(0.98); opacity: 0.9; } .create-btn .btn-icon { width: 32rpx; height: 32rpx; margin-right: 10rpx; } /* 状态标签样式 */ .status-tag { position: absolute; top: 10rpx; right: 10rpx; padding: 6rpx 16rpx; border-radius: 20rpx; font-size: 24rpx; font-weight: 500; z-index: 10; } .status-tag.in-progress { background-color: #ff9800; color: #fff; } .status-tag.completed { background-color: #4caf50; color: #fff; } /* 开始行程按钮样式 */ .start-btn { color: #fff; background-color: #ff9800; border: 1rpx solid #ff9800; } /* 添加分享相关样式 */ .custom-share-sheet { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 9999; display: flex; align-items: flex-end; } .share-sheet-content { width: 100%; background: #fff; border-radius: 24rpx 24rpx 0 0; padding: 40rpx 0; } .share-title { text-align: center; font-size: 32rpx; color: #999; margin-bottom: 40rpx; } .share-options { display: flex; justify-content: space-around; padding: 0 40rpx; margin-bottom: 60rpx; } .share-option { display: flex; flex-direction: column; align-items: center; background: none; border: none; padding: 0; margin: 0; line-height: normal; } .share-option::after { border: none; } .share-icon { width: 100rpx; height: 100rpx; margin-bottom: 20rpx; } .share-option text { font-size: 24rpx; color: #333; } .share-cancel { text-align: center; padding: 30rpx 0; border-top: 1rpx solid #f5f5f5; font-size: 32rpx; color: #333; }