This commit is contained in:
张成
2025-08-25 15:24:23 +08:00
parent a993c55d3f
commit c4148d9eb6
11 changed files with 3220 additions and 2589 deletions

View File

@@ -10,16 +10,16 @@
<img :src="banner.img" width="100%" />
<div class="banner-overlay">
<div class="banner-text">
<h1 class="banner-title">{{banner.title}}</h1>
<p class="banner-subtitle">{{banner.subtitle}}</p>
<h1 class="banner-title animate fade-in-down">{{banner.title}}</h1>
<p class="banner-subtitle animate fade-in-up delay-1s">{{banner.subtitle}}</p>
</div>
</div>
</div>
</swiper-slide>
<div class="directionControl swiper-button-prev" slot="button-prev"> </div>
<div class="directionControl swiper-button-next" slot="button-next"> </div>
<div class="swiper-pagination" slot="pagination"> </div>
<div class="swiper-button-prev" slot="button-prev"></div>
<div class="swiper-button-next" slot="button-next"></div>
<div class="swiper-pagination" slot="pagination"></div>
</swiper>
</div>
@@ -27,8 +27,8 @@
<div class="company-intro">
<div class="container">
<div class="intro-header">
<h2 class="section-title">技术驱动未来服务创造价值</h2>
<p class="section-subtitle">上海丙维数字科技有限公司成立于2018年专注于AI交付内容为客户提供高质量的数字化解决方案</p>
<h2 class="section-title animate-on-scroll">技术驱动未来服务创造价值</h2>
<p class="section-subtitle animate-on-scroll">上海丙维数字科技有限公司成立于2018年专注于AI交付内容为客户提供高质量的数字化解决方案</p>
</div>
<div class="intro-content">
@@ -158,6 +158,9 @@
</template>
<script>
import VueAwesomeSwiper from 'vue-awesome-swiper'
import ResponsiveHelper from '../static/responsive_helper'
let banner_index0 = require('../assets/img/banner_index0.png')
let banner_index1 = require('../assets/img/banner_index1.png')
let banner_index2 = require('../assets/img/banner_index2.png')
@@ -170,6 +173,11 @@ let boxbg_facilitiesmanagement = require('../assets/img/boxbg_facilitiesmanageme
let boxbg_errands = require('../assets/img/boxbg_errands.png')
export default {
components: {
VueAwesomeSwiper,
ResponsiveHelper,
},
data() {
return {
swiperOption: {
@@ -187,7 +195,6 @@ export default {
pagination: {
el: '.swiper-pagination',
type: 'bullets',
bulletElement: 'li',
clickable: true,
},
},
@@ -305,11 +312,19 @@ export default {
position: relative;
height: 80vh;
min-height: 500px;
overflow: hidden;
}
.banner-content {
position: relative;
height: 100%;
width: 100%;
}
.banner-content img {
width: 100%;
height: 100%;
object-fit: cover;
}
.banner-overlay {
@@ -620,20 +635,22 @@ export default {
.pageBoxes {
grid-template-columns: 1fr;
gap: 20px;
gap: 30px;
display: flex;
flex-direction: row;
}
.boxTableHeader {
padding: 20px;
padding: 25px;
}
.product-tags {
gap: 6px;
gap: 8px;
}
.tag {
font-size: 0.75rem;
padding: 3px 10px;
font-size: 0.8rem;
padding: 5px 12px;
}
}
@@ -671,6 +688,9 @@ export default {
}
.product-image img {
width: 100%;
height: auto;
display: block;
transition: transform 0.3s ease;
}
@@ -716,37 +736,37 @@ export default {
}
.boxTableHeader {
padding: 25px;
padding: 30px;
text-align: center;
}
.boxTableHeader .h2 {
font-size: 1.5rem;
font-size: 1.6rem;
font-weight: 600;
color: #2c3e50;
margin-bottom: 15px;
margin-bottom: 20px;
}
.product-description {
color: #6c757d;
line-height: 1.6;
margin-bottom: 20px;
font-size: 0.95rem;
line-height: 1.7;
margin-bottom: 25px;
font-size: 1rem;
}
.product-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
gap: 10px;
justify-content: center;
}
.tag {
background: #e9ecef;
color: #495057;
padding: 4px 12px;
border-radius: 15px;
font-size: 0.8rem;
padding: 6px 14px;
border-radius: 18px;
font-size: 0.85rem;
font-weight: 500;
transition: all 0.3s ease;
}
@@ -757,8 +777,47 @@ export default {
transform: translateY(-2px);
}
/* 原有样式保持 */
.swiper-pagination {
bottom: 10%;
}
/* Swiper 基础样式 */
.swiper {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.swiper-button-next,
.swiper-button-prev {
color: white;
background: rgba(0, 0, 0, 0.3);
width: 44px;
height: 44px;
border-radius: 50%;
transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
background: rgba(0, 0, 0, 0.6);
}
.swiper-pagination {
bottom: 10%;
}
.swiper-pagination-bullet {
background: white;
opacity: 0.7;
}
.swiper-pagination-bullet-active {
opacity: 1;
background: #3498db;
}
</style>