Pārlūkot izejas kodu

1.完善出行攻略

chenhg 1 dienu atpakaļ
vecāks
revīzija
9313d91c50
2 mainītis faili ar 296 papildinājumiem un 6 dzēšanām
  1. 2 0
      App.tsx
  2. 294 6
      src/constants.ts

+ 2 - 0
App.tsx

@@ -4,6 +4,7 @@ import { HashRouter as Router, Routes, Route } from 'react-router-dom';
 import Home from '@/src/pages/Home';
 import Ships from '@/src/pages/Ships';
 import AboutUs from '@/src/pages/AhoutUs';
+import Guide from '@/src/pages/Guide';
 import { LanguageProvider } from '@/src/contexts/LanguageContext';
 import { ThemeProvider } from '@/src/contexts/ThemeContext';
 
@@ -16,6 +17,7 @@ const App: React.FC = () => {
             <Route path="/" element={<Home />} />
             <Route path="/ships" element={<Ships />} />
             <Route path="/about" element={<AboutUs />} />
+            <Route path="/guide" element={<Guide />} />
             <Route path="*" element={<Home />} />
           </Routes>
         </Router>

+ 294 - 6
src/constants.ts

@@ -62,10 +62,10 @@ export const CONTENT = {
         },
         { 
           title: "出行攻略", 
-          link: "#guide",
+          link: "#/guide",
           submenu: [
-            { title: "出行指南", link: "#guide-tips" },
-            { title: "常见问题", link: "#guide-faq" },
+            { title: "出行指南", link: "#/guide?section=tips" },
+            { title: "常见问题", link: "#/guide?section=faq" },
           ]
         },
         { 
@@ -150,6 +150,150 @@ export const CONTENT = {
         desc: "2026首航,敬请期待。"
       }
     },
+    guide: {
+      hero: {
+        title: "出行攻略",
+        subtitle: "为您的长江游轮之旅提供全方位指南"
+      },
+      tips: {
+        sectionTitle: "出行指南",
+        sectionSubtitle: "游轮出行准备",
+        categories: [
+          {
+            icon: "🧳",
+            title: "行李准备",
+            items: [
+              "轻便舒适的衣物,适合船上活动和岸上观光",
+              "防晒用品(防晒霜、太阳镜、遮阳帽)",
+              "舒适的步行鞋,适合岸上游览",
+              "必备药品(感冒药、肠胃药等)",
+              "泳衣和泳帽(如需使用船上泳池)"
+            ]
+          },
+          {
+            icon: "🎫",
+            title: "登船指南",
+            items: [
+              "提前1-2小时到达码头办理登船手续",
+              "携带有效身份证件(身份证、护照等)",
+              "办理行李托运,贵重物品请随身携带",
+              "领取登船卡和房卡",
+              "参加登船说明会,了解船上设施和安全须知"
+            ]
+          },
+          {
+            icon: "🚢",
+            title: "船上须知",
+            items: [
+              "遵守船上作息时间和活动安排",
+              "注意个人安全,尤其是在甲板活动时",
+              "合理使用船上设施,爱护公共物品",
+              "尊重其他乘客,保持安静和整洁",
+              "注意饮食卫生,避免暴饮暴食"
+            ]
+          },
+          {
+            icon: "🗺️",
+            title: "岸上观光",
+            items: [
+              "准时集合,听从导游安排",
+              "注意当地风俗习惯,尊重文化差异",
+              "保管好个人财物,避免丢失",
+              "注意安全,尤其是在景点和交通繁忙区域",
+              "按时返回游轮,避免延误行程"
+            ]
+          },
+          {
+            icon: "🏥",
+            title: "健康安全",
+            items: [
+              "船上提供医疗服务,如有不适及时咨询",
+              "保持良好的个人卫生习惯",
+              "了解船上安全设施位置和逃生路线",
+              "遵守船上安全规定,配合安全检查",
+              "紧急情况时保持冷静,听从船员指挥"
+            ]
+          },
+          {
+            icon: "💳",
+            title: "支付与费用",
+            items: [
+              "船上消费可使用房卡记账,离船前统一结算",
+              "支持信用卡、支付宝、微信支付等方式",
+              "部分岸上观光项目和特殊服务需要额外付费",
+              "了解小费政策,如需要可适当给予服务人员小费",
+              "离船前检查所有账单,确保无误"
+            ]
+          }
+        ]
+      },
+      faq: {
+        sectionTitle: "常见问题",
+        sectionSubtitle: "您可能关心的问题",
+        items: [
+          {
+            question: "如何预订游轮行程?",
+            answer: "您可以通过我们的官方网站、电话预订热线或授权旅行社进行预订。预订时需要提供乘客信息、行程选择和支付方式等。"
+          },
+          {
+            question: "预订后可以取消或修改吗?",
+            answer: "可以,具体取消和修改政策请参考预订确认单。通常提前14天以上取消可以获得部分退款,14天以内取消可能收取全额费用。"
+          },
+          {
+            question: "游轮上提供哪些餐饮服务?",
+            answer: "我们的游轮提供中西式自助早餐、午餐和晚餐,以及特色餐厅服务。所有餐饮均由专业厨师团队精心准备,使用新鲜食材。"
+          },
+          {
+            question: "船上有哪些娱乐设施和活动?",
+            answer: "船上设有多功能厅、酒吧、健身房、游泳池、SPA中心等设施。每天安排丰富的娱乐活动,包括文化讲座、音乐表演、互动游戏等。"
+          },
+          {
+            question: "如何前往码头登船?",
+            answer: "我们提供码头接送服务,您可以在预订时选择此项服务。也可以自行前往码头,码头地址和交通指南会在预订确认后提供。"
+          },
+          {
+            question: "游轮上的电源插座是什么类型?",
+            answer: "船上提供220V和110V电源插座,支持国内和国际通用插头。建议携带转换插头以确保所有电子设备都能正常使用。"
+          },
+          {
+            question: "是否需要提前办理签证?",
+            answer: "根据您的行程和国籍,可能需要办理相应的签证。请在预订前咨询我们的客服人员,了解详细的签证要求。"
+          },
+          {
+            question: "船上是否有免费WiFi?",
+            answer: "是的,我们的游轮提供免费WiFi服务。但由于航行环境的限制,网络速度可能会有所波动。"
+          },
+          {
+            question: "可以携带宠物上船吗?",
+            answer: "抱歉,为了保障所有乘客的健康和安全,我们的游轮暂不接受宠物上船。"
+          },
+          {
+            question: "如何选择合适的舱房?",
+            answer: "您可以根据自己的需求和预算选择不同类型的舱房。舱房类型包括内舱房、海景房、阳台房和套房等。您可以在我们的网站上查看详细的舱房介绍和图片。"
+          },
+          {
+            question: "游轮上提供儿童相关服务吗?",
+            answer: "是的,我们的游轮为儿童提供专门的活动区域和服务,包括儿童俱乐部、亲子活动等。部分航线还提供儿童优惠政策。"
+          },
+          {
+            question: "可以提前要求特殊饮食吗?",
+            answer: "当然,我们可以根据您的需求提供素食、清真、无麸质等特殊饮食。请在预订时或登船前至少24小时告知我们的客服人员。"
+          },
+          {
+            question: "行李有什么限制吗?",
+            answer: "每位乘客通常可携带2件托运行李(每件不超过20公斤)和1件手提行李。具体限制可能因航线和舱房类型有所不同,请参考预订确认单。"
+          },
+          {
+            question: "船上的医疗设施如何?",
+            answer: "船上配备了基本的医疗设施和专业医护人员,可处理常见疾病和突发状况。但建议您携带常用药品,如有特殊医疗需求,请提前告知我们。"
+          },
+          {
+            question: "离船手续需要注意什么?",
+            answer: "离船前一天,船员会将离船指南和行李标签发放给您。请按照指定时间将托运行李放在舱房门外,并携带好所有贵重物品和登船时的证件。"
+          }
+        ]
+      }
+    },
     ships: [
       {
         id: "lanyue",
@@ -258,10 +402,10 @@ export const CONTENT = {
         },
         { 
           title: "GUIDE", 
-          link: "#guide",
+          link: "#/guide",
           submenu: [
-            { title: "Travel Tips", link: "#guide-tips" },
-            { title: "FAQ", link: "#guide-faq" },
+            { title: "Travel Tips", link: "#/guide?section=tips" },
+            { title: "FAQ", link: "#/guide?section=faq" },
           ]
         },
         { 
@@ -346,6 +490,150 @@ export const CONTENT = {
         desc: "Maiden Voyage 2026. Stay tuned."
       }
     },
+    guide: {
+      hero: {
+        title: "Travel Guide",
+        subtitle: "Your comprehensive guide for a memorable Yangtze cruise"
+      },
+      tips: {
+        sectionTitle: "Travel Tips",
+        sectionSubtitle: "Cruise Preparation",
+        categories: [
+          {
+            icon: "🧳",
+            title: "Packing",
+            items: [
+              "Lightweight, comfortable clothing for onboard activities and shore excursions",
+              "Sun protection (sunscreen, sunglasses, hat)",
+              "Comfortable walking shoes for shore excursions",
+              "Essential medications (cold medicine, stomach medicine, etc.)",
+              "Swimsuit and cap (if using onboard pool)"
+            ]
+          },
+          {
+            icon: "🎫",
+            title: "Boarding",
+            items: [
+              "Arrive at the dock 1-2 hours early for boarding procedures",
+              "Bring valid ID (ID card, passport, etc.)",
+              "Check in luggage; keep valuables with you",
+              "Collect boarding pass and room key",
+              "Attend the boarding briefing to learn about onboard facilities and safety instructions"
+            ]
+          },
+          {
+            icon: "🚢",
+            title: "Onboard",
+            items: [
+              "Follow onboard schedule and activity arrangements",
+              "Pay attention to personal safety, especially when on deck",
+              "Use onboard facilities properly and care for public items",
+              "Respect other passengers, keep quiet and tidy",
+              "Pay attention to food hygiene, avoid overeating"
+            ]
+          },
+          {
+            icon: "🗺️",
+            title: "Shore Excursions",
+            items: [
+              "Gather on time and follow the guide's instructions",
+              "Pay attention to local customs and respect cultural differences",
+              "Keep personal belongings safe to avoid loss",
+              "Pay attention to safety, especially at scenic spots and busy traffic areas",
+              "Return to the cruise ship on time to avoid delays"
+            ]
+          },
+          {
+            icon: "🏥",
+            title: "Health & Safety",
+            items: [
+              "Medical services are available onboard; consult if unwell",
+              "Maintain good personal hygiene habits",
+              "Know the location of onboard safety facilities and escape routes",
+              "Follow onboard safety regulations and cooperate with safety checks",
+              "Stay calm during emergencies and follow crew instructions"
+            ]
+          },
+          {
+            icon: "💳",
+            title: "Payment & Expenses",
+            items: [
+              "Onboard consumption can be charged to room card, settled before disembarkation",
+              "Supports credit cards, Alipay, WeChat Pay, etc.",
+              "Some shore excursion programs and special services require additional fees",
+              "Understand the tip policy; tips can be given to service staff if needed",
+              "Check all bills before disembarkation to ensure accuracy"
+            ]
+          }
+        ]
+      },
+      faq: {
+        sectionTitle: "FAQ",
+        sectionSubtitle: "Questions & Answers",
+        items: [
+          {
+            question: "How to book a cruise itinerary?",
+            answer: "You can book through our official website, phone reservation hotline, or authorized travel agencies. When booking, you need to provide passenger information, itinerary selection, and payment method."
+          },
+          {
+            question: "Can I cancel or modify my booking?",
+            answer: "Yes, please refer to the booking confirmation for specific cancellation and modification policies. Usually, cancellations made more than 14 days in advance can receive a partial refund, and cancellations within 14 days may be charged the full amount."
+          },
+          {
+            question: "What dining services are available on board?",
+            answer: "Our cruise ships offer Chinese and Western buffet breakfast, lunch, and dinner, as well as specialty restaurant services. All meals are carefully prepared by a professional chef team using fresh ingredients."
+          },
+          {
+            question: "What entertainment facilities and activities are available on board?",
+            answer: "The ship is equipped with a multi-function hall, bar, gym, swimming pool, SPA center and other facilities. Daily entertainment activities are arranged, including cultural lectures, music performances, interactive games, etc."
+          },
+          {
+            question: "How to get to the dock for boarding?",
+            answer: "We provide dock transfer services, which you can choose when booking. You can also go to the dock by yourself, and the dock address and transportation guide will be provided after booking confirmation."
+          },
+          {
+            question: "What type of power outlets are on the cruise ship?",
+            answer: "The ship provides 220V and 110V power outlets, supporting domestic and international universal plugs. It is recommended to bring a conversion plug to ensure all electronic devices can be used normally."
+          },
+          {
+            question: "Do I need a visa in advance?",
+            answer: "Depending on your itinerary and nationality, you may need to apply for a corresponding visa. Please consult our customer service before booking for detailed visa requirements."
+          },
+          {
+            question: "Is there free WiFi on board?",
+            answer: "Yes, our cruise ships provide free WiFi services. However, due to the limitations of the sailing environment, network speeds may fluctuate."
+          },
+          {
+            question: "Can I bring pets on board?",
+            answer: "Sorry, for the health and safety of all passengers, we do not accept pets on board at this time."
+          },
+          {
+            question: "How to choose the right cabin?",
+            answer: "You can choose different types of cabins according to your needs and budget. Cabin types include interior cabins, ocean view cabins, balcony cabins, and suites. You can view detailed cabin introductions and pictures on our website."
+          },
+          {
+            question: "Are there child-related services on the cruise ship?",
+            answer: "Yes, our cruise ship provides dedicated activity areas and services for children, including children's clubs, parent-child activities, etc. Some routes also offer children's discount policies."
+          },
+          {
+            question: "Can I request special meals in advance?",
+            answer: "Of course, we can provide vegetarian, halal, gluten-free and other special diets according to your needs. Please inform our customer service at least 24 hours before booking or boarding."
+          },
+          {
+            question: "Are there any luggage restrictions?",
+            answer: "Each passenger can usually carry 2 pieces of checked luggage (no more than 20 kg each) and 1 piece of carry-on luggage. Specific restrictions may vary by route and cabin type, please refer to the booking confirmation."
+          },
+          {
+            question: "How are the medical facilities on board?",
+            answer: "The ship is equipped with basic medical facilities and professional medical staff who can handle common diseases and emergencies. However, we recommend that you bring your own commonly used medicines, and if you have special medical needs, please inform us in advance."
+          },
+          {
+            question: "What should I pay attention to during disembarkation procedures?",
+            answer: "The day before disembarkation, crew members will distribute disembarkation guides and luggage tags to you. Please place checked luggage outside your cabin door at the designated time, and bring all valuables and documents from boarding."
+          }
+        ]
+      }
+    },
     ships: [
       {
         id: "lanyue",