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
| <template>
| <div class="chapter" num="1">
| <div class="page-box" page="1" style="min-height: auto">
| <div v-if="showPageList.indexOf(1) > -1">
| <img src="../../assets/images/device_phone_frontcover.jpg" alt="" style="width: 100%;">
| </div>
| </div>
| <div class="page-box" page="2" style="min-height: auto">
| <div v-if="showPageList.indexOf(2) > -1">
| <img src="../../assets/images/0001-01.jpg" alt="" style="width: 100%;">
| </div>
| </div>
| </div>
| </template>
|
| <script>
| export default {
| name: "pageHeader",
| props: {
| showPageList: {
| type: Array,
| },
| },
| }
| </script>
|
| <style lang="less" scoped></style>
|
|