From ecc57c95b3e833ee4168fd7ac8f398e229bbc220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E6=B4=81?= <209192278@qq.com> Date: Fri, 5 May 2023 15:48:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=82=93=E6=B4=81=20:=20=E5=85=B3=E4=BA=8E?= =?UTF-8?q?=E6=88=91=E4=BB=AC=E5=8C=BA=E6=A0=B7=E5=BC=8F=E5=88=9D=E6=AD=A5?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AboutUs.vue | 103 ++++++++++++++++++++++++------------- 1 file changed, 66 insertions(+), 37 deletions(-) diff --git a/src/components/AboutUs.vue b/src/components/AboutUs.vue index c817921..3b1e580 100644 --- a/src/components/AboutUs.vue +++ b/src/components/AboutUs.vue @@ -11,32 +11,35 @@
{{ aboutContent }}
- +

- {{ numItem.num }} + {{ numItem.num }} {{ numItem.units }}

{{ numItem.title }}

- + @@ -138,7 +141,7 @@ export default { line-height: 28.8px; } - b { + .num_bold { color: #444; line-height: 46px; margin: 0 4px 0 0; @@ -146,7 +149,9 @@ export default { font-family: arial; font-weight: normal; } - + .num_title:last-child { + border: none; + } .num_title { font-size: 14px; color: #666666; @@ -158,6 +163,20 @@ export default { } } + .culture_1 { + .img_box { + position: absolute; + bottom: auto !important; + top: 0; + } + } + + .imgAndText:hover { + img { + transform: scale(1.2); + } + } + .imgAndText { display: block; margin: 0 15px; @@ -172,7 +191,6 @@ export default { .pic { display: inline-block; - width: 100%; overflow: hidden; img { @@ -187,34 +205,45 @@ export default { left: 0; width: 100%; background-color: rgba(32, 31, 37, 0.5); + .img_innerBox { - width: 100%; - display: inline-block; + display: block; padding: 20px 30px; - .about_en{ - color: #e0c9aa; - font-size: 22px; - float: left; - text-transform: uppercase; - font-family: arial; - span:first-child{ - font-weight: bold; - margin-right: 10px; + + .its { + display: inline-block; + width: 100%; + + .about_en { + color: #e0c9aa; + font-size: 22px; + float: left; + text-transform: uppercase; + line-height: 39.6px; + font-family: arial; + + span:first-child { + font-weight: bold; + margin-right: 10px; + } + } + + .line { + clear: both; + width: 50px; + height: 1px; + float: left; + margin: 3px 0; + background-color: #e2c9ab; + } + + .about_cn { + color: #e0c9aa; + clear: both; + float: left; + font-size: 18px; + line-height: 32px; } - } - .line{ - clear: both; - width: 50px; - height: 1px; - float: left; - margin: 3px 0; - background-color: #e2c9ab; - } - .about_cn{ - color: #e0c9aa; - clear: both; - float: left; - font-size: 18px; } } } From 47fb652b67c8642c61d51a4cee4e09f8d27b412b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E6=B4=81?= <209192278@qq.com> Date: Fri, 5 May 2023 20:26:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=82=93=E6=B4=81=20:=20=E6=96=B0=E9=97=BB?= =?UTF-8?q?=E8=B5=84=E8=AE=AF=E5=8C=BA=E6=A0=B7=E5=BC=8F=E5=88=9D=E6=AD=A5?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NewsCenter.vue | 246 ++++++++++++++++++++++++++++++++++ src/views/index/index.vue | 4 +- 2 files changed, 249 insertions(+), 1 deletion(-) create mode 100644 src/components/NewsCenter.vue diff --git a/src/components/NewsCenter.vue b/src/components/NewsCenter.vue new file mode 100644 index 0000000..6e5f849 --- /dev/null +++ b/src/components/NewsCenter.vue @@ -0,0 +1,246 @@ + + + + + diff --git a/src/views/index/index.vue b/src/views/index/index.vue index 745a0f6..9fb65cb 100644 --- a/src/views/index/index.vue +++ b/src/views/index/index.vue @@ -6,6 +6,7 @@ + @@ -16,10 +17,11 @@ import ProductsClassify from "@/components/ProductsClassify"; import ProductsShow from "@/components/ProductsShow"; import ProjectCase from "@/components/ProjectCase"; import AboutUs from "@/components/AboutUs"; +import NewsCenter from "@/components/NewsCenter"; export default { name: "index", - components: {AboutUs, ProjectCase, ProductsShow, ProductsClassify, FastFindProducts, Carousel} + components: {NewsCenter, AboutUs, ProjectCase, ProductsShow, ProductsClassify, FastFindProducts, Carousel} }