峰峰执法平台简易案件程序板块 pad端
yang
2022-10-17 4107256a8d1fa9a2db0969122bfc760994b12421
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<template>
    <div class="showIndexTitle-wrap">
      <div class="daping-header">
        <h1>综合行政执法局智慧执法办案平台</h1>
        <img @click="backBtn" class="back-box" src="../../../assets/images/backImg.png" alt="">
        <div class="showIndexTitle-menu-box">
          <el-menu :default-active="$route.path" router mode="horizontal" class="el-menu-demo" @select="handleSelect">
            <div class="showIndexTitle-menu menu-left">
              <el-menu-item index="/show">
                <div>
                  调度指挥
                </div>
              </el-menu-item>
              <el-menu-item index="/caseAnalysis">
                <div>
                 案件分析
                </div>
                <!--<div class="menu__item__box">
                  <div class="menu__item__up">案件分析</div>
                  &lt;!&ndash;<div class="menu__item__down">案件分析</div>&ndash;&gt;
                </div>-->
              </el-menu-item>
            </div>
            <div class="showIndexTitle-menu menu-right">
              <el-menu-item index="/lawTeam">
                <div>
                  执法队伍
                </div>
                <!--<div class="menu__item__box">
                  <div class="menu__item__up">执法队伍</div>
                  &lt;!&ndash;<div class="menu__item__down">案件分析</div>&ndash;&gt;
                </div>-->
              </el-menu-item>
            </div>
          </el-menu>
        </div>
      </div>
    </div>
</template>
 
<script>
    export default {
        name: "showIndexTitle",
        methods: {
            handleSelect(val) {
                console.log(val)
                this.$router.push({
                    path: 'val'
                })
            },
            backBtn() {
               this.$router.push({
                   path: '/wel'
               })
            }
        }
    }
</script>
 
<style lang="scss">
  .showIndexTitle-menu-box{
    .el-menu.el-menu--horizontal{
      border-bottom:none;
    }
    .el-menu-item{
      color: #2DE2FF;
      font-size: 0.0625rem  /* 16/256 */;
      font-weight: 400;
      text-align: center;
      opacity: 1;
      /*transition: border-color .3s,color .3s;*/
      transition: none!important;
      height:0.140625rem  /* 36/256 */;
      line-height:0.140625rem  /* 36/256 */;
      div{
        height:0.140625rem  /* 36/256 */;
        line-height:0.140625rem  /* 36/256 */;
        width: 0.62890625rem  /* 161/256 */;
        background:url("../../../assets/images/menu-bj-normal.png") no-repeat center;
        background-size: 100% 100%;
        animation: color .3s;
      }
    }
    .el-menu-item.is-active{
      opacity: 1;
      height:0.140625rem  /* 36/256 */;
      line-height:0.140625rem  /* 36/256 */;
      div{
        color: #094373;
        height:0.140625rem  /* 36/256 */;
        line-height:0.140625rem  /* 36/256 */;
        width: 0.62890625rem  /* 161/256 */;
        background:url("../../../assets/images/menu-bj-active.png") no-repeat center;
        background-size: 100% 100%;
        animation: opacity .6s;
      }
    /*&:before{
       content: '';
       background: url('../../../assets/images/arrow.png') no-repeat center;
       background-size: 100% 100%;
       width: 0.0833rem  !* 16/192 *!;
       height: 0.0417rem  !* 8/192 *!;
       position: absolute;
       bottom: -0.03125rem  !* -6/192 *!;
       left: 50%;
       transform: translateX(-50%);
     }*/
    }
    .el-menu-item:focus, .el-menu-item:hover{
      background:transparent;
    }
    .el-menu--horizontal .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal .el-menu-item:not(.is-disabled):hover{
      color:#fff;
      opacity: 1;
    }
  }
  @keyframes opacity{
    0%{
      opacity: 0;
    }
    100%{
      opacity: 1;
    }
  }
</style>
<style lang="scss" scoped>
  .daping-header{
    width: 100%;
    height: 0.3125rem  /* 60/192 */;
    background: url("../../../assets/images/showIndex-header-bj.png") no-repeat center;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    .back-box{
      position: absolute;
      left: 0.1302rem  /* 25/192 */;
      top: 0.0625rem  /* 12/192 */;
      cursor: pointer;
      z-index: 999;
    }
    h1{
      font-size: 0.1042rem  /* 20/192 */;
      font-family: Microsoft YaHei, Microsoft YaHei-Bold;
      font-weight: 700;
      text-align: center;
      color: #ffffff;
      line-height: 0.1146rem  /* 22/192 */;
      text-align: center;
    }
    .showIndexTitle-menu{
      display: flex;
    }
    .showIndexTitle-menu-box{
      position: absolute;
      top: 0;
      width: 100%;
    }
    .el-menu-demo{
      width: 100%;
      height: 0.25rem  /* 64/256 */;
      position: relative;
    }
    .menu-left{
      position: absolute;
      left: 1.71875rem  /* 330/192 */;
      bottom: 0;
    }
    .menu-right{
      position: absolute;
      right: 1.71875rem  /* 330/192 */;
      bottom: 0;
    }
  }
.menu__item__block{
  /*width: 130px;*/
  /*height: 34px;*/
  /*background:url("../../../assets/images/menu-bj-active.png") no-repeat center;*/
  /*background-size: 100% 100%;*/
}
/*.menu-acitive{*/
/*  background:url("../../../assets/images/menu-bj-normal.png") no-repeat center;*/
/*}*/
/*.menu__item__box{*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  position: relative;*/
/*  transition: all .3s;*/
/*}*/
  /*.menu__item__box:hover{
    transform: rotateX(90deg);
  }
  .menu__item__up,.menu__item__down{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .menu__item__up{
    background: #0D528A;
    transform: translateZ(17.5px);
  }
  .menu__item__down{
    background: #2DE2FF;
    transform: translateY(17.5px) rotateX(-90deg);
  }*/
</style>