xiangpei
5 小时以前 4e421338cfa4e03b0d869798b30b8ff8ea6eb359
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
<template>
  <div class="foot">
    <Row type="flex" justify="space-around" class="help">
      <a class="item" :href="config.website" target="_blank">帮助</a>
      <a class="item" :href="config.website" target="_blank">隐私</a>
      <a class="item" :href="config.website" target="_blank">条款</a>
    </Row>
    <Row type="flex" justify="center" class="copyright">
      Copyright © {{ year }} - Present
      <a
        :href="config.website"
        class="href"
        target="_blank"
        style="margin: 0 5px"
        >{{ config.title }}</a
      >
    </Row>
  </div>
</template>
 
<script>
const config = require("@/config/index");
export default {
  // name: "footer",
  data() {
    return {
      config,
      year: new Date().getFullYear(), // 年
    };
  },
};
</script>
 
<style lang="scss" scoped>
.foot {
  position: fixed;
  bottom: 4vh;
  width: 368px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  .help {
    margin: 0 auto;
    margin-bottom: 1vh;
    width: 60%;
    .item {
      color: rgba(0, 0, 0, 0.45);
    }
    :hover {
      color: rgba(0, 0, 0, 0.65);
    }
  }
}
</style>