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
49
50
51
52
53
54
55
56
| <template>
| <div class="NavBar">
| <div class="NavTitle">页面导航</div>
| <div class="NavRefresh">
| <el-button icon="el-icon-refresh" @click="Refresh">刷新</el-button>
| </div>
| </div>
| </template>
| <script>
| export default {
| data(){
| return{
|
| }
| },
| methods:{
| Refresh(){
| window.location.href = "";
| }
| }
| }
| </script>
| <style lang="scss" scoped>
| .NavBar{
| display: flex;
| color: #999999;
| justify-content: space-between;
| line-height: 60px;
| width: 100%;
| padding: 0 40px;
| background-color: #fff;
| .NavTitle{
| display: flex;
| align-items: center;
| font-weight: 650;
| font-size: 18px;
| &::before{
| content: "";
| display: inline-block;
| width: 5px;
| height: 20px;
| margin-right: 5px;
| background-color: #0079fe;
| }
| }
| .NavRefresh{
| width: 70px;
| height: 30px;
| .el-button{
| padding: 0;
| width: 100%;
| height: 100%;
| }
| }
| }
| </style>
|
|