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
57
58
59
60
61
62
63
64
65
| <template>
| <div class="top-nav">
| <el-menu mode="horizontal" style="border:none">
| <div class="show-tree-btn" v-show="!this.TreeDataPool.showTreeBox">
| <i class="el-icon-s-unfold" @click="slideLeft"></i>
| </div>
| <div class="title">智能数据业务中心</div>
| </el-menu>
| </div>
| </template>
|
| <script>
|
| export default {
| components: {
| // fTemplate
| },
| data() {
| return {
| showTreeBox: false
| };
| },
| methods: {
| slideLeft() {
| this.TreeDataPool.showTreeBox = !this.TreeDataPool.showTreeBox;
| },
| }
| };
| </script>
|
| <style lang="scss">
| .top-nav {
| width: 100%;
| height: 90px;
| ul {
| width: 100%;
| height: 90px;
| position: relative;
| background-image: url("/images/visual/topBg.png");
| background-size: 100% 100%;
| .title {
| width: 400px;
| height: 40px;
| position: absolute;
| top: 10px;
| left: calc(50% - 200px);
| line-height: 40px;
| font-weight: bold;
| font-family: PingFangSC-Semibold;
| font-size: 31px;
| color: #0a81fd;
| letter-spacing: 0.68px;
| }
| }
|
| .show-tree-btn {
| position: absolute;
| left: 5px;
| top: 60px;
| color: #3d68e1;
| font-size: 27px;
| cursor: pointer;
| }
| }
| </style>
|
|