<template>
  <section class="AiFixedBtn">
    <movable-area class="movableArea">
      <movable-view direction="all" x="300" y="500" @tap.stop>
        <slot/>
      </movable-view>
    </movable-area>
  </section>
</template>

<script>
export default {
  name: "AiFixedBtn"
}
</script>

<style lang="scss" scoped>
.AiFixedBtn {
  .movableArea {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;

    uni-movable-view {
      pointer-events: auto;
      width: auto;
      height: auto;
    }
  }
}
</style>
