<template>
    <div class="nus_scrollview">
        <div class="nu_scroll-cont">
            <slot></slot>
        </div>
        <div
            class="nu_scroll-foot"
            v-if="isFoot">
            <slot name="hook_foot"></slot>
        </div>
    </div>
</template>

<script>
export default {
    name: 'NuScrollview',
    data () {
        return {
            isFoot: false
        };
    }
};
</script>

<style lang="scss">
@import '../../../_assets/style/_iconFont.scss';
@import '../../../_assets/style/_var.scss';
@import '../../../_assets/style/_mixin.scss';
.nus_scrollview {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
</style>
