<template>
    <div class="select-variety">
        <div class="select-variety__content">
            <!-- 选择种植品种 -->
            种植品种
        </div>
        <div class="custom-bottom-fixed-btns">
            <div class="bottom-btn secondary-btn" @click="emit('prev')">上一步</div>
            <div class="bottom-btn primary-btn" @click="emit('confirm')">确定信息</div>
        </div>
    </div>
</template>

<script setup>
const emit = defineEmits(["prev", "confirm"]);
</script>

<style lang="scss" scoped>
.select-variety {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 80px;

    &__content {
        flex: 1;
        overflow-y: auto;
    }

    .custom-bottom-fixed-btns {
        gap: 12px;
        background: transparent;
        box-shadow: none;

        .bottom-btn {
            flex: 1;
            padding: 12px 0;
            font-size: 16px;
            border-radius: 25px;
        }

        .secondary-btn {
            color: #2199f8;
            background: #fff;
            border: 1px solid #2199f8;
        }

        .primary-btn {
            background: #2199f8;
            color: #fff;
        }
    }
}
</style>
