index.vue
897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<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>