409 lines
9.2 KiB
Vue
409 lines
9.2 KiB
Vue
<template>
|
|
<div class="home-page">
|
|
<div class="business-page">
|
|
<!-- 渐变背景标题区 - 增加层次感 -->
|
|
<section class="hero-section">
|
|
<div class="hero-content container">
|
|
<div class="title-wrapper">
|
|
<h1 class="hero-title">
|
|
{{ $t("BusinessiIntroduction.CONTAIN.TITLEONE.TITLE") }}
|
|
</h1>
|
|
<div class="title-decoration"></div>
|
|
</div>
|
|
<div class="hero-description">
|
|
<p>{{ $t("BusinessiIntroduction.CONTAIN.TITLEONE.CONTENT") }}</p>
|
|
<p>{{ $t("BusinessiIntroduction.CONTAIN.TITLEONE.CONTENTTWO") }}</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 业务核心解决方案 - 重新设计布局 -->
|
|
<main class="container">
|
|
<!-- 解决方案网格 - 新布局 -->
|
|
<div class="solution-grid">
|
|
<!-- 主推解决方案 -->
|
|
<div class="featured-solution">
|
|
<div class="solution-card" :style="{ '--delay': '0s' }">
|
|
<!-- <div class="card-badge">旗舰方案</div> -->
|
|
<div class="card-header">
|
|
<div class="decorative-line"></div>
|
|
<h2 class="card-title">{{ solutions[0].title }}</h2>
|
|
</div>
|
|
<ul class="card-content">
|
|
<li
|
|
v-for="(point, pIndex) in solutions[0].points"
|
|
:key="pIndex"
|
|
class="content-point"
|
|
>
|
|
<div class="point-icon">➤</div>
|
|
<div class="point-text">{{ point }}</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 次要解决方案组 -->
|
|
<div class="secondary-solutions">
|
|
<div
|
|
v-for="(item, index) in solutions.slice(1)"
|
|
:key="index + 1"
|
|
class="solution-card"
|
|
:style="{ '--delay': (index + 1) * 0.1 + 's' }"
|
|
>
|
|
<div class="card-header">
|
|
<div class="decorative-line"></div>
|
|
<h2 class="card-title">{{ item.title }}</h2>
|
|
</div>
|
|
<ul class="card-content">
|
|
<li
|
|
v-for="(point, pIndex) in item.points"
|
|
:key="pIndex"
|
|
class="content-point"
|
|
>
|
|
<div class="point-icon">➤</div>
|
|
<div class="point-text">{{ point }}</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { useI18n } from "vue-i18n";
|
|
import { computed } from "vue";
|
|
|
|
const { t } = useI18n();
|
|
|
|
const solutions = computed(() => [
|
|
{
|
|
title: t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.ONE.TITLE"),
|
|
points: [
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.ONE.CONTENT"),
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.ONE.CONTENTTWO"),
|
|
],
|
|
},
|
|
{
|
|
title: t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.TWO.TITLE"),
|
|
points: [
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.TWO.CONTENT"),
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.TWO.CONTENTTWO"),
|
|
],
|
|
},
|
|
{
|
|
title: t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.THREE.TITLE"),
|
|
points: [
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.THREE.CONTENT"),
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.THREE.CONTENTTWO"),
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.THREE.CONTENTTHREE"),
|
|
],
|
|
},
|
|
{
|
|
title: t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.FOUR.TITLE"),
|
|
points: [
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.FOUR.CONTENT"),
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.FOUR.CONTENTTWO"),
|
|
t("BusinessiIntroduction.CONTAIN.TITLEONE.paragraph.FOUR.CONTENTTHREE"),
|
|
],
|
|
},
|
|
]);
|
|
</script>
|
|
|
|
<style scoped>
|
|
.home-page {
|
|
background-image: url("@/assets/image/bg.png");
|
|
background-size: 100% 100%;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
/* 基础样式 */
|
|
.container {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
/* 标题区样式 */
|
|
.hero-section {
|
|
background: linear-gradient(135deg, #f8fbfe 0%, #e6f0ff 100%);
|
|
padding: 8rem 0 6rem;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-section::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -50px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100px;
|
|
background: white;
|
|
transform: skewY(-3deg);
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 3.5rem;
|
|
color: #2c3e50;
|
|
margin-bottom: 2rem;
|
|
animation: slideIn 1s ease;
|
|
}
|
|
|
|
.hero-description {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
font-size: 1.1rem;
|
|
line-height: 1.8;
|
|
color: #5a6d80;
|
|
}
|
|
|
|
:root {
|
|
--primary-color: #895bff;
|
|
--primary-light: #a07cff;
|
|
--primary-dark: #6a11cb;
|
|
--primary-gradient: linear-gradient(
|
|
135deg,
|
|
var(--primary-light) 0%,
|
|
var(--primary-color) 100%
|
|
);
|
|
}
|
|
.home-page {
|
|
background-image: url("@/assets/image/bg.png");
|
|
background-size: 100% 100%;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
/* 标题区 - 紫色渐变 */
|
|
.hero-section {
|
|
background: var(--primary-gradient);
|
|
padding: 10rem 0 8rem;
|
|
position: relative;
|
|
overflow: hidden;
|
|
color: white;
|
|
}
|
|
|
|
.hero-section::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>')
|
|
no-repeat bottom/100% 30%;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 3.5rem;
|
|
margin-bottom: 2rem;
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.title-decoration {
|
|
position: absolute;
|
|
bottom: -15px;
|
|
left: 0;
|
|
width: 80%;
|
|
height: 4px;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.hero-description {
|
|
max-width: 800px;
|
|
font-size: 1.1rem;
|
|
line-height: 1.8;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* 解决方案网格 */
|
|
.solution-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2.5rem;
|
|
padding: 5rem 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.solution-grid::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 80%;
|
|
height: 100%;
|
|
background: url("@/assets/image/abstract-pattern.png") no-repeat
|
|
center/contain;
|
|
opacity: 0.03;
|
|
z-index: -1;
|
|
}
|
|
|
|
/* 卡片设计 */
|
|
.solution-card {
|
|
background: white;
|
|
border-radius: 16px;
|
|
padding: 2.5rem;
|
|
box-shadow: 0 10px 40px rgba(137, 91, 255, 0.1);
|
|
transform: translateY(20px);
|
|
opacity: 0;
|
|
animation: cardEnter 0.6s ease forwards;
|
|
animation-delay: var(--delay);
|
|
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: none;
|
|
}
|
|
|
|
.solution-card::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(137, 91, 255, 0.03) 0%,
|
|
rgba(137, 91, 255, 0) 100%
|
|
);
|
|
z-index: -1;
|
|
}
|
|
|
|
.solution-card:hover {
|
|
transform: translateY(-8px);
|
|
box-shadow: 0 15px 50px rgba(137, 91, 255, 0.2);
|
|
}
|
|
|
|
.featured-solution .solution-card {
|
|
border: 1px solid rgba(137, 91, 255, 0.2);
|
|
background: linear-gradient(135deg, #f9f6ff 0%, #f0e9ff 100%);
|
|
}
|
|
|
|
.card-badge {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
background: var(--primary-gradient);
|
|
color: white;
|
|
padding: 0.3rem 1.2rem;
|
|
border-radius: 20px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
box-shadow: 0 4px 12px rgba(137, 91, 255, 0.3);
|
|
}
|
|
|
|
.decorative-line {
|
|
width: 50px;
|
|
height: 3px;
|
|
background: var(--primary-gradient);
|
|
margin-bottom: 1.5rem;
|
|
border-radius: 3px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.solution-card:hover .decorative-line {
|
|
width: 80px;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.6rem;
|
|
color: #2c0850;
|
|
margin-bottom: 1.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.content-point {
|
|
display: flex;
|
|
gap: 1.2rem;
|
|
padding: 1.2rem 0;
|
|
border-bottom: 1px solid rgba(137, 91, 255, 0.1);
|
|
}
|
|
|
|
.point-icon {
|
|
color: var(--primary-color);
|
|
font-size: 1.4rem;
|
|
flex-shrink: 0;
|
|
margin-top: 0.1rem;
|
|
}
|
|
|
|
.point-text {
|
|
color: #4a3a6b;
|
|
line-height: 1.7;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.card-button {
|
|
background: var(--primary-gradient);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.8rem 1.8rem;
|
|
border-radius: 8px;
|
|
font-weight: 500;
|
|
margin-top: 1.5rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(137, 91, 255, 0.3);
|
|
}
|
|
|
|
.card-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(137, 91, 255, 0.4);
|
|
}
|
|
|
|
/* 布局调整 */
|
|
.secondary-solutions {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 2rem;
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 1024px) {
|
|
.secondary-solutions {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.featured-solution {
|
|
margin-bottom: 2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-section {
|
|
padding: 7rem 0 5rem;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.secondary-solutions {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.solution-card {
|
|
padding: 2rem;
|
|
}
|
|
}
|
|
|
|
/* 动画 */
|
|
@keyframes cardEnter {
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
</style>
|