Yansen 1 年之前
父節點
當前提交
be9203a77d
共有 41 個檔案被更改,包括 578 行新增1448 行删除
  1. 3
    28
      src/components/ImgPro.astro
  2. 12
    8
      src/components/LeftImgRightText.astro
  3. 6
    1
      src/components/LeftMiddleRightText.astro
  4. 56
    0
      src/components/NavSubMenu.astro
  5. 5
    0
      src/components/Title/PartTitle.astro
  6. 12
    1
      src/components/Title/SubTitle.astro
  7. 6
    10
      src/components/VerticalNavigationContent.astro
  8. 10
    1
      src/components/children/Carousel.astro
  9. 27
    109
      src/components/children/Text.astro
  10. 7
    2
      src/components/children/Text2.astro
  11. 45
    0
      src/components/children/Text3.astro
  12. 72
    0
      src/components/children/Text4.astro
  13. 57
    0
      src/components/children/Text5.astro
  14. 20
    70
      src/pages/[lang]/about/index.astro
  15. 2
    9
      src/pages/[lang]/concat-us/index.astro
  16. 0
    63
      src/pages/[lang]/detail/BuildingDetail.astro
  17. 0
    119
      src/pages/[lang]/detail/FirstScreenDetail.astro
  18. 0
    23
      src/pages/[lang]/detail/index.astro
  19. 1
    13
      src/pages/[lang]/index.astro
  20. 1
    13
      src/pages/[lang]/news/index.astro
  21. 34
    73
      src/pages/[lang]/product/gov-ent-health/index.astro
  22. 41
    87
      src/pages/[lang]/product/others/index.astro
  23. 4
    36
      src/pages/[lang]/products-solutions/gov-ent-health/bank/custom/index.astro
  24. 4
    36
      src/pages/[lang]/products-solutions/gov-ent-health/bank/index.astro
  25. 4
    36
      src/pages/[lang]/products-solutions/gov-ent-health/gov/civilized-city/index.astro
  26. 4
    36
      src/pages/[lang]/products-solutions/gov-ent-health/gov/index.astro
  27. 4
    43
      src/pages/[lang]/products-solutions/gov-ent-health/healthcare/index.astro
  28. 42
    97
      src/pages/[lang]/products-solutions/index.astro
  29. 4
    40
      src/pages/[lang]/products-solutions/industrial-internet/erp/index.astro
  30. 26
    50
      src/pages/[lang]/products-solutions/industrial-internet/index.astro
  31. 4
    41
      src/pages/[lang]/products-solutions/industrial-internet/mes/index.astro
  32. 4
    35
      src/pages/[lang]/products-solutions/lot/agriculture/index.astro
  33. 6
    53
      src/pages/[lang]/products-solutions/lot/building/index.astro
  34. 3
    24
      src/pages/[lang]/products-solutions/lot/community/index.astro
  35. 3
    34
      src/pages/[lang]/products-solutions/lot/exhibition-all/index.astro
  36. 37
    87
      src/pages/[lang]/products-solutions/lot/index.astro
  37. 3
    36
      src/pages/[lang]/products-solutions/others/crm/index.astro
  38. 3
    29
      src/pages/[lang]/products-solutions/others/eshop/index.astro
  39. 3
    36
      src/pages/[lang]/products-solutions/others/house/index.astro
  40. 3
    43
      src/pages/[lang]/products-solutions/others/shigongli/index.astro
  41. 0
    26
      src/pages/components/FirstScreen.astro

+ 3
- 28
src/components/ImgPro.astro 查看文件

1
 ---
1
 ---
2
 import Img from '@/components/children/Img.astro'
2
 import Img from '@/components/children/Img.astro'
3
-import Text from '@/components/children/Text.astro'
3
+import Text4 from '@/components/children/Text4.astro'
4
 
4
 
5
 const {
5
 const {
6
   listOrData,
6
   listOrData,
7
   url,
7
   url,
8
-  ratio,
9
-  btnDisplay,
10
-  titleSize,
11
-  childrenSize,
12
-  textWeight,
13
-  ellipsis,
8
+  ratio = '3 / 1',
14
   position,
9
   position,
15
-  titleColor,
16
-  contentColor,
17
   href,
10
   href,
18
-  titleHeight,
19
-  pt,
20
-  contentLineHeight,
21
   imgMb,
11
   imgMb,
22
   ...right
12
   ...right
23
 } = Astro.props
13
 } = Astro.props
26
 <!-- 图片Pro版 -->
16
 <!-- 图片Pro版 -->
27
 <div class=`box mb-${imgMb}`>
17
 <div class=`box mb-${imgMb}`>
28
   <Img listOrData={listOrData} ratio={ratio} />
18
   <Img listOrData={listOrData} ratio={ratio} />
29
-  <Text
30
-    contentLineHeight={contentLineHeight}
31
-    pt={pt}
32
-    titleHeight={titleHeight}
33
-    listOrData={listOrData}
34
-    btnDisplay={btnDisplay}
35
-    titleSize={titleSize}
36
-    childrenSize={childrenSize}
37
-    textWeight={textWeight}
38
-    ellipsis={ellipsis}
39
-    position={position}
40
-    titleColor={titleColor}
41
-    contentColor={contentColor}
42
-    href={href}
43
-    {...right}
44
-  />
19
+  <Text4 listOrData={listOrData} position={position} href={href} {...right} />
45
 </div>
20
 </div>
46
 <style>
21
 <style>
47
   .box {
22
   .box {

+ 12
- 8
src/components/LeftImgRightText.astro 查看文件

11
   ...right
11
   ...right
12
 } = Astro.props
12
 } = Astro.props
13
 import Img from '@/components/children/Img.astro'
13
 import Img from '@/components/children/Img.astro'
14
-import Text from '@/components/children/Text.astro'
14
+import Text5 from '@/components/children/Text5.astro'
15
 ---
15
 ---
16
 
16
 
17
 <!-- 左图右文 -->
17
 <!-- 左图右文 -->
18
 <div class=`${componentsBg}`>
18
 <div class=`${componentsBg}`>
19
   <div class="container pb-5">
19
   <div class="container pb-5">
20
-    <div class="text-center pt-5" id={componentTitle} style="font-size:48px">
20
+    <div
21
+      class="text-center pt-5 left-img-right-text-title"
22
+      id={componentTitle}
23
+      style="font-size:48px"
24
+    >
21
       {componentTitle}
25
       {componentTitle}
22
     </div>
26
     </div>
