zhongshujie
6 天以前 bb584963c6abe77c5577cbcad3c9956b69444ae9
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
<template>
  <div class="pageHeader-box">
    <div class="page-num">
      <span>{{ page }}</span>
      <span>{{ name }}</span>
    </div>
  </div>
</template>
<script>
export default {
  name: "pageHeader",
  props: {
    page: {
      type: String,
      default: "",
    },
    name: {
      type: String,
      default: "",
    },
  },
};
</script>
<style lang="less" scoped>
.pageHeader-box {
  width: 100%;
  padding-top: 100px;
 
  .page-num {
    width: 48%;
    height: 52px;
    background-image: url(../../images/page.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
 
    span {
      color: #333;
      font-size: 28px;
      font-weight: 700;
      margin: 0 20px;
    }
  }
}
</style>