记录如何点击某个模块,定位到模块的位置

2025-07-15  本文已影响0人  小白白呐

const moduleMap = {

    问题理解: '.question-understanding-module',

    知识挖掘: '.TopStyle',

    知识关联: '.BottomStyle',

    混合检索: '.hybrid-search-style',

    知识溯源: '.rightStyle',

    联网搜索: '.external-data-style'

  };

这个里边的class是每个模块div的class(图一)

图一

红框内的是重要部分,还加了一个抖动效果,就是css写的动画(图三)

动画效果

图三
上一篇 下一篇

猜你喜欢

热点阅读