Commit b5257a9ab27130f08d926fcfc457d459f1d23cad

Authored by guzijian
1 parent 11f2e1e4

feat: 新增大屏锚点跳转滑动效果

src/components/FleetContentBox/index.vue
@@ -158,6 +158,7 @@ onMounted(() => { @@ -158,6 +158,7 @@ onMounted(() => {
158 height: calc(100% - clamp(0.8rem, -0.907rem + 5.71vw, 1.3rem)); 158 height: calc(100% - clamp(0.8rem, -0.907rem + 5.71vw, 1.3rem));
159 width: auto; 159 width: auto;
160 overflow: hidden; 160 overflow: hidden;
  161 + scroll-behavior: smooth;
161 162
162 .scrolling { 163 .scrolling {
163 animation: scroll 5s linear infinite; 164 animation: scroll 5s linear infinite;