---
import Layout from '@/layouts/Layout.astro'
import NavMenu from '@/components/NavMenu/index.jsx'
import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
import Carousel from '@/components/children/Carousel.astro'
import Text from '@/components/children/Text.astro'
import LeftImgRightText from '@/components/LeftImgRightText.astro'
import ImgPro from '@/components/ImgPro.astro'
import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
import Footer from '@/components/Footer.astro'

const { lang = 'zh' } = Astro.params
const sNav = ['概述', '成功案例', '相关资源']

const imgProData = {
  url: '//e.huawei.com/-/mediae/images/industries/real-estate/real-estate/banner-pc.png',
  title: '旅游住宿',
  content: '旅游住宿旅游住宿',
}
const leftImgRightTextList = [
  {
    id: '1',
    url: 'https://e.huawei.com/-/mediae/images/solutions/computing/ascend-computing/ascend-computing-case-2.jpg',
    children: {
      title: '旅游住宿',
      content:
        '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
    },
  },
]
const carouselList = [
  [
    [
      {
        id: '1',
        url: 'https://e.huawei.com/-/mediae/images/case-studies/industries/education/2022/southeast-university-smart-campus/banner-bequoted1.jpg',
        children: {
          title: '旅游住宿',
          content:
            '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
        },
      },
    ],
  ],
  [
    [
      {
        id: '2',
        url: 'https://e.huawei.com/-/mediae/images/case-studies/solutions/campus/2023/chongqing-lianglu-guoyuan-port/banner-bequoted.jpg',
        children: {
          title: '旅游住宿',
          content:
            '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
        },
      },
    ],
  ],
]
const verticalNavigationContentList = [
  {
    id: '1',
    tabName: '白皮书',
    children: [
      {
        title:
          '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
      },
      {
        title:
          '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
      },
      {
        title:
          '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
      },
      {
        title:
          '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
      },
      {
        title:
          '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
      },
      {
        title:
          '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
      },
    ],
  },
  {
    id: '2',
    tabName: '彩页',
    children: [
      {
        title: '旅游住宿旅游住宿旅游住宿旅游住宿',
      },
      {
        title:
          '旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿旅游住宿',
      },
    ],
  },
]
---

<Layout title="旅游住宿">
  <NavMenu lang={lang} client:load />
  <ScrollingNavbar sNav={sNav} />
  <ImgPro
    listOrData={imgProData}
    ratio="3 / 1"
    btnDisplay={true}
    titleColor="text-light"
    contentColor="text-light"
    titleSize="fs-1"
    childrenSize="fs-4"
    ellipsis="line-ellipsis-small"
    position="positionMiddle"
  />
  <LeftImgRightText
    listOrData={leftImgRightTextList}
    componentTitle="旅游住宿"
    textAlign="text-center"
  />
  <Carousel
    componentTitle="成功案例"
    list={carouselList}
    Children={LeftImgRightText}
    titleTextAlign="text-left"
    textAlign="text-left"
    line="0"
  />
  <VerticalNavigationContent
    list={verticalNavigationContentList}
    ellipsis="line-ellipsis-small"
    btnDisplay={true}
    Children={Text}
    componentTitle="相关资源"
    titleTextAlign="text-left"
    textAlign="text-left"
  />
  <Footer lang={lang} />
</Layout>
