<!--
 * @Author: Kane
 * @Date: 2023-03-08 14:18:39
 * @LastEditors: Kane
 * @FilePath: /task_schedule/src/components/HonorListComponent.vue
 * @Description: 光荣榜组件
 *
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
    <div class="honorlist-wrapper">
        <div class="banner-wrapper">
            <img
                src="@/assets/img/ranking/medal.png"
                alt=""
            >
            <div class="title-wrapper">
                <span>“90俱乐部”标杆坐席</span>
            </div>
        </div>
        <div class="telsaler-list-wrapper">
            <span>开发中……</span>
        </div>
    </div>
</template>

<script lang="ts">
import { reactive } from "vue";
export default {
    name: "HonorListComponent",
    props: {
        month: {
            type: String,
            require: true,
            default: () => "本",
        },
        leadingReward: {
            type: Array,
            require: true,
            default: () => ["",],
        },
        advanceReward: {
            type: Array,
            require: true,
            default: () => ["",],
        },
    },
    setup( props )
    {
        const ui = reactive({
            leadingReward: props.leadingReward as string[],
            advanceReward: props.advanceReward as string[],
        });

        console.log( props );
        return { ui, };
    },
};
</script>

<style scoped lang="scss">
.honorlist-wrapper {
    display: flex;
    flex-direction: column;
    height: 240px;
    width: 360px;
    border-radius: 5px;

    background-color: $color-honorlist-bg;
    backdrop-filter: blur(10px);

    padding: 10px;

    >*+* {
        margin-top: 10px;
    }
}

.banner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    flex-grow: 0;

    img {
        width: 65px;
        height: 65px;
    }

    .title-wrapper {

        span {
            display: block;
            text-align: center;
            color: rgb(245, 178, 11);
            margin-top: 0px;

            font: {
                size: 1.65rem;
                family: "FZ-ZHUOHEI";
                weight: 100;
            }
        }
    }
}

.telsaler-list-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;

    span {
            display: block;
            text-align: center;
            color: rgb(101, 140, 194);
            margin-top: 0px;

            font: {
                size: 2rem;
                family: "FZ-ZHUOHEI";
                weight: 100;
            }
        }
}
</style>
