<template>
  <v-data-table
    class="mt-3"
    v-model="selected"
    :items="items"
    :headers="headers"
    hover
    height="60vh"
    item-value="id"
  >
    <template #bottom></template>
  </v-data-table>
</template>

<script setup>
defineOptions({ name: 'myRegistration-integralTable'})
import { ref } from 'vue'
defineProps({
  tab: String,
  items: Array
})


const selected = ref([])
const headers = [
  { title: '积分类型', key: '积分类型' },
  { title: '变更时间', key: '时间' },
  { title: '积分', key: '积分' },
]

</script>

<style scoped lang="scss">
:deep(.v-table > .v-table__wrapper > table > thead) {
  background-color: #f7f8fa !important;
}
:deep(.v-selection-control__input) {
  // color: var(--v-primary-base) !important;
  color: #767778;
}
</style>
