uniapp微信小程序 uview 吸顶失效

我的怎么吸不住啊?一翻就上去了

img


Untitled.gif

<template>
    <view class="bg-white">
        <u-sticky>
            <u-tabs :list="modules" @click="sectionChange">u-tabs>
        u-sticky>
        <view class="padding" style="height: 2000px;">123view>
    view>
template>

<script>
/**
 * author        全易
 * time          2022-12-14 17:40:58
 * description   我的事项
 */
import SystemRequest from '@/request/system-request.js';

export default {
    name: '',
    data() {
        return {
            modules: []
        };
    },
    onLoad() {
        this.getDropdwons();
    },
    methods: {
        getDropdwons() {
            // 我的事项
            SystemRequest.getDropdowns('673856').then(res => {
                if (res.code === 0) {
                    this.modules = res.data.map(item => {
                        return {
                            name: item.code_name,
                            ...item
                        };
                    });
                    this.getData();
                }
            });
        },
        sectionChange(item) {
            console.log(item);
            this.getData();
        },
        getData(){}
    }
};
script>

<style lang="less" scoped>style>

盲猜一下,你是不是使用自定义导航栏了?是不是自定义导航栏引起的?