index.vue 897 Bytes
<template lang="pug">
  .start-step
    el-button(type="primary" icon="el-icon-caret-right" class="btn" v-on="buttonListeners") 开始
</template>
<script>
export default {
  computed: {
    buttonListeners() {
      return Object.assign({}, this.$listeners)
    }
  }
}
</script>
<style lang="scss" scoped>
.start-step {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #eee;
  .btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100px;
    height: 70px;
    font-size: 23px;
    font-weight: 900;
    padding: 0 10px;
    border-radius: 13px;
    box-shadow: 4px 5px 3px;
    .el-icon-caret-right {
      font-size: 50px;
    }
  }
}
</style>
<style lang="scss">
.start-step {
  .btn {
    .el-icon-caret-right {
      font-size: 50px;
      margin-left: -20px;
    }
  }
}
</style>