<template>
    <div class="foot_box">
      <div v-for="(item, index) in btnList" :key="index" class="btn" :style="{'background': item.bjColor}" @click="footClick(item.type)">
        <img src="../../../assets/Frame.png" class="Frame">
        {{ item.name }}
      </div>
    </div>
</template>

<script>
import { btnList } from './transition';

export default {
    data() {
        return {
          btnList
        };
    },
    created() {

    },
    methods: {
        footClick(type) {
            this.$emit('footBtn', type);
        }
    }
};
</script>

<style lang="scss" scoped>
.foot_box{
    // min-width: 1280px;
    width: 100%;
    height: 80px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
}

.btn{
    height: 80px;
    width: calc(100% / 6);
    margin: 0 10px;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    .Frame{
        width: 26px;
        height: 26px;
    }

}

</style>
