<template>
   <view class="btn-list">
      <view class="btn submit-btn">
          <text class="text">{{ props.title }}</text>
      </view>
    </view>
</template>

<script setup>
const props = defineProps({
  title:{
    type:String,
    default:'确认'
  }
});
</script>

<style lang="scss" scoped>
.btn-list {
  .btn {
    height: 48px;
    border-radius: 24px;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    .text {
      font-size: 16px;
      font-weight: 500;
      color: #ffffff;
    }
  }
  .submit-btn {
    background: #5e95ff;
  }
}
</style>
