/* 页面样式 */ body { background-color: rgb(244, 245, 247); margin: 0; font-family: Arial, sans-serif; } /* 内容限制宽度并居中 */ .container { max-width: 1400px; width: 100%; margin: 0 auto; /* 居中容器 */ display: flex; align-items: center; padding: 50px; } /* 左侧内容 */ .content-left { width: 50%; } /* 标题样式 */ h1 { font-size: 3rem; line-height: 1.3; margin-bottom: 10px; } /* 打字效果 */ .typing-effect { display: inline-block; white-space: nowrap; overflow: hidden; max-width: var(--typing-width, 15ch); border-right: 4px solid; animation: typing 1s steps(4, end) forwards, blink-caret 0.75s step-end infinite; } @keyframes typing { from { max-width: 0; } to { max-width: var(--typing-width, 15ch); } } @keyframes blink-caret { 50% { border-color: transparent; } } /* 下划线样式 */ .underline { position: relative; display: inline-block; color: #000; } .underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 18px; background-color: #DC143C; } /* 副标题 */ .subtitle { font-size: 18px; color: #555; margin: 0 0 60px 0; } /* 按钮样式 */ .buttons { display: flex; gap: 15px; } .buttons a { display: inline-block; } .buttons button { padding: 10px 20px; font-size: 16px; cursor: pointer; border: none; border-radius: 5px; color: white; transition: background-color 0.3s ease; } .btn-grey { background-color: #757575; } .btn-red { background-color: #f44336; } .btn-orange { background-color: #ff5722; } .buttons button:hover { opacity: 0.9; } /* 右侧图片 */ .content-right { width: 50%; display: flex; justify-content: center; align-items: center; } .content-right img { max-width: 100%; height: auto; border-radius: 10px; } .image-slider { position: relative; width: 100%; padding-top: 56.25%; /* 16:9 比例，可以根据图片实际比例调整 */ overflow: hidden; } .slider-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; /* 确保图片填满容器 */ opacity: 0; transition: opacity 1s ease-in-out; } .slider-image.active { opacity: 1; } /* 产品特点板块样式 */ .features { margin-top: 10px; max-width: 1200px; margin: 0 auto; } /* 主标题样式 */ .features h2 { font-size: 1.8rem; line-height: 1.3; margin-bottom: 10px; text-align: center; font-weight: 500; } /* 副标题样式 */ .features .subtitle { font-size: 1rem; color: #777; margin: 10px 0 40px 0; text-align: center; } /* 产品特点项样式 */ .feature-item { text-align: center; flex: 1; } .feature-item p { font-size: 3rem; font-weight: bold; color: #333; margin: 10px 0; } .feature-item span { font-size: 1rem; color: #777; } /* 设置flex布局，使每个产品特点项横向排列 */ .features-content { display: flex; justify-content: space-between; width: 100%; } /* 产品功能介绍样式 */ /* 主标题样式 */ .function h2 { width: 100%; font-size: 1.8rem; line-height: 1.3; text-align: center; font-weight: 500; } .function { max-width: 1200px; /* 容器最大宽度 */ margin: 60px auto; /* 上下间距 60px，左右居中 */ display: flex; flex-wrap: wrap; /* 启用换行 */ justify-content: space-between; /* 每行元素等距分布 */ gap: 20px; /* 元素间距 */ } .function-warpper { width: calc((100% - 40px) / 3); /* 每个功能块占总宽度的 1/3，减去总间距 */ background: #fff; border-radius: 8px; padding: 15px; box-shadow: 0 0 .25rem rgba(73, 80, 87, .05) !important; box-sizing: border-box; /* 包括内边距在宽度内 */ } .function-content { display: flex; /* 使用 Flexbox 布局 */ align-items: center; /* 图标和文字垂直居中 */ gap: 15px; /* 图标和文字之间的间距 */ } /* 设置function-icon的样式 */ .function-icon { width: 50px; height: 50px; background-color: rgba(0, 85, 255, .12); /* 背景色 */ border-radius: .5rem; /* 圆角 */ display: flex; /* 使用Flexbox对齐 */ justify-content: center; /* 水平居中 */ align-items: center; /* 垂直居中 */ padding: 10px; /* 给内部的SVG一些空间 */ } /* 设置SVG图标的样式 */ .function-icon svg { width: 30px; /* 使SVG填满父容器 */ height: 30px; /* 高度自适应 */ object-fit: contain; /* 确保SVG按比例缩放 */ fill: rgba(0, 85, 255, .16); color: #05f; } .function-text { flex: 1; /* 占据剩余空间 */ } .function-title { font-size: 18px; font-weight: bold; margin: 0 0 5px; /* 标题和描述之间的间距 */ color: #333; } .function-description { font-size: 14px; color: #666; line-height: 1.5; margin: 0; /* 描述的外边距 */ } /* 悬浮客服小窗 */ .contact-widget { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); width: 200px; background-color: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); border-radius: 8px; overflow: hidden; border: 1px solid #ddd; z-index: 1000; } /* 头像部分 */ .widget-header { display: flex; align-items: center; padding: 10px; background-color: #f5f5f5; border-bottom: 1px solid #ddd; } .avatar { width: 40px; height: 40px; border-radius: 50%; margin-right: 10px; } .status { font-size: 14px; color: #555; } .status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; } .status-dot.online { background-color: #4caf50; } .status-dot.offline { background-color: #f44336; } /* 按钮部分 */ .widget-body { padding: 10px; text-align: center; } .contact-btn { padding: 10px 20px; font-size: 16px; color: #fff; background-color: #007bff; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.3s ease; } .contact-btn:hover { background-color: #0056b3; }
/* ---- 留言区 / 页脚 / 后台入口 ---- */
.hp { position:absolute!important; left:-9999px!important; width:1px; height:1px; overflow:hidden; }
.guestbook { max-width: 1200px; margin: 40px auto 0; padding: 0 50px; }
.guestbook h2 { font-size: 1.8rem; line-height: 1.3; text-align: center; font-weight: 500; margin-bottom: 6px; }
.gb-sub { text-align:center; color:#8a94a6; font-size:14px; margin:0 0 22px; }
.gb-form { background:#fff; border-radius:12px; padding:18px 20px; box-shadow:0 2px 12px rgba(73,80,87,.07); }
.gb-head { display:flex; gap:14px; align-items:flex-start; margin-bottom:10px; }
.gb-avatar { flex:none; width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,#e0ecff,#f7e9ff); display:flex; align-items:center; justify-content:center; font-size:24px; }
.gb-head-txt { flex:1; display:flex; gap:12px; }
.gb-form input, .gb-form textarea { width:100%; box-sizing:border-box; padding:10px 12px; border:1px solid #e3e6ea; border-radius:8px; font:inherit; font-size:14px; background:#fbfcfd; color:#333; }
.gb-form input { margin:0; }
.gb-head-txt input { margin-bottom:0; }
.gb-form textarea { resize:vertical; min-height:88px; margin:10px 0 0; }
.gb-form input:focus, .gb-form textarea:focus { outline:none; border-color:#3D7DFF; background:#fff; box-shadow:0 0 0 3px rgba(61,125,255,.12); }
.gb-emoji { display:flex; flex-wrap:wrap; gap:4px; margin-top:10px; }
.gb-emoji-btn { border:0; background:transparent; font-size:19px; line-height:1; width:30px; height:30px; border-radius:7px; cursor:pointer; transition:.15s; }
.gb-emoji-btn:hover { background:#eef2ff; transform:scale(1.18); }
.gb-foot { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:12px; }
.gb-count { font-size:12px; color:#9aa3b0; }
.gb-count.over { color:#f44336; }
.gb-submit { padding:10px 24px; font-size:15px; border:0; border-radius:8px; color:#fff; cursor:pointer; background:linear-gradient(135deg,#3D7DFF,#7b5cff); box-shadow:0 3px 10px rgba(61,125,255,.28); transition:.2s; }
.gb-submit:hover:not(:disabled) { transform:translateY(-1px); box-shadow:0 5px 14px rgba(61,125,255,.34); }
.gb-submit:disabled { opacity:.6; cursor:default; transform:none; }
.gb-msg { font-size:13px; color:#16a34a; flex:1; text-align:right; }
.gb-msg.err { color:#f44336; }

.gb-list { list-style:none; padding:0; margin:22px 0 0; }
.gb-list li { background:#fff; border-radius:12px; padding:14px 18px; margin-bottom:12px; box-shadow:0 1px 8px rgba(73,80,87,.06); transition:.2s; }
.gb-list li:hover { box-shadow:0 3px 14px rgba(73,80,87,.11); }
.gb-li-head { display:flex; align-items:center; gap:9px; margin-bottom:8px; }
.gb-face { flex:none; width:30px; height:30px; border-radius:50%; background:#f1f4f9; display:flex; align-items:center; justify-content:center; font-size:16px; }
.gb-name { font-size:14px; font-weight:600; color:#333; }
.gb-time { font-size:12px; color:#a8b0bd; margin-left:auto; }
.gb-body { font-size:15px; color:#444; line-height:1.75; white-space:pre-wrap; word-break:break-word; }
.gb-acts { display:flex; align-items:center; gap:10px; margin-top:10px; padding-top:10px; border-top:1px dashed #edf0f4; }
.gb-vote { border:1px solid #e3e6ea; background:#fff; border-radius:99px; padding:5px 14px; font-size:13px; color:#5b6472; cursor:pointer; transition:.18s; display:inline-flex; align-items:center; gap:5px; }
.gb-vote b { font-weight:700; color:inherit; }
.gb-vote:hover:not(:disabled) { border-color:#c9d4ff; background:#f7faff; }
.gb-vote.on.up { background:#eaf2ff; border-color:#3D7DFF; color:#2563eb; }
.gb-vote.on.down { background:#fff1f0; border-color:#f56c6c; color:#dc2626; }
.gb-vote.busy { opacity:.55; pointer-events:none; }
.gb-score { font-size:12px; color:#a8b0bd; margin-left:auto; }
.gb-score.pos { color:#16a34a; }
.gb-score.neg { color:#dc2626; }
.gb-empty { text-align:center; color:#9aa3b0; font-size:14px; box-shadow:none!important; background:transparent!important; }

.gb-pager { display:flex; align-items:center; gap:6px; justify-content:center; flex-wrap:wrap; margin-top:18px; }
.gb-pager:empty { display:none; }
.gb-page { border:1px solid #e3e6ea; background:#fff; border-radius:7px; padding:6px 12px; font-size:13px; color:#5b6472; cursor:pointer; transition:.15s; }
.gb-page:hover:not(.off) { border-color:#3D7DFF; color:#3D7DFF; }
.gb-page.on { background:#3D7DFF; border-color:#3D7DFF; color:#fff; font-weight:600; }
.gb-page.off { opacity:.45; cursor:default; }
.gb-pages { font-size:12px; color:#a8b0bd; margin-left:6px; }
@media (max-width: 900px) {
  .container { flex-direction: column; padding: 24px; }
  .content-left, .content-right { width: 100%; }
  .features-content { flex-wrap: wrap; gap: 18px; }
  .feature-item { flex: 1 1 40%; }
  .function-warpper { width: 100%; }
  .gb-head, .gb-head-txt { flex-direction: column; gap: 8px; }
  .guestbook, .site-footer { padding: 0 24px; }
}