<template>
  <view class="fh-button" :class="type">
    <slot></slot>
  </view>
</template>

<script setup>
const props = defineProps({
  type: {
    type: String,
    default: 'primary',
  },
})
</script>

<style lang="less" scoped>
.fh-button {
  width: 100%;
  height: 97rpx;
  background-color: #fff;
  border-radius: 50rpx;
  font-size: 34rpx;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2rpx solid transparent;
}
.primary {
  background-color: #dab97b;
  border: 2rpx solid #dab97b;
  color: #fff;
}
.plain {
  background-color: #fff;
  color: #dab97b;
  border: 2rpx solid #dab97b;
}
</style>
