<template>
  <section
    :style="containerStyle"
    class="scroll-container"
  >
    <!--  滚动视图驱动部分   -->
    <div class="scrollContainer"
      :style="scrollContainer"
      ref="scroll"
      :class="['scroll-type-'+scrollType]"
    >
      <!--  视图收容器   -->
      <section class="scrollContainerTake" ref="scrollTake" :style="{height:minHeight}">
        <slot></slot>
      </section>
    </div>
  </section>
</template>

<script lang="ts">
import props from '../props';

import mixins from '../mixins';

export default {

  name:'scroll-view',

  mixins,

  props

}


</script>

<style scoped lang="scss" src="../index.scss"></style>
