123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809 |
- /* 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;
- }
|