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
| <template>
| <div class="footerBox">
| <div class="content">
| <ul class="inforlist">
| <li v-for="item in footerinforList" :key="item.id">
| <div class="itemName">
| {{ item.name }}
| </div>
| <div v-for="(val, index) in item.list" :key="index" class="valName">
| <span
| @click="goPage(val)"
| @mouseenter="val.show = !val.show"
| @mouseleave="val.show = !val.show"
| :class="{ hoverBorderBg: val.show }"
| >{{ val.name }}</span
| >
| </div>
| <div v-if="item.id === '7'" style="text-align: center">
| <img src="../assets/image/weixinCode.jpg" style="width: 45%" />
| <p style="margin-top: 10px; color: #919090">官网公众号</p>
| </div>
| </li>
| </ul>
| <div class="copyrightInfor">
| <div class="copyrightInfor_phone">
| <div>
| <span>版权所有 © 昆山市七星博士环境科技股份有限公司</span>
| <span
| ><a
| href="https://beian.miit.gov.cn"
| target="_blank"
| style="color: #919090; text-decoration: none; margin: 0 5px"
| >苏ICP备16043018号</a
| ></span
| >
| <span> 客服热线 0512--36871300</span>
| </div>
| <div>
| <span>技术支持:七星瓢虫环境科技</span>
| </div>
| </div>
| </div>
| </div>
| </div>
| </template>
|
| <script setup lang="ts">
| import { reactive } from 'vue'
| import { useRouter } from 'vue-router'
| const router = useRouter()
| let goPage = (item: any) => {
| if (item.path !== '') {
| let hash = item.hash ? item.hash : ''
| router.push({ path: item.path, hash: hash, query: { name: item.name, id: item.id } })
| }
| }
| const footerinforList = reactive([
| {
| name: '解决方案',
| path: '/solution',
| id: '2',
| show: false,
| list: [
| { name: '臭氧&PM2.5协同管控', show: false, path: '/solution', id: '2' },
| { name: '涉气企业无组织排放断面管控', show: false, path: '/solution', id: '21' },
| { name: '环保管家服务', show: false, path: '/solution', id: '22' },
| { name: '更多详情', show: false, path: '/solution', id: '23' }
| ]
| },
| {
| name: '产品中心',
| path: '/product',
| show: false,
| id: '3',
| list: [
| { name: '23参数微型空气站', show: false, path: '/product', id: '3' },
| { name: '大气环境智慧监测指挥平台', show: false, path: '/product', id: '31' },
| { name: '无人机数据黑匣子监测系统', show: false, path: '/product', id: '32' },
| { name: '一体化扬尘监测系统', show: false, path: '/product', id: '33' }
| ]
| },
| {
| name: '新闻中心',
| path: '/news',
| show: false,
| id: '4',
| list: [
| { name: '公司新闻', show: false, path: '/news', id: '4' },
| { name: '行业新闻', show: false, path: '/news', id: '41' }
| ]
| },
| {
| name: '关于我们',
| path: '/about',
| show: false,
| id: '5',
| list: [
| { name: '品牌故事', show: false, path: '/about', id: '5', hash: '#mian1' },
| { name: '发展历程', show: false, path: '/about', id: '51', hash: '#mian2' },
| { name: '企业文化', show: false, path: '/about', id: '52', hash: '#mian3' }
| ]
| },
| {
| name: '联系我们',
| path: '/contact',
| id: '6',
| show: false,
| list: [
| { name: '全国服务热线:0512--36871300', show: false, path: '' },
| { name: '公司邮箱:', show: false, path: '' }
| ]
| },
| { name: '关注我们', id: '7', list: [] }
| ])
| </script>
|
| <style scoped lang="scss">
| .footerBox {
| // position: fixed;
| z-index: 100;
| width: 100%;
| bottom: 0;
| }
| .content {
| background: #242426 url(../assets/image/foot_bg.jpg) center top no-repeat;
| }
| .inforlist {
| padding: 1.8em 0 1em;
| width: 80%;
| display: flex;
| justify-content: space-around;
| color: #fff;
| margin: 0 auto;
| li {
| width: 25%;
| padding: 0 15px;
| font-size: 12px;
| }
| }
| .itemName {
| padding-bottom: 10px;
| margin-bottom: 10px;
| border-bottom: 1px solid #585858;
| }
| .valName {
| color: #919090;
| line-height: 2.5em;
| font-size: 12px;
| display: block;
| cursor: pointer;
| }
| .hoverBorderBg {
| border-bottom: 1px solid #919090;
| }
| .copyrightInfor {
| border-top: 1px solid #585858;
| }
| .copyrightInfor_phone {
| width: 80%;
| margin: 0 auto;
| padding: 10px 0 20px 0;
| color: #919090;
| font-size: 12px;
| display: flex;
| justify-content: space-between;
| }
| </style>
|
|