All checks were successful
continuous-integration/drone/push Build is passing
前端改动: - 添加移动端汉堡菜单按钮(右上角) - 创建侧边导航栏(从右侧滑入) - 包含主导航菜单项 - 包含文档和控制台链接 - 包含登录/注册功能 - 已登录状态显示用户信息和操作菜单 - 移动端隐藏桌面导航链接(文档、控制台、登录、注册) - 侧边栏支持点击遮罩层、关闭按钮、导航链接关闭 - 实现桌面端和移动端登录状态同步 - 使用 MutationObserver 监听登录状态变化 样式改动: - 汉堡菜单三条杠动画效果(点击变叉号) - 侧边栏深色科技风格,渐变背景 - 侧边栏从右侧滑入动画,带遮罩层 - 导航项 hover 效果和滑动动画 - 用户头像和信息卡片样式 - 响应式适配(767px、575px 断点) 交互优化: - banner-list 快速入口卡片改为一行两个(grid 布局) - 调整幻灯片进度条位置(767px: bottom 40px,575px: bottom 60px) - 避免进度条和按钮重合 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1556 lines
28 KiB
CSS
1556 lines
28 KiB
CSS
.section-content {
|
|
padding: 80px 20px;
|
|
max-width: 1440px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-title .section-desc {
|
|
margin-top: 16px;
|
|
font-size: 16px;
|
|
color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
|
|
.section-bg {
|
|
color: #fff;
|
|
}
|
|
|
|
|
|
.section-bg .section-title .section-desc {
|
|
color: rgba(255, 255, 255, 0.90);
|
|
}
|
|
|
|
.section-p {
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.common-empty {
|
|
width: 100%;
|
|
min-height: 500px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.common-empty img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.common-empty .des {
|
|
font-size: 16px;
|
|
color: rgba(0, 0, 0, 0.60);
|
|
}
|
|
|
|
.section-w {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.section-title {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.document .section-content {
|
|
max-width: unset;
|
|
}
|
|
|
|
#header {
|
|
position: sticky;
|
|
top: 0;
|
|
background: #fff;
|
|
z-index: 888;
|
|
}
|
|
|
|
.nav-shadow {
|
|
top: 0;
|
|
box-shadow: 0px 0px 8px rgba(52, 52, 52, 0.08);
|
|
/* 默认 header 背景保持浅色,首页会在 css/index.css 中做单独科技风覆盖 */
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(255, 255, 255, 0.98) 0%,
|
|
rgba(245, 247, 255, 0.98) 40%,
|
|
rgba(227, 237, 255, 0.98) 100%
|
|
);
|
|
}
|
|
|
|
.nav-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
.nav-header .nav-left {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-header .nav-left .nav-icon img {
|
|
width: 135px;
|
|
height: 30px;
|
|
margin-right: 50px;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-menu .nav-item {
|
|
color: #333;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 72px;
|
|
padding: 0 20px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
}
|
|
|
|
.nav-menu .nav-item:hover {
|
|
border-bottom: 2px solid #38BDF8;
|
|
}
|
|
|
|
|
|
.nav-right {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.nav-right .control {
|
|
margin: 0 20px;
|
|
color: #333;
|
|
}
|
|
|
|
.breadcrumb {
|
|
padding-left: 0;
|
|
margin-bottom: 8px;
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
/* 菜单栏 */
|
|
.nav-cont {
|
|
position: absolute;
|
|
top: 72px;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
background: #F7F8FA;
|
|
transition: all .5s;
|
|
height: 0px;
|
|
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.16);
|
|
z-index: 2;
|
|
}
|
|
|
|
.nav-cont .section-content {
|
|
padding: 0;
|
|
}
|
|
|
|
.nav-content {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
padding: 60px 20px;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.nav-content a {
|
|
width: calc(25% - 15px);
|
|
}
|
|
|
|
.nav-cont .nav-cont-menu {
|
|
display: none;
|
|
|
|
}
|
|
|
|
.nav-cont .nav-cont-empty {
|
|
display: none !important;
|
|
}
|
|
|
|
.nav-item-box {
|
|
min-width: 335px;
|
|
height: 96px;
|
|
padding: 24px 20px;
|
|
border-radius: 3px;
|
|
background: #fff;
|
|
display: flex;
|
|
cursor: pointer;
|
|
box-shadow: 0px 0px 8px rgba(52, 52, 52, 0.08);
|
|
}
|
|
|
|
.nav-item-box:hover .title {
|
|
color: rgba(56, 189, 248, 1);
|
|
}
|
|
|
|
.nav-item-box img {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
.nav-item-box .item-box-title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-direction: column;
|
|
margin-left: 16px;
|
|
font-size: 16px;
|
|
color: rgba(0, 0, 0, 0.9);
|
|
}
|
|
|
|
.nav-item-box .item-box-title .desc {
|
|
font-size: 14px;
|
|
color: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.nav-header .login-in {
|
|
cursor: pointer;
|
|
position: relative;
|
|
height: 72px;
|
|
display: flex;
|
|
align-items: center;
|
|
z-index: 999;
|
|
padding: 0 32px;
|
|
}
|
|
|
|
.nav-header .login-in::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
height: 32px;
|
|
transform: translateY(-50%);
|
|
border-left: 1px solid #E6EAED;
|
|
}
|
|
|
|
.nav-header .login-in:hover .login-menu {
|
|
display: block;
|
|
}
|
|
|
|
.nav-header .login-in .head-img {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: #eee;
|
|
border: 1px solid #E6EAED;
|
|
border-radius: 50%;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-header .login-in .name {
|
|
display: inline-block;
|
|
max-width: 140px;
|
|
}
|
|
|
|
|
|
|
|
.nav-header .login-in .login-menu {
|
|
display: none;
|
|
padding: 8px;
|
|
position: absolute;
|
|
top: 72px;
|
|
left: 0;
|
|
width: 157px;
|
|
height: 188px;
|
|
background: #FEFFFF;
|
|
border: 1px solid #DCDCDC;
|
|
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
|
|
opacity: 1;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.nav-header .login-in .login-menu .login-menu-item {
|
|
cursor: pointer;
|
|
height: 40px;
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.nav-header .login-in .login-menu .login-menu-item:hover {
|
|
background: rgba(56, 189, 248, 0.08);
|
|
color: rgba(56, 189, 248, 1);
|
|
}
|
|
|
|
.nav-header .login-in .login-menu .login-menu-item .real-name {
|
|
display: inline-block;
|
|
text-align: center;
|
|
border: 1px solid #38BDF8;
|
|
color: rgba(56, 189, 248, 1);
|
|
font-size: 12px;
|
|
width: 44px;
|
|
height: 18px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.nav-header .login-in .login-menu .login-menu-item .no-real-name {
|
|
border: 1px solid #E34D59;
|
|
color: rgba(227, 77, 89, 1);
|
|
}
|
|
|
|
/* 底部导航栏 */
|
|
|
|
.footer {
|
|
background: #1E2130;
|
|
color: rgba(255, 255, 255, 0.90);
|
|
}
|
|
|
|
.register-advert {
|
|
width: 100%;
|
|
background: linear-gradient(90deg, #EF4C1D 0%, #F41A10 100%);
|
|
/* background-image: url(../assets/img/index/register@2x.png);
|
|
background-repeat: no-repeat;
|
|
background-size: cover; */
|
|
}
|
|
|
|
.register-advert a {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.register-advert a img {
|
|
width: 100%;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-promise {
|
|
background-color: #1A1C2A;
|
|
}
|
|
|
|
.promise {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.promise-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
min-width: 200px;
|
|
padding: 28px 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.promise-box img {
|
|
height: 32px;
|
|
width: 32px;
|
|
}
|
|
|
|
.footer-content {
|
|
|
|
background-color: rgba(30, 33, 48, 1);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.footer-content .footer-nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.footer .footer-nav .footer-nav-left {
|
|
margin-right: 120px;
|
|
}
|
|
|
|
.footer-content .footer-nav .footer-nav-left {
|
|
display: flex;
|
|
width: 100%;
|
|
gap: 30px;
|
|
}
|
|
|
|
.footer-nav-box {
|
|
flex: 1;
|
|
}
|
|
|
|
.footer-nav-box .footer-nav-head {
|
|
padding: 12px 0;
|
|
width: 120px;
|
|
border-bottom: 1px solid #2D3544;
|
|
}
|
|
|
|
.footer-nav-box .footer-nav-cont {
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.footer-nav-box .footer-nav-item {
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.footer-content .footer-nav .footer-nav-right {
|
|
width: 210px;
|
|
}
|
|
|
|
.footer-nav-right .footer-nav-box .footer-nav-item {
|
|
width: 210px;
|
|
color: rgba(255, 255, 255, 0.50);
|
|
}
|
|
|
|
.footer-nav-right .qr-code img {
|
|
margin-top: 20px;
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
|
|
.footer .footer-link {
|
|
display: none;
|
|
font-size: 13px;
|
|
color: #666;
|
|
height: 50px;
|
|
line-height: 50px;
|
|
border-top: 1px solid #2D3544;
|
|
|
|
}
|
|
|
|
.footer .link-hover {
|
|
color: rgba(255, 255, 255, 0.50);
|
|
}
|
|
|
|
.footer .link-hover:hover {
|
|
color: rgba(56, 189, 248, 1);
|
|
}
|
|
|
|
.footer .footer-link a {
|
|
margin-right: 10px;
|
|
color: rgba(255, 255, 255, 0.50);
|
|
}
|
|
|
|
.footer .footer-link a:hover {
|
|
margin-right: 10px;
|
|
color: rgba(56, 189, 248, 1);
|
|
}
|
|
|
|
.footer .footer-record {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-top: 1px solid #2D3544;
|
|
height: 50px;
|
|
line-height: 50px;
|
|
font-size: 13px;
|
|
color: #666;
|
|
}
|
|
|
|
|
|
.jr-tabs {
|
|
display: flex;
|
|
border-bottom: 1px solid #E6EAED;
|
|
}
|
|
|
|
.no-login,
|
|
.login-in {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.jr-tabs .title {
|
|
color: #666;
|
|
font-size: 18px;
|
|
width: auto !important;
|
|
padding: 10px 40px;
|
|
cursor: pointer;
|
|
margin-right: 0 !important;
|
|
}
|
|
|
|
.jr-tabs .title.swiper-slide-thumb-active {
|
|
color: rgba(56, 189, 248, 1);
|
|
border-bottom: 2px solid #38BDF8;
|
|
}
|
|
|
|
.jr-tabs .title:hover {
|
|
color: rgba(56, 189, 248, 1);
|
|
border-bottom: 2px solid #38BDF8;
|
|
}
|
|
|
|
|
|
/* banner */
|
|
.server-banner {
|
|
background: rgba(247, 248, 250, 1);
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
.server-banner2 {
|
|
background: rgba(0, 0, 0, 0.40);
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
.server-banner-desc {
|
|
font-size: 16px;
|
|
max-width: 700px;
|
|
margin-top: 20px;
|
|
margin-bottom: 90px;
|
|
}
|
|
|
|
.server-banner-desc2 {
|
|
font-size: 16px;
|
|
margin-top: 20px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
|
|
.banner-cloud {
|
|
background-image: url('../assets/img/cloud/banner.png');
|
|
}
|
|
|
|
.banner-trademark {
|
|
background-image: url('../assets/img/trademark/banner.png');
|
|
}
|
|
|
|
.banner-dedicated {
|
|
background-image: url('../assets/img/dedicated/banner.png');
|
|
}
|
|
|
|
.banner-domain {
|
|
background-image: url('../assets/img/domain/banner.png');
|
|
}
|
|
|
|
.banner-ssl {
|
|
background-image: url('../assets/img/ssl/banner.png');
|
|
}
|
|
|
|
.banner-icp {
|
|
background-image: url('../assets/img/icp/banner.png');
|
|
}
|
|
|
|
.banner-sms {
|
|
background-image: url('../assets/img/sms/banner.png');
|
|
}
|
|
|
|
.banner-trusteeship {
|
|
background-image: url('../assets/img/trusteeship/banner.png');
|
|
}
|
|
|
|
.banner-rent {
|
|
background-image: url('../assets/img/rent/banner.png');
|
|
}
|
|
|
|
.banner-document {
|
|
background-image: url('../assets/img/document/banner.png');
|
|
}
|
|
|
|
.banner-announce {
|
|
background-image: url('../assets/img/document/banner.png');
|
|
}
|
|
|
|
.banner-guarantee {
|
|
background: url('../assets/img/guarantee/banner.png') no-repeat center center;
|
|
background-size: cover;
|
|
}
|
|
|
|
.banner-reward {
|
|
background-image: url('../assets/img/reward/banner.png');
|
|
color: #fff;
|
|
}
|
|
|
|
.banner-contact {
|
|
background: url('../assets/img/guarantee/contact.png') no-repeat center center;
|
|
background-size: cover;
|
|
}
|
|
|
|
.feedback-banner {
|
|
background: url('../assets/img/guarantee/recruit.png') no-repeat center center;
|
|
background-size: cover;
|
|
}
|
|
|
|
.activities-banner {
|
|
height: 440px;
|
|
background: url('../assets/img/active/active_banner.png') no-repeat;
|
|
background-size: 100%;
|
|
}
|
|
|
|
|
|
.banner-reward .btn-normal {
|
|
padding: 8px 32px;
|
|
}
|
|
|
|
|
|
/* 搜索 */
|
|
.input-search {
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
|
|
.input-search input {
|
|
padding-left: 15px;
|
|
font-size: 20px;
|
|
margin-top: 30px;
|
|
margin-bottom: 20px;
|
|
width: 30%;
|
|
height: 56px;
|
|
background: #FFFFFF;
|
|
border: 1px solid #38BDF8;
|
|
}
|
|
|
|
.trademark-box .input-search input {
|
|
border-left: none;
|
|
}
|
|
|
|
.domain-search .input-search input {
|
|
border-right: none;
|
|
}
|
|
|
|
.input-search .search-btn {
|
|
cursor: pointer;
|
|
color: #fff;
|
|
margin-top: 30px;
|
|
margin-bottom: 20px;
|
|
padding: 18px 32px;
|
|
background: rgba(56, 189, 248, 1);
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-search .input-search-select {
|
|
cursor: pointer;
|
|
text-align: center;
|
|
line-height: 56px;
|
|
width: 124px;
|
|
height: 56px;
|
|
margin-top: 30px;
|
|
margin-bottom: 20px;
|
|
background: #fff;
|
|
border: 1px solid #38BDF8;
|
|
border-left: none;
|
|
}
|
|
|
|
.input-search .input-search-left-select {
|
|
border: 1px solid #38BDF8;
|
|
border-right: none;
|
|
}
|
|
|
|
.input-search .input-search-s {
|
|
position: relative;
|
|
line-height: 56px;
|
|
height: 56px;
|
|
width: 124px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.input-search .input-search-select .input-search-s::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 0;
|
|
background: #EDEDED;
|
|
height: 24px;
|
|
width: 1px;
|
|
}
|
|
|
|
.input-search .input-search-r {
|
|
position: relative;
|
|
line-height: 56px;
|
|
height: 56px;
|
|
width: 124px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.input-search .input-search-select .input-search-r::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 0;
|
|
background: #EDEDED;
|
|
height: 24px;
|
|
width: 1px;
|
|
}
|
|
|
|
|
|
|
|
.input-search .input-search-select .select-box {
|
|
display: none;
|
|
padding: 16px 10px;
|
|
position: absolute;
|
|
top: 86px;
|
|
left: 0;
|
|
width: calc(50% + 124px);
|
|
background: #FEFFFF;
|
|
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.input-search .input-search-select .select-box-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 10px;
|
|
width: 110px;
|
|
height: 40px;
|
|
border: 1px solid #E6EAED;
|
|
}
|
|
|
|
.input-search .input-search-select .select-box-item:hover {
|
|
border: 1px solid #38BDF8;
|
|
color: #38BDF8;
|
|
}
|
|
|
|
.input-search .input-search-select .iconfont {
|
|
font-size: 14px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.link-search-group {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: -12px;
|
|
}
|
|
|
|
.link-search-group .link-search-to {
|
|
padding: 0 12px;
|
|
display: flex;
|
|
border-right: 1px solid #D6D6D6;
|
|
}
|
|
|
|
.link-search-group .link-search-to:nth-child(4) {
|
|
border: none;
|
|
}
|
|
|
|
.link-search-group .price {
|
|
margin-left: 5px;
|
|
color: rgba(56, 189, 248, 1);
|
|
}
|
|
|
|
/* 分页 */
|
|
.jr-page .pagination .page-number.active {
|
|
color: #fff;
|
|
border: 1px solid rgba(56, 189, 248, 1);
|
|
background: rgba(56, 189, 248, 1);
|
|
}
|
|
|
|
.jr-page .pagination .page-number:hover {
|
|
background: rgba(56, 189, 248, 1);
|
|
color: #fff !important;
|
|
}
|
|
|
|
.jr-page .pagination>li a {
|
|
margin: 0 4px;
|
|
border: 1px solid #DCDCDC;
|
|
border-radius: 3px;
|
|
color: rgba(0, 0, 0, 0.60);
|
|
}
|
|
|
|
.jr-page .pagination>li .page-ellipsis {
|
|
border: none;
|
|
}
|
|
|
|
.jr-page .pagination>li .page-ellipsis:hover {
|
|
background: transparent;
|
|
}
|
|
|
|
.jr-page .pagination>li:first-child>a {
|
|
border: none;
|
|
}
|
|
|
|
.jr-page .pagination>li:last-child>a {
|
|
border: none;
|
|
}
|
|
|
|
|
|
.jr-select {
|
|
|
|
width: 100px;
|
|
border-radius: 5px;
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
.jr-select select {
|
|
border: 1px solid #EDEDED;
|
|
border-radius: 5px;
|
|
outline: none;
|
|
width: 100%;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
appearance: none;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.jr-select:after {
|
|
content: "\e674";
|
|
width: 14px;
|
|
height: 8px;
|
|
font-size: 12px;
|
|
font-family: 'iconfont';
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 15%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 回到顶部按钮 - 独立样式,固定在右下角 */
|
|
.back-top-wrapper {
|
|
position: fixed;
|
|
bottom: 40px;
|
|
right: 20px;
|
|
z-index: 1000;
|
|
width: 50px;
|
|
height: 50px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
background: rgba(15, 23, 42, 0.9);
|
|
backdrop-filter: blur(20px);
|
|
box-shadow: 0 8px 32px rgba(15, 23, 42, 0.6);
|
|
border: 1px solid rgba(148, 163, 184, 0.15);
|
|
border-radius: 50%;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.back-top-wrapper img {
|
|
width: 20px;
|
|
height: 20px;
|
|
transition: all 0.3s ease;
|
|
filter: brightness(1.1);
|
|
}
|
|
|
|
.back-top-wrapper:hover {
|
|
background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%);
|
|
box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.back-top-wrapper:hover img {
|
|
transform: translateY(-2px);
|
|
filter: brightness(1.3);
|
|
}
|
|
|
|
/* 侧边工具栏 - 深色科技风格 */
|
|
.aside-tools {
|
|
position: fixed;
|
|
top: 45%;
|
|
right: 20px;
|
|
z-index: 3;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.aside-tools .tools-list {
|
|
width: 50px;
|
|
background: rgba(15, 23, 42, 0.9);
|
|
backdrop-filter: blur(20px);
|
|
box-shadow: 0 8px 32px rgba(15, 23, 42, 0.6);
|
|
border: 1px solid rgba(148, 163, 184, 0.15);
|
|
border-radius: 8px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item {
|
|
position: relative;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item:hover {
|
|
background: rgba(56, 189, 248, 0.1);
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item img {
|
|
margin: 13px;
|
|
height: 24px;
|
|
width: 24px;
|
|
cursor: pointer;
|
|
filter: brightness(0.9);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item:hover img {
|
|
filter: brightness(1.2);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
background: rgba(148, 163, 184, 0.15);
|
|
bottom: 0;
|
|
left: 10px;
|
|
right: 10px;
|
|
height: 1px;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item:last-child:before {
|
|
content: none;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item:hover .tools-box {
|
|
display: block;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box {
|
|
display: none;
|
|
position: absolute;
|
|
right: 50px;
|
|
top: 0;
|
|
padding-right: 15px;
|
|
animation: slideInFromRight 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideInFromRight {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box-s {
|
|
padding: 24px;
|
|
width: 210px;
|
|
background: rgba(15, 23, 42, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
box-shadow: 0 8px 32px rgba(15, 23, 42, 0.6);
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
border-radius: 12px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 弹窗卡片光晕效果 */
|
|
.aside-tools .tools-list .tools-item .tools-box-s::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(
|
|
circle at center,
|
|
rgba(56, 189, 248, 0.1) 0%,
|
|
transparent 50%
|
|
);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box h5 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: #F9FAFB;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box p {
|
|
font-size: 13px;
|
|
color: rgba(203, 213, 225, 0.8);
|
|
line-height: 1.6;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box .com-contact-tel {
|
|
color: #38BDF8;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box .button {
|
|
font-size: 13px;
|
|
display: inline-block;
|
|
margin-top: 16px;
|
|
padding: 8px 20px;
|
|
background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
|
|
border: 1px solid rgba(56, 189, 248, 0.3);
|
|
border-radius: 6px;
|
|
color: #38BDF8;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box .button::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box .button:hover {
|
|
background: linear-gradient(135deg, rgba(56, 189, 248, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
|
|
border-color: rgba(56, 189, 248, 0.5);
|
|
color: #FFFFFF;
|
|
box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.aside-tools .tools-list .tools-item .tools-box .button:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
|
|
.flex-none {
|
|
flex-wrap: none !important;
|
|
}
|
|
|
|
#alert-container {
|
|
position: fixed;
|
|
top: 15%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 9999;
|
|
width: 300px;
|
|
opacity: 1;
|
|
transition: opacity 0.3s ease-in-out;
|
|
}
|
|
|
|
#footerRecord .left-info a {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
@media screen and (max-width: 1440px) {
|
|
.nav-content a {
|
|
width: calc(33.33% - 14px);
|
|
}
|
|
}
|
|
|
|
/* 汉堡菜单按钮 - 默认隐藏 */
|
|
.mobile-menu-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 28px;
|
|
height: 22px;
|
|
cursor: pointer;
|
|
margin-left: 16px;
|
|
z-index: 1001;
|
|
position: relative;
|
|
}
|
|
|
|
.mobile-menu-toggle span {
|
|
display: block;
|
|
width: 100%;
|
|
height: 3px;
|
|
background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%);
|
|
border-radius: 2px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.mobile-menu-toggle.active span:nth-child(1) {
|
|
transform: translateY(9.5px) rotate(45deg);
|
|
}
|
|
|
|
.mobile-menu-toggle.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.mobile-menu-toggle.active span:nth-child(3) {
|
|
transform: translateY(-9.5px) rotate(-45deg);
|
|
}
|
|
|
|
/* 移动端侧边导航栏 */
|
|
.mobile-sidebar {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 9999;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mobile-sidebar.active {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.mobile-sidebar-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.mobile-sidebar.active .mobile-sidebar-overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mobile-sidebar-content {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 280px;
|
|
height: 100%;
|
|
background: linear-gradient(180deg, #0F172A 0%, #020617 100%);
|
|
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
|
|
transform: translateX(100%);
|
|
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mobile-sidebar.active .mobile-sidebar-content {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.mobile-sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.15);
|
|
}
|
|
|
|
.mobile-sidebar-logo img {
|
|
height: 28px;
|
|
width: auto;
|
|
}
|
|
|
|
.mobile-sidebar-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.mobile-sidebar-close span {
|
|
font-size: 24px;
|
|
color: #94A3B8;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.mobile-sidebar-close:hover {
|
|
background: rgba(56, 189, 248, 0.1);
|
|
}
|
|
|
|
.mobile-sidebar-close:hover span {
|
|
color: #38BDF8;
|
|
}
|
|
|
|
.mobile-sidebar-body {
|
|
flex: 1;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.mobile-nav-item {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mobile-nav-link {
|
|
display: block;
|
|
padding: 14px 16px;
|
|
color: #E5E7EB;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
border-radius: 8px;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mobile-nav-link:hover {
|
|
background: rgba(56, 189, 248, 0.1);
|
|
color: #38BDF8;
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.mobile-nav-divider {
|
|
height: 1px;
|
|
background: rgba(148, 163, 184, 0.15);
|
|
margin: 16px 0;
|
|
}
|
|
|
|
.mobile-nav-btn {
|
|
display: inline-block;
|
|
padding: 12px 24px;
|
|
background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%);
|
|
color: #ffffff;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
margin: 8px 16px;
|
|
}
|
|
|
|
.mobile-nav-btn:hover {
|
|
box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.mobile-user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 16px;
|
|
background: rgba(15, 23, 42, 0.8);
|
|
border-radius: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.mobile-user-avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.mobile-user-name {
|
|
color: #F9FAFB;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 移动端导航栏和页脚优化 */
|
|
@media screen and (max-width: 991px) {
|
|
/* 导航栏 */
|
|
.nav-header {
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.nav-header .nav-left .nav-icon img {
|
|
width: 120px;
|
|
height: 26px;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.nav-menu .nav-item {
|
|
padding: 0 15px;
|
|
font-size: 15px;
|
|
height: 60px;
|
|
}
|
|
|
|
/* Footer 区域 */
|
|
.footer-content .footer-nav {
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
}
|
|
|
|
.footer .footer-nav .footer-nav-left {
|
|
margin-right: 0;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
}
|
|
|
|
.footer-nav-box {
|
|
flex: 0 1 calc(50% - 10px);
|
|
min-width: 150px;
|
|
}
|
|
|
|
.footer-content .footer-nav .footer-nav-right {
|
|
width: 100%;
|
|
}
|
|
|
|
/* 侧边工具栏 */
|
|
.aside-tools {
|
|
right: 10px;
|
|
}
|
|
|
|
.back-top-wrapper {
|
|
right: 10px;
|
|
bottom: 30px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 767px) {
|
|
/* ===== 导航栏 - 紧凑设计 ===== */
|
|
.nav-header {
|
|
height: 50px !important;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.nav-header .nav-left .nav-icon img {
|
|
width: 90px;
|
|
height: 20px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
/* 移动端显示汉堡菜单 */
|
|
.mobile-menu-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
/* 移动端显示侧边栏 */
|
|
.mobile-sidebar {
|
|
display: block;
|
|
}
|
|
|
|
/* 移动端隐藏桌面导航链接 */
|
|
.nav-desktop-link {
|
|
display: none !important;
|
|
}
|
|
|
|
.nav-menu .nav-item {
|
|
padding: 0 8px;
|
|
font-size: 13px;
|
|
height: 50px;
|
|
}
|
|
|
|
.nav-right .control {
|
|
margin: 0 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* 下拉菜单 */
|
|
.nav-cont {
|
|
top: 50px;
|
|
}
|
|
|
|
.nav-content {
|
|
padding: 20px 12px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.nav-content a {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-item-box {
|
|
min-width: auto;
|
|
width: 100%;
|
|
height: auto;
|
|
padding: 16px;
|
|
}
|
|
|
|
.nav-item-box img {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.nav-item-box .item-box-title {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.nav-item-box .item-box-title .desc {
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* ===== Footer - 精简版 ===== */
|
|
.register-advert {
|
|
padding: 0;
|
|
}
|
|
|
|
.register-advert a img {
|
|
max-height: 60px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* 承诺区域 */
|
|
.promise-box {
|
|
padding: 16px 8px;
|
|
font-size: 12px;
|
|
flex: 1 1 50%;
|
|
min-width: 140px;
|
|
}
|
|
|
|
.promise-box img {
|
|
height: 24px;
|
|
width: 24px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
/* Footer 主体 */
|
|
.footer-content {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.footer-content .footer-nav {
|
|
padding: 25px 0;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.footer .footer-nav .footer-nav-left {
|
|
margin-right: 0;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
}
|
|
|
|
.footer-nav-box {
|
|
flex: 1 1 100%;
|
|
min-width: auto;
|
|
}
|
|
|
|
.footer-nav-box .footer-nav-head {
|
|
font-size: 14px;
|
|
padding: 10px 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.footer-nav-box .footer-nav-cont {
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.footer-nav-box .footer-nav-item {
|
|
font-size: 12px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.footer-content .footer-nav .footer-nav-right {
|
|
width: 100%;
|
|
}
|
|
|
|
.footer-nav-right .footer-nav-item {
|
|
width: 100%;
|
|
}
|
|
|
|
.footer-nav-right .qr-code img {
|
|
width: 70px;
|
|
height: 70px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* 版权信息 */
|
|
.footer .footer-record {
|
|
flex-direction: column;
|
|
height: auto;
|
|
padding: 16px 0;
|
|
text-align: center;
|
|
gap: 8px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.footer .footer-link {
|
|
font-size: 11px;
|
|
height: auto;
|
|
line-height: 1.6;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
/* ===== 侧边工具栏优化 ===== */
|
|
.aside-tools {
|
|
display: none; /* 移动端隐藏侧边栏 */
|
|
}
|
|
|
|
/* 保留回到顶部按钮 */
|
|
.back-top-wrapper {
|
|
display: flex;
|
|
width: 44px;
|
|
height: 44px;
|
|
bottom: 20px;
|
|
right: 12px;
|
|
}
|
|
|
|
.back-top-wrapper img {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
/* 弹窗优化 */
|
|
#alert-container {
|
|
width: 260px;
|
|
top: 12%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 575px) {
|
|
/* ===== 导航栏 - 超紧凑 ===== */
|
|
.nav-header {
|
|
height: 48px !important;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.nav-header .nav-left .nav-icon img {
|
|
width: 80px;
|
|
height: 18px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.nav-menu .nav-item {
|
|
padding: 0 6px;
|
|
font-size: 12px;
|
|
height: 48px;
|
|
}
|
|
|
|
.nav-right .control {
|
|
margin: 0 6px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* ===== Footer - 最简版 ===== */
|
|
.promise-box {
|
|
flex: 1 1 100%;
|
|
padding: 12px 6px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.promise-box img {
|
|
height: 20px;
|
|
width: 20px;
|
|
}
|
|
|
|
.footer-content .footer-nav {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.footer-nav-box .footer-nav-head {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.footer-nav-box .footer-nav-item {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.footer-nav-right .qr-code img {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.footer .footer-record {
|
|
padding: 14px 0;
|
|
font-size: 10px;
|
|
}
|
|
|
|
/* 回到顶部按钮 */
|
|
.back-top-wrapper {
|
|
width: 40px;
|
|
height: 40px;
|
|
bottom: 16px;
|
|
right: 10px;
|
|
}
|
|
|
|
.back-top-wrapper img {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
/* 弹窗 */
|
|
#alert-container {
|
|
width: 240px;
|
|
}
|
|
}
|