新增丰潇网站

This commit is contained in:
yaoqin 2025-05-30 16:17:00 +08:00
parent ac8bda4f94
commit 5d76da351e
35 changed files with 1337 additions and 0 deletions

70
fengxiao/css/base.css Normal file
View File

@ -0,0 +1,70 @@
/* 所有标签的内外边距清零 */
* {
margin: 0px;
padding: 0px;
/* css3盒子模型 */
box-sizing: border-box;
font-family:DFKai-SB;
}
/* em 和 i 斜体的文字不倾斜 */
em,
i {
font-style: normal
}
/* 去掉li 的小圆点 */
/* li {
list-style: none
} */
/* ul{
list-style: none;
} */
img {
/* border 0 照顾低版本浏览器 如果 图片外面包含了链接会有边框的问题 */
border: 0;
/* 取消图片底侧有空白缝隙的问题 */
vertical-align: middle;
}
button {
/* 当我们鼠标经过button 按钮的时候,鼠标变成小手 */
cursor: pointer
}
a {
color: #666;
text-decoration: none
}
a:hover {
color: #c81623
}
button,
input {
/* "\5B8B\4F53" 就是宋体的意思 这样浏览器兼容性比较好 */
font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
/* 默认有灰色边框我们需要手动去掉 */
}
body {
/* CSS3 抗锯齿形 让文字显示的更加清晰 */
-webkit-font-smoothing: antialiased;
/* background-color: #fff; */
/* font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif; */
/* color: #666 */
}
.hide,
.none {
display: none
}
/* 清除浮动 */
.clearfix::after {
visibility: hidden;
clear: both;
display: block;
content: ".";
height: 0
}

80
fengxiao/css/footer.css Normal file
View File

@ -0,0 +1,80 @@
.footer{
width: 100%;
height: 60vh;
background: #1A2B3B;
}
.footer-list{
width: 90%;
height: 95%;
display: flex;
align-items: center;
justify-content: space-around;
box-sizing: border-box;
margin: 0 auto;
}
.footer-list-item{
width: 20vw;
height: 90%;
list-style: none;
/* background: palegoldenrod; */
text-align: center;
padding-top: 12vh;
box-sizing: border-box;
}
.footer-logo{
width: 8vw;
}
.footer-list-item-text{
width: 100%;
font-size: 0.89vw;
color: rgba(255, 255, 255, 0.5);
text-align: justify;
/* padding-top: 2vh; */
box-sizing: border-box;
line-height: 3vw;
}
.item-textBOX{
padding-top: 10vh;
width: 19vw;
}
.item-nav{
color: #fff;
padding-top: 10vh;
text-align: left;
padding-left: 5vw;
}
.item-nav p:nth-of-type(1){
font-size: 1.5vw;
font-weight: 400;
}
.item-nav p:nth-of-type(2) a{
font-size: 0.8vw;
color: rgba(255, 255, 255, 0.5);
text-decoration: none;
}
.item-nav p:nth-of-type(3) a{
font-size: 0.8vw;
color: rgba(255, 255, 255, 0.5);
text-decoration: none;
}
.item-nav p a:hover{
color: #4885FD;
}
/* .footer-list-item img{
width: 100%;
height: 100%;
} */

304
fengxiao/css/header.css Normal file
View File

