<template>
  <div class="activity_code">
    <Table :loading="loading" border :columns="columns" :data="data"></Table>
    <Page
      :total="totalSize"
      :current="pageNum"
      :page-size="pageSize"
      show-elevator
      show-total
      placement="top"
      @on-change="handlePage"
      class-name="ks-page"
    ></Page>
  </div>
</template>

<script>
export default {
  name: "ActivityCode",
  data() {
    return {
      loading: false,
      totalSize: 0,
      pageNum: 1,
      pageSize: 10,
      data: []
    };
  },
  methods: {
    handlePage(value) {
      this.pageNum = value;
      this.load();
    },
    load() {}
  }
};
</script>

<style></style>
