From afa2af600ea4e89956bdd30093ea538fa1720988 Mon Sep 17 00:00:00 2001 From: hrx <18603305412@163.com> Date: Wed, 10 Dec 2025 17:59:14 +0800 Subject: [PATCH] updata --- f/web-kboss/src/views/H5/all_less/index.css | 435 +++++++++++++-- f/web-kboss/src/views/H5/all_less/index.less | 553 ++++++++++++++++--- f/web-kboss/src/views/H5/cloud/index.vue | 175 ++++-- f/web-kboss/src/views/H5/official/index.vue | 115 ++-- 4 files changed, 1054 insertions(+), 224 deletions(-) diff --git a/f/web-kboss/src/views/H5/all_less/index.css b/f/web-kboss/src/views/H5/all_less/index.css index ac858be..6ebd3ae 100644 --- a/f/web-kboss/src/views/H5/all_less/index.css +++ b/f/web-kboss/src/views/H5/all_less/index.css @@ -242,96 +242,415 @@ .footer { width: 100%; background: #f5f7fa; - display: flex; - justify-content: space-around; - align-items: center; - padding: 0.4rem; - border-top: 0.013rem solid #e4e7ed; - margin-top: 0.4rem; + color: #fff; + padding: 0.4rem 0.2rem; + margin-top: 0.8rem; } -.left-box { +.footer-content { + max-width: 12rem; + margin: 0 auto; +} +.footer { + width: 100%; + background: #f6f8fd; + color: #333; + padding: 0.6rem 0.2rem 0.4rem; + margin-top: 1rem; + position: relative; + overflow: hidden; + border-top: 1px solid #e8edf5; +} +.footer:before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; +} +.footer-content { + max-width: 12.8rem; + margin: 0 auto; + position: relative; + z-index: 1; +} +/* 顶部信息区域 */ +.footer-top { display: flex; + flex-direction: column; align-items: flex-start; + padding-bottom: 0.4rem; + margin-bottom: 0.4rem; } .logo-footer { - width: 1.2rem; - height: 0.4rem; - margin-right: 0.667rem; + width: 2.4rem; + height: 0.8rem; + margin-bottom: 0.4rem; + border-radius: 0.12rem; } .logo-footer img { width: 100%; height: 100%; - object-fit: contain; } -.content-main ul { - list-style: none; - padding: 0; - margin: 0; -} -.content-main li { +.contact-info { + flex: 1; font-size: 0.16rem; - color: #606266; - line-height: 1.8; - margin-bottom: 0.08rem; + display: grid; + grid-template-columns: 1fr; + gap: 0.24rem; + width: 100%; } -.content-main li:last-child { - margin-bottom: 0; +@media (min-width: 768px) { + .contact-info { + grid-template-columns: 1fr 1fr; + gap: 0.3rem 0.6rem; + } } -.content-main a { - color: #409eff; +.contact-info .contact-item { + display: flex; + align-items: flex-start; + padding: 0.16rem 0.2rem; + background: #fff; + 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 { + 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; + height: 0.2rem; + margin-right: 0.12rem; + margin-top: 0.02rem; + color: #275AFF; + flex-shrink: 0; + font-size: 0.2rem; +} +.contact-info .contact-item .label { + color: #666; + flex-shrink: 0; + font-weight: 500; + margin-right: 0.08rem; + font-size: 0.14rem; +} +.contact-info .contact-item .value { + color: #444; + flex: 1; + line-height: 1.5; +} +.contact-info .contact-item .phone-numbers { + display: flex; + flex-direction: column; + gap: 0.08rem; +} +@media (min-width: 768px) { + .contact-info .contact-item .phone-numbers { + flex-direction: row; + align-items: center; + gap: 0.16rem; + } +} +.contact-info .contact-item .phone-link { + color: #333; text-decoration: none; + transition: all 0.3s; + font-weight: 500; font-size: 0.16rem; } -.content-main a:hover { +.contact-info .contact-item .phone-link:hover { + color: #275AFF; text-decoration: underline; } -.phone-number { - margin-left: 0.267rem; +.contact-info .contact-item .phone-separator { + color: #999; + font-weight: 300; +} +@media (max-width: 768px) { + .contact-info .contact-item .phone-separator { + display: none; + } +} +.contact-info .contact-item .email-link { + color: #275AFF; + text-decoration: none; + word-break: break-all; + font-weight: 500; font-size: 0.16rem; } -.copyright { - margin-left: 0.267rem; - font-size: 0.16rem; +.contact-info .contact-item .email-link:hover { + color: #2ebdfa; + text-decoration: underline; } -.police-icon { - width: 0.227rem; - height: 0.227rem; - margin-right: 0.01rem; -} -.police-link { - margin-right: 0.4rem; -} -.license-link { - font-size: 0.16rem; -} -.right-box { +.code-img { display: flex; - align-items: center; + justify-content: center; + width: 100%; + margin-top: 0.4rem; } -.qr-box { +@media (min-width: 768px) { + .code-img { + width: auto; + margin-top: 0; + } +} +.code-img .qr-box { + display: flex; + flex-direction: column; + align-items: center; + background: #fff; + border-radius: 0.16rem; + padding: 0.24rem; + box-shadow: 0 2px 12px rgba(39, 90, 255, 0.08); + border: 1px solid #eef2f9; + transition: all 0.3s ease; +} +.code-img .qr-box:hover { + background: #fff; + border-color: #2ebdfa; + transform: translateY(-4px); + box-shadow: 0 8px 24px rgba(39, 90, 255, 0.15); +} +.code-img .qr-box .qr-code { + width: 1.8rem; + height: 1.8rem; + background: #fff; + border-radius: 0.12rem; + padding: 0.12rem; + border: 1px solid #eef2f9; + margin-bottom: 0.16rem; + overflow: hidden; +} +.code-img .qr-box .qr-code img { + width: 100%; + height: 100%; + object-fit: contain; + border-radius: 0.04rem; +} +.code-img .qr-box .qr-content { + color: #333; + font-size: 0.14rem; + font-weight: 500; + letter-spacing: 0.5px; +} +/* 底部信息区域 */ +.footer-bottom { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + padding: 0.3rem 0.2rem; + background: #fff; + border-radius: 0.16rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); + margin-top: 0.4rem; + border: 1px solid #eef2f9; +} +@media (min-width: 768px) { + .footer-bottom { + flex-direction: row; + justify-content: space-between; + align-items: center; + text-align: left; + padding: 0.3rem 0.4rem; + } +} +.icp-info { + margin-bottom: 0.24rem; display: flex; flex-direction: column; align-items: center; } -.qr-box .qr-code { - width: 1.333rem; - height: 1.333rem; - background: #fff; - border-radius: 0.053rem; - margin-bottom: 0.133rem; - padding: 0.08rem; - border: 0.013rem solid #e4e7ed; - box-sizing: content-box; +@media (min-width: 768px) { + .icp-info { + flex-direction: row; + align-items: center; + gap: 0.6rem; + margin-bottom: 0; + } } -.qr-box .qr-code img { +.icp-info .icp-item { + display: flex; + align-items: center; + gap: 0.08rem; + margin-bottom: 0.12rem; +} +@media (min-width: 768px) { + .icp-info .icp-item { + margin-bottom: 0; + } +} +.icp-info .icp-item .icp-text { + color: #888; + font-size: 0.14rem; +} +.icp-info .icp-item .icp-number { + color: #444; + font-weight: 500; + font-size: 0.14rem; +} +.icp-info .copyright { + color: #888; + font-size: 0.14rem; + font-weight: 300; +} +.record-info { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.16rem; + margin-bottom: 0.24rem; +} +@media (min-width: 768px) { + .record-info { + flex-direction: row; + align-items: center; + gap: 0.6rem; + margin-bottom: 0; + } +} +.police-record { + display: flex; + align-items: center; + gap: 0.1rem; + padding: 0.08rem 0.16rem; + background: #f9fafc; + border-radius: 0.24rem; + transition: all 0.3s; + border: 1px solid #eef2f9; +} +.police-record:hover { + background: #f0f5ff; + border-color: #275AFF; + transform: translateY(-2px); +} +.police-record .police-icon { + width: 0.18rem; + height: 0.18rem; +} +.police-record .police-link { + color: #666; + text-decoration: none; + font-size: 0.14rem; +} +.police-record .police-link:hover { + color: #275AFF; + text-decoration: underline; +} +.license-record .license-link { + color: #666; + text-decoration: none; + font-size: 0.14rem; + padding: 0.08rem 0.16rem; + background: #f9fafc; + border-radius: 0.24rem; + transition: all 0.3s; + border: 1px solid #eef2f9; +} +.license-record .license-link:hover { + background: #f0f5ff; + color: #275AFF; + text-decoration: underline; + transform: translateY(-2px); + border-color: #275AFF; +} +/* 移动端二维码 */ +.mobile-qr { + display: flex; + justify-content: center; + width: 100%; + margin-top: 0.4rem; +} +@media (min-width: 768px) { + .mobile-qr { + display: none; + } +} +.mobile-qr .qr-item { + display: flex; + flex-direction: column; + align-items: center; + background: #fff; + border-radius: 0.16rem; + padding: 0.24rem; + box-shadow: 0 2px 12px rgba(39, 90, 255, 0.08); + border: 1px solid #eef2f9; + width: 100%; + max-width: 2.4rem; + margin-right: 0.4rem; +} +.mobile-qr .qr-item .qr-code { + width: 1.6rem; + height: 1.6rem; + background: #fff; + border-radius: 0.12rem; + padding: 0.12rem; + border: 1px solid #eef2f9; + margin-bottom: 0.16rem; +} +.mobile-qr .qr-item .qr-code img { width: 100%; height: 100%; object-fit: contain; + border-radius: 0.04rem; } -.qr-box .qr-content { +.mobile-qr .qr-item .qr-desc { + color: #333; font-size: 0.16rem; - color: #606266; + font-weight: 500; } -.qr-box-margin { - margin-left: 0.667rem; +/* PC端二维码 */ +.pc-qr { + position: absolute; + right: 0.4rem; + bottom: 0.4rem; + display: none; } +@media (min-width: 768px) { + .pc-qr { + display: block; + } +} +.pc-qr .qr-box { + display: flex; + flex-direction: column; + align-items: center; + background: #fff; + border-radius: 0.16rem; + padding: 0.24rem; + box-shadow: 0 2px 12px rgba(39, 90, 255, 0.08); + border: 1px solid #eef2f9; + transition: all 0.3s ease; +} +.pc-qr .qr-box:hover { + background: #fff; + border-color: #2ebdfa; + transform: translateY(-4px) scale(1.05); + box-shadow: 0 8px 24px rgba(39, 90, 255, 0.15); +} +.pc-qr .qr-box .qr-code { + width: 1.6rem; + height: 1.6rem; + background: #fff; + border-radius: 0.12rem; + padding: 0.12rem; + border: 1px solid #eef2f9; + margin-bottom: 0.16rem; +} +.pc-qr .qr-box .qr-code img { + width: 100%; + height: 100%; + object-fit: contain; + border-radius: 0.04rem; +} +.pc-qr .qr-box .qr-content { + color: #333; + font-size: 0.14rem; + font-weight: 500; + letter-spacing: 0.5px; +} +/* 响应式调整 */ diff --git a/f/web-kboss/src/views/H5/all_less/index.less b/f/web-kboss/src/views/H5/all_less/index.less index 1a527c8..db89084 100644 --- a/f/web-kboss/src/views/H5/all_less/index.less +++ b/f/web-kboss/src/views/H5/all_less/index.less @@ -244,119 +244,514 @@ .footer { width: 100%; background: #f5f7fa; - display: flex; - justify-content: space-around; - align-items: center; - padding: 0.4rem; - border-top: 0.013rem solid #e4e7ed; - margin-top: 0.4rem; + color: #fff; + padding: 0.4rem 0.2rem; + margin-top: 0.8rem; } -.left-box { +.footer-content { + max-width: 12rem; + margin: 0 auto; +} + +.footer { + width: 100%; + background: #f6f8fd; + color: #333; + padding: 0.6rem 0.2rem 0.4rem; + margin-top: 1rem; + position: relative; + overflow: hidden; + border-top: 1px solid #e8edf5; +} + +.footer:before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + +} + +.footer-content { + max-width: 12.8rem; + margin: 0 auto; + position: relative; + z-index: 1; +} + +/* 顶部信息区域 */ +.footer-top { display: flex; + flex-direction: column; align-items: flex-start; + padding-bottom: 0.4rem; + margin-bottom: 0.4rem; + } .logo-footer { - width: 1.2rem; - height: 0.4rem; - margin-right: 0.667rem; + width: 2.4rem; + height: .8rem; + margin-bottom: 0.4rem; + border-radius: 0.12rem; + // padding: 0.2rem; + // background: #fff; + // box-shadow: 0 2px 12px rgba(39, 90, 255, 0.08); + + img { width: 100%; height: 100%; - object-fit: contain; + // object-fit: contain; } } -.content-main { - ul { - list-style: none; - padding: 0; - margin: 0; +.contact-info { + flex: 1; + font-size: 0.16rem; + display: grid; + grid-template-columns: 1fr; + gap: 0.24rem; + width: 100%; + + @media (min-width: 768px) { + grid-template-columns: 1fr 1fr; + gap: 0.3rem 0.6rem; } - li { - font-size: 0.16rem; - color: #606266; - line-height: 1.8; - margin-bottom: 0.08rem; + .contact-item { + display: flex; + align-items: flex-start; + padding: 0.16rem 0.2rem; + background: #fff; + 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; - &:last-child { + &:hover { + background: #fff; + border-color: #2ebdfa; + transform: translateY(-2px); + box-shadow: 0 4px 16px rgba(39, 90, 255, 0.12); + } + + .iconfont { + width: 0.2rem; + height: 0.2rem; + margin-right: 0.12rem; + margin-top: 0.02rem; + color: #275AFF; + flex-shrink: 0; + font-size: 0.2rem; + } + + .label { + color: #666; + flex-shrink: 0; + font-weight: 500; + margin-right: 0.08rem; + font-size: 0.14rem; + } + + .value { + color: #444; + flex: 1; + line-height: 1.5; + } + + .phone-numbers { + display: flex; + flex-direction: column; + gap: 0.08rem; + + @media (min-width: 768px) { + flex-direction: row; + align-items: center; + gap: 0.16rem; + } + } + + .phone-link { + color: #333; + text-decoration: none; + transition: all 0.3s; + font-weight: 500; + font-size: 0.16rem; + + &:hover { + color: #275AFF; + text-decoration: underline; + } + } + + .phone-separator { + color: #999; + font-weight: 300; + + @media (max-width: 768px) { + display: none; + } + } + + .email-link { + color: #275AFF; + text-decoration: none; + word-break: break-all; + font-weight: 500; + font-size: 0.16rem; + + &:hover { + color: #2ebdfa; + text-decoration: underline; + } + } + } +} + +.code-img { + display: flex; + justify-content: center; + width: 100%; + margin-top: 0.4rem; + + @media (min-width: 768px) { + width: auto; + margin-top: 0; + } + + .qr-box { + display: flex; + flex-direction: column; + align-items: center; + background: #fff; + border-radius: 0.16rem; + padding: 0.24rem; + box-shadow: 0 2px 12px rgba(39, 90, 255, 0.08); + border: 1px solid #eef2f9; + transition: all 0.3s ease; + + &:hover { + background: #fff; + border-color: #2ebdfa; + transform: translateY(-4px); + box-shadow: 0 8px 24px rgba(39, 90, 255, 0.15); + } + + .qr-code { + width: 1.8rem; + height: 1.8rem; + background: #fff; + border-radius: 0.12rem; + padding: 0.12rem; + border: 1px solid #eef2f9; + margin-bottom: 0.16rem; + overflow: hidden; + + img { + width: 100%; + height: 100%; + object-fit: contain; + border-radius: 0.04rem; + } + } + + .qr-content { + color: #333; + font-size: 0.14rem; + font-weight: 500; + letter-spacing: 0.5px; + } + } +} + +/* 底部信息区域 */ +.footer-bottom { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + padding: 0.3rem 0.2rem; + background: #fff; + border-radius: 0.16rem; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); + margin-top: 0.4rem; + border: 1px solid #eef2f9; + + @media (min-width: 768px) { + flex-direction: row; + justify-content: space-between; + align-items: center; + text-align: left; + padding: 0.3rem 0.4rem; + } +} + +.icp-info { + margin-bottom: 0.24rem; + display: flex; + flex-direction: column; + align-items: center; + + @media (min-width: 768px) { + flex-direction: row; + align-items: center; + gap: 0.6rem; + margin-bottom: 0; + } + + .icp-item { + display: flex; + align-items: center; + gap: 0.08rem; + margin-bottom: 0.12rem; + + @media (min-width: 768px) { margin-bottom: 0; } + + .icp-text { + color: #888; + font-size: 0.14rem; + } + + .icp-number { + color: #444; + font-weight: 500; + font-size: 0.14rem; + } } - a { - color: #409eff; + .copyright { + color: #888; + font-size: 0.14rem; + font-weight: 300; + } +} + +.record-info { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.16rem; + margin-bottom: 0.24rem; + + @media (min-width: 768px) { + flex-direction: row; + align-items: center; + gap: 0.6rem; + margin-bottom: 0; + } +} + +.police-record { + display: flex; + align-items: center; + gap: 0.1rem; + padding: 0.08rem 0.16rem; + background: #f9fafc; + border-radius: 0.24rem; + transition: all 0.3s; + border: 1px solid #eef2f9; + + &:hover { + background: #f0f5ff; + border-color: #275AFF; + transform: translateY(-2px); + } + + .police-icon { + width: 0.18rem; + height: 0.18rem; + } + + .police-link { + color: #666; text-decoration: none; - font-size: 0.16rem; + font-size: 0.14rem; &:hover { + color: #275AFF; text-decoration: underline; } } } -.phone-number { - margin-left: 0.267rem; - font-size: .16rem; -} +.license-record { + .license-link { + color: #666; + text-decoration: none; + font-size: 0.14rem; + padding: 0.08rem 0.16rem; + background: #f9fafc; + border-radius: 0.24rem; + transition: all 0.3s; + border: 1px solid #eef2f9; -.copyright { - margin-left: 0.267rem; - font-size: .16rem; -} - -.police-icon { - width: 0.227rem; - height: 0.227rem; - margin-right: 0.01rem; - // vertical-align: middle; -} - - -.police-link { - margin-right: 0.4rem; -} - -.license-link { - font-size: 0.16rem; -} - -.right-box { - display: flex; - align-items: center; -} - -.qr-box { - display: flex; - flex-direction: column; - align-items: center; - - .qr-code { - width: 1.333rem; - height: 1.333rem; - background: #fff; - border-radius: 0.053rem; - margin-bottom: 0.133rem; - padding: 0.08rem; - border: 0.013rem solid #e4e7ed; - box-sizing: content-box; - - img { - width: 100%; - height: 100%; - object-fit: contain; + &:hover { + background: #f0f5ff; + color: #275AFF; + text-decoration: underline; + transform: translateY(-2px); + border-color: #275AFF; } } +} - .qr-content { - font-size: 0.16rem; - color: #606266; +/* 移动端二维码 */ +.mobile-qr { + display: flex; + justify-content: center; + width: 100%; + margin-top: 0.4rem; + + @media (min-width: 768px) { + display: none; + } + + .qr-item { + display: flex; + flex-direction: column; + align-items: center; + background: #fff; + border-radius: 0.16rem; + padding: 0.24rem; + box-shadow: 0 2px 12px rgba(39, 90, 255, 0.08); + border: 1px solid #eef2f9; + width: 100%; + max-width: 2.4rem; + margin-right: 0.4rem; + + .qr-code { + width: 1.6rem; + height: 1.6rem; + background: #fff; + border-radius: 0.12rem; + padding: 0.12rem; + border: 1px solid #eef2f9; + margin-bottom: 0.16rem; + + img { + width: 100%; + height: 100%; + object-fit: contain; + border-radius: 0.04rem; + } + } + + .qr-desc { + color: #333; + font-size: 0.16rem; + font-weight: 500; + } } } -.qr-box-margin { - margin-left: 0.667rem; +/* PC端二维码 */ +.pc-qr { + position: absolute; + right: 0.4rem; + bottom: 0.4rem; + display: none; + + @media (min-width: 768px) { + display: block; + } + + .qr-box { + display: flex; + flex-direction: column; + align-items: center; + background: #fff; + border-radius: 0.16rem; + padding: 0.24rem; + box-shadow: 0 2px 12px rgba(39, 90, 255, 0.08); + border: 1px solid #eef2f9; + transition: all 0.3s ease; + + &:hover { + background: #fff; + border-color: #2ebdfa; + transform: translateY(-4px) scale(1.05); + box-shadow: 0 8px 24px rgba(39, 90, 255, 0.15); + } + + .qr-code { + width: 1.6rem; + height: 1.6rem; + background: #fff; + border-radius: 0.12rem; + padding: 0.12rem; + border: 1px solid #eef2f9; + margin-bottom: 0.16rem; + + img { + width: 100%; + height: 100%; + object-fit: contain; + border-radius: 0.04rem; + } + } + + .qr-content { + color: #333; + font-size: 0.14rem; + font-weight: 500; + letter-spacing: 0.5px; + } + } } + +/* 响应式调整 */ +// @media (max-width: 768px) { +// .footer { +// padding: 0.4rem 0.2rem 0.3rem; +// } + +// .footer-top { +// padding-bottom: 0.3rem; +// margin-bottom: 0.3rem; +// } + +// // .logo-footer { +// // width: 2rem; +// // height: 0.5rem; +// // } + +// .contact-info { +// .contact-item { +// font-size: 0.14rem; +// padding: 0.14rem 0.16rem; +// } +// } + +// .footer-bottom { +// padding: 0.24rem 0.16rem; +// font-size: 0.13rem; +// } +// } + +// @media (max-width: 480px) { +// .footer { +// padding: 0.3rem 0.15rem 0.2rem; +// } + +// .contact-info { +// grid-template-columns: 1fr; +// gap: 0.16rem; + +// .contact-item { +// font-size: 0.13rem; +// padding: 0.12rem 0.14rem; +// } +// } + +// .record-info { +// flex-direction: column; +// gap: 0.12rem; +// } +// } diff --git a/f/web-kboss/src/views/H5/cloud/index.vue b/f/web-kboss/src/views/H5/cloud/index.vue index 1c8b554..b88d954 100644 --- a/f/web-kboss/src/views/H5/cloud/index.vue +++ b/f/web-kboss/src/views/H5/cloud/index.vue @@ -7,16 +7,8 @@