zhongshujie
5 小时以前 30d147c4c92dbfd5ca1b2f8c24a617dc82d2d25b
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
<template>
  <div class="page-header-box">
    <div class="evenBox" v-if="!isOdd">
      <div class="vertical">{{ name }}</div>
      <div class="textBox">{{ num }}</div>
      <img src="../../images/a1.jpg" alt="" />
    </div>
    <div class="oddBox" v-else></div>
  </div>
</template>
<script>
export default {
  name: "pageHeader",
  props: {
    num: {
      type: String,
      default: "",
    },
    name: {
      type: String,
      default: "",
    },
    chapter: {
      type: String,
      default: "",
    },
    isOdd: {
      type: Boolean,
      default: true,
    },
  },
  data() {
    return {};
  },
};
</script>