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; } } } 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} }