13693261870
2023-06-21 cdf12fc9e88b1af69f5c85165eb9fef4e23bf57a
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
<template>
  <div class="box">
    <div class="LeftMenuOne">
      <div class="LeftMenuMove"
           @click="showMenuChange(0)"
           :class="{LeftMenuOut:index == -1}">经开区概况</div>
    </div>
    <div class="LeftMenuTwo">
      <div class="LeftMenuMove"
           @click="showMenuChange(1)"
           :class="{LeftMenuOut:index == 1}">党建引领</div>
    </div>
    <div class="LeftMenuThree">
      <div class="LeftMenuMove"
           @click="showMenuChange(2)"
           :class="{LeftMenuOut:index == 2}">经济运行</div>
    </div>
    <div class="LeftMenuFour">
      <div class="LeftMenuMove"
           @click="showMenuChange(3)"
           :class="{LeftMenuOut:index == 3}">城市治理</div>
    </div>
    <div class="LeftMenuFive">
      <div class="LeftMenuMove"
           @click="showMenuChange(4)"
           :class="{LeftMenuOut:index == 4}">民生服务</div>
    </div>
  </div>
</template>
 
<script>
export default {
  //import引入的组件需要注入到对象中才能使用
  components: {},
  data () {
    //这里存放数据
    return {
      index: 0
    };
  },
  //方法集合
  methods: {
    showMenuChange (idx) {
      this.index = idx;
      switch (idx) {
        case 0: // 经开区概况
          window.location.href = JD_JKQGK
          break;
        case 1: // 党建引领
          window.location.href = JD_DJYL
          break;
        case 2: // 经济运行
          window.location.href = JD_JJYX
          break;
        case 3: // 城市治理
          window.location.href = "call-exe://"
          break;
        case 4: // 疫情防控
          window.location.href = JD_YQFK
          break;
      }
    }
  },
  created () { },
};
</script>
<style lang="less" scoped>
//@import url(); 引入公共css类
.box {
  // display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  background: url('../../../assets/img/左侧阴影.png') no-repeat center;
  background-size: 100% 100%;
  font-family: 'Source Han Sans CN';
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
  text-align: center;
  color: #ffffff;
  line-height: 80px;
  .LeftMenuOne {
    position: absolute;
    width: 318.46px;
    height: 80px;
    margin-left: 199.54px;
    margin-top: 221px;
    z-index: 10000;
    cursor: pointer;
  }
 
  .LeftMenuTwo {
    position: absolute;
    width: 318.46px;
    height: 80px;
    margin-left: 234.67px;
    margin-top: 333px;
    z-index: 10000;
    cursor: pointer;
  }
  .LeftMenuThree {
    position: absolute;
    width: 318.46px;
    height: 80px;
    margin-left: 269.8px;
    margin-top: 445px;
    z-index: 10000;
    cursor: pointer;
  }
  .LeftMenuFour {
    position: absolute;
    width: 318.46px;
    height: 80px;
    margin-left: 304.93px;
    margin-top: 557px;
    z-index: 10000;
    cursor: pointer;
  }
  .LeftMenuFive {
    position: absolute;
    width: 318.46px;
    height: 80px;
    margin-left: 340.06px;
    margin-top: 669px;
    z-index: 10000;
    cursor: pointer;
  }
  .LeftMenuMove {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('../../../assets/img/左侧未选择.png') no-repeat center;
    background-size: 100% 100%;
    font-family: SourceHanSansCN;
  }
  .LeftMenuMove:hover {
    background: url('../../../assets/img/左侧选中.png') no-repeat center;
  }
  .LeftMenuOut {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('../../../assets/img/左侧选中.png') no-repeat center;
    background-size: 100% 100%;
  }
}
</style>