<template>
    <div class="ht-base-affix-demo">
        <ht-base-affix>
            <span class="demo-affix">固定在顶部</span>
        </ht-base-affix>
    </div>
</template>

<script>
    export default {
        name: 'HtBaseAffixDemo',
    }
</script>
<style lang="less">
    .ht-base-affix-demo {
        .demo-affix {
            display: inline-block;
            color: #ffffff;
            padding: 5px 10px;
            background: #2D8cF0;
        }
    }
</style>