23
     {
27
     {
43
                   </div>
47
                   </div>
44
                   <div class="col-md-6 col-sm-6">
48
                   <div class="col-md-6 col-sm-6">
45
                     <div class="card-body">
49
                     <div class="card-body">
46
-                      <Text
47
-                        listOrData={item?.children}
48
-                        btnDisplay={btnDisplay}
49
-                        ellipsis="line-ellipsis-large"
50
-                        {...right}
51
-                      />
50
+                      <Text5 listOrData={item?.children} {...right} />
52
                     </div>
51
                     </div>
53
                   </div>
52
                   </div>
54
                 </div>
53
                 </div>
61
   </div>
60
   </div>
62
 </div>
61
 </div>
63
 <style>
62
 <style>
63
+  @media (max-width: 768px) {
64
+    .left-img-right-text-title {
65
+      font-size: 36px !important;
66
+    }
67
+  }
64
   .text-underline {
68
   .text-underline {
65
     display: inline-block;
69
     display: inline-block;
66
     width: 100px;
70
     width: 100px;

+ 6
- 1
src/components/LeftMiddleRightText.astro 查看文件

16
 <div class=`${componentsBg}`>
16
 <div class=`${componentsBg}`>
17
   <div class="container">
17
   <div class="container">
18
     <div
18
     <div
19
-      class=`${titleTextAlign} pt-5`
19
+      class=`${titleTextAlign} pt-5 left-middle-right-text-title`
20
       style="font-size:48px"
20
       style="font-size:48px"
21
       id={componentTitle}
21
       id={componentTitle}
22
     >
22
     >
43
   </div>
43
   </div>
44
 </div>
44
 </div>
45
 <style>
45
 <style>
46
+  @media (max-width: 768px) {
47
+    .left-middle-right-text-title {
48
+      font-size: 36px !important;
49
+    }
50
+  }
46
   .text-underline {
51
   .text-underline {
47
     display: inline-block;
52
     display: inline-block;
48
     width: 100px;
53
     width: 100px;

+ 56
- 0
src/components/NavSubMenu.astro 查看文件

1
+---
2
+const { lang = 'zh', list } = Astro.props
3
+---
4
+
5
+<div class="container" style="margin-top: 120px;">
6
+  <div class="row g-5 pb-5 justify-content-center">
7
+    {
8
+      list?.map((item, index) => (
9
+        <div class="col-md-3 col-sm-12" id={item.id}>
10
+          <div
11
+            class="card border-0 text-center my-1"
12
+            style="background-color:#f8f8f8;"
13
+          >
14
+            <a
15
+              class="inline-block p-5 link-dark menu-a"
16
+              href={`/${lang}${item.href}`}
17
+              style="font-size: 28px;"
18
+            >
19
+              <div class="pb-4">
20
+                <img
21
+                  src={`${item.url}`}
22
+                  style="width: 5vw;"
23
+                  class="products-solutions-md-img"
24
+                />
25
+              </div>
26
+              {item.title}
27
+              <div class="menu-content pt-3">{item.subTitle}</div>
28
+            </a>
29
+          </div>
30
+        </div>
31
+      ))
32
+    }
33
+  </div>
34
+</div>
35
+
36
+<style>
37
+  @media (max-width: 768px) {
38
+    .products-solutions-md-img {
39
+      width: 15vw !important;
40
+    }
41
+  }
42
+  .menu-a {
43
+    text-decoration: none;
44
+    cursor: pointer;
45
+  }
46
+  .menu-content {
47
+    font-size: 16px;
48
+    line-height: 1.95;
49
+    color: #666;
50
+    display: -webkit-box;
51
+    -webkit-line-clamp: 3;
52
+    -webkit-box-orient: vertical;
53
+    overflow: hidden;
54
+    text-overflow: ellipsis;
55
+  }
56
+</style>

+ 5
- 0
src/components/Title/PartTitle.astro 查看文件

9
 </h1>
9
 </h1>
10
 
10
 
11
 <style lang="less">
11
 <style lang="less">
12
+  @media (max-width: 768px) {
13
+    .part-title {
14
+      font-size: 36px !important;
15
+    }
16
+  }
12
   .part-title {
17
   .part-title {
13
     font-size: 48px;
18
     font-size: 48px;
14
     line-height: 1.5;
19
     line-height: 1.5;

+ 12
- 1
src/components/Title/SubTitle.astro 查看文件

20
 }
20
 }
21
 ---
21
 ---
22
 
22
 
23
-<p class:list={['text-secondary lh-lg', className]} style={style}>
23
+<p
24
+  class:list={['text-secondary lh-lg', className]}
25
+  style={style}
26
+  class="sub-title--p"
27
+>
24
   {text}
28
   {text}
25
 </p>
29
 </p>
30
+<style>
31
+  @media (max-width: 768px) {
32
+    .sub-title--p {
33
+      height: 24vw !important;
34
+    }
35
+  }
36
+</style>

+ 6
- 10
src/components/VerticalNavigationContent.astro 查看文件

16
 <div class=`${componentsBg}`>
16
 <div class=`${componentsBg}`>
17
   <div class="container">
17
   <div class="container">
18
     <div
18
     <div
19
-      class={`${titleTextAlign} pt-5`}
19
+      class={`${titleTextAlign} pt-5 vertical-navigation-content-title`}
20
       style="font-size: 48px;"
20
       style="font-size: 48px;"
21
       id={componentTitle}
21
       id={componentTitle}
22
     >
22
     >
83
   </div>
83
   </div>
84
 </div>
84
 </div>
85
 <style>
85
 <style>
86
-  /* .vertical-a {
87
-    width: 100%;
88
-    display: -webkit-box;
89
-    height: 2.2em;
90
-    -webkit-line-clamp: 1;
91
-    -webkit-box-orient: vertical;
92
-    overflow: hidden;
93
-    text-overflow: ellipsis;
94
-  } */
86
+  @media (max-width: 768px) {
87
+    .vertical-navigation-content-title {
88
+      font-size: 36px !important;
89
+    }
90
+  }
95
   .nav-link {
91
   .nav-link {
96
     color: #787878;
92
     color: #787878;
97
   }
93
   }

+ 10
- 1
src/components/children/Carousel.astro 查看文件

16
 <!-- 轮播 -->
16
 <!-- 轮播 -->
17
 <div class=`py-5 ${componentsBg}` style="position:relative;">
17
 <div class=`py-5 ${componentsBg}` style="position:relative;">
18
   <div class="container">
18
   <div class="container">
19
-    <div class={`${titleTextAlign}`} style="font-size:48px" id={componentTitle}>
19
+    <div
20
+      class={`${titleTextAlign} carousel-title`}
21
+      style="font-size:48px"
22
+      id={componentTitle}
23
+    >
20
       {componentTitle}
24
       {componentTitle}
21
     </div>
25
     </div>
22
     <div class={`${textAlign}`}><div class="text-underline"></div></div>
26
     <div class={`${textAlign}`}><div class="text-underline"></div></div>
74
   </div>
78
   </div>
75
 </div>
79
 </div>
76
 <style>
80
 <style>
81
+  @media (max-width: 768px) {
82
+    .carousel-title {
83
+      font-size: 36px !important;
84
+    }
85
+  }
77
   .text-underline {
86
   .text-underline {
78
     display: inline-block;
87
     display: inline-block;
79
     width: 100px;
88
     width: 100px;

+ 27
- 109
src/components/children/Text.astro 查看文件

1
 ---
1
 ---
2
 const {
2
 const {
3
   listOrData,
3
   listOrData,
4
-  titleSize = '28',
5
-  childrenSize = '16',
6
-  contentColor = 'text-secondary',
7
-  textWeight,
8
-  ellipsis,
9
-  btnDisplay = true,
10
-  btn2,
11
-  textUnderline,
12
-  position,
4
+  contentTextSize = '16',
5
+  textWeight = 'fw-bold',
13
   titleColor,
6
   titleColor,
14
-  href = '#',
15
-  titleHeight = '2.8',
16
-  contentHeight = '7',
17
-  lineHeight,
18
   contentLineHeight = '1.95',
7
   contentLineHeight = '1.95',
19
-  pt = '1',
20
-  px = '0',
21
-  top = '60',
22
-  backgroundColor,
23
-  aMb,
24
-  rounded,
25
-  pLine = 'title-line-ellipsis',
26
-  isContent = true,
27
-  pMb,
28
-  subPmb,
29
-  animation,
30
-  textP,
8
+  contentTextPt = '1',
9
+  textBoxPx = '0',
10
+  textpmb,
11
+  contenttextpmb,
12
+  boxtextpb,
13
+  contentTextColor = '#666',
31
 } = Astro.props
14
 } = Astro.props
32
-import LinkBtn2 from '@/components/Button/LinkBtn2.astro'
33
 ---
15
 ---
34
 
16
 
35
-<!-- 文本 -->
36
-<div
37
-  class=`${position} px-${px} rounded-${rounded} ${animation} pb-${textP} textHover`
38
-  style=`top:${top}%!important;background-color:${backgroundColor};line-height:${lineHeight}`
39
->
17
+<!-- 联系我们文本 -->
18
+<div class=`px-${textBoxPx} pb-${boxtextpb}`>
40
   <p
19
   <p
41
-    class=`${textWeight} ${titleColor} mb-0 pt-5 ${pLine} mb-${pMb}`
42
-    style=`font-size:${titleSize}px;height:${titleHeight}em;`
20
+    class=`${textWeight} ${titleColor} mb-0 pt-5 title-text-line-ellipsis mb-${textpmb} p-title`
43
   >
21
   >
44
     {listOrData?.title}
22
     {listOrData?.title}
45
   </p>
23
   </p>
46
-  {textUnderline && <div class="text-underline" />}
47
-  {
48
-    isContent && (
49
-      <p
50
-        class={`${ellipsis} pt-${pt} p-content mb-${subPmb}`}
51
-        style={`font-size:${childrenSize}px;color:#666;line-height:${contentLineHeight};height:${contentHeight}em;`}
52
-      >
53
-        {listOrData?.content}
54
-      </p>
55
-    )
56
-  }
57
-  {
58
-    btnDisplay && (
59
-      <a class={`a-link mb-${aMb}`} href={`${href}`}>
60
-        了解更多
61
-      </a>
62
-    )
63
-  }
64
-  {btn2 && <LinkBtn2>了解更多</LinkBtn2>}
24
+
25
+  <p
26
+    class={`content-text-ellipsis pt-${contentTextPt} p-content mb-${contenttextpmb}`}
27
+    style={`font-size:${contentTextSize}px;color:${contentTextColor};line-height:${contentLineHeight};`}
28
+  >
29
+    {listOrData?.content}
30
+  </p>
65
 </div>
31
 </div>
66
 
32
 
67
 <style>
33
 <style>
34
+  @media (max-width: 768px) {
35
+    /* .p-title {
36
+    } */
37
+  }
68
   @media (max-width: 768px) {
38
   @media (max-width: 768px) {
69
     .p-content {
39
     .p-content {
70
       font-size: 1rem !important;
40
       font-size: 1rem !important;
41
+      height: 24vw !important;
71
     }
42
     }
72
   }
43
   }
73
-  .text-underline {
74
-    width: 100px;
75
-    border-bottom: 2px solid #c7000b;
76
-    margin-left: 50px;
77
-    margin-bottom: 1em;
78
-  }
79
-  .titleLineEllipsis2 {
80
-    display: -webkit-box;
81
-    -webkit-line-clamp: 2;
82
-    -webkit-box-orient: vertical;
83
-    overflow: hidden;
84
-    text-overflow: ellipsis;
85
-  }
86
-  .title-line-ellipsis {
44
+  .title-text-line-ellipsis {
87
     display: -webkit-box;
45
     display: -webkit-box;
88
     -webkit-line-clamp: 1;
46
     -webkit-line-clamp: 1;
89
     -webkit-box-orient: vertical;
47
     -webkit-box-orient: vertical;
90
     overflow: hidden;
48
     overflow: hidden;
91
     text-overflow: ellipsis;
49
     text-overflow: ellipsis;
50
+    font-size: 24px;
92
   }
51
   }
93
-  .line-ellipsis-small {
52
+  .content-text-ellipsis {
94
     display: -webkit-box;
53
     display: -webkit-box;
95
-    height: 7em;
54
+    height: 6em;
96
     -webkit-line-clamp: 3;
55
     -webkit-line-clamp: 3;
97
     -webkit-box-orient: vertical;
56
     -webkit-box-orient: vertical;
98
     overflow: hidden;
57
     overflow: hidden;
99
     text-overflow: ellipsis;
58
     text-overflow: ellipsis;
100
   }
59
   }
101
-  .line-ellipsis-large {
102
-    display: -webkit-box;
103
-    height: 17em;
104
-    -webkit-line-clamp: 8;
105
-    -webkit-box-orient: vertical;
106
-    overflow: hidden;
107
-    text-overflow: ellipsis;
108
-  }
109
-  .positionMiddle {
110
-    position: absolute;
111
-    top: 60%;
112
-    left: 50%;
113
-    transform: translate(-50%, -50%);
114
-  }
115
-  .positionBottom {
116
-    position: absolute;
117
-    top: 68%;
118
-    left: 50%;
119
-    transform: translate(-50%, -50%);
120
-  }
121
-  .a-link {
122
-    display: inline-block;
123
-    font-size: 16px;
124
-    padding: 11px 28px;
125
-    border: 2px solid #c7000b;
126
-    border-radius: 25px;
127
-    text-decoration: none;
128
-    color: #c7000b;
129
-    cursor: pointer;
130
-  }
131
-  .a-link:hover {
132
-    background-color: #c7000b;
133
-    color: white;
134
-  }
135
-  .animation {
136
-    border: 1px solid white;
137
-  }
138
-  .animation:hover {
139
-    border: 1px solid #ddd;
140
-    cursor: pointer;
141
-  }
142
 </style>
60
 </style>

+ 7
- 2
src/components/children/Text2.astro 查看文件

9
 } = Astro.props
9
 } = Astro.props
10
 ---
10
 ---
11
 
11
 
12
-{
12
+<!-- logo文本 -->{
13
   listOrData?.map((item, index) => (
13
   listOrData?.map((item, index) => (
14
     <div id={`${item.id}`}>
14
     <div id={`${item.id}`}>
15
       <div class="text-center pt-5">
15
       <div class="text-center pt-5">
16
-        <img src={item?.url} style="width: 5vw;" />
16
+        <img src={item?.url} style="width: 5vw;" class="logoimg" />
17
       </div>
17
       </div>
18
       <p
18
       <p
19
         class={`mb-0 pt-4 title-line-ellipsis text-center`}
19
         class={`mb-0 pt-4 title-line-ellipsis text-center`}
32
 }
32
 }
33
 
33
 
34
 <style>
34
 <style>
35
+  @media (max-width: 768px) {
36
+    .logoimg {
37
+      width: 15vw !important;
38
+    }
39
+  }
35
   .line-ellipsis-small {
40
   .line-ellipsis-small {
36
     display: -webkit-box;
41
     display: -webkit-box;
37
     -webkit-line-clamp: 1;
42
     -webkit-line-clamp: 1;

+ 45
- 0
src/components/children/Text3.astro 查看文件

1
+---
2
+const {
3
+  listOrData,
4
+  titleLineHeight = '1.8',
5
+  titleSize = 20,
6
+  boxpx = '5',
7
+  backgroundColor = '#f8f8f8',
8
+  titlepmb = '3',
9
+  boxpb = '5',
10
+  titleHeight = '6',
11
+  boxrounded = '3',
12
+} = Astro.props
13
+import LinkBtn2 from '@/components/Button/LinkBtn2.astro'
14
+---
15
+
16
+<!-- 相关资源的文本组件 -->
17
+<div
18
+  class=`px-${boxpx} animation pb-${boxpb} rounded-${boxrounded}`
19
+  style=`background-color:${backgroundColor};`
20
+>
21
+  <p
22
+    class=` mb-0 pt-5 verticalTitleLineEllipsis mb-${titlepmb} p-title`
23
+    style=`font-size:${titleSize}px;line-height:${titleLineHeight};height:${titleHeight}em;`
24
+  >
25
+    {listOrData?.title}
26
+  </p>
27
+  <LinkBtn2>了解更多</LinkBtn2>
28
+</div>
29
+
30
+<style>
31
+  .verticalTitleLineEllipsis {
32
+    display: -webkit-box;
33
+    -webkit-line-clamp: 2;
34
+    -webkit-box-orient: vertical;
35
+    overflow: hidden;
36
+    text-overflow: ellipsis;
37
+  }
38
+  .animation {
39
+    border: 1px solid white;
40
+  }
41
+  .animation:hover {
42
+    border: 1px solid #ddd;
43
+    cursor: pointer;
44
+  }
45
+</style>

+ 72
- 0
src/components/children/Text4.astro 查看文件

1
+---
2
+const {
3
+  listOrData,
4
+  titleSize = '52px',
5
+  childrenSize = '24',
6
+  textWeight,
7
+  position = 'positionMiddle',
8
+  titleHeight = '2.5em',
9
+  singlecontentHeight = '7',
10
+  singlept = '0',
11
+  singlepx = '0',
12
+  top = '50',
13
+  singlecolor = '#666',
14
+} = Astro.props
15
+---
16
+
17
+<!-- 单图文本 -->
18
+<div class=`${position} px-${singlepx}` style=`top:${top}%!important;`>
19
+  <p class=`${textWeight} mb-0 pt-5 title-line-ellipsis p-title`>
20
+    {listOrData?.title}
21
+  </p>
22
+  <p
23
+    class={`line-ellipsis-small pt-${singlept} p-content`}
24
+    style={`font-size:${childrenSize}px;color:${singlecolor};height:${singlecontentHeight}em;`}
25
+  >
26
+    {listOrData?.content}
27
+  </p>
28
+</div>
29
+
30
+<style define:vars={{ pTitleSize: titleSize, pTitleHeight: titleHeight }}>
31
+  @media (max-width: 768px) {
32
+    .p-title {
33
+      font-size: 36px !important;
34
+      height: 3em !important;
35
+    }
36
+  }
37
+  @media (max-width: 768px) {
38
+    .p-content {
39
+      font-size: 1rem !important;
40
+      height: 18vw !important;
41
+    }
42
+  }
43
+  .title-line-ellipsis {
44
+    display: -webkit-box;
45
+    -webkit-line-clamp: 1;
46
+    -webkit-box-orient: vertical;
47
+    overflow: hidden;
48
+    text-overflow: ellipsis;
49
+    font-size: var(--pTitleSize);
50
+    height: var(--pTitleHeight);
51
+  }
52
+  .line-ellipsis-small {
53
+    display: -webkit-box;
54
+    height: 7em;
55
+    -webkit-line-clamp: 3;
56
+    -webkit-box-orient: vertical;
57
+    overflow: hidden;
58
+    text-overflow: ellipsis;
59
+  }
60
+  .positionMiddle {
61
+    position: absolute;
62
+    top: 60%;
63
+    left: 50%;
64
+    transform: translate(-50%, -50%);
65
+  }
66
+  .positionBottom {
67
+    position: absolute;
68
+    top: 68%;
69
+    left: 50%;
70
+    transform: translate(-50%, -50%);
71
+  }
72
+</style>

+ 57
- 0
src/components/children/Text5.astro 查看文件

1
+---
2
+const {
3
+  listOrData,
4
+  rightpt = '4',
5
+  rightpx = '5',
6
+  rightpmb = '5',
7
+  rightContentColor = '#666',
8
+} = Astro.props
9
+import LinkBtn2 from '@/components/Button/LinkBtn2.astro'
10
+---
11
+
12
+<!-- 左右图文文本 -->
13
+<div class=`px-${rightpx}`>
14
+  <p class=`mb-0 pt-5 right-title-line-ellipsis right-md-p-title`>
15
+    {listOrData?.title}
16
+  </p>
17
+  <p
18
+    class={`right-content-line-ellipsis pt-${rightpt} right-md-p-content mb-${rightpmb}`}
19
+    style={`color:${rightContentColor};`}
20
+  >
21
+    {listOrData?.content}
22
+  </p>
23
+  <LinkBtn2>了解更多</LinkBtn2>
24
+</div>
25
+
26
+<style>
27
+  @media (max-width: 768px) {
28
+    .right-md-p-title {
29
+      /* font-size: 36px !important;
30
+      height: 3em !important; */
31
+    }
32
+  }
33
+  @media (max-width: 768px) {
34
+    .right-md-p-content {
35
+      /* font-size: 1rem !important;
36
+      height: 20vw !important; */
37
+    }
38
+  }
39
+  .right-title-line-ellipsis {
40
+    display: -webkit-box;
41
+    -webkit-line-clamp: 1;
42
+    -webkit-box-orient: vertical;
43
+    overflow: hidden;
44
+    text-overflow: ellipsis;
45
+    font-size: 34px;
46
+  }
47
+  .right-content-line-ellipsis {
48
+    display: -webkit-box;
49
+    font-size: 16px;
50
+    height: 17em;
51
+    -webkit-line-clamp: 8;
52
+    -webkit-box-orient: vertical;
53
+    overflow: hidden;
54
+    text-overflow: ellipsis;
55
+    line-height: 1.95;
56
+  }
57
+</style>

+ 20
- 70
src/pages/[lang]/about/index.astro 查看文件

1
 ---
1
 ---
2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
3
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
4
-import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
4
+import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
5
 import Carousel from '@/components/children/Carousel.astro'
5
 import Carousel from '@/components/children/Carousel.astro'
6
 import ImgPro from '@/components/ImgPro.astro'
6
 import ImgPro from '@/components/ImgPro.astro'
7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
31
 const informationList2 = [
31
 const informationList2 = [
32
   {
32
   {
33
     id: '1',
33
     id: '1',
34
-    url: '/public/image/building/control.png',
35
-    children: {
36
-      title: '案例统计',
37
-      content:
38
-        '案例统计案例统计案例统计案例统计案例统计案例统计案例统计案例统计',
39
-    },
34
+    link: 'http://www.baidu.com',
35
+    thumb: '/public/image/building/control.png',
36
+    title: '案例统计',
37
+    subTitle:
38
+      '案例统计案例统计案例统计案例统计案例统计案例统计案例统计案例统计',
40
   },
39
   },
41
   {
40
   {
42
     id: '2',
41
     id: '2',
43
-    url: '/public/image/building/identify.png',
44
-    children: {
45
-      title: '案例统计',
46
-      content:
47
-        '案例统计案例统计案例统计案例统计案例统计案例统计案例统计案例统计案例统计',
48
-    },
42
+    link: 'http://www.baidu.com',
43
+    thumb: '/public/image/building/identify.png',
44
+    title: '案例统计',
45
+    subTitle:
46
+      '案例统计案例统计案例统计案例统计案例统计案例统计案例统计案例统计',
49
   },
47
   },
50
   {
48
   {
51
     id: '3',
49
     id: '3',
52
-    url: '/public/image/building/identify.png',
53
-    children: {
54
-      title: '案例统计',
55
-      content:
56
-        '案例统计案例统计案例统计案例统计案例统计案例统计案例统计案例统计案例统计',
57
-    },
50
+    link: 'http://www.baidu.com',
51
+    thumb: '/public/image/building/identify.png',
52
+    title: '案例统计',
53
+    subTitle:
54
+      '案例统计案例统计案例统计案例统计案例统计案例统计案例统计案例统计',
58
   },
55
   },
59
 ]
56
 ]
60
 const imgProData2 = {
57
 const imgProData2 = {
72
 ---
69
 ---
73
 
70
 
74
 <Layout title="关于云致">
71
 <Layout title="关于云致">
75
-  <ImgPro
76
-    contentLineHeight="1.5"
77
-    titleHeight="2.5"
78
-    listOrData={imgProData}
79
-    titleColor="text-dark"
80
-    contentColor="text-secondary"
81
-    ratio="3 / 1"
82
-    titleSize="52"
83
-    childrenSize="24"
84
-    ellipsis="line-ellipsis-small"
85
-    position="positionMiddle"
86
-    btnDisplay={false}
87
-  />
72
+  <ImgPro listOrData={imgProData} />
88
   <LeftImgRightText
73
   <LeftImgRightText
89
     listOrData={data}
74
     listOrData={data}
90
     componentTitle="发展背景"
75
     componentTitle="发展背景"
91
     textAlign="text-center"
76
     textAlign="text-center"
92
-    titleHeight="3.2"
93
-    px="5"
94
-    pt="4"
95
-    contentHeight="17"
96
     componentsBg="bg-grey"
77
     componentsBg="bg-grey"
97
-    subPmb="5"
98
-    btnDisplay={false}
99
-    btn2={true}
100
   />
78
   />
101
-  <LeftMiddleRightImgText
79
+  <LeftMiddleRightImgTextPro
102
     componentTitle="案例统计"
80
     componentTitle="案例统计"
103
     listOrData={informationList2}
81
     listOrData={informationList2}
104
-    textAlign="text-center"
105
-    titleHeight="3.2"
106
-    pt="4"
107
-    px="5"
108
     componentsBg="bg-img"
82
     componentsBg="bg-img"
109
-    subPmb="5"
110
-  />
111
-  <ImgPro
112
-    listOrData={imgProData2}
113
-    ratio="3 / 1"
114
-    titleSize="52"
115
-    childrenSize="24"
116
-    ellipsis="line-ellipsis-small"
117
-    position="positionMiddle"
118
-    btnDisplay={false}
119
-    titleHeight="2.5"
120
-    contentLineHeight="1.5"
121
-    top="50"
122
-    imgMb="5"
123
-  />
124
-  <ImgPro
125
-    listOrData={imgProData3}
126
-    ratio="3 / 1"
127
-    titleSize="52"
128
-    childrenSize="24"
129
-    ellipsis="line-ellipsis-small"
130
-    position="positionMiddle"
131
-    btnDisplay={false}
132
-    titleHeight="2.5"
133
-    contentLineHeight="1.5"
134
-    top="50"
135
   />
83
   />
84
+  <ImgPro listOrData={imgProData2} imgMb="5" />
85
+  <ImgPro listOrData={imgProData3} imgMb="5" />
136
   <Footer lang={lang} />
86
   <Footer lang={lang} />
137
 </Layout>
87
 </Layout>

+ 2
- 9
src/pages/[lang]/concat-us/index.astro 查看文件

10
 const text = [
10
 const text = [
11
   {
11
   {
12
     title: '技术支持',
12
     title: '技术支持',
13
-    content: '提交项目需求这一块那一块',
13
+    content: '提交项目需求这一块那一块一块',
14
   },
14
   },
15
   {
15
   {
16
     title: '云致合作伙伴咨询',
16
     title: '云致合作伙伴咨询',
33
           text.map((item, index) => (
33
           text.map((item, index) => (
34
             <div class="col-md-5">
34
             <div class="col-md-5">
35
               <div class="card border-0 ps-4 pb-4">
35
               <div class="card border-0 ps-4 pb-4">
36
-                <Text
37
-                  textWeight="fw-bold"
38
-                  titleSize="24"
39
-                  ellipsis="line-ellipsis-small"
40
-                  titleHeight="'3.2"
41
-                  listOrData={item}
42
-                  btnDisplay={false}
43
-                />
36
+                <Text listOrData={item} />
44
               </div>
37
               </div>
45
             </div>
38
             </div>
46
           ))
39
           ))

+ 0
- 63
src/pages/[lang]/detail/BuildingDetail.astro 查看文件

1
----
2
-import Layout from '@/layouts/Layout.astro'
3
-import ImgPro from '@/components/ImgPro.astro'
4
-import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5
-import Img from '@/components/children/Img.astro'
6
-import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
-import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
8
-import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
9
-import Footer from '@/components/Footer.astro'
10
-
11
-const { lang = 'zh' } = Astro.params
12
-
13
-const sNav = ['使能百模千态', '智算万数', '智联万物']
14
-
15
-const imgProData = {
16
-  url: '//e.huawei.com/-/mediae/images/solutions/campus/campus/banner-pc.jpg',
17
-  title: '智慧楼宇',
18
-  content: '楼宇智能化',
19
-}
20
-
21
-const informationList2 = [
22
-  {
23
-    id: '1',
24
-    url: '/public/image/building/detail/lighting.png',
25
-    children: {
26
-      title: '智能照明',
27
-    },
28
-  },
29
-  {
30
-    id: '2',
31
-    url: '/public/image/building/detail/havc.png',
32
-    children: {
33
-      title: '智能暖通',
34
-    },
35
-  },
36
-  {
37
-    id: '3',
38
-    url: '/public/image/building/detail/control.png',
39
-    children: {
40
-      title: '能耗管控',
41
-    },
42
-  },
43
-]
44
----
45
-
46
-<Layout title="智慧楼宇详情">
47
-  <ScrollingNavbar sNav={sNav} />
48
-  <ImgPro
49
-    listOrData={imgProData}
50
-    ratio="3 / 1"
51
-    titleSize="fs-1"
52
-    childrenSize="fs-4"
53
-    textWeight="fw-bold"
54
-    ellipsis="line-ellipsis-small"
55
-    position="positionMiddle"
56
-  />
57
-  <LeftMiddleRightImgText
58
-    componentTitle="智能识别便捷通行"
59
-    listOrData={informationList2}
60
-    textAlign="text-center"
61
-  />
62
-  <Footer lang={lang} />
63
-</Layout>

+ 0
- 119
src/pages/[lang]/detail/FirstScreenDetail.astro 查看文件

1
----
2
-import Layout from '@/layouts/Layout.astro'
3
-import ImgPro from '@/components/ImgPro.astro'
4
-import Img from '@/components/children/Img.astro'
5
-import LeftImgRightText from '@/components/LeftImgRightText.astro'
6
-import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
7
-import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
8
-import Footer from '@/components/Footer.astro'
9
-
10
-const { lang = 'zh' } = Astro.params
11
-
12
-const sNav = ['使能百模千态', '智算万数', '智联万物']
13
-
14
-const imgProData = {
15
-  url: '//e.huawei.com/-/mediae/images/home/banner/jiasu-banner-pc1.jpg',
16
-  title: '首屏详情页',
17
-  content: '首屏详情页首屏详情页首屏详情页首屏详情页首屏详情页',
18
-}
19
-const leftImgRightTextData = [
20
-  {
21
-    id: '1',
22
-    url: 'https://e.huawei.com/topic/sitecore/new-value-together/img/architecture/jiagoutu-cn.png',
23
-    children: {
24
-      title: '首屏详情页左图右文',
25
-      content:
26
-        '文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字',
27
-    },
28
-  },
29
-]
30
-
31
-const leftImgRightTextData2 = [
32
-  {
33
-    id: '1',
34
-    url: 'https://e.huawei.com/topic/sitecore/new-value-together/img/zhilian-everything/img-03.jpg',
35
-    children: {
36
-      title: '首屏详情页左图右文',
37
-      content:
38
-        '文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字文字',
39
-    },
40
-  },
41
-]
42
-const list = [
43
-  {
44
-    id: '1',
45
-    tabName: '盘古大模型',
46
-    children: [
47
-      {
48
-        url: 'https://e.huawei.com/topic/sitecore/new-value-together/img/intelligent-calculation/pangu.jpg',
49
-      },
50
-    ],
51
-  },
52
-  {
53
-    id: '2',
54
-    tabName: '云致云',
55
-    children: [
56
-      {
57
-        url: 'https://e.huawei.com/topic/sitecore/new-value-together/img/intelligent-calculation/p-02.jpg',
58
-      },
59
-    ],
60
-  },
61
-  {
62
-    id: '3',
63
-    tabName: '上岸',
64
-    children: [
65
-      {
66
-        url: 'https://e.huawei.com/topic/sitecore/new-value-together/img/intelligent-calculation/p-03.jpg',
67
-      },
68
-    ],
69
-  },
70
-]
71
-
72
-const imgProData2 = {
73
-  url: 'https://e.huawei.com/topic/sitecore/new-value-together/img/partner/background-pc.jpg',
74
-  title: '面向中小企业',
75
-  content:
76
-    '未来5年,90%的中小企业将通过数字化和智能化构筑核心竞争力。面向中小企业,华为在销服体系和研发体系进行能力重构,完善流程和IT工具,带来更多深入场景的解决方案,并推出了分销子品牌“华为坤灵”,打造更多适销易用的产品。',
77
-}
78
----
79
-
80
-<Layout title="首屏">
81
-  <ScrollingNavbar sNav={sNav} />
82
-  <ImgPro
83
-    listOrData={imgProData}
84
-    ratio="16 / 9"
85
-    titleSize="fs-1"
86
-    childrenSize="fs-4"
87
-    textWeight="fw-bold"
88
-    ellipsis="line-ellipsis-small"
89
-    position="positionBottom"
90
-  />
91
-  <LeftImgRightText
92
-    listOrData={leftImgRightTextData}
93
-    componentTitle="使能百模千态"
94
-    textAlign="text-center"
95
-    btnDisplay={false}
96
-  />
97
-  <VerticalNavigationContent
98
-    mdSize="12"
99
-    list={list}
100
-    Children={Img}
101
-    componentTitle="智算万数"
102
-    textAlign="text-start"
103
-  />
104
-  <LeftImgRightText
105
-    listOrData={leftImgRightTextData2}
106
-    componentTitle="智联万物"
107
-    textAlign="text-center"
108
-    btnDisplay={false}
109
-  />
110
-  <ImgPro
111
-    listOrData={imgProData2}
112
-    ratio="16 / 9"
113
-    titleSize="fs-1"
114
-    childrenSize="fs-4"
115
-    ellipsis="line-ellipsis-small"
116
-    position="positionMiddle"
117
-  />
118
-  <Footer lang={lang} />
119
-</Layout>

+ 0
- 23
src/pages/[lang]/detail/index.astro 查看文件

87
 <Layout>
87
 <Layout>
88
   <ScrollingNavbar sNav={ids} />
88
   <ScrollingNavbar sNav={ids} />
89
 
89
 
90
-  <!-- <ImgPro
91
-    listOrData={imgProData}
92
-    titleColor="text-dark"
93
-    contentColor="text-secondary"
94
-    ratio="3 / 1"
95
-    titleSize="fs-1"
96
-    childrenSize="fs-4"
97
-    ellipsis="line-ellipsis-small"
98
-    position="positionMiddle"
99
-  />
100
-  <LeftImgRightText
101
-    listOrData={data}
102
-    componentTitle="发展背景"
103
-    textAlign="text-center"
104
-    btnDisplay={false}
105
-  />
106
-  <LeftMiddleRightImgText
107
-    componentTitle="案例统计"
108
-    listOrData={informationList2}
109
-    textAlign="text-center"
110
-    btnDisplay={false}
111
-  /> -->
112
-
113
   <div class="container-fulid" style="margin-top: 9rem;background-color:#fff">
90
   <div class="container-fulid" style="margin-top: 9rem;background-color:#fff">
114
     <div class="container p-5">
91
     <div class="container p-5">
115
       <div style="word-break:break-word">
92
       <div style="word-break:break-word">

+ 1
- 13
src/pages/[lang]/index.astro 查看文件

191
 
191
 
192
 <Layout title="官网">
192
 <Layout title="官网">
193
   <ImgPro
193
   <ImgPro
194
-    titleHeight="2.5"
195
-    contentLineHeight="1.5"
196
     listOrData={imgProData}
194
     listOrData={imgProData}
197
     ratio="16 / 9"
195
     ratio="16 / 9"
198
-    titleSize="60"
199
-    childrenSize="24"
196
+    titleSize="60px"
200
     textWeight="fw-bold"
197
     textWeight="fw-bold"
201
-    ellipsis="line-ellipsis-small"
202
     position="positionBottom"
198
     position="positionBottom"
203
-    btnDisplay={false}
204
     top="68"
199
     top="68"
205
   />
200
   />
206
   <LeftImgRightText
201
   <LeftImgRightText
207
     listOrData={leftImgRightTextData}
202
     listOrData={leftImgRightTextData}
208
     componentTitle="产品与解决方案"
203
     componentTitle="产品与解决方案"
209
     textAlign="text-center"
204
     textAlign="text-center"
210
-    titleSize="34"
211
-    pt="4"
212
-    px="5"
213
-    contentHeight="17"
214
-    subPmb="5"
215
-    btnDisplay={false}
216
-    btn2={true}
217
   />
205
   />
218
   <LeftMiddleRightImgTextPro listOrData={caseList} componentTitle="案例展示" />
206
   <LeftMiddleRightImgTextPro listOrData={caseList} componentTitle="案例展示" />
219
   <LeftMiddleRightImgTextPro
207
   <LeftMiddleRightImgTextPro

+ 1
- 13
src/pages/[lang]/news/index.astro 查看文件

43
 ---
43
 ---
44
 
44
 
45
 <Layout title="最新资讯">
45
 <Layout title="最新资讯">
46
-  <ImgPro
47
-    listOrData={imgProData}
48
-    titleColor="text-dark"
49
-    contentColor="text-secondary"
50
-    ratio="3 / 1"
51
-    titleSize="52"
52
-    childrenSize="24"
53
-    ellipsis="line-ellipsis-small"
54
-    position="positionMiddle"
55
-    btnDisplay={false}
56
-    titleHeight="2.5"
57
-    contentLineHeight="1.5"
58
-  />
46
+  <ImgPro listOrData={imgProData} />
59
   <List text={text} />
47
   <List text={text} />
60
   <Footer lang={lang} />
48
   <Footer lang={lang} />
61
 </Layout>
49
 </Layout>

+ 34
- 73
src/pages/[lang]/product/gov-ent-health/index.astro 查看文件

1
 ---
1
 ---
2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
+import NavSubMenu from '@/components/NavSubMenu.astro'
3
 import Footer from '@/components/Footer.astro'
4
 import Footer from '@/components/Footer.astro'
4
 const { lang = 'zh' } = Astro.params
5
 const { lang = 'zh' } = Astro.params
6
+
7
+const list = [
8
+  {
9
+    id: '1',
10
+    href: '/products-solutions/gov-ent-health/gov',
11
+    url: '/public/menu/gov-ent-health/gov.png',
12
+    title: '政务服务',
13
+    subTitle:
14
+      '各级政府、各相关部门及事业单位,根据法律法规,为社会团体、企事业单位和个人提供的许可、确认、裁决、奖励、处罚等行政服务。',
15
+  },
16
+  {
17
+    id: '2',
18
+    href: '/products-solutions/gov-ent-health/bank',
19
+    url: '/public/menu/gov-ent-health/bank.png',
20
+    title: '银行业务',
21
+    subTitle:
22
+      '各级政府、各相关部门及事业单位,根据法律法规,为社会团体、企事业单位和个人提供的许可、确认、裁决、奖励、处罚等行政服务。',
23
+  },
24
+  {
25
+    id: '3',
26
+    href: '/products-solutions/gov-ent-health/healthcare',
27
+    url: '/public/menu/gov-ent-health/healthcare.png',
28
+    title: '医院医疗',
29
+    subTitle:
30
+      '各级政府、各相关部门及事业单位,根据法律法规,为社会团体、企事业单位和个人提供的许可、确认、裁决、奖励、处罚等行政服务。',
31
+  },
32
+]
5
 ---
33
 ---
6
 
34
 
7
 <Layout title="菜单">
35
 <Layout title="菜单">
8
-  <div class="container" style="margin-top: 120px;">
9
-    <div class="row g-5 pb-5 justify-content-center">
10
-      <div class="col-md-3 col-sm-12">
11
-        <div
12
-          class="card border-0 text-center my-1"
13
-          style="background-color:#f8f8f8;"
14
-        >
15
-          <a
16
-            class="inline-block p-5 link-dark menu-a"
17
-            href={`/${lang}/products-solutions/gov-ent-health/gov`}
18
-            style="font-size: 28px;"
19
-          >
20
-            <div class="pb-4">
21
-              <img
22
-                src="/public/menu/gov-ent-health/gov.png"
23
-                style="width: 5vw;"
24
-              />
25
-            </div>
26
-            政务服务
27
-            <div class="menu-content pt-3">
28
-              各级政府、各相关部门及事业单位,根据法律法规,为社会团体、企事业单位和个人提供的许可、确认、裁决、奖励、处罚等行政服务。
29
-            </div>
30
-          </a>
31
-        </div>
32
-      </div>
33
-      <div class="col-md-3 col-sm-12">
34
-        <div
35
-          class="card border-0 text-center my-1"
36
-          style="background-color:#f8f8f8;"
37
-        >
38
-          <a
39
-            class="inline-block p-5 link-dark menu-a"
40
-            href={`/${lang}/products-solutions/gov-ent-health/bank`}
41
-            style="font-size: 28px;"
42
-          >
43
-            <div class="pb-4">
44
-              <img
45
-                src="/public/menu/gov-ent-health/bank.png"
46
-                style="width: 5vw;"
47
-              />
48
-            </div>
49
-            银行业务
50
-            <div class="menu-content pt-3">
51
-              各级政府、各相关部门及事业单位,根据法律法规,为社会团体、企事业单位和个人提供的许可、确认、裁决、奖励、处罚等行政服务。
52
-            </div>
53
-          </a>
54
-        </div>
55
-      </div>
56
-      <div class="col-md-3 col-sm-12">
57
-        <div
58
-          class="card border-0 text-center my-1"
59
-          style="background-color:#f8f8f8;"
60
-        >
61
-          <a
62
-            class="inline-block p-5 link-dark menu-a"
63
-            href={`/${lang}/products-solutions/gov-ent-health/healthcare.png`}
64
-            style="font-size: 28px;"
65
-          >
66
-            <div class="pb-4">
67
-              <img
68
-                src="/public/menu/gov-ent-health/healthcare.png"
69
-                style="width: 5vw;"
70
-              />
71
-            </div>
72
-            医院医疗
73
-            <div class="menu-content pt-3">
74
-              各级政府、各相关部门及事业单位,根据法律法规,为社会团体、企事业单位和个人提供的许可、确认、裁决、奖励、处罚等行政服务。
75
-            </div>
76
-          </a>
77
-        </div>
78
-      </div>
79
-    </div>
80
-  </div>
36
+  <NavSubMenu list={list} />
81
   <Footer lang={lang} />
37
   <Footer lang={lang} />
82
 </Layout>
38
 </Layout>
83
 
39
 
84
 <style>
40
 <style>
41
+  @media (max-width: 768px) {
42
+    .products-solutions-md-img {
43
+      width: 15vw !important;
44
+    }
45
+  }
85
   .menu-a {
46
   .menu-a {
86
     text-decoration: none;
47
     text-decoration: none;
87
     cursor: pointer;
48
     cursor: pointer;

+ 41
- 87
src/pages/[lang]/product/others/index.astro 查看文件

1
 ---
1
 ---
2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
+import NavSubMenu from '@/components/NavSubMenu.astro'
3
 import Footer from '@/components/Footer.astro'
4
 import Footer from '@/components/Footer.astro'
4
 const { lang = 'zh' } = Astro.params
5
 const { lang = 'zh' } = Astro.params
6
+
7
+const list = [
8
+  {
9
+    id: '1',
10
+    href: '/products-solutions/others/eshop',
11
+    url: '/public/menu/others/eshop.png',
12
+    title: '电商系统',
13
+    subTitle: '商务活动中各参与方和支持企业进行交易活动的电子技术手段的集合',
14
+  },
15
+  {
16
+    id: '2',
17
+    href: '/products-solutions/others/shigongli',
18
+    url: '/public/menu/others/shigongli.png',
19
+    title: '旅游住宿',
20
+    subTitle:
21
+      '游客在旅游过程中所涉及的住宿环节,它是旅游活动的重要组成部分,为游客提供休息、放松和恢复精力的场所。',
22
+  },
23
+  {
24
+    id: '3',
25
+    href: '/products-solutions/others/house',
26
+    url: '/public/menu/others/house.png',
27
+    title: '房源交易',
28
+    subTitle:
29
+      '在房地产市场中,房屋权利人通过委托房地产经纪机构或其他渠道,将其房屋进行买卖、租赁或其他形式的交易行为。',
30
+  },
31
+  {
32
+    id: '4',
33
+    href: '/products-solutions/others/crm',
34
+    url: '/public/menu/others/crm.png',
35
+    title: 'CRM管理',
36
+    subTitle:
37
+      '利用软件、硬件和网络技术,为企业建立客户信息收集、管理、分析和利用的信息系统。该系统以客户数据的管理为核心,记录企业在市场营销和销售过程中与客户发生的各种交互行为',
38
+  },
39
+]
5
 ---
40
 ---
6
 
41
 
7
 <Layout title="菜单">
42
 <Layout title="菜单">
8
-  <div class="container" style="margin-top: 120px;">
9
-    <div class="row g-5 pb-5">
10
-      <div class="col-md-3 col-sm-12">
11
-        <div
12
-          class="card border-0 text-center my-1"
13
-          style="background-color:#f8f8f8;"
14
-        >
15
-          <a
16
-            class="inline-block p-5 link-dark menu-a"
17
-            href={`/${lang}/products-solutions/others/eshop`}
18
-            style="font-size: 28px;"
19
-          >
20
-            <div class="pb-4">
21
-              <img src="/public/menu/others/eshop.png" style="width: 5vw;" />
22
-            </div>
23
-            电商系统
24
-            <div class="menu-content pt-3">
25
-              商务活动中各参与方和支持企业进行交易活动的电子技术手段的集合
26
-            </div>
27
-          </a>
28
-        </div>
29
-      </div>
30
-      <div class="col-md-3 col-sm-12">
31
-        <div
32
-          class="card border-0 text-center my-1"
33
-          style="background-color:#f8f8f8;"
34
-        >
35
-          <a
36
-            class="inline-block p-5 link-dark menu-a"
37
-            href={`/${lang}/products-solutions/others/shigongli`}
38
-            style="font-size: 28px;"
39
-          >
40
-            <div class="pb-4">
41
-              <img
42
-                src="/public/menu/others/shigongli.png"
43
-                style="width: 5vw;"
44
-              />
45
-            </div>
46
-            旅游住宿
47
-            <div class="menu-content pt-3">
48
-              游客在旅游过程中所涉及的住宿环节,它是旅游活动的重要组成部分,为游客提供休息、放松和恢复精力的场所。
49
-            </div>
50
-          </a>
51
-        </div>
52
-      </div>
53
-      <div class="col-md-3 col-sm-12">
54
-        <div
55
-          class="card border-0 text-center my-1"
56
-          style="background-color:#f8f8f8;"
57
-        >
58
-          <a
59
-            class="inline-block p-5 link-dark menu-a"
60
-            href={`/${lang}/products-solutions/others/house`}
61
-            style="font-size: 28px;"
62
-          >
63
-            <div class="pb-4">
64
-              <img src="/public/menu/others/house.png" style="width: 5vw;" />
65
-            </div>
66
-            房源交易
67
-            <div class="menu-content pt-3">
68
-              在房地产市场中,房屋权利人通过委托房地产经纪机构或其他渠道,将其房屋进行买卖、租赁或其他形式的交易行为。
69
-            </div>
70
-          </a>
71
-        </div>
72
-      </div>
73
-      <div class="col-md-3 col-sm-12">
74
-        <div
75
-          class="card border-0 text-center my-1"
76
-          style="background-color:#f8f8f8;"
77
-        >
78
-          <a
79
-            class="inline-block p-5 link-dark menu-a"
80
-            href={`/${lang}/products-solutions/others/crm`}
81
-            style="font-size: 28px;"
82
-          >
83
-            <div class="pb-4">
84
-              <img src="/public/menu/others/crm.png" style="width: 5vw;" />
85
-            </div>
86
-            CRM管理
87
-            <div class="menu-content pt-3">
88
-              利用软件、硬件和网络技术,为企业建立客户信息收集、管理、分析和利用的信息系统。该系统以客户数据的管理为核心,记录企业在市场营销和销售过程中与客户发生的各种交互行为
89
-            </div>
90
-          </a>
91
-        </div>
92
-      </div>
93
-    </div>
94
-  </div>
43
+  <NavSubMenu list={list} />
95
   <Footer lang={lang} />
44
   <Footer lang={lang} />
96
 </Layout>
45
 </Layout>
97
 
46
 
98
 <style>
47
 <style>
48
+  @media (max-width: 768px) {
49
+    .products-solutions-md-img {
50
+      width: 15vw !important;
51
+    }
52
+  }
99
   .menu-a {
53
   .menu-a {
100
     text-decoration: none;
54
     text-decoration: none;
101
     cursor: pointer;
55
     cursor: pointer;

+ 4
- 36
src/pages/[lang]/products-solutions/gov-ent-health/bank/custom/index.astro 查看文件

5
 import ImgPro from '@/components/ImgPro.astro'
5
 import ImgPro from '@/components/ImgPro.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10
 import Footer from '@/components/Footer.astro'
10
 import Footer from '@/components/Footer.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
145
 
145
 
146
 <Layout title="定制开发">
146
 <Layout title="定制开发">
147
   <ScrollingNavbar sNav={sNav} />
147
   <ScrollingNavbar sNav={sNav} />
148
-  <ImgPro
149
-    titleHeight="2.5"
150
-    contentLineHeight="1.5"
151
-    listOrData={imgProData}
152
-    ratio="3 / 1"
153
-    titleColor="text-light"
154
-    contentColor="text-light"
155
-    titleSize="52"
156
-    childrenSize="24"
157
-    ellipsis="line-ellipsis-small"
158
-    position="positionMiddle"
159
-    btnDisplay={false}
160
-  />
148
+  <ImgPro listOrData={imgProData} />
161
   <LeftMiddleRightImgTextPro
149
   <LeftMiddleRightImgTextPro
162
     componentTitle="场景化解决方案"
150
     componentTitle="场景化解决方案"
163
     listOrData={informationList}
151
     listOrData={informationList}
172
     list={carouselList2}
160
     list={carouselList2}
173
     Children={LeftImgRightText}
161
     Children={LeftImgRightText}
174
     line="0"
162
     line="0"
175
-    titleHeight="3.2"
176
-    px="5"
177
-    pt="4"
178
-    contentHeight="17"
179
     componentsBg="bg-img"
163
     componentsBg="bg-img"
180
-    subPmb="5"
181
-    btnDisplay={false}
182
-    btn2={true}
183
   />
164
   />
184
   <VerticalNavigationContent
165
   <VerticalNavigationContent
185
     list={list}
166
     list={list}
186
     ellipsis="line-ellipsis-small"
167
     ellipsis="line-ellipsis-small"
187
-    Children={Text}
168
+    ellipsis="line-ellipsis-small"
169
+    Children={Text3}
188
     componentTitle="相关资源"
170
     componentTitle="相关资源"
189
     titleTextAlign="text-left"
171
     titleTextAlign="text-left"
190
     textAlign="text-left"
172
     textAlign="text-left"
191
-    pt="4"
192
-    px="5"
193
-    backgroundColor="#f8f8f8"
194
-    textP="5"
195
-    rounded="3"
196
-    titleSize="20"
197
-    titleHeight="6"
198
-    pLine="titleLineEllipsis2"
199
-    isContent={false}
200
-    pMb="3"
201
-    animation="animation"
202
     componentsBg="bg-even"
173
     componentsBg="bg-even"
203
-    btnDisplay={false}
204
-    btn2={true}
205
-    lineHeight="1.8"
206
   />
174
   />
207
   <Footer lang={lang} />
175
   <Footer lang={lang} />
208
 </Layout>
176
 </Layout>

+ 4
- 36
src/pages/[lang]/products-solutions/gov-ent-health/bank/index.astro 查看文件

5
 import ImgPro from '@/components/ImgPro.astro'
5
 import ImgPro from '@/components/ImgPro.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10
 import Footer from '@/components/Footer.astro'
10
 import Footer from '@/components/Footer.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
155
 
155
 
156
 <Layout title="银行业务">
156
 <Layout title="银行业务">
157
   <ScrollingNavbar sNav={sNav} />
157
   <ScrollingNavbar sNav={sNav} />
158
-  <ImgPro
159
-    titleHeight="2.5"
160
-    contentLineHeight="1.5"
161
-    listOrData={imgProData}
162
-    ratio="3 / 1"
163
-    titleColor="text-light"
164
-    contentColor="text-light"
165
-    titleSize="52"
166
-    childrenSize="24"
167
-    ellipsis="line-ellipsis-small"
168
-    position="positionMiddle"
169
-    btnDisplay={false}
170
-  />
158
+  <ImgPro listOrData={imgProData} />
171
   <LeftMiddleRightImgTextPro
159
   <LeftMiddleRightImgTextPro
172
     componentTitle="场景化解决方案"
160
     componentTitle="场景化解决方案"
173
     listOrData={informationList}
161
     listOrData={informationList}
179
     list={carouselList}
167
     list={carouselList}
180
     line="0"
168
     line="0"
181
     Children={LeftImgRightText}
169
     Children={LeftImgRightText}
182
-    titleHeight="3.2"
183
-    px="5"
184
-    pt="4"
185
-    contentHeight="17"
186
     componentsBg="bg-grey"
170
     componentsBg="bg-grey"
187
-    subPmb="5"
188
-    btnDisplay={false}
189
-    btn2={true}
190
   />
171
   />
191
   <LeftMiddleRightImgTextPro
172
   <LeftMiddleRightImgTextPro
192
     componentTitle="新闻资讯"
173
     componentTitle="新闻资讯"
196
   <VerticalNavigationContent
177
   <VerticalNavigationContent
197
     list={verticalNavigationContentList}
178
     list={verticalNavigationContentList}
198
     ellipsis="line-ellipsis-small"
179
     ellipsis="line-ellipsis-small"
199
-    Children={Text}
180
+    ellipsis="line-ellipsis-small"
181
+    Children={Text3}
200
     componentTitle="相关资源"
182
     componentTitle="相关资源"
201
     titleTextAlign="text-left"
183
     titleTextAlign="text-left"
202
     textAlign="text-left"
184
     textAlign="text-left"
203
-    pt="4"
204
-    px="5"
205
-    backgroundColor="#f8f8f8"
206
-    textP="5"
207
-    rounded="3"
208
-    titleSize="20"
209
-    titleHeight="6"
210
-    pLine="titleLineEllipsis2"
211
-    isContent={false}
212
-    pMb="3"
213
-    animation="animation"
214
     componentsBg="bg-even"
185
     componentsBg="bg-even"
215
-    btnDisplay={false}
216
-    btn2={true}
217
-    lineHeight="1.8"
218
   />
186
   />
219
   <Footer lang={lang} />
187
   <Footer lang={lang} />
220
 </Layout>
188
 </Layout>

+ 4
- 36
src/pages/[lang]/products-solutions/gov-ent-health/gov/civilized-city/index.astro 查看文件

5
 import ImgPro from '@/components/ImgPro.astro'
5
 import ImgPro from '@/components/ImgPro.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10
 import Footer from '@/components/Footer.astro'
10
 import Footer from '@/components/Footer.astro'
11
 
11
 
82
 
82
 
83
 <Layout title="文明创城">
83
 <Layout title="文明创城">
84
   <ScrollingNavbar sNav={sNav} />
84
   <ScrollingNavbar sNav={sNav} />
85
-  <ImgPro
86
-    titleHeight="2.5"
87
-    contentLineHeight="1.5"
88
-    listOrData={imgProData}
89
-    ratio="3 / 1"
90
-    titleColor="text-light"
91
-    contentColor="text-light"
92
-    titleSize="52"
93
-    childrenSize="24"
94
-    ellipsis="line-ellipsis-small"
95
-    position="positionMiddle"
96
-    btnDisplay={false}
97
-  />
85
+  <ImgPro listOrData={imgProData} />
98
   <LeftImgRightText
86
   <LeftImgRightText
99
     listOrData={leftImgRightTextList}
87
     listOrData={leftImgRightTextList}
100
     componentTitle="场景化解决方案"
88
     componentTitle="场景化解决方案"
101
     textAlign="text-center"
89
     textAlign="text-center"
102
-    titleSize="34"
103
-    px="5"
104
-    pt="4"
105
-    contentHeight="17"
106
     componentsBg="bg-grey"
90
     componentsBg="bg-grey"
107
-    subPmb="5"
108
-    btnDisplay={false}
109
-    btn2={true}
110
   />
91
   />
111
   <VerticalNavigationContent
92
   <VerticalNavigationContent
112
     list={list}
93
     list={list}
113
     ellipsis="line-ellipsis-small"
94
     ellipsis="line-ellipsis-small"
114
-    Children={Text}
95
+    ellipsis="line-ellipsis-small"
96
+    Children={Text3}
115
     componentTitle="相关资源"
97
     componentTitle="相关资源"
116
     titleTextAlign="text-left"
98
     titleTextAlign="text-left"
117
     textAlign="text-left"
99
     textAlign="text-left"
118
-    pt="4"
119
-    px="5"
120
-    backgroundColor="#f8f8f8"
121
-    textP="5"
122
-    rounded="3"
123
-    titleSize="20"
124
-    titleHeight="6"
125
-    pLine="titleLineEllipsis2"
126
-    isContent={false}
127
-    pMb="3"
128
-    animation="animation"
129
     componentsBg="bg-even"
100
     componentsBg="bg-even"
130
-    btnDisplay={false}
131
-    btn2={true}
132
-    lineHeight="1.8"
133
   />
101
   />
134
   <Footer lang={lang} />
102
   <Footer lang={lang} />
135
 </Layout>
103
 </Layout>

+ 4
- 36
src/pages/[lang]/products-solutions/gov-ent-health/gov/index.astro 查看文件

5
 import ImgPro from '@/components/ImgPro.astro'
5
 import ImgPro from '@/components/ImgPro.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
10
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
11
 import Footer from '@/components/Footer.astro'
11
 import Footer from '@/components/Footer.astro'
159
 
159
 
160
 <Layout title="政务服务">
160
 <Layout title="政务服务">
161
   <ScrollingNavbar sNav={sNav} />
161
   <ScrollingNavbar sNav={sNav} />
162
-  <ImgPro
163
-    titleHeight="2.5"
164
-    contentLineHeight="1.5"
165
-    listOrData={imgProData}
166
-    ratio="3 / 1"
167
-    titleColor="text-light"
168
-    contentColor="text-light"
169
-    titleSize="52"
170
-    childrenSize="24"
171
-    ellipsis="line-ellipsis-small"
172
-    position="positionMiddle"
173
-    btnDisplay={false}
174
-  />
162
+  <ImgPro listOrData={imgProData} />
175
   <LeftMiddleRightImgTextPro
163
   <LeftMiddleRightImgTextPro
176
     componentTitle="场景化解决方案"
164
     componentTitle="场景化解决方案"
177
     listOrData={informationList}
165
     listOrData={informationList}
183
     list={carouselList}
171
     list={carouselList}
184
     line="0"
172
     line="0"
185
     Children={LeftImgRightText}
173
     Children={LeftImgRightText}
186
-    titleHeight="3.2"
187
-    px="5"
188
-    pt="4"
189
-    contentHeight="17"
190
     componentsBg="bg-grey"
174
     componentsBg="bg-grey"
191
-    subPmb="5"
192
-    btnDisplay={false}
193
-    btn2={true}
194
   />
175
   />
195
   <LeftMiddleRightText
176
   <LeftMiddleRightText
196
     componentTitle="新闻与活动"
177
     componentTitle="新闻与活动"
203
   <VerticalNavigationContent
184
   <VerticalNavigationContent
204
     list={list}
185
     list={list}
205
     ellipsis="line-ellipsis-small"
186
     ellipsis="line-ellipsis-small"
206
-    Children={Text}
187
+    ellipsis="line-ellipsis-small"
188
+    Children={Text3}
207
     componentTitle="相关资源"
189
     componentTitle="相关资源"
208
     titleTextAlign="text-left"
190
     titleTextAlign="text-left"
209
     textAlign="text-left"
191
     textAlign="text-left"
210
-    pt="4"
211
-    px="5"
212
-    backgroundColor="#f8f8f8"
213
-    textP="5"
214
-    rounded="3"
215
-    titleSize="20"
216
-    titleHeight="6"
217
-    pLine="titleLineEllipsis2"
218
-    isContent={false}
219
-    pMb="3"
220
-    animation="animation"
221
     componentsBg="bg-even"
192
     componentsBg="bg-even"
222
-    btnDisplay={false}
223
-    btn2={true}
224
-    lineHeight="1.8"
225
   />
193
   />
226
   <Footer lang={lang} />
194
   <Footer lang={lang} />
227
 </Layout>
195
 </Layout>

+ 4
- 43
src/pages/[lang]/products-solutions/gov-ent-health/healthcare/index.astro 查看文件

5
 import ImgPro from '@/components/ImgPro.astro'
5
 import ImgPro from '@/components/ImgPro.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10
 import Footer from '@/components/Footer.astro'
10
 import Footer from '@/components/Footer.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
139
 
139
 
140
 <Layout title="医院医疗">
140
 <Layout title="医院医疗">
141
   <ScrollingNavbar sNav={sNav} />
141
   <ScrollingNavbar sNav={sNav} />
142
-  <ImgPro
143
-    listOrData={imgProData}
144
-    ratio="3 / 1"
145
-    titleColor="text-light"
146
-    contentColor="text-light"
147
-    titleSize="52"
148
-    childrenSize="24"
149
-    ellipsis="line-ellipsis-small"
150
-    position="positionMiddle"
151
-    btnDisplay={false}
152
-    titleHeight="2.5"
153
-    contentLineHeight="1.5"
154
-  />
142
+  <ImgPro listOrData={imgProData} />
155
   <LeftImgRightText
143
   <LeftImgRightText
156
     listOrData={leftImgRightTextList}
144
     listOrData={leftImgRightTextList}
157
     componentTitle="场景化解决方案"
145
     componentTitle="场景化解决方案"
158
     textAlign="text-center"
146
     textAlign="text-center"
159
-    titleHeight="3.2"
160
-    px="5"
161
-    pt="4"
162
-    contentHeight="17"
163
     componentsBg="bg-grey"
147
     componentsBg="bg-grey"
164
-    subPmb="5"
165
-    btnDisplay={false}
166
-    btn2={true}
167
   />
148
   />
168
   <Carousel
149
   <Carousel
169
     componentTitle="成功案例"
150
     componentTitle="成功案例"
170
     list={carouselList}
151
     list={carouselList}
171
     Children={LeftImgRightText}
152
     Children={LeftImgRightText}
172
     line="0"
153
     line="0"
173
-    titleHeight="3.2"
174
-    px="5"
175
-    pt="4"
176
-    contentHeight="17"
177
     componentsBg="bg-img"
154
     componentsBg="bg-img"
178
-    subPmb="5"
179
-    btnDisplay={false}
180
-    btn2={true}
181
   />
155
   />
182
   <LeftMiddleRightImgTextPro
156
   <LeftMiddleRightImgTextPro
183
     componentTitle="相关产品"
157
     componentTitle="相关产品"
187
   <VerticalNavigationContent
161
   <VerticalNavigationContent
188
     list={list}
162
     list={list}
189
     ellipsis="line-ellipsis-small"
163
     ellipsis="line-ellipsis-small"
190
-    Children={Text}
164
+    ellipsis="line-ellipsis-small"
165
+    Children={Text3}
191
     componentTitle="相关资源"
166
     componentTitle="相关资源"
192
     titleTextAlign="text-left"
167
     titleTextAlign="text-left"
193
     textAlign="text-left"
168
     textAlign="text-left"
194
-    pt="4"
195
-    px="5"
196
-    backgroundColor="#f8f8f8"
197
-    textP="5"
198
-    rounded="3"
199
-    titleSize="20"
200
-    titleHeight="6"
201
-    pLine="titleLineEllipsis2"
202
-    isContent={false}
203
-    pMb="3"
204
-    animation="animation"
205
     componentsBg="bg-even"
169
     componentsBg="bg-even"
206
-    btnDisplay={false}
207
-    btn2={true}
208
-    lineHeight="1.8"
209
   />
170
   />
210
   <Footer lang={lang} />
171
   <Footer lang={lang} />
211
 </Layout>
172
 </Layout>

+ 42
- 97
src/pages/[lang]/products-solutions/index.astro 查看文件

1
 ---
1
 ---
2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
 import NavMenu from '@/components/NavMenu/index.jsx'
3
 import NavMenu from '@/components/NavMenu/index.jsx'
4
+import NavSubMenu from '@/components/NavSubMenu.astro'
4
 import Footer from '@/components/Footer.astro'
5
 import Footer from '@/components/Footer.astro'
6
+import menu from '@/data/menu.js'
5
 const { lang = 'zh' } = Astro.params
7
 const { lang = 'zh' } = Astro.params
8
+
9
+const list = [
10
+  {
11
+    id: '1',
12
+    href: '/products-solutions/lot',
13
+    url: '/public/menu/lot/building.png',
14
+    title: '智慧物联',
15
+    subTitle:
16
+      '将物联网与人工智能等先进技术结合实现更智能、高效、自动化的系统和应用',
17
+  },
18
+  {
19
+    id: '2',
20
+    href: '/products-solutions/industrial-internet',
21
+    url: '/public/menu/products-solutions/internet.png',
22
+    title: '工业互联网',
23
+    subTitle:
24
+      '新一代信息通信技术与工业经济深度融合的新型基础设施、应用模式和工业生态',
25
+  },
26
+  {
27
+    id: '3',
28
+    href: '/product/gov-ent-health',
29
+    url: '/public/menu/products-solutions/health.png',
30
+    title: '政企医疗',
31
+    subTitle: '政府与企业在医疗领域的合作或互动',
32
+  },
33
+  {
34
+    id: '4',
35
+    href: '/product/others',
36
+    url: '/public/menu/products-solutions/other.png',
37
+    title: '其他业务',
38
+    subTitle: '一个公司或组织的主营业务之外的所有其他活动或收入来源',
39
+  },
40
+]
6
 ---
41
 ---
7
 
42
 
8
 <Layout title="菜单">
43
 <Layout title="菜单">
9
-  <NavMenu lang={lang} client:load />
10
-  <div class="container" style="margin-top: 120px;">
11
-    <div class="row g-5 pb-5">
12
-      <div class="col-md-3 col-sm-12">
13
-        <div
14
-          class="card border-0 text-center my-1"
15
-          style="background-color:#f8f8f8;"
16
-        >
17
-          <a
18
-            class="inline-block p-5 link-dark menu-a"
19
-            href={`/${lang}/products-solutions/lot`}
20
-            style="font-size: 28px;"
21
-          >
22
-            <div class="pb-4">
23
-              <img
24
-                src="/public/menu/products-solutions/lot.png"
25
-                style="width: 5vw;"
26
-              />
27
-            </div>
28
-            智慧物联
29
-            <div class="menu-content pt-3">
30
-              将物联网与人工智能等先进技术结合实现更智能、高效、自动化的系统和应用
31
-            </div>
32
-          </a>
33
-        </div>
34
-      </div>
35
-      <div class="col-md-3 col-sm-12">
36
-        <div
37
-          class="card border-0 text-center my-1"
38
-          style="background-color:#f8f8f8;"
39
-        >
40
-          <a
41
-            class="inline-block p-5 link-dark menu-a"
42
-            href={`/${lang}/products-solutions/industrial-internet`}
43
-            style="font-size: 28px;"
44
-          >
45
-            <div class="pb-4">
46
-              <img
47
-                src="/public/menu/products-solutions/internet.png"
48
-                style="width: 5vw;"
49
-              />
50
-            </div>
51
-            工业互联网
52
-            <div class="menu-content pt-3">
53
-              新一代信息通信技术与工业经济深度融合的新型基础设施、应用模式和工业生态
54
-            </div>
55
-          </a>
56
-        </div>
57
-      </div>
58
-      <div class="col-md-3 col-sm-12">
59
-        <div
60
-          class="card border-0 text-center my-1"
61
-          style="background-color:#f8f8f8;"
62
-        >
63
-          <a
64
-            class="inline-block p-5 link-dark menu-a"
65
-            href={`/${lang}/product/gov-ent-health`}
66
-            style="font-size: 28px;"
67
-          >
68
-            <div class="pb-4">
69
-              <img
70
-                src="/public/menu/products-solutions/health.png"
71
-                style="width: 5vw;"
72
-              />
73
-            </div>
74
-            政企医疗
75
-            <div class="menu-content pt-3">
76
-              政府与企业在医疗领域的合作或互动
77
-            </div>
78
-          </a>
79
-        </div>
80
-      </div>
81
-      <div class="col-md-3 col-sm-12">
82
-        <div
83
-          class="card border-0 text-center my-1"
84
-          style="background-color:#f8f8f8;"
85
-        >
86
-          <a
87
-            class="inline-block p-5 link-dark menu-a"
88
-            href={`/${lang}/product/others`}
89
-            style="font-size: 28px;"
90
-          >
91
-            <div class="pb-4">
92
-              <img
93
-                src="/public/menu/products-solutions/other.png"
94
-                style="width: 5vw;"
95
-              />
96
-            </div>
97
-            其他业务
98
-            <div class="menu-content pt-3">
99
-              一个公司或组织的主营业务之外的所有其他活动或收入来源
100
-            </div>
101
-          </a>
102
-        </div>
103
-      </div>
104
-    </div>
105
-  </div>
44
+  <NavMenu menus={menu} lang={lang} client:load />
45
+  <NavSubMenu list={list} />
106
   <Footer lang={lang} />
46
   <Footer lang={lang} />
107
 </Layout>
47
 </Layout>
108
 
48
 
109
 <style>
49
 <style>
50
+  @media (max-width: 768px) {
51
+    .products-solutions-md-img {
52
+      width: 15vw !important;
53
+    }
54
+  }
110
   .menu-a {
55
   .menu-a {
111
     text-decoration: none;
56
     text-decoration: none;
112
     cursor: pointer;
57
     cursor: pointer;

+ 4
- 40
src/pages/[lang]/products-solutions/industrial-internet/erp/index.astro 查看文件

6
 import Carousel from '@/components/children/Carousel.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
8
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
9
-import Text from '@/components/children/Text.astro'
9
+import Text3 from '@/components/children/Text3.astro'
10
 import Footer from '@/components/Footer.astro'
10
 import Footer from '@/components/Footer.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
12
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
12
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
200
 
200
 
201
 <Layout title="ERP">
201
 <Layout title="ERP">
202
   <ScrollingNavbar sNav={sNav} />
202
   <ScrollingNavbar sNav={sNav} />
203
-  <ImgPro
204
-    titleHeight="2.5"
205
-    contentLineHeight="1.5"
206
-    listOrData={imgProData}
207
-    ratio="3 / 1"
208
-    titleColor="text-light"
209
-    contentColor="text-light"
210
-    titleSize="52"
211
-    childrenSize="24"
212
-    ellipsis="line-ellipsis-small"
213
-    position="positionMiddle"
214
-    btnDisplay={false}
215
-  />
203
+  <ImgPro listOrData={imgProData} />
216
   <LeftImgRightText
204
   <LeftImgRightText
217
     listOrData={leftImgRightTextList}
205
     listOrData={leftImgRightTextList}
218
     componentTitle="选择云致的理由"
206
     componentTitle="选择云致的理由"
219
     textAlign="text-center"
207
     textAlign="text-center"
220
-    titleSize="34"
221
-    px="5"
222
-    pt="4"
223
-    contentHeight="17"
224
     componentsBg="bg-grey"
208
     componentsBg="bg-grey"
225
-    subPmb="5"
226
-    btnDisplay={false}
227
-    btn2={true}
228
   />
209
   />
229
   <LeftMiddleRightImgTextPro
210
   <LeftMiddleRightImgTextPro
230
     componentTitle="场景化解决方案"
211
     componentTitle="场景化解决方案"
237
     list={carouselList}
218
     list={carouselList}
238
     line="0"
219
     line="0"
239
     Children={LeftImgRightText}
220
     Children={LeftImgRightText}
240
-    titleHeight="3.2"
241
-    px="5"
242
-    pt="4"
243
-    contentHeight="17"
244
     componentsBg="bg-grey"
221
     componentsBg="bg-grey"
245
-    subPmb="5"
246
-    btnDisplay={false}
247
-    btn2={true}
248
   />
222
   />
249
   <LeftMiddleRightImgTextPro
223
   <LeftMiddleRightImgTextPro
250
     componentTitle="配套产品"
224
     componentTitle="配套产品"
254
   <VerticalNavigationContent
228
   <VerticalNavigationContent
255
     list={list}
229
     list={list}
256
     ellipsis="line-ellipsis-small"
230
     ellipsis="line-ellipsis-small"
257
-    Children={Text}
231
+    ellipsis="line-ellipsis-small"
232
+    Children={Text3}
258
     componentTitle="相关资源"
233
     componentTitle="相关资源"
259
     titleTextAlign="text-left"
234
     titleTextAlign="text-left"
260
     textAlign="text-left"
235
     textAlign="text-left"
261
-    pt="4"
262
-    px="5"
263
-    backgroundColor="#eee"
264
-    textP="5"
265
-    rounded="3"
266
-    titleSize="20"
267
-    titleHeight="5.4"
268
-    pLine="titleLineEllipsis2"
269
-    isContent={false}
270
-    pMb="3"
271
-    animation="animation"
272
     componentsBg="bg-even"
236
     componentsBg="bg-even"
273
   />
237
   />
274
   <Footer lang={lang} />
238
   <Footer lang={lang} />

+ 26
- 50
src/pages/[lang]/products-solutions/industrial-internet/index.astro 查看文件

1
 ---
1
 ---
2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
+import NavSubMenu from '@/components/NavSubMenu.astro'
3
 import Footer from '@/components/Footer.astro'
4
 import Footer from '@/components/Footer.astro'
4
 const { lang = 'zh' } = Astro.params
5
 const { lang = 'zh' } = Astro.params
6
+
7
+const list = [
8
+  {
9
+    id: '1',
10
+    href: '/products-solutions/industrial-internet/mes',
11
+    url: '/public/menu/industrial-internet/mes.png',
12
+    title: '云致MES',
13
+    subTitle:
14
+      '在数字化、智能化技术的支持下,对楼宇的运营、管理和服务进行全面升级的一种新型楼宇形态',
15
+  },
16
+  {
17
+    id: '2',
18
+    href: '/products-solutions/industrial-internet/erp',
19
+    url: '/public/menu/industrial-internet/erp.png',
20
+    title: 'ERP',
21
+    subTitle:
22
+      '在数字化、智能化技术的支持下,对楼宇的运营、管理和服务进行全面升级的一种新型楼宇形态',
23
+  },
24
+]
5
 ---
25
 ---
6
 
26
 
7
 <Layout title="菜单">
27
 <Layout title="菜单">
8
-  <div class="container" style="margin-top: 120px;">
9
-    <div class="row g-5 pb-5 justify-content-center">
10
-      <div class="col-md-3 col-sm-12">
11
-        <div
12
-          class="card border-0 text-center my-1"
13
-          style="background-color:#f8f8f8;"
14
-        >
15
-          <a
16
-            class="inline-block p-5 link-dark menu-a"
17
-            href={`/${lang}/products-solutions/industrial-internet/mes`}
18
-            style="font-size: 28px;"
19
-          >
20
-            <div class="pb-4">
21
-              <img
22
-                src="/public/menu/industrial-internet/mes.png"
23
-                style="width: 5vw;"
24
-              />
25
-            </div>
26
-            云致MES
27
-            <div class="menu-content pt-3">
28
-              在数字化、智能化技术的支持下,对楼宇的运营、管理和服务进行全面升级的一种新型楼宇形态
29
-            </div>
30
-          </a>
31
-        </div>
32
-      </div>
33
-      <div class="col-md-3 col-sm-12">
34
-        <div
35
-          class="card border-0 text-center my-1"
36
-          style="background-color:#f8f8f8;"
37
-        >
38
-          <a
39
-            class="inline-block p-5 link-dark menu-a"
40
-            href={`/${lang}/products-solutions/industrial-internet/erp`}
41
-            style="font-size: 28px;"
42
-          >
43
-            <div class="pb-4">
44
-              <img
45
-                src="/public/menu/industrial-internet/erp.png"
46
-                style="width: 5vw;"
47
-              />
48
-            </div>
49
-            ERP
50
-            <div class="menu-content pt-3">
51
-              在数字化、智能化技术的支持下,对楼宇的运营、管理和服务进行全面升级的一种新型楼宇形态
52
-            </div>
53
-          </a>
54
-        </div>
55
-      </div>
56
-    </div>
57
-  </div>
28
+  <NavSubMenu list={list} />
58
   <Footer lang={lang} />
29
   <Footer lang={lang} />
59
 </Layout>
30
 </Layout>
60
 
31
 
61
 <style>
32
 <style>
33
+  @media (max-width: 768px) {
34
+    .products-solutions-md-img {
35
+      width: 15vw !important;
36
+    }
37
+  }
62
   .menu-a {
38
   .menu-a {
63
     text-decoration: none;
39
     text-decoration: none;
64
     cursor: pointer;
40
     cursor: pointer;

+ 4
- 41
src/pages/[lang]/products-solutions/industrial-internet/mes/index.astro 查看文件

6
 import Carousel from '@/components/children/Carousel.astro'
6
 import Carousel from '@/components/children/Carousel.astro'
7
 import ImgPro from '@/components/ImgPro.astro'
7
 import ImgPro from '@/components/ImgPro.astro'
8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
-import Text from '@/components/children/Text.astro'
9
+import Text3 from '@/components/children/Text3.astro'
10
 import Footer from '@/components/Footer.astro'
10
 import Footer from '@/components/Footer.astro'
11
 
11
 
12
 const { lang = 'zh' } = Astro.params
12
 const { lang = 'zh' } = Astro.params
163
 
163
 
164
 <Layout title="云致MES">
164
 <Layout title="云致MES">
165
   <ScrollingNavbar sNav={sNav} />
165
   <ScrollingNavbar sNav={sNav} />
166
-  <ImgPro
167
-    contentLineHeight="1.5"
168
-    titleHeight="2.5"
169
-    listOrData={imgProData}
170
-    ratio="3 / 1"
171
-    titleSize="52"
172
-    childrenSize="24"
173
-    ellipsis="line-ellipsis-small"
174
-    position="positionMiddle"
175
-    btnDisplay={false}
176
-  />
166
+  <ImgPro listOrData={imgProData} />
177
   <LeftImgRightText
167
   <LeftImgRightText
178
     listOrData={leftImgRightTextData2}
168
     listOrData={leftImgRightTextData2}
179
     componentTitle="数智云简介"
169
     componentTitle="数智云简介"
180
     textAlign="text-center"
170
     textAlign="text-center"
181
-    titleHeight="3.2"
182
-    px="5"
183
-    pt="4"
184
-    contentHeight="17"
185
     componentsBg="bg-grey"
171
     componentsBg="bg-grey"
186
-    subPmb="5"
187
-    btnDisplay={false}
188
-    btn2={true}
189
   />
172
   />
190
   <LeftImgRightText
173
   <LeftImgRightText
191
     listOrData={leftImgRightTextData3}
174
     listOrData={leftImgRightTextData3}
192
     componentTitle="数智云架构"
175
     componentTitle="数智云架构"
193
     textAlign="text-center"
176
     textAlign="text-center"
194
-    titleHeight="3.2"
195
-    px="5"
196
-    pt="4"
197
-    contentHeight="17"
198
     componentsBg="bg-grey"
177
     componentsBg="bg-grey"
199
-    subPmb="5"
200
-    btnDisplay={false}
201
-    btn2={true}
202
   />
178
   />
203
   <VerticalNavigationContent
179
   <VerticalNavigationContent
204
     list={list}
180
     list={list}
205
     ellipsis="line-ellipsis-small"
181
     ellipsis="line-ellipsis-small"
206
-    Children={Text}
182
+    ellipsis="line-ellipsis-small"
183
+    Children={Text3}
207
     componentTitle="相关资源"
184
     componentTitle="相关资源"
208
     titleTextAlign="text-left"
185
     titleTextAlign="text-left"
209
     textAlign="text-left"
186
     textAlign="text-left"
210
-    pt="4"
211
-    px="5"
212
-    backgroundColor="#f8f8f8"
213
-    textP="5"
214
-    rounded="3"
215
-    titleSize="20"
216
-    titleHeight="6"
217
-    pLine="titleLineEllipsis2"
218
-    isContent={false}
219
-    pMb="3"
220
-    animation="animation"
221
     componentsBg="bg-even"
187
     componentsBg="bg-even"
222
-    btnDisplay={false}
223
-    btn2={true}
224
-    lineHeight="1.8"
225
   />
188
   />
226
   <Footer lang={lang} />
189
   <Footer lang={lang} />
227
 </Layout>
190
 </Layout>

+ 4
- 35
src/pages/[lang]/products-solutions/lot/agriculture/index.astro 查看文件

5
 import Carousel from '@/components/children/Carousel.astro'
5
 import Carousel from '@/components/children/Carousel.astro'
6
 import ImgPro from '@/components/ImgPro.astro'
6
 import ImgPro from '@/components/ImgPro.astro'
7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9
 import Footer from '@/components/Footer.astro'
9
 import Footer from '@/components/Footer.astro'
10
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
10
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
128
 
128
 
129
 <Layout title="智慧农业">
129
 <Layout title="智慧农业">
130
   <ScrollingNavbar sNav={sNav} />
130
   <ScrollingNavbar sNav={sNav} />
131
-  <ImgPro
132
-    titleHeight="2.5"
133
-    contentLineHeight="1.5"
134
-    listOrData={imgProData}
135
-    ratio="3 / 1"
136
-    contentColor="text-light"
137
-    titleSize="52"
138
-    childrenSize="24"
139
-    ellipsis="line-ellipsis-small"
140
-    position="positionMiddle"
141
-    btnDisplay={false}
142
-  />
131
+  <ImgPro listOrData={imgProData} />
143
   <LeftMiddleRightImgTextPro
132
   <LeftMiddleRightImgTextPro
144
     componentTitle="项目内容"
133
     componentTitle="项目内容"
145
     listOrData={informationList}
134
     listOrData={informationList}
150
     listOrData={data}
139
     listOrData={data}
151
     componentTitle="大数据可视化平台"
140
     componentTitle="大数据可视化平台"
152
     textAlign="text-center"
141
     textAlign="text-center"
153
-    titleSize="34"
154
-    px="5"
155
-    pt="4"
156
-    contentHeight="17"
157
     componentsBg="bg-grey"
142
     componentsBg="bg-grey"
158
-    subPmb="5"
159
-    btnDisplay={false}
160
-    btn2={true}
161
   />
143
   />
162
   <LeftMiddleRightImgTextPro
144
   <LeftMiddleRightImgTextPro
163
     componentTitle="”四情“监测系统"
145
     componentTitle="”四情“监测系统"
167
   <VerticalNavigationContent
149
   <VerticalNavigationContent
168
     list={list}
150
     list={list}
169
     ellipsis="line-ellipsis-small"
151
     ellipsis="line-ellipsis-small"
170
-    Children={Text}
152
+    ellipsis="line-ellipsis-small"
153
+    Children={Text3}
171
     componentTitle="相关资源"
154
     componentTitle="相关资源"
172
     titleTextAlign="text-left"
155
     titleTextAlign="text-left"
173
     textAlign="text-left"
156
     textAlign="text-left"
174
-    pt="4"
175
-    px="5"
176
-    backgroundColor="#f8f8f8"
177
-    textP="5"
178
-    rounded="3"
179
-    titleSize="20"
180
-    titleHeight="6"
181
-    pLine="titleLineEllipsis2"
182
-    isContent={false}
183
-    pMb="3"
184
-    animation="animation"
185
     componentsBg="bg-even"
157
     componentsBg="bg-even"
186
-    lineHeight="1.8"
187
-    btnDisplay={false}
188
-    btn2={true}
189
   />
158
   />
190
   <Footer lang={lang} />
159
   <Footer lang={lang} />
191
 </Layout>
160
 </Layout>

+ 6
- 53
src/pages/[lang]/products-solutions/lot/building/index.astro 查看文件

1
 ---
1
 ---
2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
 import Img from '@/components/children/Img.astro'
3
 import Img from '@/components/children/Img.astro'
4
-import Text from '@/components/children/Text.astro'
4
+import Text3 from '@/components/children/Text3.astro'
5
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
5
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
6
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
6
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
7
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
7
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
215
 
215
 
216
 <Layout title="智慧楼宇">
216
 <Layout title="智慧楼宇">
217
   <ScrollingNavbar sNav={sNav} />
217
   <ScrollingNavbar sNav={sNav} />
218
-  <ImgPro
219
-    titleHeight="2.5"
220
-    listOrData={imgProData1}
221
-    ratio="3 / 1"
222
-    titleSize="52"
223
-    childrenSize="24"
224
-    ellipsis="line-ellipsis-small"
225
-    position="positionMiddle"
226
-    btnDisplay={false}
227
-  />
218
+  <ImgPro listOrData={imgProData1} />
228
   <!-- href=`/${lang}/detail/BuildingDetail/` -->
219
   <!-- href=`/${lang}/detail/BuildingDetail/` -->
229
   <LeftMiddleRightText
220
   <LeftMiddleRightText
221
+    ellipsis="line-ellipsis-small"
230
     componentTitle="智慧通行"
222
     componentTitle="智慧通行"
231
     listOrData={carouselList4}
223
     listOrData={carouselList4}
232
     titleTextAlign="text-end"
224
     titleTextAlign="text-end"
262
     ellipsis="line-ellipsis-small"
254
     ellipsis="line-ellipsis-small"
263
     pt="4"
255
     pt="4"
264
   />
256
   />
265
-  <ImgPro
266
-    listOrData={imgProData2}
267
-    btnDisplay={false}
268
-    ratio="3 / 1"
269
-    titleSize="52"
270
-    childrenSize="24"
271
-    titleHeight="2.5"
272
-    titleColor="text-light"
273
-    contentColor="text-light"
274
-    ellipsis="line-ellipsis-small"
275
-    position="positionMiddle"
276
-    top="50"
277
-  />
257
+  <ImgPro listOrData={imgProData2} />
278
   <LeftMiddleRightImgTextPro
258
   <LeftMiddleRightImgTextPro
279
     componentTitle="智慧识别便捷通行"
259
     componentTitle="智慧识别便捷通行"
280
     listOrData={informationList3}
260
     listOrData={informationList3}
281
   />
261
   />
282
-  <ImgPro
283
-    titleHeight="2.5"
284
-    contentLineHeight="1.5"
285
-    btnDisplay={false}
286
-    listOrData={imgProData3}
287
-    ratio="3 / 1"
288
-    titleSize="52"
289
-    childrenSize="24"
290
-    titleColor="text-light"
291
-    contentColor="text-light"
292
-    ellipsis="line-ellipsis-small"
293
-    position="positionMiddle"
294
-    top="50"
295
-  />
262
+  <ImgPro listOrData={imgProData3} />
296
   <VerticalNavigationContent
263
   <VerticalNavigationContent
297
     list={list}
264
     list={list}
298
     ellipsis="line-ellipsis-small"
265
     ellipsis="line-ellipsis-small"
299
-    Children={Text}
266
+    Children={Text3}
300
     componentTitle="相关资源"
267
     componentTitle="相关资源"
301
     titleTextAlign="text-left"
268
     titleTextAlign="text-left"
302
     textAlign="text-left"
269
     textAlign="text-left"
303
-    pt="4"
304
-    px="5"
305
-    backgroundColor="#f8f8f8"
306
-    textP="5"
307
-    rounded="3"
308
-    titleSize="20"
309
-    titleHeight="6"
310
-    pLine="titleLineEllipsis2"
311
-    isContent={false}
312
-    pMb="3"
313
-    animation="animation"
314
-    btnDisplay={false}
315
-    btn2={true}
316
     componentsBg="bg-even"
270
     componentsBg="bg-even"
317
-    lineHeight="1.8"
318
   />
271
   />
319
   <Footer lang={lang} />
272
   <Footer lang={lang} />
320
 </Layout>
273
 </Layout>

+ 3
- 24
src/pages/[lang]/products-solutions/lot/community/index.astro 查看文件

5
 import Carousel from '@/components/children/Carousel.astro'
5
 import Carousel from '@/components/children/Carousel.astro'
6
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
6
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
7
 import ImgPro from '@/components/ImgPro.astro'
7
 import ImgPro from '@/components/ImgPro.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10
 import Footer from '@/components/Footer.astro'
10
 import Footer from '@/components/Footer.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
153
 
153
 
154
 <Layout title="智慧社区">
154
 <Layout title="智慧社区">
155
   <ScrollingNavbar sNav={sNav} />
155
   <ScrollingNavbar sNav={sNav} />
156
-  <ImgPro
157
-    titleHeight="2.5"
158
-    contentLineHeight="1.5"
159
-    listOrData={imgProData}
160
-    ratio="3 / 1"
161
-    titleSize="52"
162
-    childrenSize="24"
163
-    ellipsis="line-ellipsis-small"
164
-    position="positionMiddle"
165
-    btnDisplay={false}
166
-  />
156
+  <ImgPro listOrData={imgProData} />
167
   <LeftMiddleRightImgTextPro
157
   <LeftMiddleRightImgTextPro
168
     componentTitle="社区目的"
158
     componentTitle="社区目的"
169
     listOrData={informationList}
159
     listOrData={informationList}
184
   <VerticalNavigationContent
174
   <VerticalNavigationContent
185
     list={list}
175
     list={list}
186
     ellipsis="line-ellipsis-small"
176
     ellipsis="line-ellipsis-small"
187
-    Children={Text}
177
+    Children={Text3}
188
     componentTitle="相关资源"
178
     componentTitle="相关资源"
189
     titleTextAlign="text-left"
179
     titleTextAlign="text-left"
190
     textAlign="text-left"
180
     textAlign="text-left"
191
-    pt="4"
192
-    px="5"
193
-    backgroundColor="#eee"
194
-    textP="5"
195
-    rounded="3"
196
-    titleSize="20"
197
-    titleHeight="5.4"
198
-    pLine="titleLineEllipsis2"
199
-    isContent={false}
200
-    pMb="3"
201
-    animation="animation"
202
     componentsBg="bg-even"
181
     componentsBg="bg-even"
203
   />
182
   />
204
   <Footer lang={lang} />
183
   <Footer lang={lang} />

+ 3
- 34
src/pages/[lang]/products-solutions/lot/exhibition-all/index.astro 查看文件

6
 import ImgPro from '@/components/ImgPro.astro'
6
 import ImgPro from '@/components/ImgPro.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
-import Text from '@/components/children/Text.astro'
9
+import Text3 from '@/components/children/Text3.astro'
10
 import Footer from '@/components/Footer.astro'
10
 import Footer from '@/components/Footer.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
12
 
12
 
183
 
183
 
184
 <Layout title="智慧展馆">
184
 <Layout title="智慧展馆">
185
   <ScrollingNavbar sNav={sNav} />
185
   <ScrollingNavbar sNav={sNav} />
186
-  <ImgPro
187
-    titleHeight="2.5"
188
-    contentLineHeight="1.5"
189
-    listOrData={imgProData}
190
-    ratio="3 / 1"
191
-    titleSize="52"
192
-    childrenSize="24"
193
-    btnDisplay={false}
194
-    ellipsis="line-ellipsis-small"
195
-    position="positionMiddle"
196
-  />
186
+  <ImgPro listOrData={imgProData} />
197
   <LeftMiddleRightImgTextPro
187
   <LeftMiddleRightImgTextPro
198
     componentTitle="5G网络覆盖"
188
     componentTitle="5G网络覆盖"
199
     listOrData={informationList}
189
     listOrData={informationList}
201
     white="white"
191
     white="white"
202
   />
192
   />
203
   <Carousel
193
   <Carousel
204
-    titleHeight="3.2"
205
     componentTitle="成功案例"
194
     componentTitle="成功案例"
206
     list={carouselList2}
195
     list={carouselList2}
207
     Children={LeftImgRightText}
196
     Children={LeftImgRightText}
208
     line="0"
197
     line="0"
209
     textAlign="text-center"
198
     textAlign="text-center"
210
     titleTextAlign="text-center"
199
     titleTextAlign="text-center"
211
-    px="5"
212
-    pt="4"
213
-    contentHeight="17"
214
     componentsBg="bg-grey"
200
     componentsBg="bg-grey"
215
-    subPmb="5"
216
-    btnDisplay={false}
217
-    btn2={true}
218
   />
201
   />
219
   <LeftMiddleRightImgTextPro
202
   <LeftMiddleRightImgTextPro
220
     componentTitle="界面设计与用户体验"
203
     componentTitle="界面设计与用户体验"
224
   <VerticalNavigationContent
207
   <VerticalNavigationContent
225
     list={list}
208
     list={list}
226
     ellipsis="line-ellipsis-small"
209
     ellipsis="line-ellipsis-small"
227
-    Children={Text}
210
+    Children={Text3}
228
     componentTitle="相关资源"
211
     componentTitle="相关资源"
229
     titleTextAlign="text-left"
212
     titleTextAlign="text-left"
230
     textAlign="text-left"
213
     textAlign="text-left"
231
-    pt="4"
232
-    px="5"
233
-    backgroundColor="#f8f8f8"
234
-    textP="5"
235
-    rounded="3"
236
-    titleSize="20"
237
-    titleHeight="6"
238
-    pLine="titleLineEllipsis2"
239
-    isContent={false}
240
-    pMb="3"
241
-    animation="animation"
242
     componentsBg="bg-even"
214
     componentsBg="bg-even"
243
-    btnDisplay={false}
244
-    btn2={true}
245
-    lineHeight="1.8"
246
   />
215
   />
247
   <Footer lang={lang} />
216
   <Footer lang={lang} />
248
 </Layout>
217
 </Layout>

+ 37
- 87
src/pages/[lang]/products-solutions/lot/index.astro 查看文件

1
 ---
1
 ---
2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
+import NavSubMenu from '@/components/NavSubMenu.astro'
3
 import Footer from '@/components/Footer.astro'
4
 import Footer from '@/components/Footer.astro'
4
 const { lang = 'zh' } = Astro.params
5
 const { lang = 'zh' } = Astro.params
6
+
7
+const list = [
8
+  {
9
+    id: '1',
10
+    href: '/products-solutions/lot/building',
11
+    url: '/public/menu/lot/building.png',
12
+    title: '智慧楼宇',
13
+    subTitle:
14
+      '在数字化、智能化技术的支持下,对楼宇的运营、管理和服务进行全面升级的一种新型楼宇形态',
15
+  },
16
+  {
17
+    id: '2',
18
+    href: '/products-solutions/lot/agriculture',
19
+    url: '/public/menu/lot/agriculture.png',
20
+    title: '智慧农业',
21
+    subTitle:
22
+      '现代科学技术与农业种植相结合,实现无人化、自动化、智能化管理的农业生产方式。',
23
+  },
24
+  {
25
+    id: '3',
26
+    href: '/products-solutions/lot/community',
27
+    url: '/public/menu/lot/community.png',
28
+    title: '智慧社区',
29
+    subTitle:
30
+      '在传统住宅社区的基础上,利用互联网、物联网、云计算、大数据等现代信息技术,实现社区管理智能化和服务智能化的新型居住社区。',
31
+  },
32
+  {
33
+    id: '4',
34
+    href: '/products-solutions/lot/exhibition-all',
35
+    url: '/public/menu/lot/exhibition-all.png',
36
+    title: '智慧展馆',
37
+    subTitle:
38
+      '运用先进的信息技术和智能化设备,将展馆打造成一个智能化、数字化、互动化的展览空间,为参观者提供更加丰富、便捷、高效的观展体验。',
39
+  },
40
+]
5
 ---
41
 ---
6
 
42
 
7
 <Layout title="菜单">
43
 <Layout title="菜单">
8
-  <div class="container" style="margin-top: 120px;">
9
-    <div class="row g-5 pb-5">
10
-      <div class="col-md-3 col-sm-12">
11
-        <div
12
-          class="card border-0 text-center my-1"
13
-          style="background-color:#f8f8f8;"
14
-        >
15
-          <a
16
-            class="inline-block p-5 link-dark menu-a"
17
-            href={`/${lang}/products-solutions/lot/building`}
18
-            style="font-size: 28px;"
19
-          >
20
-            <div class="pb-4">
21
-              <img src="/public/menu/lot/building.png" style="width: 5vw;" />
22
-            </div>
23
-            智慧楼宇
24
-            <div class="menu-content pt-3">
25
-              在数字化、智能化技术的支持下,对楼宇的运营、管理和服务进行全面升级的一种新型楼宇形态
26
-            </div>
27
-          </a>
28
-        </div>
29
-      </div>
30
-      <div class="col-md-3 col-sm-12">
31
-        <div
32
-          class="card border-0 text-center my-1"
33
-          style="background-color:#f8f8f8;"
34
-        >
35
-          <a
36
-            class="inline-block p-5 link-dark menu-a"
37
-            href={`/${lang}/products-solutions/lot/agriculture`}
38
-            style="font-size: 28px;"
39
-          >
40
-            <div class="pb-4">
41
-              <img src="/public/menu/lot/agriculture.png" style="width: 5vw;" />
42
-            </div>
43
-            智慧农业
44
-            <div class="menu-content pt-3">
45
-              现代科学技术与农业种植相结合,实现无人化、自动化、智能化管理的农业生产方式。
46
-            </div>
47
-          </a>
48
-        </div>
49
-      </div>
50
-      <div class="col-md-3 col-sm-12">
51
-        <div
52
-          class="card border-0 text-center my-1"
53
-          style="background-color:#f8f8f8;"
54
-        >
55
-          <a
56
-            class="inline-block p-5 link-dark menu-a"
57
-            href={`/${lang}/products-solutions/lot/community`}
58
-            style="font-size: 28px;"
59
-          >
60
-            <div class="pb-4">
61
-              <img src="/public/menu/lot/community.png" style="width: 5vw;" />
62
-            </div>
63
-            智慧社区
64
-            <div class="menu-content pt-3">
65
-              在传统住宅社区的基础上,利用互联网、物联网、云计算、大数据等现代信息技术,实现社区管理智能化和服务智能化的新型居住社区。
66
-            </div>
67
-          </a>
68
-        </div>
69
-      </div>
70
-      <div class="col-md-3 col-sm-12">
71
-        <div
72
-          class="card border-0 text-center my-1"
73
-          style="background-color:#f8f8f8;"
74
-        >
75
-          <a
76
-            class="inline-block p-5 link-dark menu-a"
77
-            href={`/${lang}/products-solutions/lot/exhibition-all`}
78
-            style="font-size: 28px;"
79
-          >
80
-            <div class="pb-4">
81
-              <img
82
-                src="/public/menu/lot/exhibition-all.png"
83
-                style="width: 5vw;"
84
-              />
85
-            </div>
86
-            智慧展馆
87
-            <div class="menu-content pt-3">
88
-              运用先进的信息技术和智能化设备,将展馆打造成一个智能化、数字化、互动化的展览空间,为参观者提供更加丰富、便捷、高效的观展体验。
89
-            </div>
90
-          </a>
91
-        </div>
92
-      </div>
93
-    </div>
94
-  </div>
44
+  <NavSubMenu list={list} />
95
   <Footer lang={lang} />
45
   <Footer lang={lang} />
96
 </Layout>
46
 </Layout>
97
 
47
 

+ 3
- 36
src/pages/[lang]/products-solutions/others/crm/index.astro 查看文件

3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
4
 import Carousel from '@/components/children/Carousel.astro'
4
 import Carousel from '@/components/children/Carousel.astro'
5
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
6
-import Text from '@/components/children/Text.astro'
6
+import Text3 from '@/components/children/Text3.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
 import ImgPro from '@/components/ImgPro.astro'
8
 import ImgPro from '@/components/ImgPro.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
71
 
71
 
72
 <Layout title="CRM管理">
72
 <Layout title="CRM管理">
73
   <ScrollingNavbar sNav={sNav} />
73
   <ScrollingNavbar sNav={sNav} />
74
-  <ImgPro
75
-    titleHeight="2.5"
76
-    contentLineHeight="1.5"
77
-    listOrData={imgProData}
78
-    ratio="3 / 1"
79
-    titleColor="text-light"
80
-    contentColor="text-light"
81
-    titleSize="52"
82
-    childrenSize="24"
83
-    ellipsis="line-ellipsis-small"
84
-    position="positionMiddle"
85
-    btnDisplay={false}
86
-  />
74
+  <ImgPro listOrData={imgProData} />
87
   <LeftMiddleRightImgTextPro
75
   <LeftMiddleRightImgTextPro
88
     componentTitle="服务产品"
76
     componentTitle="服务产品"
89
     listOrData={informationList}
77
     listOrData={informationList}
93
     listOrData={leftImgRightTextList}
81
     listOrData={leftImgRightTextList}
94
     componentTitle="成功案例"
82
     componentTitle="成功案例"
95
     textAlign="text-center"
83
     textAlign="text-center"
96
-    titleHeight="'3.2"
97
-    px="5"
98
-    pt="4"
99
-    contentHeight="17"
100
-    subPmb="5"
101
-    btnDisplay={false}
102
-    btn2={true}
103
   />
84
   />
104
   <VerticalNavigationContent
85
   <VerticalNavigationContent
105
     list={verticalNavigationContentList}
86
     list={verticalNavigationContentList}
106
     ellipsis="line-ellipsis-small"
87
     ellipsis="line-ellipsis-small"
107
-    Children={Text}
88
+    Children={Text3}
108
     componentTitle="相关资源"
89
     componentTitle="相关资源"
109
     titleTextAlign="text-left"
90
     titleTextAlign="text-left"
110
     textAlign="text-left"
91
     textAlign="text-left"
111
-    pt="4"
112
-    px="5"
113
-    backgroundColor="#f8f8f8"
114
-    textP="5"
115
-    rounded="3"
116
-    titleSize="20"
117
-    titleHeight="6"
118
-    pLine="titleLineEllipsis2"
119
-    isContent={false}
120
-    pMb="3"
121
-    animation="animation"
122
     componentsBg="bg-even"
92
     componentsBg="bg-even"
123
-    btnDisplay={false}
124
-    btn2={true}
125
-    lineHeight="1.8"
126
   />
93
   />
127
   <Footer lang={lang} />
94
   <Footer lang={lang} />
128
 </Layout>
95
 </Layout>

+ 3
- 29
src/pages/[lang]/products-solutions/others/eshop/index.astro 查看文件

2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
4
 import Carousel from '@/components/children/Carousel.astro'
4
 import Carousel from '@/components/children/Carousel.astro'
5
-import Text from '@/components/children/Text.astro'
5
+import Text3 from '@/components/children/Text3.astro'
6
 import ImgPro from '@/components/ImgPro.astro'
6
 import ImgPro from '@/components/ImgPro.astro'
7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
8
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
8
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
78
 
78
 
79
 <Layout title="电商系统">
79
 <Layout title="电商系统">
80
   <ScrollingNavbar sNav={sNav} />
80
   <ScrollingNavbar sNav={sNav} />
81
-  <ImgPro
82
-    titleHeight="2.5"
83
-    contentLineHeight="1.5"
84
-    listOrData={imgProData}
85
-    ratio="3 / 1"
86
-    titleColor="text-light"
87
-    contentColor="text-light"
88
-    titleSize="52"
89
-    childrenSize="24"
90
-    ellipsis="line-ellipsis-small"
91
-    position="positionMiddle"
92
-    btnDisplay={false}
93
-  />
81
+  <ImgPro listOrData={imgProData} />
94
   <LeftMiddleRightText
82
   <LeftMiddleRightText
95
     componentTitle="电商产品"
83
     componentTitle="电商产品"
96
     listOrData={carouselList}
84
     listOrData={carouselList}
103
   <VerticalNavigationContent
91
   <VerticalNavigationContent
104
     list={verticalNavigationContentList}
92
     list={verticalNavigationContentList}
105
     ellipsis="line-ellipsis-small"
93
     ellipsis="line-ellipsis-small"
106
-    Children={Text}
94
+    Children={Text3}
107
     componentTitle="相关资源"
95
     componentTitle="相关资源"
108
     titleTextAlign="text-left"
96
     titleTextAlign="text-left"
109
     textAlign="text-left"
97
     textAlign="text-left"
110
-    pt="4"
111
-    px="5"
112
-    backgroundColor="#f8f8f8"
113
-    textP="5"
114
-    rounded="3"
115
-    titleSize="20"
116
-    titleHeight="6"
117
-    pLine="titleLineEllipsis2"
118
-    isContent={false}
119
-    pMb="3"
120
-    animation="animation"
121
     componentsBg="bg-even"
98
     componentsBg="bg-even"
122
-    btnDisplay={false}
123
-    btn2={true}
124
-    lineHeight="1.8"
125
   />
99
   />
126
   <Footer lang={lang} />
100
   <Footer lang={lang} />
127
 </Layout>
101
 </Layout>

+ 3
- 36
src/pages/[lang]/products-solutions/others/house/index.astro 查看文件

3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
4
 import Carousel from '@/components/children/Carousel.astro'
4
 import Carousel from '@/components/children/Carousel.astro'
5
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
6
-import Text from '@/components/children/Text.astro'
6
+import Text3 from '@/components/children/Text3.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
 import ImgPro from '@/components/ImgPro.astro'
8
 import ImgPro from '@/components/ImgPro.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
143
 
143
 
144
 <Layout title="房源交易">
144
 <Layout title="房源交易">
145
   <ScrollingNavbar sNav={sNav} />
145
   <ScrollingNavbar sNav={sNav} />
146
-  <ImgPro
147
-    titleHeight="2.5"
148
-    contentLineHeight="1.5"
149
-    listOrData={imgProData}
150
-    ratio="3 / 1"
151
-    titleColor="text-light"
152
-    contentColor="text-light"
153
-    titleSize="52"
154
-    childrenSize="24"
155
-    ellipsis="line-ellipsis-small"
156
-    position="positionMiddle"
157
-    btnDisplay={false}
158
-  />
146
+  <ImgPro listOrData={imgProData} />
159
   <Carousel
147
   <Carousel
160
     componentTitle="成功案例"
148
     componentTitle="成功案例"
161
     list={carouselList}
149
     list={carouselList}
163
     line="0"
151
     line="0"
164
     textAlign="text-center"
152
     textAlign="text-center"
165
     titleTextAlign="text-center"
153
     titleTextAlign="text-center"
166
-    titleHeight="3.2"
167
-    px="5"
168
-    pt="4"
169
-    contentHeight="17"
170
-    subPmb="5"
171
-    btnDisplay={false}
172
-    btn2={true}
173
     componentsBg="bg-grey"
154
     componentsBg="bg-grey"
174
   />
155
   />
175
   <LeftMiddleRightImgTextPro
156
   <LeftMiddleRightImgTextPro
185
   <VerticalNavigationContent
166
   <VerticalNavigationContent
186
     list={list}
167
     list={list}
187
     ellipsis="line-ellipsis-small"
168
     ellipsis="line-ellipsis-small"
188
-    Children={Text}
169
+    Children={Text3}
189
     componentTitle="相关资源"
170
     componentTitle="相关资源"
190
     titleTextAlign="text-left"
171
     titleTextAlign="text-left"
191
     textAlign="text-left"
172
     textAlign="text-left"
192
-    pt="4"
193
-    px="5"
194
-    backgroundColor="#f8f8f8"
195
-    textP="5"
196
-    rounded="3"
197
-    titleSize="20"
198
-    titleHeight="6"
199
-    pLine="titleLineEllipsis2"
200
-    isContent={false}
201
-    pMb="3"
202
-    animation="animation"
203
     componentsBg="bg-even"
173
     componentsBg="bg-even"
204
-    btnDisplay={false}
205
-    btn2={true}
206
-    lineHeight="1.8"
207
   />
174
   />
208
   <Footer lang={lang} />
175
   <Footer lang={lang} />
209
 </Layout>
176
 </Layout>

+ 3
- 43
src/pages/[lang]/products-solutions/others/shigongli/index.astro 查看文件

2
 import Layout from '@/layouts/Layout.astro'
2
 import Layout from '@/layouts/Layout.astro'
3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
4
 import Carousel from '@/components/children/Carousel.astro'
4
 import Carousel from '@/components/children/Carousel.astro'
5
-import Text from '@/components/children/Text.astro'
5
+import Text3 from '@/components/children/Text3.astro'
6
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
6
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7
 import ImgPro from '@/components/ImgPro.astro'
7
 import ImgPro from '@/components/ImgPro.astro'
8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
104
 
104
 
105
 <Layout title="旅游住宿">
105
 <Layout title="旅游住宿">
106
   <ScrollingNavbar sNav={sNav} />
106
   <ScrollingNavbar sNav={sNav} />
107
-  <ImgPro
108
-    titleHeight="2.5"
109
-    contentLineHeight="1.5"
110
-    listOrData={imgProData}
111
-    ratio="3 / 1"
112
-    titleColor="text-light"
113
-    contentColor="text-light"
114
-    titleSize="52"
115
-    childrenSize="24"
116
-    ellipsis="line-ellipsis-small"
117
-    position="positionMiddle"
118
-    btnDisplay={false}
119
-  />
107
+  <ImgPro listOrData={imgProData} />
120
   <LeftImgRightText
108
   <LeftImgRightText
121
     listOrData={leftImgRightTextList}
109
     listOrData={leftImgRightTextList}
122
     componentTitle="旅游住宿"
110
     componentTitle="旅游住宿"
123
     textAlign="text-center"
111
     textAlign="text-center"
124
-    titleHeight="3.2"
125
-    px="5"
126
-    pt="4"
127
-    contentHeight="17"
128
     componentsBg="bg-grey"
112
     componentsBg="bg-grey"
129
-    subPmb="5"
130
-    btnDisplay={false}
131
-    btn2={true}
132
   />
113
   />
133
   <Carousel
114
   <Carousel
134
     componentTitle="成功案例"
115
     componentTitle="成功案例"
137
     titleTextAlign="text-left"
118
     titleTextAlign="text-left"
138
     textAlign="text-left"
119
     textAlign="text-left"
139
     line="0"
120
     line="0"
140
-    titleHeight="3.2"
141
-    px="5"
142
-    pt="4"
143
-    contentHeight="17"
144
     componentsBg="bg-img"
121
     componentsBg="bg-img"
145
-    subPmb="5"
146
-    btnDisplay={false}
147
-    btn2={true}
148
   />
122
   />
149
   <VerticalNavigationContent
123
   <VerticalNavigationContent
150
     list={verticalNavigationContentList}
124
     list={verticalNavigationContentList}
151
     ellipsis="line-ellipsis-small"
125
     ellipsis="line-ellipsis-small"
152
-    Children={Text}
126
+    Children={Text3}
153
     componentTitle="相关资源"
127
     componentTitle="相关资源"
154
     titleTextAlign="text-left"
128
     titleTextAlign="text-left"
155
     textAlign="text-left"
129
     textAlign="text-left"
156
-    pt="4"
157
-    px="5"
158
-    backgroundColor="#f8f8f8"
159
-    textP="5"
160
-    rounded="3"
161
-    titleSize="20"
162
-    titleHeight="6"
163
-    pLine="titleLineEllipsis2"
164
-    isContent={false}
165
-    pMb="3"
166
-    animation="animation"
167
     componentsBg="bg-even"
130
     componentsBg="bg-even"
168
-    btnDisplay={false}
169
-    btn2={true}
170
-    lineHeight="1.8"
171
   />
131
   />
172
   <Footer lang={lang} />
132
   <Footer lang={lang} />
173
 </Layout>
133
 </Layout>

+ 0
- 26
src/pages/components/FirstScreen.astro 查看文件

1
----
2
-import Img from '@/components/children/Img.astro'
3
-import Text from '@/components/children/Text.astro'
4
-
5
-const { data } = Astro.props
6
-const list = { title: data.title, content: data.subTitle }
7
----
8
-
9
-<div class="box">
10
-  <Img listOrData={data.thumb} ratio="16 / 9" class="img" />
11
-  <Text
12
-    listOrData={list}
13
-    btnDisplay={true}
14
-    titleSize="fs-1"
15
-    childrenSize="fs-4"
16
-    textWeight="fw-bold"
17
-    ellipsis="line-ellipsis-small"
18
-    position="positionBottom"
19
-  />
20
-</div>
21
-<style>
22
-  .box {
23
-    position: relative;
24
-    text-align: center;
25
-  }
26
-</style>