<template>
  <div class="fix-btn flex-box flex-ver bottom-tool-bar bar-fixed-bottom">
    <slot></slot>
  </div>
</template>
<script lang="ts">
export default {
  name: 'FixBtn',
};
</script>

<style lang="scss" scoped>
.fix-btn {
  width: 100%;
}
.flex-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.flex-ver {
  align-items: center;
  justify-content: center;
}
.bottom-tool-bar {
  height: 60px;
  text-align: center;
  margin: 10px 0;
  background: var(--el-bg-color);
}
.bar-fixed-bottom {
  position: absolute;
  margin: 0 !important;
  z-index: 99;
  bottom: 0;
  left: 0;
}
</style>
