h-header.vue
597 Bytes
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
<template>
<div class="header-panel">
<img
class="info-consulting-icon"
src="@/assets/img/home/home-header.png"
alt=""
/>
</div>
</template>
<script>
export default {
name: 'overview',
data() {
return {
permissions: [1211]
}
},
methods: {
test() {
console.log('点击了按钮')
this.$messenger.send({ from: 11, message: '11111' })
}
}
}
</script>
<style lang="scss" scoped>
.header-panel {
width: 100%;
height: auto;
>img {
width: 100%;
height: auto;
}
}
</style>