@ -0,0 +1,304 @@
.header{
width: 100%;
height: 12vh;
display: flex;
align-items: center;
justify-content: space-between;
/* background: #fff; */
background-color: rgba(255, 255, 255, 0.1);
z-index: 1000;
position: fixed;
top: 0;
left: 0;
right: 0;
transition: background 0.3s;
}
.header.scrolled {
background-color: #fff;
box-shadow: 0 2px 16px rgba(0,0,0,0.04); /* 可选:加阴影提升层次 */
}
.logo{
width: 20%;
height: 100%;
/* background: palegoldenrod; */
display: flex;
align-items: center;
padding-left: 8vw;
}
.logo img{
width: 8vw;
height: auto;
}
.nav{
width: 46%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding-right: 8vw;
/* background: palegoldenrod; */
}
.nav-list{
width: 100%;
height: 43%;
display: flex;
align-items: center;
justify-content: space-around;
/* background: paleturquoise; */
}
.nav-item{
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.nav-item a{
color: #1A2B3C;
font-size: 0.9vw;
position: relative;
text-decoration: none;
display: inline-block;
}
.nav-item a.active {
color: #3478FD;
}
/* .nav-item a.active::before {
content: '';
width: 100%;
height: 1px;
background: #00a0d1;
position: absolute;
bottom: -5px;
left: 0;
display: block;
} */
.nav-item a:hover{
color: #3478FD;
}
/* 下拉菜单 */
.nav-dropdown {
position: relative;
}
.arrow {
margin-left: 4px;
font-size: 0.8em;
}
.dropdown-menu li {
padding: 0;
list-style: none;
}
.dropdown-menu li a {
display: flex;
align-items: center;
padding: 10px 24px;
color: #1A2B3C;
font-size: 1em;
white-space: nowrap;
transition: background 0.2s;
display: flex;
align-items: center;
justify-content: space-between;
}
.dropdown-menu li a:hover {
background: #f2f8fa;
color: #3478FD;
}
.dropdown-mask {
display: none;
position: fixed;
z-index: 1000;
left: 0; top: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.08);
}
/* 下拉激活时显示 */
.nav-dropdown.open .dropdown-menu {
display: block;
}
.dropdown-mask.active {
display: block;
}
.arrow {
display: inline-block;
margin-left: 6px;
width: 0;
height: 0;
vertical-align: middle;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #1A2B3C;
transition: transform 0.2s;
}
.nav-dropdown.open .arrow {
transform: rotate(180deg);
border-top: 5px solid #3478FD;
}
.nav-dropdown a:hover .arrow{
border-top: 5px solid #3478FD;
}
/* 下拉菜单动画 */
.dropdown-menu {
display: block; /* 让动画生效实际用visibility控制显示 */
/* opacity: 0; */
transform: translateY(10px);
visibility: hidden;
pointer-events: none;
transition: opacity 0.25s cubic-bezier(.4,0,.2,1),
transform 0.25s cubic-bezier(.4,0,.2,1),
visibility 0.25s;
position: absolute;
top: 8vh;
left: 0;
min-width:15vw;
background: #fff;
box-shadow: 0 4px 24px rgba(0,0,0,0.12);
border-radius: 8px;
z-index: 1001;
padding: 12px 0;
}
.nav-dropdown.open .dropdown-menu {
opacity: 1;
transform: translateY(0);
visibility: visible;
pointer-events: auto;
}
.dropdown-item{
display: inline-block;
margin-left: 6px;
width: 0;
height: 0;
vertical-align: middle;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid #1A2B3C;
transition: transform 0.2s;
transition: all 0.2s;
}
.dropdown-item img{
width: 50%;
height: auto;
}
/* hover 时去掉背景色,加边框 */
.dropdown-menu li:hover .dropdown-item {
transform: scale(1.1);
border-left: 5px solid #3478FD;
}
.dropdown-menu li:hover .dropdown-item img {
filter: brightness(0) saturate(100%) invert(41%) sepia(99%) saturate(749%) hue-rotate(162deg) brightness(97%) contrast(101%);
transition: all 0.3s ease;
}
/* 联系我们 */
.contactUs{
border-radius: 30px;
transition: box-shadow 0.2s, background 0.3s,transform 0.2s;
background: #3478FD;
margin-left: 6vw;
}
.contactUs:focus,
.contactUs:hover {
box-shadow: 0 8px 24px rgba(26, 109, 197, 0.22);
/* background: linear-gradient(100deg, #4fd7fa 0%, #2a7be0 100%); */
transform: translateY(-2px) scale(1.03);
}
.contactUs .contactUs-email {
transition:
box-shadow 0.2s,
background 0.2s,
transform 0.2s;
}
.contactUs:focus .contactUs-email,
.contactUs:hover .contactUs-email {
/* background: #e6f7ff; */
/* box-shadow: 0 0 0 4px rgba(54,198,240,0.15); */
transform: scale(1.12) rotate(-6deg);
}
.contactUs a{
width: 100%;
height: 100%;
color: #fff;
display: inline-block;
display: flex;
align-items: center;
justify-content: center;
/* background: palevioletred; */
}
.contactUs a span {
transition: color 0.2s, font-weight 0.2s;
font-size: 0.8vw;
}
.contactUs:focus a span,
.contactUs:hover a span {
color: #fff;
font-weight: 600;
}
.contactUs-email{
display: flex;
align-items: center;
justify-content: center;
width: 1.6vw;
height: 1.6vw;
border-radius: 50%;
/* background: #fff; */
margin-left: 0.5vw;
}
.contactUs-email img{
width: 60%;
height: auto;
}
.menu-active .dropdown-item {
background: transparent;
border: 1px solid #00a0d1
}
.menu-active .dropdown-item img {
filter: brightness(0) saturate(100%) invert(41%) sepia(99%) saturate(749%) hue-rotate(162deg) brightness(97%) contrast(101%);
transition: all 0.3s ease;
}
.dropdown-menu li a.menu-active {
background: #f2f8fa;
color: #007a9e;
}

