<style lang="sass">
@import './scss/awardrecord.scss';
</style>

<template>
    <div class="page-awardrecord">
        <ul class="list-record" v-if="records.length>0">
            <li v-for="(record,index) in records" :key="index">
                <h2>{{record.createTime | parseReleaseDate}}</h2>
                <p>
                    <span>奖金额度：¥{{record.bonus/100}}</span>
                    <span>奖金总额：¥{{record.totalBonus/100}}</span>
                    <span>获奖人数：{{record.peopleCount}}</span>
                </p>
            </li>
        </ul>
        <div class="tip-empty" v-else>暂无数据</div>

        <loading 
            :more = "nextFlag"
            :loading = "isloading"
            :clickName = "getBonusList"></loading>
    </div>
</template>

<script>
    import awardrecord from './js/awardrecord.js'
    export default awardrecord
</script>