/* pages/ai-plan/ai-plan.wxss */ .ai-plan-page { padding: 20rpx; min-height: 100vh; background-color: #f8f8f8; } .nav-header { display: flex; align-items: center; padding: 20rpx 0; margin-bottom: 30rpx; } .back-icon { width: 40rpx; height: 40rpx; margin-right: 20rpx; } .nav-title { font-size: 36rpx; font-weight: bold; color: #333; } .progress-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 40rpx; } .step { display: flex; flex-direction: column; align-items: center; width: 120rpx; } .step-number { width: 50rpx; height: 50rpx; border-radius: 50%; background-color: #ddd; color: #999; display: flex; align-items: center; justify-content: center; font-size: 28rpx; margin-bottom: 10rpx; } .step.active .step-number { background-color: #e54d42; color: white; } .step-text { font-size: 24rpx; color: #999; } .step.active .step-text { color: #e54d42; } .step-line { flex: 1; height: 4rpx; background-color: #ddd; margin: 0 10rpx; } .step-line.active { background-color: #e54d42; } .step-container { background-color: white; border-radius: 16rpx; padding: 30rpx; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.05); } .form-section { margin-bottom: 40rpx; } .section-title { font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 20rpx; display: block; } .interest-tags { display: flex; flex-wrap: wrap; gap: 20rpx; } .tag { padding: 12rpx 15rpx; border-radius: 30rpx; background-color: #f5f5f5; color: #666; font-size: 26rpx; } .tag.selected { background-color: #fdecec; color: #e54d42; } .tag-icon { width: 28rpx; height: 25rpx; margin-left: 8rpx; } .day-selector { display: flex; flex-wrap: wrap; gap: 20rpx; } .day-option { padding: 16rpx 30rpx; border-radius: 30rpx; background-color: #f5f5f5; color: #666; font-size: 28rpx; } .day-option.selected { background-color: #e54d42; color: white; } .transport-options { display: flex; flex-wrap: wrap; gap: 20rpx; } .transport-option { display: flex; flex-direction: column; align-items: center; width: 140rpx; padding: 20rpx 0; border-radius: 12rpx; background-color: #f5f5f5; } .transport-option.selected { background-color: #fdecec; border: 1px solid #e54d42; } .transport-icon { width: 60rpx; height: 60rpx; margin-bottom: 10rpx; } .custom-input { width: 100%; height: 160rpx; padding: 20rpx; border: 1px solid #eee; border-radius: 12rpx; background-color: #f9f9f9; font-size: 26rpx; } .next-btn { background-color: #e54d42; color: white; margin-top: 40rpx; } .generating-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 60vh; text-align: center; background-color: #fff; border-radius: 16rpx; padding: 40rpx; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.05); } .loading-gif { width: 120rpx; height: 120rpx; margin-bottom: 30rpx; animation: rotate 2s linear infinite; } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .generating-text { font-size: 32rpx; color: #e54d42; margin-bottom: 15rpx; font-weight: bold; } .generating-tip { font-size: 26rpx; color: #999; } /* 行程结果整体样式 */ .plan-result { padding-bottom: 40rpx; } /* 行程概览 */ .plan-header { text-align: center; margin-bottom: 40rpx; padding: 0 20rpx; } .plan-title { font-size: 36rpx; font-weight: bold; color: #e54d42; margin-bottom: 15rpx; display: block; position: relative; padding-bottom: 20rpx; } .plan-title::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80rpx; height: 4rpx; background-color: #e54d42; border-radius: 2rpx; } .plan-desc { font-size: 28rpx; color: #666; line-height: 1.6; display: block; } /* 统计信息面板 */ .stats-panel { display: flex; justify-content: space-between; margin: 30rpx 0; background-color: #fff; border-radius: 16rpx; padding: 30rpx; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.05); } .stat-item { flex: 1; text-align: center; padding: 0 10rpx; } .stat-value { font-size: 36rpx; font-weight: bold; color: #e54d42; margin-bottom: 8rpx; } .stat-label { font-size: 26rpx; color: #666; } /* 每日行程滚动区域 */ .day-list { height: 70vh; padding-bottom: 20rpx; } /* 每日卡片 */ .day-item { background-color: white; border-radius: 16rpx; padding: 30rpx; margin-bottom: 30rpx; box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.05); position: relative; } .day-item::before { content: ""; position: absolute; top: 0; left: 0; width: 6rpx; height: 100%; background-color: #e54d42; border-radius: 8rpx 0 0 8rpx; } /* 每日标题 */ .day-header { margin-bottom: 20rpx; padding-bottom: 20rpx; border-bottom: 1rpx solid #f0f0f0; } .day-title { font-size: 32rpx; font-weight: bold; color: #333; display: flex; align-items: center; } .day-title::before { content: ""; display: inline-block; width: 12rpx; height: 12rpx; background-color: #e54d42; border-radius: 50%; margin-right: 15rpx; } /* 教育要点部分 */ .education-points { margin-bottom: 30rpx; } .section-title { font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 20rpx; display: flex; align-items: center; } .section-title image { width: 32rpx; height: 32rpx; margin-right: 10rpx; } .point-item { margin-bottom: 20rpx; padding-left: 30rpx; position: relative; } .point-item::before { content: ""; position: absolute; left: 0; top: 12rpx; width: 16rpx; height: 16rpx; background-color: #e54d42; border-radius: 50%; } .point-name { font-size: 28rpx; font-weight: bold; color: #e54d42; margin-bottom: 8rpx; display: block; } .point-desc { font-size: 26rpx; color: #666; line-height: 1.5; display: block; } /* 景点卡片列表 */ .attractions-list { margin-top: 20rpx; } .attraction-card { display: flex; margin-bottom: 30rpx; padding-bottom: 30rpx; border-bottom: 1rpx dashed #eee; } .attraction-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .card-image { width: 150rpx; height: 150rpx; border-radius: 8rpx; margin-right: 20rpx; object-fit: cover; } .card-content { flex: 1; } .card-header { display: flex; align-items: center; margin-bottom: 10rpx; } .card-title { font-size: 30rpx; font-weight: bold; color: #333; margin-right: 15rpx; } .card-tag { font-size: 24rpx; padding: 4rpx 12rpx; border-radius: 20rpx; background-color: #fdecec; color: #e54d42; } .card-tag.red { background-color: #fdecec; color: #e54d42; } .card-tag.blue { background-color: #ebf5fb; color: #3498db; } .card-desc { font-size: 26rpx; color: #666; margin-bottom: 12rpx; line-height: 1.4; } .card-meta { display: flex; flex-wrap: wrap; gap: 15rpx; font-size: 24rpx; color: #999; } /* 交通信息 */ .transport-info { display: flex; align-items: center; margin-top: 30rpx; padding: 20rpx; background-color: #f8f8f8; border-radius: 8rpx; } .transport-info image { width: 32rpx; height: 32rpx; margin-right: 10rpx; } .transport-info text { font-size: 28rpx; color: #555; } /* 操作按钮 */ .action-buttons { display: flex; justify-content: space-between; margin-top: 40rpx; } .action-buttons button { flex: 1; height: 80rpx; line-height: 80rpx; border-radius: 40rpx; font-size: 30rpx; } .action-buttons button:first-child { background-color: #e54d42; color: white; margin-right: 20rpx; border: none; } .action-buttons button:last-child { background-color: #f8f8f8; color: #666; border: 1rpx solid #eee; } .save-btn { background-color: #e54d42; color: white; width: 48%; } .regenerate-btn { background-color: #f8f8f8; color: #666; width: 48%; } .complete-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 70vh; text-align: center; } .success-icon { width: 120rpx; height: 120rpx; margin-bottom: 30rpx; } .complete-title { font-size: 36rpx; font-weight: bold; color: #e54d42; margin-bottom: 15rpx; } .complete-desc { font-size: 28rpx; color: #666; margin-bottom: 40rpx; } .plan-summary { width: 100%; margin-bottom: 40rpx; } .summary-item { display: flex; justify-content: space-between; padding: 20rpx 0; border-bottom: 1px solid #eee; } .summary-label { font-size: 28rpx; color: #666; } .summary-value { font-size: 28rpx; color: #333; font-weight: bold; } .view-btn { background-color: #e54d42; color: white; width: 100%; margin-bottom: 20rpx; } .share-btn { background-color: #f8f8f8; color: #666; width: 100%; } /* 景点卡片样式 */ .attraction-item { position: relative; } .detail-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 100; display: flex; justify-content: center; align-items: center; } .modal-content { width: 85%; max-height: 70vh; background: #fff; border-radius: 12px; overflow: hidden; } .modal-header { padding: 15px; background: var(--primary-color); color: white; display: flex; justify-content: space-between; align-items: center; } .modal-title { font-size: 18px; font-weight: bold; } .close-icon { width: 20px; height: 20px; } .modal-body { padding: 15px; max-height: 60vh; } .section-title { font-weight: bold; margin: 10px 0 5px; display: block; color: var(--primary-color); } .info-grid { margin-top: 15px; border-top: 1px solid #eee; padding-top: 10px; } .info-item { display: flex; align-items: center; margin: 8px 0; font-size: 14px; } .info-icon { width: 16px; height: 16px; margin-right: 8px; } /* 行程标题 */ .plan-title { font-size: 22px; font-weight: bold; color: #333; line-height: 1.4; margin-bottom: 10px; text-align: center; } /* 红色角标 */ .red-badge { display: flex; align-items: center; justify-content: center; background-color: #fef2f2; border: 1px solid #e54d42; border-radius: 15px; padding: 4px 12px; margin: 0 auto 15px; width: fit-content; } .red-badge text { color: #e54d42; font-size: 14px; margin-left: 5px; } .badge-icon { width: 16px; height: 16px; } /* 行程描述 */ .plan-desc { font-size: 15px; color: #666; line-height: 1.6; padding: 0 15px; margin-bottom: 20px; text-align: justify; } /* 每日行程标题 */ .day-header { padding: 15px; background-color: #f8f8f8; border-left: 4px solid #e54d42; margin: 15px 0; } .day-title { font-size: 18px; font-weight: bold; color: #e54d42; margin-right: 10px; } .day-theme { font-size: 16px; color: #333; } .loading-container { display: flex; flex-direction: column; align-items: center; padding: 40px; } .loading-container image { width: 80px; height: 80px; margin-bottom: 20px; } .plan-header { padding: 20px; background-color: #f8f8f8; } .day-item { margin: 15px; padding: 10px; border: 1px solid #eee; } .red-item { border-left: 3px solid #e54d42; } /* 教育要点列表样式 */ .education-points-list { margin: 20rpx 0; } .education-point-item { padding: 20rpx; margin-bottom: 20rpx; background: #fff; border-radius: 8rpx; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.05); } .red-point { border-left: 6rpx solid #e54d42; padding-left: 30rpx; } .point-header { display: flex; align-items: center; margin-bottom: 10rpx; } .point-icon { width: 30rpx; height: 30rpx; margin-right: 10rpx; } .point-name { font-size: 32rpx; font-weight: bold; color: #333; } .red-point .point-name { color: #e54d42; } .point-desc { font-size: 28rpx; color: #666; line-height: 1.6; display: block; margin-top: 10rpx; }