534
fengxiao/css/index.css Normal file
View File

@ -0,0 +1,534 @@
body{
margin: 0;
padding: 0;
background:#F1F1F1;
padding-top: 12vh;
}
.banner{
width: 88%;
height: 85vh;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-around;
}
.banner-left{
width: 86%;
height: 100%;
/* background: palegoldenrod; */
padding: 1vw;
position: relative;
}
.banner-left-video{
border-radius: 18px;
overflow: hidden;
width: 100%;
height: 70vh;
}
.banner-left-title{
width: 50%;
/* height: 10vh; */
/* background: palevioletred; */
position: absolute;
bottom: 10vw;
left:5vw;
color: #fff;
}
.banner-left-title p{
font-size: 4vw;
font-weight: bold;
margin: 0;
font-weight: 400;
padding: 0;
}
.banner-left-title p:last-child{
font-size: 0.8vw;
color: rgba(255, 255, 255, 0.8);
}
.banner-left-button{
position: absolute;
bottom: 10vw;
right:5vw;
background: #fff;
padding: 0.4vw 1vw;
border-radius: 30px;
display: flex;
align-items: center;
cursor: pointer;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
transition: all 0.2s;
}
.banner-left-button:hover{
transform: scale(1.05);
}
.banner-left-button:hover .right-arrow{
border-left: 8px solid #3478FD;
}
.banner-left-button:hover a{
color: #3478FD;
}
.banner-left-button a{
text-decoration: none;
font-size: 0.9vw;
font-weight: 400;
color: #1A2B3C;
}
.right-arrow{
display: inline-block;
margin-left: 6px;
width: 0;
height: 0;
vertical-align: middle;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-left: 8px solid #1A2B3C;
transition: transform 0.2s;
transition: all 0.2s;
}
.banner-right{
width: 30%;
height: 100%;
position: relative;
/* background: palevioletred; */
}
.banner-right-top,.banner-right-bottom{
width: 90%;
height: 40%;
/* background: paleturquoise; */
}
.banner-right-top img{
width: auto;
height: 100%;
}
.banner-right-bottom{
margin-top: 1vw;
}
.banner-right-bottom img{
width: auto;
height: 100%;
}
.right-button-top{
position: absolute;
height: 2.5vh;
top: 11vw;
right: 4vw;
bottom: 0;
}
.right-button{
position: absolute;
bottom: 10vw;
right: 4vw;
}
/* -------------------------------- */
.business{
width: 100%;
height: 80vh;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
background-image: url(../imgs/home/bg1.svg), url(../imgs/home/bg2.svg);
background-size: 100% 75%, 80% 90%; /* 每个背景图片的尺寸 */
background-repeat: no-repeat, no-repeat; /* 每个背景图片是否平铺 */
background-position: 100% 180%,222% 180%; /* 每个背景图片的位置 */
}
/* business区主内容布局 */
.business-content {
width: 88%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 3vw 4vw;
}
.business-text {
width: 50%;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
color: #1A2B3C;
/* background: palegoldenrod; */
margin-right: 3vw;
padding-left: 10%;
}
.business-text h2 {
width: 60%;
font-size: 5vw;
font-weight: 500;
margin-bottom: 1.2vw;
}
.business-text .subtitle {
width: 80%;
font-size: 1vw;
color: #5B5B5B;
margin-bottom: 2vw;
text-align: justify;
font-weight: 500;
}
.business-btn {
width: 5vw;
display: inline-block;
background: #3478FD;
color: #fff;
border-radius: 24px;
padding: 0.6vw 2vw;
font-size: 1vw;
font-weight: 500;
text-decoration: none;
box-shadow: 0 2px 8px rgba(52,120,253,0.08);
transition: background 0.2s, box-shadow 0.2s, color 0.2s;
text-align: center;
transition: all 0.2s;
}
.business-btn:focus,
.business-btn:hover {
color: #fff;
box-shadow: 0 4px 16px rgba(52,120,253,0.18);
transform: scale(1.05);
}
.business-gallery {
width: 45%;
height: 32vw;
min-height: 420px;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
/* background: palegreen; */
}
.gallery-list {
position: absolute;
top: 0;
left: 0;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
transition: transform 0.8s cubic-bezier(.4,0,.2,1);}
.gallery-list img {
width: auto;
height: 23vw;
object-fit: cover;
border-radius: 18px;
box-shadow: 0 4px 24px rgba(52,120,253,0.10);
margin-bottom: 2vw;
background: #f6f8fa;
transition: box-shadow 0.2s, filter 0.2s;
}
.gallery-list img:last-child {
margin-bottom: 0;
}
/* 遮罩层 */
.gallery-mask {
position: absolute;
left: 0;
width: 98%;
height: 48px;
pointer-events: none;
z-index: 2;
}
.gallery-mask.top {
top: -3px;
background:
/* 主扩散渐变 */
linear-gradient(to bottom, rgba(241,241,241,0.92) 60%, rgba(241,241,241,0.0) 100%),
/* 两侧椭圆扩散 */
radial-gradient(ellipse at 20% 0%, rgba(241,241,241,0.5) 0%, rgba(241,241,241,0) 80%),
radial-gradient(ellipse at 80% 0%, rgba(241,241,241,0.5) 0%, rgba(241,241,241,0) 80%);
filter: blur(2px);
}
.gallery-mask.bottom {
bottom: -3px;
background:
linear-gradient(to top, rgba(241,241,241,0.92) 60%, rgba(241,241,241,0.0) 100%),
radial-gradient(ellipse at 20% 100%, rgba(241,241,241,0.5) 0%, rgba(241,241,241,0) 80%),
radial-gradient(ellipse at 80% 100%, rgba(241,241,241,0.5) 0%, rgba(241,241,241,0) 80%);
filter: blur(2px);
}
/* -----------------AI模型------------------------------- */
.aimodel{
width: 100%;
min-height: 100vh;
margin: 0 auto;
position: relative;
}
.aimodel-bg{
/* width: 100%; */
/* background: palegoldenrod; */
margin: 0;
background:
linear-gradient(
to bottom,
#55BEFF 0%,
#55BEFF 80%,
#f1f1f1 100%
),
url(../imgs/home/bg3.svg);
background-size: 100% 100%, 100% 50%; /* 渐变和图片都铺满 */
background-repeat: no-repeat, no-repeat;
background-position: 0 0, 100% 50%;
}
.aimodel-content{
width: 88%;
/* height: 100%; */
margin: 0 auto;
padding-top: 8vh;
/* background: paleturquoise; */
}
.aimodel-top{
width: 100%;
height: 58vh;
display: flex;
justify-content: center;
/* background: palegoldenrod; */
padding-left: 5vw;
overflow: hidden;
}
.aimodel-top-left{
width: 32vw;
height: 100%;
/* background: palegoldenrod; */
}
.aimodel-top-left img{
width: 32vw;
height: auto;
object-fit: cover;
}
.aimodel-text{
width: 40vw;
height: 100%;
/* background: palegoldenrod; */
display: flex;
flex-direction: column;
justify-content: center;
color: #1A2B3C;
/* background: palegoldenrod; */
margin-right: 1vw;
padding-left: 6%;
}
.aimodel-text h2{
width: 33vw;
font-size: 4.5vw;
font-weight: 500;
color: #fff;
margin: 0;
}
.aimodel-text .subtitle{
width: 32vw;
font-size: 0.95vw;
margin: 0;
margin: 5vh 0;
text-align: justify;
line-height: 3vh;
color: #444444;
}
.aimodel-bottom{
width: 100%;
height: 100vh;
/* background: palegreen; */
}
.aimodel-bottom-list{
width: 100%;
height: 60vh;
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
.aimodel-bottom-list li{
width: 48%;
height: 35vh;
background: #FFFFFF;
margin-top: 5vh;
list-style: none;
border-radius: 18px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.list-item-imgBox{
width: 15vw;
}
.list-item-imgBox img{
width: 90%;
height: auto;
}
.list-item-text{
width: 20vw;
height: 100%;
padding-top: 10vh;
}
.list-item-text h3{
font-size: 1.5vw;
font-weight: 500;
color: #1A2B3C;
}
.list-item-text p{
font-size: 1.1vw;
color: #5B5B5B;
margin-top: 1vh;
}
.section-divider-img {
position: absolute; /* 或 absolute/fixed视你的布局而定 */
display: block;
width: 100%; /* 或你想要的宽度 */
height: auto;
margin-top: -40px; /* 让图片上移,覆盖在两个色块交界处 */
z-index: 10; /* 保证在背景色之上 */
pointer-events: none; /* 避免挡住鼠标事件 */
top: 58%;
left: 0;
}
/* 优势区 */
.advantage-bg{
width: 100%;
height: 100vh;
background: #FFFFFF;
background: linear-gradient(
to top,
#f1f1f1 0%, /* 顶部蓝色 */
#f1f1f1 80%, /* 蓝色到底部80% */
#f1f1f1 100% /* 渐变到底部的灰色 */
);
/* background: palevioletred; */
margin: 0;
/* margin-top: -1vw; */
box-sizing: border-box;
overflow: hidden;
padding-top: 0;
}
.advantage-content{
width: 88%;
height: 100%;
margin: 0 auto;
/* background: palegoldenrod; */
}
.advantage-content h2{
width: 100%;
height: 8vh;
font-size: 5vw;
font-weight: 500;
color: #1A2B3D;
text-align: center;
}
.advantage-list{
width: 100%;
height: 50vh;
display: flex;
align-items: center;
justify-content: space-around;
/* background: palegoldenrod; */
}
.advantage-list-item{
width: 23vw;
height: 40vh;
background: #fff;
list-style: none;
border-radius: 18px;
overflow: hidden;
box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.1);
padding: 1vw;
box-sizing: border-box;
text-align: center;
}
.advantage-list-item img{
width: 17vw;
height: auto;
}
.advantage-list-item p{
width: 80%;
margin: 0 auto;
font-size: 1vw;
color: #5B5B5B;
margin-top: 1vh;
text-align: left;
}
.advantage-list-item-img{
width: 70%;
height: 10vh;
display: flex;
align-items: center;
justify-content: space-around;
margin: 0 auto;
padding-left: 2vw;
margin-top: 5vh;
}

View File

View File

View File

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
fengxiao/imgs/home/ai.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 106 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 24 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 16"><defs><style>.cls-1,.cls-3{fill:none;}.cls-2{fill:#fff;}.cls-3{stroke:#fff;stroke-linecap:round;stroke-width:1.5px;}</style></defs><g id="图层_2" data-name="图层 2"><g id="图层_1-2" data-name="图层 1"><g id="iconixto_linear_mail" data-name="iconixto linear mail"><g id="Group_326" data-name="Group 326"><g id="Vector_20" data-name="Vector 20"><path class="cls-1" d="M4,0A4,4,0,0,0,0,4v8a4,4,0,0,0,4,4H16a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4Z"/><path class="cls-2" d="M4,1.5A2.5,2.5,0,0,0,1.5,4v8A2.5,2.5,0,0,0,4,14.5H16A2.5,2.5,0,0,0,18.5,12V4A2.5,2.5,0,0,0,16,1.5H4M4,0H16a4,4,0,0,1,4,4v8a4,4,0,0,1-4,4H4a4,4,0,0,1-4-4V4A4,4,0,0,1,4,0Z"/></g><path id="Vector_31" data-name="Vector 31" class="cls-3" d="M4,3,6.8,6.73a4,4,0,0,0,5.6.8,3.79,3.79,0,0,0,.8-.8L16,3"/></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 845 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
fengxiao/imgs/home/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

249
fengxiao/index.html Normal file
View File

@ -0,0 +1,249 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="./imgs/home/logoicon.png">
<link rel="stylesheet" href="./css/header.css">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/footer.css">
<title>深圳丰潇</title>
<script src="./js/header.js"></script>
<script src="./js/index.js"></script>
</head>
<body>
<header class="header">
<div class="logo">
<img src="./imgs/home/logo.png" alt="logo">
</div>
<div class="nav">
<ul class="nav-list">
<li class="nav-item">
<a href="#" class="nav-link active ">
首页
</a>
</li>
<li class="nav-item nav-dropdown" tabindex="0" aria-haspopup="true" aria-expanded="false">
<a href="#" class="nav-link ">
主营业务 <span class="arrow" aria-hidden="true"></span>
</a>
<ul class="dropdown-menu" aria-label="主营业务下拉菜单">
<li><a href="./html/websiteDesign.html">网站设计 <div class="dropdown-item"></div></a></li>
<li><a href="./html/aimodel.html">企业AI模型训练与接入技术服务 <div class="dropdown-item"></div></a></li>
</ul>
</li>
<li class="nav-item">
<a href="./html/technicalSupport.html" class="nav-link">
技术支持
</a>
</li>
<li class="nav-item">
<a href="./html/aboutUs.html" class="nav-link">
关于丰潇
</a>
</li>
<li class="nav-item contactUs">
<a href="mailto:zmz@yxsilicon.com" class="nav-link emailBox">
<span>联系我们</span>
<div class="contactUs-email">
<img src="./imgs/home/email.svg" alt="email">
</div>
</a>
</li>
</ul>
<div class="dropdown-mask" tabindex="0" aria-label="下拉菜单遮罩层"></div>
</div>
</header>
<section class="banner">
<div class="banner-left">
<div class="banner-left-video">
<video autoplay loop muted playsinline style="width: 100%;" preload="metadata">
<source src="./imgs/home/video.mp4" type="video/mp4">
你的浏览器不支持 video 标签。
</video>
</div>
<div class="banner-left-title">
<p>专业</p>
<p>创新</p>
<p>高效</p>
<p>专注于网站设计与AI模型训练,致力于帮助客户实现业务目标。</p>
</div>
<div class="banner-left-button">
<a href="./html/aboutUs.html"> <span>关于丰潇</span> <span class="right-arrow"></span></a>
</div>
</div>
<div class="banner-right">
<div class="banner-right-top">
<img src="./imgs/home/aimodel.png" alt="AI模型">
</div>
<div class="banner-right-bottom">
<img src="./imgs/home/website.png" alt="网站制作">
</div>
<div class="banner-left-button right-button-top">
<a href="#"> <span>解决方案</span> <span class="right-arrow"></span></a>
</div>
<div class="banner-left-button right-button">
<a href="./html/technicalSupport.html"> <span>技术支持</span> <span class="right-arrow"></span></a>
</div>
</div>
</section>
<section class="business">
<div class="business-content">
<div class="business-text">
<h2>网站设计新视界</h2>
<p class="subtitle">我们以用户为中心将环保、智能、情感价值融入设计同时拥抱AI新技术实现设计突破提升用户体验推动社会可持续发展。</p>
<a href="./html/websiteDesign.html" class="business-btn" tabindex="0" aria-label="查看更多">查看更多</a>
</div>
<div class="business-gallery">
<div class="gallery-mask top"></div>
<div class="gallery-list">
<img src="./imgs/home/newvision1.png" alt="新视界1" />
<img src="./imgs/home/newvision2.png" alt="新视界2" />
<img src="./imgs/home/newvision3.png" alt="新视界3" />
</div>
<div class="gallery-mask bottom"></div>
</div>
</div>
</section>
<section class="aimodel">
<div class="aimodel-bg">
<div class="aimodel-content">
<div class="aimodel-top">
<div class="aimodel-top-left">
<img src="./imgs/home/ai.png" alt="AI模型">
</div>
<div class="aimodel-text">
<h2>AI模型训练</h2>
<h2>与接入技术服务</h2>
<p class="subtitle">为企业构建、训练、部署定制化的 AI 模型,支持多种业务场景如智能客服、推荐系统、图像识别、文档处理等。实现 AI 能力的快速接入与业务融合。</p>
<a href="./html/aimodel.html" class="business-btn" tabindex="0" aria-label="查看更多">查看更多</a>
</div>
</div>
<div class="aimodel-bottom">
<ul class="aimodel-bottom-list">
<li class="aimodel-bottom-list-item">
<div class="list-item-imgBox">
<img src="./imgs/home/ailist1.png" alt="智能客服">
</div>
<div class="list-item-text">
<h3>智能客服</h3>
<p>智能技术赋能,真正懂客户的客服机器人提供全天候服务。</p>
</div>
</li>
<li class="aimodel-bottom-list-item">
<div class="list-item-imgBox">
<img src="./imgs/home/ailist2.png" alt="电商推荐系统">
</div>
<div class="list-item-text">
<h3>电商推荐系统</h3>
<p>为用户提供精准的商品推荐,提升购物体验和消费满意度。</p>
</div>
</li>
<li class="aimodel-bottom-list-item">
<div class="list-item-imgBox">
<img src="./imgs/home/ailist3.png" alt="智能客服">
</div>
<div class="list-item-text">
<h3>图像识别</h3>
<p>提供超过十万种物体和场景的通用图像识别以及人脸、植物、车型、动物、logo等类别识别还支持定制化识图和私有化部署。</p>
</div>
</li>
<li class="aimodel-bottom-list-item">
<div class="list-item-imgBox">
<img src="./imgs/home/ailist4.png" alt="智能客服">
</div>
<div class="list-item-text">
<h3>文档处理</h3>
<p>运用先进AI技术提供全面的文档处理功能如智能排版、多语言翻译、自动纠错等让文档编辑、整理、翻译变得轻松简单。</p>
</div>
</li>
</ul>
</div>
</div>
</div>
<img class="section-divider-img" src="../imgs/home/bg3.svg" alt="分割装饰" />
<div class="advantage-bg">
<div class="advantage-content">
<h2>我们的优势</h2>
<ul class="advantage-list">
<li class="advantage-list-item">
<img src="./imgs/home/advantage1.png" alt="优势1">
<p>支持大模型微调(如 GPT、BERT、CLIP)与私有化部署</p>
</li>
<li class="advantage-list-item">
<img src="./imgs/home/advantage2.png" alt="优势2">
<p>接入企业专属知识库,提供 RAG 检索增强生成方案</p>
</li>
<li class="advantage-list-item">
<img src="./imgs/home/advantage3.png" alt="优势3">
<p>内置安全策略与日志审计功能,保障模型可控与合规</p>
</li>
</ul>
<div class="advantage-list-item-img">
<img src="./imgs/home/list1.png" alt="7*24小时服务">
<img src="./imgs/home/list2.png" alt="专业技术服务">
<img src="./imgs/home/list3.png" alt="全周期解决方案">
</div>
</div>
</div>
</section>
<section class="footer">
<ul class="footer-list">
<li class="footer-list-item">
<img class="footer-logo" src="./imgs/home/footerlogo.png" alt="logo">
</li>
<li class="footer-list-item item-textBOX">
<div class="footer-list-item-text">
深圳丰潇技术服务有限公司是一家专注于网站设计与 AI 模型训练的企业,为客户提供全方位的技术服务支持。我们秉承“专业、创新、高效”的理念,致力于帮助客户实现业务目标,提升企业竞争力。
</div>
</li>
<li class="footer-list-item item-nav">
<p>主营业务</p>
<p style="margin-top: 5vh;"> <a href="./html/websiteDesign.html">网站设计</a></p>
<p style="margin-top: 5vh;"> <a href="./html/aimodel.html">企业 AI 模型训练与接入技术服务</a></p>
</li>
<li class="footer-list-item">
</li>
</ul>
</section>
</body>
</html>

57
fengxiao/js/header.js Normal file
View File

@ -0,0 +1,57 @@
document.addEventListener('DOMContentLoaded', function () {
/** 主营业务下拉菜单与遮罩层交互 */
const dropdown = document.querySelector('.nav-dropdown');
const mask = document.querySelector('.dropdown-mask');
const navLink = dropdown?.querySelector('.nav-link');
if (dropdown || mask || navLink) {
const handleToggleDropdown = (e) => {
e.preventDefault();
const isOpen = dropdown.classList.contains('open');
if (isOpen) {
dropdown.classList.remove('open');
dropdown.setAttribute('aria-expanded', 'false');
mask.classList.remove('active');
} else {
dropdown.classList.add('open');
dropdown.setAttribute('aria-expanded', 'true');
mask.classList.add('active');
}
};
const handleCloseDropdown = () => {
dropdown.classList.remove('open');
dropdown.setAttribute('aria-expanded', 'false');
mask.classList.remove('active');
};
// 点击"主营业务"切换下拉
navLink.addEventListener('click', handleToggleDropdown);
// 遮罩层点击关闭
mask.addEventListener('click', handleCloseDropdown);
// 键盘无障碍支持Enter/Space
dropdown.addEventListener('keydown', (e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault();
handleToggleDropdown(e);
}
if (e.key === 'Escape') {
handleCloseDropdown();
}
});
}
});
window.addEventListener('scroll', () => {
const header = document.querySelector('.header');
if (!header) return;
if (window.scrollY > 10) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
});

