bug
zhangzeli
2022-01-10 9252ac63bade4c0e155b2c5a2882fdfda863ee96
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
<template>
  <div>
    <div class="header">
      <img
        src="@/assets/yancao.png"
        width="220px"
        v-if="mainTheme == 'darkMode'"
      />
      <img src="@/assets/yancao.png" width="320px" v-else />
      <!--<div class="description">{{ 唐山烟草 }}</div>-->
    </div>
  </div>
</template>
 
<script>
export default {
  name: "xboot-header",
  computed: {
    // 主题
    mainTheme() {
      return this.$store.state.theme.theme.mainTheme;
    },
  },
};
</script>
 
<style lang="less">
.header {
  margin-top: 8vh;
  margin-bottom: 5vh;
  text-align: center;
 
  .description {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    margin-top: 1vh;
  }
}
</style>