<script setup lang="ts">
const props = defineProps<{
  disabled?: boolean
}>()
</script>

<template>
  <view class="ff-btn" :class="{ disabled }">
    <slot>按钮文本</slot>
  </view>
</template>

<style lang="scss" scoped>
.ff-btn {
  width: 100%;
  height: 80rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
  font-size: 32rpx;
  color: #ffffff;
  background-color: #0070d5;
  border-radius: 80rpx;

  &.disabled {
    background-color: rgba(0, 112, 213, 0.65);
  }
}
</style>
