<template>
  <div class="marketing-total">
    <span class="demonstration">显示总数</span>
    <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="currentPage1" :page-size="100" layout="total, prev, pager, next" :total="1000">
    </el-pagination>
  </div>
</template>
<script>
export default {
  data () {
    return {
      currentPage1: 5
    }
  },
  methods: {
    handleSizeChange (val) {
      console.log(`每页 ${val} 条`)
    },
    handleCurrentChange (val) {
      console.log(`当前页: ${val}`)
    }
  }
}
</script>
