<template>
  <div class="demo-affix-basic">
    按钮相对窗口固定位置
    <ui-affix
      :fixed-bottom="0"
      :fixed-top="120">
      <ui-button type="primary">
        FIXED
      </ui-button>
    </ui-affix>
  </div>
</template>

<script>
import { Affix, Button } from "amumu-ui"

export default {
  components: {
    "ui-affix": Affix,
    "ui-button": Button,
  },
}
</script>
