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,23 +1,13 @@
1 1
 ---
2 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 5
 const {
6 6
   listOrData,
7 7
   url,
8
-  ratio,
9
-  btnDisplay,
10
-  titleSize,
11
-  childrenSize,
12
-  textWeight,
13
-  ellipsis,
8
+  ratio = '3 / 1',
14 9
   position,
15
-  titleColor,
16
-  contentColor,
17 10
   href,
18
-  titleHeight,
19
-  pt,
20
-  contentLineHeight,
21 11
   imgMb,
22 12
   ...right
23 13
 } = Astro.props
@@ -26,22 +16,7 @@ const {
26 16
 <!-- 图片Pro版 -->
27 17
 <div class=`box mb-${imgMb}`>
28 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 20
 </div>
46 21
 <style>
47 22
   .box {

+ 12
- 8
src/components/LeftImgRightText.astro Прегледај датотеку

@@ -11,13 +11,17 @@ const {
11 11
   ...right
12 12
 } = Astro.props
13 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 18
 <div class=`${componentsBg}`>
19 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 25
       {componentTitle}
22 26
     </div>
23 27
     {
@@ -43,12 +47,7 @@ import Text from '@/components/children/Text.astro'
43 47
                   </div>
44 48
                   <div class="col-md-6 col-sm-6">
45 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 51
                     </div>
53 52
                   </div>
54 53
                 </div>
@@ -61,6 +60,11 @@ import Text from '@/components/children/Text.astro'
61 60
   </div>
62 61
 </div>
63 62
 <style>
63
+  @media (max-width: 768px) {
64
+    .left-img-right-text-title {
65
+      font-size: 36px !important;
66
+    }
67
+  }
64 68
   .text-underline {
65 69
     display: inline-block;
66 70
     width: 100px;

+ 6
- 1
src/components/LeftMiddleRightText.astro Прегледај датотеку

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

+ 56
- 0
src/components/NavSubMenu.astro Прегледај датотеку

@@ -0,0 +1,56 @@
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,6 +9,11 @@ const { title } = Astro.props
9 9
 </h1>
10 10
 
11 11
 <style lang="less">
12
+  @media (max-width: 768px) {
13
+    .part-title {
14
+      font-size: 36px !important;
15
+    }
16
+  }
12 17
   .part-title {
13 18
     font-size: 48px;
14 19
     line-height: 1.5;

+ 12
- 1
src/components/Title/SubTitle.astro Прегледај датотеку

@@ -20,6 +20,17 @@ if (lines == 1) {
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 28
   {text}
25 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,7 +16,7 @@ const {
16 16
 <div class=`${componentsBg}`>
17 17
   <div class="container">
18 18
     <div
19
-      class={`${titleTextAlign} pt-5`}
19
+      class={`${titleTextAlign} pt-5 vertical-navigation-content-title`}
20 20
       style="font-size: 48px;"
21 21
       id={componentTitle}
22 22
     >
@@ -83,15 +83,11 @@ const {
83 83
   </div>
84 84
 </div>
85 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 91
   .nav-link {
96 92
     color: #787878;
97 93
   }

+ 10
- 1
src/components/children/Carousel.astro Прегледај датотеку

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

+ 27
- 109
src/components/children/Text.astro Прегледај датотеку

@@ -1,142 +1,60 @@
1 1
 ---
2 2
 const {
3 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 6
   titleColor,
14
-  href = '#',
15
-  titleHeight = '2.8',
16
-  contentHeight = '7',
17
-  lineHeight,
18 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 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 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 22
     {listOrData?.title}
45 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 31
 </div>
66 32
 
67 33
 <style>
34
+  @media (max-width: 768px) {
35
+    /* .p-title {
36
+    } */
37
+  }
68 38
   @media (max-width: 768px) {
69 39
     .p-content {
70 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 45
     display: -webkit-box;
88 46
     -webkit-line-clamp: 1;
89 47
     -webkit-box-orient: vertical;
90 48
     overflow: hidden;
91 49
     text-overflow: ellipsis;
50
+    font-size: 24px;
92 51
   }
93
-  .line-ellipsis-small {
52
+  .content-text-ellipsis {
94 53
     display: -webkit-box;
95
-    height: 7em;
54
+    height: 6em;
96 55
     -webkit-line-clamp: 3;
97 56
     -webkit-box-orient: vertical;
98 57
     overflow: hidden;
99 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 60
 </style>

+ 7
- 2
src/components/children/Text2.astro Прегледај датотеку

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

+ 45
- 0
src/components/children/Text3.astro Прегледај датотеку

@@ -0,0 +1,45 @@
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 Прегледај датотеку

@@ -0,0 +1,72 @@
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 Прегледај датотеку

@@ -0,0 +1,57 @@
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,7 +1,7 @@
1 1
 ---
2 2
 import Layout from '@/layouts/Layout.astro'
3 3
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
4
-import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
4
+import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
5 5
 import Carousel from '@/components/children/Carousel.astro'
6 6
 import ImgPro from '@/components/ImgPro.astro'
7 7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
@@ -31,30 +31,27 @@ const data = [
31 31
 const informationList2 = [
32 32
   {
33 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 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 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 57
 const imgProData2 = {
@@ -72,66 +69,19 @@ const imgProData3 = {
72 69
 ---
73 70
 
74 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 73
   <LeftImgRightText
89 74
     listOrData={data}
90 75
     componentTitle="发展背景"
91 76
     textAlign="text-center"
92
-    titleHeight="3.2"
93
-    px="5"
94
-    pt="4"
95
-    contentHeight="17"
96 77
     componentsBg="bg-grey"
97
-    subPmb="5"
98
-    btnDisplay={false}
99
-    btn2={true}
100 78
   />
101
-  <LeftMiddleRightImgText
79
+  <LeftMiddleRightImgTextPro
102 80
     componentTitle="案例统计"
103 81
     listOrData={informationList2}
104
-    textAlign="text-center"
105
-    titleHeight="3.2"
106
-    pt="4"
107
-    px="5"
108 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 86
   <Footer lang={lang} />
137 87
 </Layout>

+ 2
- 9
src/pages/[lang]/concat-us/index.astro Прегледај датотеку

@@ -10,7 +10,7 @@ const { lang = 'zh' } = Astro.params
10 10
 const text = [
11 11
   {
12 12
     title: '技术支持',
13
-    content: '提交项目需求这一块那一块',
13
+    content: '提交项目需求这一块那一块一块',
14 14
   },
15 15
   {
16 16
     title: '云致合作伙伴咨询',
@@ -33,14 +33,7 @@ const text = [
33 33
           text.map((item, index) => (
34 34
             <div class="col-md-5">
35 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 37
               </div>
45 38
             </div>
46 39
           ))

+ 0
- 63
src/pages/[lang]/detail/BuildingDetail.astro Прегледај датотеку

@@ -1,63 +0,0 @@
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,119 +0,0 @@
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,29 +87,6 @@ const informationList2 = [
87 87
 <Layout>
88 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 90
   <div class="container-fulid" style="margin-top: 9rem;background-color:#fff">
114 91
     <div class="container p-5">
115 92
       <div style="word-break:break-word">

+ 1
- 13
src/pages/[lang]/index.astro Прегледај датотеку

@@ -191,29 +191,17 @@ const informationList = [
191 191
 
192 192
 <Layout title="官网">
193 193
   <ImgPro
194
-    titleHeight="2.5"
195
-    contentLineHeight="1.5"
196 194
     listOrData={imgProData}
197 195
     ratio="16 / 9"
198
-    titleSize="60"
199
-    childrenSize="24"
196
+    titleSize="60px"
200 197
     textWeight="fw-bold"
201
-    ellipsis="line-ellipsis-small"
202 198
     position="positionBottom"
203
-    btnDisplay={false}
204 199
     top="68"
205 200
   />
206 201
   <LeftImgRightText
207 202
     listOrData={leftImgRightTextData}
208 203
     componentTitle="产品与解决方案"
209 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 206
   <LeftMiddleRightImgTextPro listOrData={caseList} componentTitle="案例展示" />
219 207
   <LeftMiddleRightImgTextPro

+ 1
- 13
src/pages/[lang]/news/index.astro Прегледај датотеку

@@ -43,19 +43,7 @@ const text = [
43 43
 ---
44 44
 
45 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 47
   <List text={text} />
60 48
   <Footer lang={lang} />
61 49
 </Layout>

+ 34
- 73
src/pages/[lang]/product/gov-ent-health/index.astro Прегледај датотеку

@@ -1,87 +1,48 @@
1 1
 ---
2 2
 import Layout from '@/layouts/Layout.astro'
3
+import NavSubMenu from '@/components/NavSubMenu.astro'
3 4
 import Footer from '@/components/Footer.astro'
4 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 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 37
   <Footer lang={lang} />
82 38
 </Layout>
83 39
 
84 40
 <style>
41
+  @media (max-width: 768px) {
42
+    .products-solutions-md-img {
43
+      width: 15vw !important;
44
+    }
45
+  }
85 46
   .menu-a {
86 47
     text-decoration: none;
87 48
     cursor: pointer;

+ 41
- 87
src/pages/[lang]/product/others/index.astro Прегледај датотеку

@@ -1,101 +1,55 @@
1 1
 ---
2 2
 import Layout from '@/layouts/Layout.astro'
3
+import NavSubMenu from '@/components/NavSubMenu.astro'
3 4
 import Footer from '@/components/Footer.astro'
4 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 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 44
   <Footer lang={lang} />
96 45
 </Layout>
97 46
 
98 47
 <style>
48
+  @media (max-width: 768px) {
49
+    .products-solutions-md-img {
50
+      width: 15vw !important;
51
+    }
52
+  }
99 53
   .menu-a {
100 54
     text-decoration: none;
101 55
     cursor: pointer;

+ 4
- 36
src/pages/[lang]/products-solutions/gov-ent-health/bank/custom/index.astro Прегледај датотеку

@@ -5,7 +5,7 @@ import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5 5
 import ImgPro from '@/components/ImgPro.astro'
6 6
 import Carousel from '@/components/children/Carousel.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9 9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10 10
 import Footer from '@/components/Footer.astro'
11 11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
@@ -145,19 +145,7 @@ const list = [
145 145
 
146 146
 <Layout title="定制开发">
147 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 149
   <LeftMiddleRightImgTextPro
162 150
     componentTitle="场景化解决方案"
163 151
     listOrData={informationList}
@@ -172,37 +160,17 @@ const list = [
172 160
     list={carouselList2}
173 161
     Children={LeftImgRightText}
174 162
     line="0"
175
-    titleHeight="3.2"
176
-    px="5"
177
-    pt="4"
178
-    contentHeight="17"
179 163
     componentsBg="bg-img"
180
-    subPmb="5"
181
-    btnDisplay={false}
182
-    btn2={true}
183 164
   />
184 165
   <VerticalNavigationContent
185 166
     list={list}
186 167
     ellipsis="line-ellipsis-small"
187
-    Children={Text}
168
+    ellipsis="line-ellipsis-small"
169
+    Children={Text3}
188 170
     componentTitle="相关资源"
189 171
     titleTextAlign="text-left"
190 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 173
     componentsBg="bg-even"
203
-    btnDisplay={false}
204
-    btn2={true}
205
-    lineHeight="1.8"
206 174
   />
207 175
   <Footer lang={lang} />
208 176
 </Layout>

+ 4
- 36
src/pages/[lang]/products-solutions/gov-ent-health/bank/index.astro Прегледај датотеку

@@ -5,7 +5,7 @@ import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5 5
 import ImgPro from '@/components/ImgPro.astro'
6 6
 import Carousel from '@/components/children/Carousel.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9 9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10 10
 import Footer from '@/components/Footer.astro'
11 11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
@@ -155,19 +155,7 @@ const verticalNavigationContentList = [
155 155
 
156 156
 <Layout title="银行业务">
157 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 159
   <LeftMiddleRightImgTextPro
172 160
     componentTitle="场景化解决方案"
173 161
     listOrData={informationList}
@@ -179,14 +167,7 @@ const verticalNavigationContentList = [
179 167
     list={carouselList}
180 168
     line="0"
181 169
     Children={LeftImgRightText}
182
-    titleHeight="3.2"
183
-    px="5"
184
-    pt="4"
185
-    contentHeight="17"
186 170
     componentsBg="bg-grey"
187
-    subPmb="5"
188
-    btnDisplay={false}
189
-    btn2={true}
190 171
   />
191 172
   <LeftMiddleRightImgTextPro
192 173
     componentTitle="新闻资讯"
@@ -196,25 +177,12 @@ const verticalNavigationContentList = [
196 177
   <VerticalNavigationContent
197 178
     list={verticalNavigationContentList}
198 179
     ellipsis="line-ellipsis-small"
199
-    Children={Text}
180
+    ellipsis="line-ellipsis-small"
181
+    Children={Text3}
200 182
     componentTitle="相关资源"
201 183
     titleTextAlign="text-left"
202 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 185
     componentsBg="bg-even"
215
-    btnDisplay={false}
216
-    btn2={true}
217
-    lineHeight="1.8"
218 186
   />
219 187
   <Footer lang={lang} />
220 188
 </Layout>

+ 4
- 36
src/pages/[lang]/products-solutions/gov-ent-health/gov/civilized-city/index.astro Прегледај датотеку

@@ -5,7 +5,7 @@ import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5 5
 import ImgPro from '@/components/ImgPro.astro'
6 6
 import Carousel from '@/components/children/Carousel.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9 9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10 10
 import Footer from '@/components/Footer.astro'
11 11
 
@@ -82,54 +82,22 @@ const list = [
82 82
 
83 83
 <Layout title="文明创城">
84 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 86
   <LeftImgRightText
99 87
     listOrData={leftImgRightTextList}
100 88
     componentTitle="场景化解决方案"
101 89
     textAlign="text-center"
102
-    titleSize="34"
103
-    px="5"
104
-    pt="4"
105
-    contentHeight="17"
106 90
     componentsBg="bg-grey"
107
-    subPmb="5"
108
-    btnDisplay={false}
109
-    btn2={true}
110 91
   />
111 92
   <VerticalNavigationContent
112 93
     list={list}
113 94
     ellipsis="line-ellipsis-small"
114
-    Children={Text}
95
+    ellipsis="line-ellipsis-small"
96
+    Children={Text3}
115 97
     componentTitle="相关资源"
116 98
     titleTextAlign="text-left"
117 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 100
     componentsBg="bg-even"
130
-    btnDisplay={false}
131
-    btn2={true}
132
-    lineHeight="1.8"
133 101
   />
134 102
   <Footer lang={lang} />
135 103
 </Layout>

+ 4
- 36
src/pages/[lang]/products-solutions/gov-ent-health/gov/index.astro Прегледај датотеку

@@ -5,7 +5,7 @@ import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5 5
 import ImgPro from '@/components/ImgPro.astro'
6 6
 import Carousel from '@/components/children/Carousel.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9 9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10 10
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
11 11
 import Footer from '@/components/Footer.astro'
@@ -159,19 +159,7 @@ const list = [
159 159
 
160 160
 <Layout title="政务服务">
161 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 163
   <LeftMiddleRightImgTextPro
176 164
     componentTitle="场景化解决方案"
177 165
     listOrData={informationList}
@@ -183,14 +171,7 @@ const list = [
183 171
     list={carouselList}
184 172
     line="0"
185 173
     Children={LeftImgRightText}
186
-    titleHeight="3.2"
187
-    px="5"
188
-    pt="4"
189
-    contentHeight="17"
190 174
     componentsBg="bg-grey"
191
-    subPmb="5"
192
-    btnDisplay={false}
193
-    btn2={true}
194 175
   />
195 176
   <LeftMiddleRightText
196 177
     componentTitle="新闻与活动"
@@ -203,25 +184,12 @@ const list = [
203 184
   <VerticalNavigationContent
204 185
     list={list}
205 186
     ellipsis="line-ellipsis-small"
206
-    Children={Text}
187
+    ellipsis="line-ellipsis-small"
188
+    Children={Text3}
207 189
     componentTitle="相关资源"
208 190
     titleTextAlign="text-left"
209 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 192
     componentsBg="bg-even"
222
-    btnDisplay={false}
223
-    btn2={true}
224
-    lineHeight="1.8"
225 193
   />
226 194
   <Footer lang={lang} />
227 195
 </Layout>

+ 4
- 43
src/pages/[lang]/products-solutions/gov-ent-health/healthcare/index.astro Прегледај датотеку

@@ -5,7 +5,7 @@ import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5 5
 import ImgPro from '@/components/ImgPro.astro'
6 6
 import Carousel from '@/components/children/Carousel.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9 9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10 10
 import Footer from '@/components/Footer.astro'
11 11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
@@ -139,45 +139,19 @@ const list = [
139 139
 
140 140
 <Layout title="医院医疗">
141 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 143
   <LeftImgRightText
156 144
     listOrData={leftImgRightTextList}
157 145
     componentTitle="场景化解决方案"
158 146
     textAlign="text-center"
159
-    titleHeight="3.2"
160
-    px="5"
161
-    pt="4"
162
-    contentHeight="17"
163 147
     componentsBg="bg-grey"
164
-    subPmb="5"
165
-    btnDisplay={false}
166
-    btn2={true}
167 148
   />
168 149
   <Carousel
169 150
     componentTitle="成功案例"
170 151
     list={carouselList}
171 152
     Children={LeftImgRightText}
172 153
     line="0"
173
-    titleHeight="3.2"
174
-    px="5"
175
-    pt="4"
176
-    contentHeight="17"
177 154
     componentsBg="bg-img"
178
-    subPmb="5"
179
-    btnDisplay={false}
180
-    btn2={true}
181 155
   />
182 156
   <LeftMiddleRightImgTextPro
183 157
     componentTitle="相关产品"
@@ -187,25 +161,12 @@ const list = [
187 161
   <VerticalNavigationContent
188 162
     list={list}
189 163
     ellipsis="line-ellipsis-small"
190
-    Children={Text}
164
+    ellipsis="line-ellipsis-small"
165
+    Children={Text3}
191 166
     componentTitle="相关资源"
192 167
     titleTextAlign="text-left"
193 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 169
     componentsBg="bg-even"
206
-    btnDisplay={false}
207
-    btn2={true}
208
-    lineHeight="1.8"
209 170
   />
210 171
   <Footer lang={lang} />
211 172
 </Layout>

+ 42
- 97
src/pages/[lang]/products-solutions/index.astro Прегледај датотеку

@@ -1,112 +1,57 @@
1 1
 ---
2 2
 import Layout from '@/layouts/Layout.astro'
3 3
 import NavMenu from '@/components/NavMenu/index.jsx'
4
+import NavSubMenu from '@/components/NavSubMenu.astro'
4 5
 import Footer from '@/components/Footer.astro'
6
+import menu from '@/data/menu.js'
5 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 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 46
   <Footer lang={lang} />
107 47
 </Layout>
108 48
 
109 49
 <style>
50
+  @media (max-width: 768px) {
51
+    .products-solutions-md-img {
52
+      width: 15vw !important;
53
+    }
54
+  }
110 55
   .menu-a {
111 56
     text-decoration: none;
112 57
     cursor: pointer;

+ 4
- 40
src/pages/[lang]/products-solutions/industrial-internet/erp/index.astro Прегледај датотеку

@@ -6,7 +6,7 @@ import ImgPro from '@/components/ImgPro.astro'
6 6
 import Carousel from '@/components/children/Carousel.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8 8
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
9
-import Text from '@/components/children/Text.astro'
9
+import Text3 from '@/components/children/Text3.astro'
10 10
 import Footer from '@/components/Footer.astro'
11 11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
12 12
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
@@ -200,31 +200,12 @@ const list = [
200 200
 
201 201
 <Layout title="ERP">
202 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 204
   <LeftImgRightText
217 205
     listOrData={leftImgRightTextList}
218 206
     componentTitle="选择云致的理由"
219 207
     textAlign="text-center"
220
-    titleSize="34"
221
-    px="5"
222
-    pt="4"
223
-    contentHeight="17"
224 208
     componentsBg="bg-grey"
225
-    subPmb="5"
226
-    btnDisplay={false}
227
-    btn2={true}
228 209
   />
229 210
   <LeftMiddleRightImgTextPro
230 211
     componentTitle="场景化解决方案"
@@ -237,14 +218,7 @@ const list = [
237 218
     list={carouselList}
238 219
     line="0"
239 220
     Children={LeftImgRightText}
240
-    titleHeight="3.2"
241
-    px="5"
242
-    pt="4"
243
-    contentHeight="17"
244 221
     componentsBg="bg-grey"
245
-    subPmb="5"
246
-    btnDisplay={false}
247
-    btn2={true}
248 222
   />
249 223
   <LeftMiddleRightImgTextPro
250 224
     componentTitle="配套产品"
@@ -254,21 +228,11 @@ const list = [
254 228
   <VerticalNavigationContent
255 229
     list={list}
256 230
     ellipsis="line-ellipsis-small"
257
-    Children={Text}
231
+    ellipsis="line-ellipsis-small"
232
+    Children={Text3}
258 233
     componentTitle="相关资源"
259 234
     titleTextAlign="text-left"
260 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 236
     componentsBg="bg-even"
273 237
   />
274 238
   <Footer lang={lang} />

+ 26
- 50
src/pages/[lang]/products-solutions/industrial-internet/index.astro Прегледај датотеку

@@ -1,64 +1,40 @@
1 1
 ---
2 2
 import Layout from '@/layouts/Layout.astro'
3
+import NavSubMenu from '@/components/NavSubMenu.astro'
3 4
 import Footer from '@/components/Footer.astro'
4 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 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 29
   <Footer lang={lang} />
59 30
 </Layout>
60 31
 
61 32
 <style>
33
+  @media (max-width: 768px) {
34
+    .products-solutions-md-img {
35
+      width: 15vw !important;
36
+    }
37
+  }
62 38
   .menu-a {
63 39
     text-decoration: none;
64 40
     cursor: pointer;

+ 4
- 41
src/pages/[lang]/products-solutions/industrial-internet/mes/index.astro Прегледај датотеку

@@ -6,7 +6,7 @@ import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
6 6
 import Carousel from '@/components/children/Carousel.astro'
7 7
 import ImgPro from '@/components/ImgPro.astro'
8 8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
-import Text from '@/components/children/Text.astro'
9
+import Text3 from '@/components/children/Text3.astro'
10 10
 import Footer from '@/components/Footer.astro'
11 11
 
12 12
 const { lang = 'zh' } = Astro.params
@@ -163,65 +163,28 @@ const leftImgRightTextData3 = [
163 163
 
164 164
 <Layout title="云致MES">
165 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 167
   <LeftImgRightText
178 168
     listOrData={leftImgRightTextData2}
179 169
     componentTitle="数智云简介"
180 170
     textAlign="text-center"
181
-    titleHeight="3.2"
182
-    px="5"
183
-    pt="4"
184
-    contentHeight="17"
185 171
     componentsBg="bg-grey"
186
-    subPmb="5"
187
-    btnDisplay={false}
188
-    btn2={true}
189 172
   />
190 173
   <LeftImgRightText
191 174
     listOrData={leftImgRightTextData3}
192 175
     componentTitle="数智云架构"
193 176
     textAlign="text-center"
194
-    titleHeight="3.2"
195
-    px="5"
196
-    pt="4"
197
-    contentHeight="17"
198 177
     componentsBg="bg-grey"
199
-    subPmb="5"
200
-    btnDisplay={false}
201
-    btn2={true}
202 178
   />
203 179
   <VerticalNavigationContent
204 180
     list={list}
205 181
     ellipsis="line-ellipsis-small"
206
-    Children={Text}
182
+    ellipsis="line-ellipsis-small"
183
+    Children={Text3}
207 184
     componentTitle="相关资源"
208 185
     titleTextAlign="text-left"
209 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 187
     componentsBg="bg-even"
222
-    btnDisplay={false}
223
-    btn2={true}
224
-    lineHeight="1.8"
225 188
   />
226 189
   <Footer lang={lang} />
227 190
 </Layout>

+ 4
- 35
src/pages/[lang]/products-solutions/lot/agriculture/index.astro Прегледај датотеку

@@ -5,7 +5,7 @@ import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5 5
 import Carousel from '@/components/children/Carousel.astro'
6 6
 import ImgPro from '@/components/ImgPro.astro'
7 7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9 9
 import Footer from '@/components/Footer.astro'
10 10
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
11 11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
@@ -128,18 +128,7 @@ const list = [
128 128
 
129 129
 <Layout title="智慧农业">
130 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 132
   <LeftMiddleRightImgTextPro
144 133
     componentTitle="项目内容"
145 134
     listOrData={informationList}
@@ -150,14 +139,7 @@ const list = [
150 139
     listOrData={data}
151 140
     componentTitle="大数据可视化平台"
152 141
     textAlign="text-center"
153
-    titleSize="34"
154
-    px="5"
155
-    pt="4"
156
-    contentHeight="17"
157 142
     componentsBg="bg-grey"
158
-    subPmb="5"
159
-    btnDisplay={false}
160
-    btn2={true}
161 143
   />
162 144
   <LeftMiddleRightImgTextPro
163 145
     componentTitle="”四情“监测系统"
@@ -167,25 +149,12 @@ const list = [
167 149
   <VerticalNavigationContent
168 150
     list={list}
169 151
     ellipsis="line-ellipsis-small"
170
-    Children={Text}
152
+    ellipsis="line-ellipsis-small"
153
+    Children={Text3}
171 154
     componentTitle="相关资源"
172 155
     titleTextAlign="text-left"
173 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 157
     componentsBg="bg-even"
186
-    lineHeight="1.8"
187
-    btnDisplay={false}
188
-    btn2={true}
189 158
   />
190 159
   <Footer lang={lang} />
191 160
 </Layout>

+ 6
- 53
src/pages/[lang]/products-solutions/lot/building/index.astro Прегледај датотеку

@@ -1,7 +1,7 @@
1 1
 ---
2 2
 import Layout from '@/layouts/Layout.astro'
3 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 5
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
6 6
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
7 7
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
@@ -215,18 +215,10 @@ const list = [
215 215
 
216 216
 <Layout title="智慧楼宇">
217 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 219
   <!-- href=`/${lang}/detail/BuildingDetail/` -->
229 220
   <LeftMiddleRightText
221
+    ellipsis="line-ellipsis-small"
230 222
     componentTitle="智慧通行"
231 223
     listOrData={carouselList4}
232 224
     titleTextAlign="text-end"
@@ -262,59 +254,20 @@ const list = [
262 254
     ellipsis="line-ellipsis-small"
263 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 258
   <LeftMiddleRightImgTextPro
279 259
     componentTitle="智慧识别便捷通行"
280 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 263
   <VerticalNavigationContent
297 264
     list={list}
298 265
     ellipsis="line-ellipsis-small"
299
-    Children={Text}
266
+    Children={Text3}
300 267
     componentTitle="相关资源"
301 268
     titleTextAlign="text-left"
302 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 270
     componentsBg="bg-even"
317
-    lineHeight="1.8"
318 271
   />
319 272
   <Footer lang={lang} />
320 273
 </Layout>

+ 3
- 24
src/pages/[lang]/products-solutions/lot/community/index.astro Прегледај датотеку

@@ -5,7 +5,7 @@ import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
5 5
 import Carousel from '@/components/children/Carousel.astro'
6 6
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
7 7
 import ImgPro from '@/components/ImgPro.astro'
8
-import Text from '@/components/children/Text.astro'
8
+import Text3 from '@/components/children/Text3.astro'
9 9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
10 10
 import Footer from '@/components/Footer.astro'
11 11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
@@ -153,17 +153,7 @@ const list = [
153 153
 
154 154
 <Layout title="智慧社区">
155 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 157
   <LeftMiddleRightImgTextPro
168 158
     componentTitle="社区目的"
169 159
     listOrData={informationList}
@@ -184,21 +174,10 @@ const list = [
184 174
   <VerticalNavigationContent
185 175
     list={list}
186 176
     ellipsis="line-ellipsis-small"
187
-    Children={Text}
177
+    Children={Text3}
188 178
     componentTitle="相关资源"
189 179
     titleTextAlign="text-left"
190 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 181
     componentsBg="bg-even"
203 182
   />
204 183
   <Footer lang={lang} />

+ 3
- 34
src/pages/[lang]/products-solutions/lot/exhibition-all/index.astro Прегледај датотеку

@@ -6,7 +6,7 @@ import Carousel from '@/components/children/Carousel.astro'
6 6
 import ImgPro from '@/components/ImgPro.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8 8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
9
-import Text from '@/components/children/Text.astro'
9
+import Text3 from '@/components/children/Text3.astro'
10 10
 import Footer from '@/components/Footer.astro'
11 11
 import LeftMiddleRightImgTextPro from '@/components/LeftMiddleRightImgTextPro/index.astro'
12 12
 
@@ -183,17 +183,7 @@ const informationList2 = [
183 183
 
184 184
 <Layout title="智慧展馆">
185 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 187
   <LeftMiddleRightImgTextPro
198 188
     componentTitle="5G网络覆盖"
199 189
     listOrData={informationList}
@@ -201,20 +191,13 @@ const informationList2 = [
201 191
     white="white"
202 192
   />
203 193
   <Carousel
204
-    titleHeight="3.2"
205 194
     componentTitle="成功案例"
206 195
     list={carouselList2}
207 196
     Children={LeftImgRightText}
208 197
     line="0"
209 198
     textAlign="text-center"
210 199
     titleTextAlign="text-center"
211
-    px="5"
212
-    pt="4"
213
-    contentHeight="17"
214 200
     componentsBg="bg-grey"
215
-    subPmb="5"
216
-    btnDisplay={false}
217
-    btn2={true}
218 201
   />
219 202
   <LeftMiddleRightImgTextPro
220 203
     componentTitle="界面设计与用户体验"
@@ -224,25 +207,11 @@ const informationList2 = [
224 207
   <VerticalNavigationContent
225 208
     list={list}
226 209
     ellipsis="line-ellipsis-small"
227
-    Children={Text}
210
+    Children={Text3}
228 211
     componentTitle="相关资源"
229 212
     titleTextAlign="text-left"
230 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 214
     componentsBg="bg-even"
243
-    btnDisplay={false}
244
-    btn2={true}
245
-    lineHeight="1.8"
246 215
   />
247 216
   <Footer lang={lang} />
248 217
 </Layout>

+ 37
- 87
src/pages/[lang]/products-solutions/lot/index.astro Прегледај датотеку

@@ -1,97 +1,47 @@
1 1
 ---
2 2
 import Layout from '@/layouts/Layout.astro'
3
+import NavSubMenu from '@/components/NavSubMenu.astro'
3 4
 import Footer from '@/components/Footer.astro'
4 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 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 45
   <Footer lang={lang} />
96 46
 </Layout>
97 47
 

+ 3
- 36
src/pages/[lang]/products-solutions/others/crm/index.astro Прегледај датотеку

@@ -3,7 +3,7 @@ import Layout from '@/layouts/Layout.astro'
3 3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
4 4
 import Carousel from '@/components/children/Carousel.astro'
5 5
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
6
-import Text from '@/components/children/Text.astro'
6
+import Text3 from '@/components/children/Text3.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8 8
 import ImgPro from '@/components/ImgPro.astro'
9 9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
@@ -71,19 +71,7 @@ const verticalNavigationContentList = [
71 71
 
72 72
 <Layout title="CRM管理">
73 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 75
   <LeftMiddleRightImgTextPro
88 76
     componentTitle="服务产品"
89 77
     listOrData={informationList}
@@ -93,36 +81,15 @@ const verticalNavigationContentList = [
93 81
     listOrData={leftImgRightTextList}
94 82
     componentTitle="成功案例"
95 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 85
   <VerticalNavigationContent
105 86
     list={verticalNavigationContentList}
106 87
     ellipsis="line-ellipsis-small"
107
-    Children={Text}
88
+    Children={Text3}
108 89
     componentTitle="相关资源"
109 90
     titleTextAlign="text-left"
110 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 92
     componentsBg="bg-even"
123
-    btnDisplay={false}
124
-    btn2={true}
125
-    lineHeight="1.8"
126 93
   />
127 94
   <Footer lang={lang} />
128 95
 </Layout>

+ 3
- 29
src/pages/[lang]/products-solutions/others/eshop/index.astro Прегледај датотеку

@@ -2,7 +2,7 @@
2 2
 import Layout from '@/layouts/Layout.astro'
3 3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
4 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 6
 import ImgPro from '@/components/ImgPro.astro'
7 7
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
8 8
 import LeftMiddleRightText from '@/components/LeftMiddleRightText.astro'
@@ -78,19 +78,7 @@ const verticalNavigationContentList = [
78 78
 
79 79
 <Layout title="电商系统">
80 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 82
   <LeftMiddleRightText
95 83
     componentTitle="电商产品"
96 84
     listOrData={carouselList}
@@ -103,25 +91,11 @@ const verticalNavigationContentList = [
103 91
   <VerticalNavigationContent
104 92
     list={verticalNavigationContentList}
105 93
     ellipsis="line-ellipsis-small"
106
-    Children={Text}
94
+    Children={Text3}
107 95
     componentTitle="相关资源"
108 96
     titleTextAlign="text-left"
109 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 98
     componentsBg="bg-even"
122
-    btnDisplay={false}
123
-    btn2={true}
124
-    lineHeight="1.8"
125 99
   />
126 100
   <Footer lang={lang} />
127 101
 </Layout>

+ 3
- 36
src/pages/[lang]/products-solutions/others/house/index.astro Прегледај датотеку

@@ -3,7 +3,7 @@ import Layout from '@/layouts/Layout.astro'
3 3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
4 4
 import Carousel from '@/components/children/Carousel.astro'
5 5
 import LeftMiddleRightImgText from '@/components/LeftMiddleRightImgText.astro'
6
-import Text from '@/components/children/Text.astro'
6
+import Text3 from '@/components/children/Text3.astro'
7 7
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
8 8
 import ImgPro from '@/components/ImgPro.astro'
9 9
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
@@ -143,19 +143,7 @@ const list = [
143 143
 
144 144
 <Layout title="房源交易">
145 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 147
   <Carousel
160 148
     componentTitle="成功案例"
161 149
     list={carouselList}
@@ -163,13 +151,6 @@ const list = [
163 151
     line="0"
164 152
     textAlign="text-center"
165 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 154
     componentsBg="bg-grey"
174 155
   />
175 156
   <LeftMiddleRightImgTextPro
@@ -185,25 +166,11 @@ const list = [
185 166
   <VerticalNavigationContent
186 167
     list={list}
187 168
     ellipsis="line-ellipsis-small"
188
-    Children={Text}
169
+    Children={Text3}
189 170
     componentTitle="相关资源"
190 171
     titleTextAlign="text-left"
191 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 173
     componentsBg="bg-even"
204
-    btnDisplay={false}
205
-    btn2={true}
206
-    lineHeight="1.8"
207 174
   />
208 175
   <Footer lang={lang} />
209 176
 </Layout>

+ 3
- 43
src/pages/[lang]/products-solutions/others/shigongli/index.astro Прегледај датотеку

@@ -2,7 +2,7 @@
2 2
 import Layout from '@/layouts/Layout.astro'
3 3
 import ScrollingNavbar from '@/components/ScrollingNavbar.astro'
4 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 6
 import LeftImgRightText from '@/components/LeftImgRightText.astro'
7 7
 import ImgPro from '@/components/ImgPro.astro'
8 8
 import VerticalNavigationContent from '@/components/VerticalNavigationContent.astro'
@@ -104,31 +104,12 @@ const verticalNavigationContentList = [
104 104
 
105 105
 <Layout title="旅游住宿">
106 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 108
   <LeftImgRightText
121 109
     listOrData={leftImgRightTextList}
122 110
     componentTitle="旅游住宿"
123 111
     textAlign="text-center"
124
-    titleHeight="3.2"
125
-    px="5"
126
-    pt="4"
127
-    contentHeight="17"
128 112
     componentsBg="bg-grey"
129
-    subPmb="5"
130
-    btnDisplay={false}
131
-    btn2={true}
132 113
   />
133 114
   <Carousel
134 115
     componentTitle="成功案例"
@@ -137,37 +118,16 @@ const verticalNavigationContentList = [
137 118
     titleTextAlign="text-left"
138 119
     textAlign="text-left"
139 120
     line="0"
140
-    titleHeight="3.2"
141
-    px="5"
142
-    pt="4"
143
-    contentHeight="17"
144 121
     componentsBg="bg-img"
145
-    subPmb="5"
146
-    btnDisplay={false}
147
-    btn2={true}
148 122
   />
149 123
   <VerticalNavigationContent
150 124
     list={verticalNavigationContentList}
151 125
     ellipsis="line-ellipsis-small"
152
-    Children={Text}
126
+    Children={Text3}
153 127
     componentTitle="相关资源"
154 128
     titleTextAlign="text-left"
155 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 130
     componentsBg="bg-even"
168
-    btnDisplay={false}
169
-    btn2={true}
170
-    lineHeight="1.8"
171 131
   />
172 132
   <Footer lang={lang} />
173 133
 </Layout>

+ 0
- 26
src/pages/components/FirstScreen.astro Прегледај датотеку

@@ -1,26 +0,0 @@
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>