1.重写汉晶网站

2.修改巨象云数网站“软件开发” 改为 “网站服务”
This commit is contained in:
2025-04-25 11:12:40 +08:00
parent 3eb78af090
commit 6d6f59d7a8
66 changed files with 2101 additions and 129 deletions

View File

@@ -15,27 +15,31 @@
}
.topBannerLeft{
width: 26%;
width: 28%;
height: 80%;
/* background: #00316B; */
color: #fff;
position: absolute;
top: 16vh;
top: 20vh;
left: 13vw;
}
.topBannerLeft p:nth-child(1){
font-size: 3vw;
font-size: 3.5vw;
font-weight: 600;
letter-spacing: 0.3vw;
text-align: left;
letter-spacing: 0.5vw;
}
.topBannerLeft p:nth-child(2){
font-size: 1.2vw;
color: #01A0D0;
font-size:3.5vw;
font-weight: 600;
color: #fff;
margin-top: 18px;
line-height: 6.5vh;
text-align: right;
letter-spacing: 0.5vw;
}
.topBannerBth{
@@ -101,7 +105,7 @@
.banner{
width: 100%;
height: 219vh;
min-height: 110vh;
background-image: url(../imgs/svg/背景纹(大).svg);
background-repeat: no-repeat;
background-size:160%;
@@ -216,4 +220,229 @@
}
.top3{
width: 20vw;
position: absolute;
top: 0vh;
left: 20vw;
}
/* --------------------------- */
/* 产品展示区样式 */
.case {
display: flex;
width: 90%;
min-height: 100vh;
padding: 40px;
gap: 40px;
margin: 0 auto;
padding-top: 10vh;
align-items: flex-start; /* 确保子元素从顶部开始对齐 */
}
/* 左侧导航样式 */
.product-nav {
width: 20vw;
flex-shrink: 0;
border-right: 2px solid #00E0E4;
padding-right: 3vw;
/* 添加最大高度和滚动 */
max-height: 100vh;
overflow-y: auto;
/* 添加平滑滚动 */
scroll-behavior: smooth;
/* 固定位置 */
position: sticky;
top: 0;
min-height: 100vh;
}
/* 添加滚动条样式 */
.product-nav::-webkit-scrollbar {
width: 3px;
}
.product-nav::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
}
.product-nav::-webkit-scrollbar-thumb {
background: rgba(0, 224, 228, 0.5);
border-radius: 3px;
transition: all 0.3s ease;
}
.product-nav::-webkit-scrollbar-thumb:hover {
background: rgba(0, 224, 228, 0.8);
}
.product-category {
margin-bottom: 30px;
/* background: palegoldenrod; */
}
.category-header {
display: flex;
align-items: center;
gap: 10px;
padding: 15px;
cursor: pointer;
transition: all 0.3s ease;
}
.category-header.active {
color: #00E0E4;
}
.dot {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #fff;
}
.category-header.active .dot {
background-color: #00E0E4;
}
.category-header h3 {
color: #fff;
margin: 0;
font-size: 18px;
}
.category-content {
display: none;
padding-left: 30px;
/* background: palegoldenrod; */
position: relative;
padding-left: 3vw;
}
.category-content::before{
content: '';
width: 1px;
height: 100%;
background: #fff;
position: absolute;
left: 12%;
top: 0;
}
.category-content.show {
display: block;
}
/* 产品项样式 */
.product-item {
padding: 15px;
cursor: pointer;
border-radius: 8px;
transition: all 0.3s ease;
margin-bottom: 15px;
}
.product-item:hover,
.product-item.active {
background-color: rgba(0, 224, 228, 0.1);
color: #00E0E4 !important;
border: 1px solid #00E0E4;
box-shadow: 0 0 8px 1px rgba(0, 224, 228, 0.5),
0 5px 8px 5px rgba(0, 0, 0, 0.5);
}
.product-item img {
width: 100%;
border-radius: 8px;
margin-bottom: 10px;
}
.product-item p {
color: #fff;
margin: 0;
font-size: 16px;
transition: color 0.3s ease; /* 添加颜色过渡效果 */
}
/* 选中状态的文字样式 */
.product-item.active p {
color: #00E0E4;
}
/* 可以添加悬停效果 */
.product-item:hover p {
color: #00E0E4;
}
/* 右侧详情样式 */
.product-detail {
/* flex-grow: 1; */
/* background-color: rgba(255, 255, 255, 0.05); */
border-radius: 12px;
padding: 30px;
margin-left: 8vw;
width: 30vw;
}
.detail-content {
color: #fff;
}
.detail-image {
width: 20vw;
margin-bottom: 30px;
border: 1px solid #00E0E4;
border-radius: 12px;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 0 10px 1px rgba(0, 224, 228, 0.5),
0 5px 15px 10px rgba(0, 0, 0, 0.3);
}
.detail-image img {
width: 20vw;
border-radius: 12px;
object-fit: contain;/* 保持图片比例,确保完整显示 */
}
.detail-info h2 {
color: #00E0E4;
margin-bottom: 20px;
}
.info-list p {
margin-bottom: 15px;
line-height: 1.6;
font-size: 0.8vw;
}
/* ----------------- */
/* 添加平滑滚动效果 */
html {
scroll-behavior: smooth;
}
/* 添加产品项过渡动画 */
.product-item {
transition: all 0.3s ease;
position: relative;
}
/* 优化active状态的视觉效果 */
.product-item.active {
background-color: rgba(0, 224, 228, 0.1);
transform: translateX(10px);
}