diff --git a/src/assets/scss/globalVar.scss b/src/assets/scss/globalVar.scss index dfa9ce4..19cb767 100644 --- a/src/assets/scss/globalVar.scss +++ b/src/assets/scss/globalVar.scss @@ -1,3 +1,4 @@ $theme-color: #f95926; $btn-gradient: linear-gradient(90deg, #facc22, #f83600); $light-background: rgba(249, 89, 38, 0.3); +$bg-card: rgba(249, 89, 38, 0.6); diff --git a/src/components/about/About.vue b/src/components/about/About.vue index a3335e3..f59f539 100644 --- a/src/components/about/About.vue +++ b/src/components/about/About.vue @@ -6,35 +6,35 @@ line2="软件研发团队、结构研发团队、外观研发团队也能帮您研发设计其他产品。" />
-
+

文档是我们宝贵的财富

需求文档、研发文档、实验文档、 会议记录、量产文档每个项目的 历史错误总结文档。

-
+

文档是我们宝贵的财富

需求文档、研发文档、实验文档、 会议记录、量产文档每个项目的 历史错误总结文档。

-
+

文档是我们宝贵的财富

需求文档、研发文档、实验文档、 会议记录、量产文档每个项目的 历史错误总结文档。

-
+

文档是我们宝贵的财富

需求文档、研发文档、实验文档、 会议记录、量产文档每个项目的 历史错误总结文档。

-
+

文档是我们宝贵的财富

需求文档、研发文档、实验文档、 会议记录、量产文档每个项目的 @@ -71,12 +71,109 @@ import HeadLine from '@/components/HeadLine' font-size: 16px; font-weight: 400; color: #ffffff; - border: solid 1px #ddd; + position: relative; .title { margin-bottom: 80px; + z-index: 1; } .content { line-height: 27px; + z-index: 1; + } + } + .bg1 { + background: url(../../static/img/guanyu/01.png) no-repeat; + background-size: 100% 100%; + &:hover { + background: url(../../static/img/guanyu/011.png) no-repeat; + background-size: cover; + &::before { + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + content: ''; + background: $bg-card; + width: 100%; + height: 100%; + } + } + } + .bg2 { + background: url(../../static/img/guanyu/02.png) no-repeat; + background-size: 100% 100%; + &:hover { + background: url(../../static/img/guanyu/022.png) no-repeat; + background-size: cover; + &::before { + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + content: ''; + background: $bg-card; + width: 100%; + height: 100%; + } + } + } + .bg3 { + background: url(../../static/img/guanyu/03.png) no-repeat; + background-size: 100% 100%; + &:hover { + background: url(../../static/img/guanyu/033.png) no-repeat; + background-size: cover; + &::before { + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + content: ''; + background: $bg-card; + width: 100%; + height: 100%; + } + } + } + .bg4 { + background: url(../../static/img/guanyu/04.png) no-repeat; + background-size: 100% 100%; + &:hover { + background: url(../../static/img/guanyu/044.png) no-repeat; + background-size: cover; + &::before { + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + content: ''; + background: $bg-card; + width: 100%; + height: 100%; + } + } + } + .bg5 { + background: url(../../static/img/guanyu/05.png) no-repeat; + background-size: 100% 100%; + &:hover { + background: url(../../static/img/guanyu/055.png) no-repeat; + background-size: cover; + &::before { + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + content: ''; + background: $bg-card; + width: 100%; + height: 100%; + } } } } diff --git a/src/components/about/Intro.vue b/src/components/about/Intro.vue index 0cff0a7..e18db6d 100644 --- a/src/components/about/Intro.vue +++ b/src/components/about/Intro.vue @@ -24,11 +24,13 @@ 量产

+ BG
diff --git a/src/components/about/Overview.vue b/src/components/about/Overview.vue index be02e3e..95c9199 100644 --- a/src/components/about/Overview.vue +++ b/src/components/about/Overview.vue @@ -13,7 +13,7 @@ import Header from '@/components/Header' .about_overview_container { width: 100vw; height: 490px; - background: url(../../static/img/lianxi/1.png) no-repeat; + background: url(../../static/img/guanyu/ti.png) no-repeat; background-size: cover; position: relative; .en { diff --git a/src/components/detail/Detail.vue b/src/components/detail/Detail.vue index 0fdbcc9..8760a6f 100644 --- a/src/components/detail/Detail.vue +++ b/src/components/detail/Detail.vue @@ -2,22 +2,22 @@
-
+
点击查看详情
-
+
点击查看详情
-
+
点击查看详情
-
+
点击查看详情
@@ -54,7 +54,6 @@ const toHomeDetail = (type, tid, pid) => { .one_card { width: 50%; height: 393px; - background: #ddd; border: solid 1px #000; box-sizing: border-box; &:hover { @@ -90,6 +89,22 @@ const toHomeDetail = (type, tid, pid) => { } } } + .bg1 { + background: url(../../static/img/index/a1.png) no-repeat; + background-size: cover; + } + .bg2 { + background: url(../../static/img/index/a2.png) no-repeat; + background-size: cover; + } + .bg3 { + background: url(../../static/img/index/a3.png) no-repeat; + background-size: cover; + } + .bg4 { + background: url(../../static/img/index/a4.png) no-repeat; + background-size: cover; + } } } diff --git a/src/components/detail/Overview.vue b/src/components/detail/Overview.vue index 3849220..5c6f007 100644 --- a/src/components/detail/Overview.vue +++ b/src/components/detail/Overview.vue @@ -3,7 +3,7 @@
- big_img + big_img

线性相机实验平台

@@ -26,15 +26,15 @@

- +
- +
- +
@@ -45,8 +45,11 @@