<template>
    <div class="aiApp">
        <div class="aiTopArea">
            <ranking />
            <countPercentage />
            <countPercentage />
        </div>
        <div class="aiMidArea">
            <ranking :title="'创作者排名TOP5'" />
            <div class="DataDiv">
                <div class="DataTitle">活跃度环比增长率</div>
                <div class="imgArea">
                    <img src="../../../assets/img/BaseData2.png">
                </div>
            </div>
        </div>

        <div class="rankingArea">
            <ranking />
            <ranking />
            <ranking />
        </div>
    </div>
</template>
<script>
import ranking from './ranking.vue';
import countPercentage from './countPercentage.vue';
export default {
    name: 'AIApplications',
    components: {
        ranking,
        countPercentage
    }
}
</script>
<style scoped>
.aiApp {
    display: flex;
    flex-wrap: wrap;
    gap: 41px;
}

.aiTopArea {
    display: grid;
    gap: 20px;
    grid-template-columns: 326px auto auto;
    width: 100%;
}
.aiMidArea {
    display: grid;
    grid-template-columns: 326px auto;
    width: 100%;
    gap: 20px;
}
.DataDiv {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 4px 29px rgba(0, 0, 0, 0.1);
}

.DataDiv img {
    width: 100%;
    height: 100%;
}

.DataTitle {
    font-weight: bold;
    font-size: 17px;
}

.imgArea {
    padding: 41px;
}

.rankingArea {
    display: grid;
    gap: 26px;
    background-color: #ededed;
    padding: 20px;
    border-radius: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    width: 100%;
}

</style>