This commit is contained in:
hrx 2025-12-16 17:49:20 +08:00
parent 00bb3e5653
commit 88b2017074
8 changed files with 558 additions and 168 deletions

View File

@ -110,43 +110,128 @@
} }
.search { .search {
width: 100%; width: 100%;
margin: 0.2rem 0; margin: 0.3rem 0;
padding: 0.2rem; padding: 0 0.3rem;
} }
.search .search-box { .search .search-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: #f3f3f3; background-color: #f8f9fa;
border-radius: 0.24rem; border-radius: 0.3rem;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 0.02rem solid #e9ecef;
box-shadow: 0 0.02rem 0.06rem rgba(0, 0, 0, 0.04);
}
.search .search-box:focus-within {
transform: translateY(-0.01rem);
} }
.search .search-btn { .search .search-btn {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-size: 0.2rem;
width: 18%; width: 18%;
color: #fff; color: #fff;
padding: 0.2rem 0; padding: 0.18rem 0;
background: linear-gradient(90deg, #1f70ff, #3a8cff); background: linear-gradient(90deg, #1f70ff, #3a8cff);
border-bottom-right-radius: 0.24rem; border-bottom-right-radius: 0.3rem;
border-top-right-radius: 0.24rem; border-top-right-radius: 0.3rem;
font-size: 0.24rem; font-size: 0.28rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.search .search-btn::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
transition: left 0.5s ease;
}
.search .search-btn:hover {
background: linear-gradient(90deg, #0d5aff, #2a7aff);
width: 20%;
}
.search .search-btn:hover::after {
left: 100%;
}
.search .search-btn:active {
background: linear-gradient(90deg, #0a50e6, #2575e6);
transform: scale(0.98);
} }
.search .input { .search .input {
width: 80%; flex: 1;
padding: 0.2rem 0; padding: 0.16rem 0;
padding-left: 0.2rem; padding-left: 0.25rem;
display: flex;
align-items: center;
} }
.search .input input { .search .input input {
border: none; border: none;
/* 去除边框 */
outline: none; outline: none;
/* 去除焦点时的外框 */
background: none; background: none;
/* 去除背景色 */
padding: 0; padding: 0;
/* 去除内边距 */
margin: 0; margin: 0;
/* 去除外边距,根据需要设置 */
width: 100%; width: 100%;
font-size: 0.26rem;
color: #333;
line-height: 1.4;
}
.search .input input::placeholder {
color: #adb5bd;
font-size: 0.24rem;
transition: color 0.3s ease;
}
.search .input input:focus::placeholder {
color: #868e96;
}
/* 为供应商容器和产品列表添加搜索状态样式 */
.supplier-container {
transition: opacity 0.3s ease;
}
.box {
transition: transform 0.3s ease;
}
/* 当有搜索关键词时,调整一些元素的样式 */
:global body.search-active .supplier-container {
opacity: 0.8;
}
:global body.search-active .box {
animation: searchResultAppear 0.4s ease;
}
@keyframes searchResultAppear {
0% {
opacity: 0;
transform: translateY(0.1rem);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* 响应式调整 */
@media (max-width: 480px) {
.search {
padding: 0 0.2rem;
margin: 0.25rem 0;
}
.search .search-box {
border-radius: 0.25rem;
}
.search .search-btn {
font-size: 0.26rem;
padding: 0.16rem 0;
}
.search .input {
padding: 0.14rem 0;
padding-left: 0.2rem;
}
.search .input input {
font-size: 0.24rem;
}
} }

View File

@ -126,46 +126,167 @@
.search { .search {
width: 100%; width: 100%;
margin: .2rem 0; margin: .3rem 0;
padding: .2rem; padding: 0 .3rem;
.search-box { .search-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: #f3f3f3; background-color: #f8f9fa;
border-radius: .24rem; border-radius: .3rem;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: .02rem solid #e9ecef;
box-shadow: 0 .02rem .06rem rgba(0, 0, 0, 0.04);
// &:hover {
// border-color: #ced4da;
// background-color: #fff;
// box-shadow: 0 .04rem .12rem rgba(0, 0, 0, 0.08);
// }
&:focus-within {
// border-color: #1f70ff;
// background-color: #fff;
// box-shadow: 0 .04rem .16rem rgba(31, 112, 255, 0.15);
transform: translateY(-0.01rem);
}
} }
.search-btn { .search-btn {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-size: .2rem;
width: 18%; width: 18%;
color: #fff; color: #fff;
padding: .2rem 0; padding: .18rem 0;
background: linear-gradient(90deg, #1f70ff, #3a8cff); background: linear-gradient(90deg, #1f70ff, #3a8cff);
border-bottom-right-radius: .24rem; border-bottom-right-radius: .3rem;
border-top-right-radius: .24rem; border-top-right-radius: .3rem;
font-size: .24rem; font-size: .28rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
&::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.2) 50%,
rgba(255, 255, 255, 0) 100%);
transition: left 0.5s ease;
}
&:hover {
background: linear-gradient(90deg, #0d5aff, #2a7aff);
width: 20%;
&::after {
left: 100%;
}
}
&:active {
background: linear-gradient(90deg, #0a50e6, #2575e6);
transform: scale(0.98);
}
} }
.input { .input {
width: 80%; flex: 1;
padding: .2rem 0; padding: .16rem 0;
padding-left: .2rem; padding-left: .25rem;
display: flex;
align-items: center;
input { input {
border: none; border: none;
/* 去除边框 */
outline: none; outline: none;
/* 去除焦点时的外框 */
background: none; background: none;
/* 去除背景色 */
padding: 0; padding: 0;
/* 去除内边距 */
margin: 0; margin: 0;
/* 去除外边距,根据需要设置 */
width: 100%; width: 100%;
font-size: .26rem;
color: #333;
line-height: 1.4;
&::placeholder {
color: #adb5bd;
font-size: .24rem;
transition: color 0.3s ease;
}
&:focus {
&::placeholder {
color: #868e96;
}
}
}
}
}
/* 为供应商容器和产品列表添加搜索状态样式 */
.supplier-container {
transition: opacity 0.3s ease;
}
.box {
transition: transform 0.3s ease;
}
/* 当有搜索关键词时,调整一些元素的样式 */
:global {
body.search-active {
.supplier-container {
opacity: 0.8;
}
.box {
animation: searchResultAppear 0.4s ease;
}
}
}
@keyframes searchResultAppear {
0% {
opacity: 0;
transform: translateY(.1rem);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* 响应式调整 */
@media (max-width: 480px) {
.search {
padding: 0 .2rem;
margin: .25rem 0;
.search-box {
border-radius: .25rem;
}
.search-btn {
font-size: .26rem;
padding: .16rem 0;
}
.input {
padding: .14rem 0;
padding-left: .2rem;
input {
font-size: .24rem;
}
} }
} }
} }

View File

@ -119,43 +119,128 @@
} }
.search { .search {
width: 100%; width: 100%;
margin: 0.2rem 0; margin: 0.3rem 0;
padding: 0.2rem; padding: 0 0.3rem;
} }
.search .search-box { .search .search-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: #f3f3f3; background-color: #f8f9fa;
border-radius: 0.24rem; border-radius: 0.3rem;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 0.02rem solid #e9ecef;
box-shadow: 0 0.02rem 0.06rem rgba(0, 0, 0, 0.04);
}
.search .search-box:focus-within {
transform: translateY(-0.01rem);
} }
.search .search-btn { .search .search-btn {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-size: 0.2rem;
width: 18%; width: 18%;
color: #fff; color: #fff;
padding: 0.2rem 0; padding: 0.18rem 0;
background: linear-gradient(90deg, #1f70ff, #3a8cff); background: linear-gradient(90deg, #1f70ff, #3a8cff);
border-bottom-right-radius: 0.24rem; border-bottom-right-radius: 0.3rem;
border-top-right-radius: 0.24rem; border-top-right-radius: 0.3rem;
font-size: 0.24rem; font-size: 0.28rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.search .search-btn::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
transition: left 0.5s ease;
}
.search .search-btn:hover {
background: linear-gradient(90deg, #0d5aff, #2a7aff);
width: 20%;
}
.search .search-btn:hover::after {
left: 100%;
}
.search .search-btn:active {
background: linear-gradient(90deg, #0a50e6, #2575e6);
transform: scale(0.98);
} }
.search .input { .search .input {
width: 80%; flex: 1;
padding: 0.2rem 0; padding: 0.16rem 0;
padding-left: 0.2rem; padding-left: 0.25rem;
display: flex;
align-items: center;
} }
.search .input input { .search .input input {
border: none; border: none;
/* 去除边框 */
outline: none; outline: none;
/* 去除焦点时的外框 */
background: none; background: none;
/* 去除背景色 */
padding: 0; padding: 0;
/* 去除内边距 */
margin: 0; margin: 0;
/* 去除外边距,根据需要设置 */
width: 100%; width: 100%;
font-size: 0.26rem;
color: #333;
line-height: 1.4;
}
.search .input input::placeholder {
color: #adb5bd;
font-size: 0.24rem;
transition: color 0.3s ease;
}
.search .input input:focus::placeholder {
color: #868e96;
}
/* 为供应商容器和产品列表添加搜索状态样式 */
.supplier-container {
transition: opacity 0.3s ease;
}
.box {
transition: transform 0.3s ease;
}
/* 当有搜索关键词时,调整一些元素的样式 */
:global body.search-active .supplier-container {
opacity: 0.8;
}
:global body.search-active .box {
animation: searchResultAppear 0.4s ease;
}
@keyframes searchResultAppear {
0% {
opacity: 0;
transform: translateY(0.1rem);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* 响应式调整 */
@media (max-width: 480px) {
.search {
padding: 0 0.2rem;
margin: 0.25rem 0;
}
.search .search-box {
border-radius: 0.25rem;
}
.search .search-btn {
font-size: 0.26rem;
padding: 0.16rem 0;
}
.search .input {
padding: 0.14rem 0;
padding-left: 0.2rem;
}
.search .input input {
font-size: 0.24rem;
}
} }

View File

@ -136,46 +136,167 @@
} }
.search { .search {
width: 100%; width: 100%;
margin: .2rem 0; margin: .3rem 0;
padding: .2rem; padding: 0 .3rem;
.search-box { .search-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: #f3f3f3; background-color: #f8f9fa;
border-radius: .24rem; border-radius: .3rem;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: .02rem solid #e9ecef;
box-shadow: 0 .02rem .06rem rgba(0, 0, 0, 0.04);
// &:hover {
// border-color: #ced4da;
// background-color: #fff;
// box-shadow: 0 .04rem .12rem rgba(0, 0, 0, 0.08);
// }
&:focus-within {
// border-color: #1f70ff;
// background-color: #fff;
// box-shadow: 0 .04rem .16rem rgba(31, 112, 255, 0.15);
transform: translateY(-0.01rem);
}
} }
.search-btn { .search-btn {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-size: .2rem;
width: 18%; width: 18%;
color: #fff; color: #fff;
padding: .2rem 0; padding: .18rem 0;
background: linear-gradient(90deg, #1f70ff, #3a8cff); background: linear-gradient(90deg, #1f70ff, #3a8cff);
border-bottom-right-radius: .24rem; border-bottom-right-radius: .3rem;
border-top-right-radius: .24rem; border-top-right-radius: .3rem;
font-size: .24rem; font-size: .28rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
&::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.2) 50%,
rgba(255, 255, 255, 0) 100%);
transition: left 0.5s ease;
}
&:hover {
background: linear-gradient(90deg, #0d5aff, #2a7aff);
width: 20%;
&::after {
left: 100%;
}
}
&:active {
background: linear-gradient(90deg, #0a50e6, #2575e6);
transform: scale(0.98);
}
} }
.input { .input {
width: 80%; flex: 1;
padding: .2rem 0; padding: .16rem 0;
padding-left: .2rem; padding-left: .25rem;
display: flex;
align-items: center;
input { input {
border: none; border: none;
/* 去除边框 */
outline: none; outline: none;
/* 去除焦点时的外框 */
background: none; background: none;
/* 去除背景色 */
padding: 0; padding: 0;
/* 去除内边距 */
margin: 0; margin: 0;
/* 去除外边距,根据需要设置 */
width: 100%; width: 100%;
font-size: .26rem;
color: #333;
line-height: 1.4;
&::placeholder {
color: #adb5bd;
font-size: .24rem;
transition: color 0.3s ease;
}
&:focus {
&::placeholder {
color: #868e96;
}
}
}
}
}
/* 为供应商容器和产品列表添加搜索状态样式 */
.supplier-container {
transition: opacity 0.3s ease;
}
.box {
transition: transform 0.3s ease;
}
/* 当有搜索关键词时,调整一些元素的样式 */
:global {
body.search-active {
.supplier-container {
opacity: 0.8;
}
.box {
animation: searchResultAppear 0.4s ease;
}
}
}
@keyframes searchResultAppear {
0% {
opacity: 0;
transform: translateY(.1rem);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* 响应式调整 */
@media (max-width: 480px) {
.search {
padding: 0 .2rem;
margin: .25rem 0;
.search-box {
border-radius: .25rem;
}
.search-btn {
font-size: .26rem;
padding: .16rem 0;
}
.input {
padding: .14rem 0;
padding-left: .2rem;
input {
font-size: .24rem;
}
} }
} }
} }

View File

@ -26,7 +26,7 @@
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
font-size: 0.7rem; font-size: 0.68rem;
} }
.title .title-top { .title .title-top {
font-size: 0.6rem; font-size: 0.6rem;
@ -109,7 +109,7 @@
.base-box .content .item-box .advantage-list, .base-box .content .item-box .advantage-list,
.journey-box .content .item-box .advantage-list, .journey-box .content .item-box .advantage-list,
.latitude-box .content .item-box .advantage-list { .latitude-box .content .item-box .advantage-list {
margin: 0.1rem 0; display: block;
} }
.base-box .content .item-box .advantage-list .advantage-item, .base-box .content .item-box .advantage-list .advantage-item,
.journey-box .content .item-box .advantage-list .advantage-item, .journey-box .content .item-box .advantage-list .advantage-item,
@ -138,7 +138,6 @@
.base-box .content .item-box .advantage-list .advantage-item .advantage-content, .base-box .content .item-box .advantage-list .advantage-item .advantage-content,
.journey-box .content .item-box .advantage-list .advantage-item .advantage-content, .journey-box .content .item-box .advantage-list .advantage-item .advantage-content,
.latitude-box .content .item-box .advantage-list .advantage-item .advantage-content { .latitude-box .content .item-box .advantage-list .advantage-item .advantage-content {
flex: 1;
font-size: 0.18rem; font-size: 0.18rem;
} }
.base-box .content .item-box .item-price, .base-box .content .item-box .item-price,
@ -255,7 +254,6 @@
background: #f5f7fa; background: #f5f7fa;
color: #fff; color: #fff;
padding: 0.4rem 0.2rem; padding: 0.4rem 0.2rem;
margin-top: 0.8rem;
} }
.footer-content { .footer-content {
max-width: 12rem; max-width: 12rem;
@ -266,7 +264,6 @@
background: #f6f8fd; background: #f6f8fd;
color: #333; color: #333;
padding: 0.6rem 0.2rem 0.4rem; padding: 0.6rem 0.2rem 0.4rem;
margin-top: 1rem;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
border-top: 1px solid #e8edf5; border-top: 1px solid #e8edf5;
@ -289,8 +286,6 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
padding-bottom: 0.4rem;
margin-bottom: 0.4rem;
} }
.logo-footer { .logo-footer {
width: 2.4rem; width: 2.4rem;
@ -302,38 +297,29 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.contact-info { .footer-center {
flex: 1;
font-size: 0.24rem; font-size: 0.24rem;
display: grid; padding: 0.3rem 0.2rem;
grid-template-columns: 1fr; background: #fff;
gap: 0.24rem; border-radius: 0.16rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
margin-top: 0.4rem;
border: 1px solid #eef2f9;
width: 100%; width: 100%;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.contact-info { .footer-center {
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 0.3rem 0.6rem; gap: 0.3rem 0.6rem;
} }
} }
.contact-info .contact-item { .footer-center .contact-item {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
padding: 0.16rem 0.2rem; padding: 0.16rem 0.2rem;
background: #fff;
border-radius: 0.12rem; border-radius: 0.12rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
cursor: pointer;
border: 1px solid #eef2f9;
} }
.contact-info .contact-item:hover { .footer-center .contact-item .iconfont {
background: #fff;
border-color: #2ebdfa;
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(39, 90, 255, 0.12);
}
.contact-info .contact-item .iconfont {
width: 0.2rem; width: 0.2rem;
height: 0.2rem; height: 0.2rem;
margin-right: 0.12rem; margin-right: 0.12rem;
@ -342,31 +328,31 @@
flex-shrink: 0; flex-shrink: 0;
font-size: 0.26rem; font-size: 0.26rem;
} }
.contact-info .contact-item .label { .footer-center .contact-item .label {
color: #666; color: #666;
flex-shrink: 0; flex-shrink: 0;
font-weight: 500; font-weight: 500;
margin-right: 0.08rem; margin-right: 0.08rem;
font-size: 0.24rem; font-size: 0.24rem;
} }
.contact-info .contact-item .value { .footer-center .contact-item .value {
color: #444; color: #444;
flex: 1; flex: 1;
line-height: 1.5; line-height: 1.5;
} }
.contact-info .contact-item .phone-numbers { .footer-center .contact-item .phone-numbers {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.08rem; gap: 0.08rem;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.contact-info .contact-item .phone-numbers { .footer-center .contact-item .phone-numbers {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
gap: 0.16rem; gap: 0.16rem;
} }
} }
.contact-info .contact-item .phone-link { .footer-center .contact-item .phone-link {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
transition: all 0.3s; transition: all 0.3s;
@ -374,20 +360,20 @@
font-size: 0.208rem; font-size: 0.208rem;
/* 增大30%: 0.16rem * 1.3 = 0.208rem */ /* 增大30%: 0.16rem * 1.3 = 0.208rem */
} }
.contact-info .contact-item .phone-link:hover { .footer-center .contact-item .phone-link:hover {
color: #275AFF; color: #275AFF;
text-decoration: underline; text-decoration: underline;
} }
.contact-info .contact-item .phone-separator { .footer-center .contact-item .phone-separator {
color: #999; color: #999;
font-weight: 300; font-weight: 300;
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.contact-info .contact-item .phone-separator { .footer-center .contact-item .phone-separator {
display: none; display: none;
} }
} }
.contact-info .contact-item .email-link { .footer-center .contact-item .email-link {
color: #275AFF; color: #275AFF;
text-decoration: none; text-decoration: none;
word-break: break-all; word-break: break-all;
@ -395,7 +381,7 @@
font-size: 0.208rem; font-size: 0.208rem;
/* 增大30%: 0.16rem * 1.3 = 0.208rem */ /* 增大30%: 0.16rem * 1.3 = 0.208rem */
} }
.contact-info .contact-item .email-link:hover { .footer-center .contact-item .email-link:hover {
color: #2ebdfa; color: #2ebdfa;
text-decoration: underline; text-decoration: underline;
} }

View File

@ -28,7 +28,7 @@
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
font-size: .7rem; font-size: .68rem;
} }
.title-top { .title-top {
@ -110,7 +110,7 @@
} }
.advantage-list { .advantage-list {
margin: 0.1rem 0; display: block;
.advantage-item { .advantage-item {
display: block; display: block;
@ -133,7 +133,7 @@
} }
.advantage-content { .advantage-content {
flex: 1; // flex: 1;
font-size: .18rem; font-size: .18rem;
} }
} }
@ -256,7 +256,7 @@
background: #f5f7fa; background: #f5f7fa;
color: #fff; color: #fff;
padding: 0.4rem 0.2rem; padding: 0.4rem 0.2rem;
margin-top: 0.8rem; // margin-top: 0.8rem;
} }
.footer-content { .footer-content {
@ -269,7 +269,7 @@
background: #f6f8fd; background: #f6f8fd;
color: #333; color: #333;
padding: 0.6rem 0.2rem 0.4rem; padding: 0.6rem 0.2rem 0.4rem;
margin-top: 1rem; // margin-top: 1rem;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
border-top: 1px solid #e8edf5; border-top: 1px solid #e8edf5;
@ -296,8 +296,8 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
padding-bottom: 0.4rem; // padding-bottom: 0.4rem;
margin-bottom: 0.4rem; // margin-bottom: 0.4rem;
} }
@ -313,12 +313,14 @@
} }
} }
.contact-info { .footer-center {
flex: 1;
font-size: 0.24rem; font-size: 0.24rem;
display: grid; padding: 0.3rem 0.2rem;
grid-template-columns: 1fr; background: #fff;
gap: 0.24rem; border-radius: 0.16rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
margin-top: 0.4rem;
border: 1px solid #eef2f9;
width: 100%; width: 100%;
@media (min-width: 768px) { @media (min-width: 768px) {
@ -330,19 +332,7 @@
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
padding: 0.16rem 0.2rem; padding: 0.16rem 0.2rem;
background: #fff;
border-radius: 0.12rem; border-radius: 0.12rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
cursor: pointer;
border: 1px solid #eef2f9;
&:hover {
background: #fff;
border-color: #2ebdfa;
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(39, 90, 255, 0.12);
}
.iconfont { .iconfont {
width: 0.2rem; width: 0.2rem;
@ -379,7 +369,9 @@
gap: 0.16rem; gap: 0.16rem;
} }
} }
.center{
// display: flex;
}
.phone-link { .phone-link {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
@ -441,6 +433,7 @@
&:hover { &:hover {
background: #fff; background: #fff;
border-color: #2ebdfa; border-color: #2ebdfa;
transform: translateY(-4px); transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(39, 90, 255, 0.15); box-shadow: 0 8px 24px rgba(39, 90, 255, 0.15);

View File

@ -28,11 +28,11 @@
<!-- 优势列表 --> <!-- 优势列表 -->
<div class="advantage-list" v-if="item.list && item.list.length"> <div class="advantage-list" v-if="item.list && item.list.length">
<div class="advantage-item" v-for="listItem in item.list" :key="listItem.id"> <div class="advantage-item" v-for="listItem in item.list" :key="listItem.id">
<p> <div>
<img v-if="listItem.icon" :src="getIconPath(listItem.icon)" alt="" class="advantage-icon" /> <img v-if="listItem.icon" :src="getIconPath(listItem.icon)" alt="" class="advantage-icon" />
<span v-if="listItem.name" class="advantage-name">{{ listItem.name }} : </span> <span v-if="listItem.name" class="advantage-name">{{ listItem.name }} : </span>
<span class="advantage-content">{{ listItem.content }}</span> <span class="advantage-content">{{ listItem.content }}</span>
</p> </div>
</div> </div>
</div> </div>
@ -62,11 +62,11 @@
<!-- 优势列表 --> <!-- 优势列表 -->
<div class="advantage-list" v-if="item.list && item.list.length"> <div class="advantage-list" v-if="item.list && item.list.length">
<div class="advantage-item" v-for="listItem in item.list" :key="listItem.id"> <div class="advantage-item" v-for="listItem in item.list" :key="listItem.id">
<p> <div>
<img v-if="listItem.icon" :src="getIconPath(listItem.icon)" alt="" class="advantage-icon" /> <img v-if="listItem.icon" :src="getIconPath(listItem.icon)" alt="" class="advantage-icon" />
<span v-if="listItem.name" class="advantage-name">{{ listItem.name }} : </span> <span v-if="listItem.name" class="advantage-name">{{ listItem.name }} : </span>
<span class="advantage-content">{{ listItem.content }}</span> <span class="advantage-content">{{ listItem.content }}</span>
</p> </div>
</div> </div>
</div> </div>
@ -96,11 +96,11 @@
<!-- 优势列表 --> <!-- 优势列表 -->
<div class="advantage-list" v-if="item.advantageList && item.advantageList.length"> <div class="advantage-list" v-if="item.advantageList && item.advantageList.length">
<div class="advantage-item" v-for="advantage in item.advantageList" :key="advantage.id"> <div class="advantage-item" v-for="advantage in item.advantageList" :key="advantage.id">
<p> <div>
<img v-if="advantage.icon" :src="getIconPath(advantage.icon)" alt="" class="advantage-icon" /> <img v-if="advantage.icon" :src="getIconPath(advantage.icon)" alt="" class="advantage-icon" />
<span class="advantage-name">{{ advantage.name }}</span> <span class="advantage-name">{{ advantage.name }}</span>
<span class="advantage-content">{{ advantage.content }}</span> <span class="advantage-content">{{ advantage.content }}</span>
</p> </div>
</div> </div>
</div> </div>
@ -136,7 +136,7 @@
</div> </div>
</div> </div>
<!-- 修改footer部分 --> <!-- footer部分 -->
<div class="footer"> <div class="footer">
<div class="footer-content"> <div class="footer-content">
<!-- 顶部信息 --> <!-- 顶部信息 -->
@ -145,12 +145,15 @@
<img :src="logoImg" alt="公司logo" v-if="logoImg"> <img :src="logoImg" alt="公司logo" v-if="logoImg">
<!-- <img src="@/assets/kyy/LOGO.png" alt="公司logo" class="img"> --> <!-- <img src="@/assets/kyy/LOGO.png" alt="公司logo" class="img"> -->
</div> </div>
<div class="contact-info"> </div>
<div class="footer-center">
<div class="center">
<div class="contact-item"> <div class="contact-item">
<i class="iconfont icon-dizhi"></i> <i class="iconfont icon-dizhi"></i>
<span class="label">地址</span> <span class="label">地址</span>
<span class="value">{{ address }}</span> <span class="value">{{ address }}</span>
</div> </div>
<div class="contact-item"> <div class="contact-item">
<i class="iconfont icon-dianhua"></i> <i class="iconfont icon-dianhua"></i>
<span class="label">电话</span> <span class="label">电话</span>
@ -169,8 +172,25 @@
</div> </div>
</div> </div>
</div>
<div class="mobile-qr">
<div class="qr-item">
<div class="qr-code">
<img src="@/assets/kyy/kyy公众号.jpg" alt="微信客服二维码">
</div>
<span class="qr-desc">扫描关注二维码</span>
</div>
<div class="qr-item">
<div class="qr-code">
<img src="@/assets/kyy/客服wechat.png" alt="微信客服二维码">
</div>
<span class="qr-desc">微信客服</span>
</div>
</div>
</div>
<!-- 备案信息 --> <!-- 备案信息 -->
<div class="footer-bottom"> <div class="footer-bottom">
<div class="icp-info"> <div class="icp-info">
@ -183,6 +203,7 @@
</div> </div>
</div> </div>
<div class="record-info"> <div class="record-info">
<div class="police-record"> <div class="police-record">
<img src="@/image/login/policeInsignia/policeInsignia.png" alt="公安备案图标" class="police-icon"> <img src="@/image/login/policeInsignia/policeInsignia.png" alt="公安备案图标" class="police-icon">
@ -198,33 +219,11 @@
</div> </div>
</div> </div>
<!-- 移动端显示的二维码 -->
<div class="mobile-qr">
<div class="qr-item">
<div class="qr-code">
<img src="@/assets/kyy/kyy公众号.jpg" alt="微信客服二维码">
</div>
<span class="qr-desc">扫描关注二维码</span>
</div>
<div class="qr-item">
<div class="qr-code">
<img src="@/assets/kyy/客服wechat.png" alt="微信客服二维码">
</div>
<span class="qr-desc">微信客服</span>
</div>
</div>
</div> </div>
</div> </div>
<!-- PC端显示的二维码移动端隐藏 -->
<div class="pc-qr">
<div class="qr-box">
<div class="qr-code">
<img src="@/assets/kyy/客服wechat.png" alt="微信客服二维码">
</div>
<span class="qr-content">微信客服</span>
</div>
</div>
</div> </div>
<!-- 产品咨询弹窗 --> <!-- 产品咨询弹窗 -->
<ProductConsultDialog :visible.sync="showConsultDialog" :platform-name="platformName" :qr-code="qrCode" <ProductConsultDialog :visible.sync="showConsultDialog" :platform-name="platformName" :qr-code="qrCode"