123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <template>
- <div>
- <div class="list-header">
- <div class="header-text haeder-one">提现日期</div>
- <div class="header-text header-two">佣金</div>
- </div>
- <div class="record-list">
- <div class="record-item" v-for="(item, index) in data" :key="index">
- <div class="record-title">{{ item.withdrawalTime }}</div>
- <div class="record-time">{{ item.withdrawalMoney }}</div>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- name: 'WithdrawalRecord',
- props: {
- data: {
- type: Array,
- default: () => []
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .list-header{
- background-color: #FFEED7;
- display: flex;
- flex-wrap: nowrap;
- justify-content: space-around;
- .haeder-one{
- flex: 0.45;
- }
- .header-two{
- flex: 0.55;
- }
- .header-text{
- text-align: center;
- font-weight: 400;
- font-size: 12px;
- color: #333;
- line-height: 24px;
- }
- }
- .record-list{
- min-height: 165px;
- }
- .record-item{
- display: flex;
- flex-wrap: nowrap;
- justify-content: space-around;
- .record-title,
- .record-time{
- text-align: center;
- line-height: 33px;
- }
- .record-title{
- flex: 0.45;
-
- }
- .record-time{
- flex: 0.55;
- }
- }
- </style>
|