39
fengxiao/js/index.js Normal file
View File

@ -0,0 +1,39 @@
document.addEventListener('DOMContentLoaded', function () {
/** business图片滚动动画 */
const galleryList = document.querySelector('.gallery-list');
const galleryImgs = galleryList ? galleryList.querySelectorAll('img') : [];
if (galleryList && galleryImgs.length > 0) {
let currentIndex = 0;
const imgCount = galleryImgs.length;
const imgHeight = galleryImgs[0].offsetHeight + parseInt(getComputedStyle(galleryImgs[0]).marginBottom);
let isAnimating = false;
// 克隆首图到末尾实现无缝滚动
const clone = galleryImgs[0].cloneNode(true);
galleryList.appendChild(clone);
function scrollNext() {
if (isAnimating) return;
isAnimating = true;
currentIndex++;
galleryList.style.transition = 'transform 0.8s cubic-bezier(.4,0,.2,1)';
galleryList.style.transform = `translateY(-${imgHeight * currentIndex}px)`;
// 滚动到克隆图后,瞬间回到首图
if (currentIndex === imgCount) {
setTimeout(() => {
galleryList.style.transition = 'none';
galleryList.style.transform = 'translateY(0)';
currentIndex = 0;
// 强制reflow
void galleryList.offsetWidth;
isAnimating = false;
}, 820);
} else {
setTimeout(() => {
isAnimating = false;
}, 820);
}
}
setInterval(scrollNext, 2500);
}
});