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

const { lang = 'zh' } = Astro.params
const sNav = ['场景化解决方案', '新闻与活动', '相关资源']
const imgProData = {
  url: '//e.huawei.com/-/mediae/images/solutions/digital-site/digital-site-banner-pc.png',
  title: '智慧展馆',
  content: '智慧展馆有智慧',
}
const informationList = [
  {
    id: '1',
    url: 'https://e.huawei.com/-/mediae/images/solutions/campus/office-network/office-network-banner-bequoted.png',
    children: {
      title: '智慧展馆',
      content:
        '智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧',
    },
  },
  {
    id: '2',
    url: 'https://e.huawei.com/-/mediae/images/solutions/campus/sdwan/sdwan-banner-bequoted.jpg',
    children: {
      title: '智慧展馆',
      content:
        '智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧',
    },
  },
  {
    id: '3',
    url: 'https://e.huawei.com/-/mediae/images/solutions/campus/converged-production-network/banner-bequoted.png',
    children: {
      title: '智慧展馆',
      content:
        '智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧',
    },
  },
]
const carouselList = [
  [
    [
      {
        id: '1',
        url: 'https://e.huawei.com/-/mediae/images/home/casestorys/casestorys-driving-bank-of-beijing-digital.jpg',
        children: {
          title: '智慧展馆',
          content:
            '智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧',
        },
      },
      {
        id: '2',
        url: 'https://e.huawei.com/-/mediae/images/home/casestorys/casestorys-wuling-manufacturing-plant.jpg',
        children: {
          title: '智慧展馆',
          content:
            '智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧',
        },
      },
      {
        id: '3',
        url: 'https://e.huawei.com/-/mediae/images/home/casestorys/casestorys-zjhtcm.jpg',
        children: {
          title: '智慧展馆',
          content:
            '智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧智慧展馆有智慧',
        },
      },
    ],
  ],
]
const list = [
  {
    id: '1',
    tabName: '彩页',
    children: [
      {
        title: '智慧展馆智慧展馆智慧展馆智慧展馆智慧展馆智慧展馆',
      },
      {
        title: '智慧展馆智慧展馆智慧展馆智慧展馆智慧展馆',
      },
      {
        title: '智慧展馆智慧展馆智慧展馆智慧展馆智慧展馆智慧展馆',
      },
      {
        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}
    titleSize="fs-1"
    childrenSize="fs-4"
    ellipsis="line-ellipsis-small"
    position="positionMiddle"
  />
  <LeftMiddleRightImgText
    componentTitle="场景化解决方案"
    listOrData={informationList}
    textAlign="text-center"
  />
  <Carousel
    componentTitle="新闻与活动"
    list={carouselList}
    Children={LeftMiddleRightImgText}
    titleTextAlign="text-end"
    textAlign="text-end"
    line="0"
  />
  <VerticalNavigationContent
    list={list}
    ellipsis="line-ellipsis-small"
    btnDisplay={true}
    Children={Text}
    componentTitle="相关资源"
    titleTextAlign="text-left"
    textAlign="text-left"
  />
  <Footer lang={lang} />
</Layout>
