样式修改

This commit is contained in:
jack
2026-07-13 14:28:36 +08:00
parent 0e57b565a5
commit 690d536cbc
2 changed files with 48 additions and 49 deletions
+18 -32
View File
@@ -460,13 +460,15 @@
<span class="text_48">四大核心技能插件覆盖企业高频应用场景</span>
</div>
<div class="group_28 flex-col">
<img
class="label_3"
referrerpolicy="no-referrer"
src="./assets/img/Slice_13@3x.png"
/>
<span class="text_49">企业管理大师</span>
<span class="text_50">覆盖行政人事财务等制度流程员工自助查询减少答疑实现管理自动化标准化</span>
<div class="group_28_top flex-col">
<img
class="label_3"
referrerpolicy="no-referrer"
src="./assets/img/Slice_11@3x.png"
/>
<span class="text_49">企业管理大师</span>
<span class="text_50">覆盖行政人事财务等制度流程<br />员工自助查询减少答疑实现<br />管理自动化标准化</span>
</div>
<div class="group_29 flex-col">
<div class="block_12 flex-col">
<img
@@ -507,27 +509,6 @@
</div>
</div>
</div>
<div class="group_31 flex-col"></div>
<div class="group_32 flex-col">
<div class="group_33 flex-col">
<div class="image-wrapper_13 flex-col">
<img
class="image_32"
referrerpolicy="no-referrer"
src="./assets/img/FigmaDDSSlicePNG70cb065a8289fcc42ca78e42855a5469.png"
/>
<img
class="image_33"
referrerpolicy="no-referrer"
src="./assets/img/FigmaDDSSlicePNGb5a93f0d10a547f00f477afb7b34d708.png"
/>
</div>
</div>
<div class="text-group_16 flex-col justify-between">
<span class="text_57">企业管理大师</span>
<span class="text_58">覆盖行政人事财务等制度流程员工自助查询减少答疑实现管理自动化标准化</span>
</div>
</div>
</div>
<img
class="image_34"
@@ -678,10 +659,15 @@ export default {
const el = document.getElementById(id);
if (el) {
if (id === 'gateway') {
const rect = el.getBoundingClientRect();
const elBottom = rect.bottom + window.pageYOffset;
const target = elBottom - window.innerHeight + 250;
window.scrollTo({ top: Math.max(0, target), behavior: 'smooth' });
// gateway 段高度 23.574rem 可能超过视口,按"底部对齐"算会让顶部滚出视口看不见
// 改成顶部对齐(留 100px 给 nav,不让"统一的大模型接口网关"标题被挡)
const top = el.getBoundingClientRect().top + window.pageYOffset - 100;
window.scrollTo({ top: top, behavior: 'smooth' });
} else if (id === 'skills') {
// skills 段是 absolute 定位 (group_27 top: 35.547rem),点击时让它顶部贴视口顶部,
// 不要再留 260px(否则会露出上面 gateway 段的"降本/增效/留资/安全"等模块内容)
const top = el.getBoundingClientRect().top + window.pageYOffset;
window.scrollTo({ top: top, behavior: 'smooth' });
} else {
const top = el.getBoundingClientRect().top + window.pageYOffset - 260;
window.scrollTo({ top: top, behavior: 'smooth' });