zydx-plus 1.15.64 → 1.15.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.15.64",
3
+ "version": "1.15.65",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -4,7 +4,7 @@
4
4
  <canvas :id="'pdf-canvas'+ index" v-for="(item,index) in pdfPages" class="pdf-canvas"></canvas>
5
5
  </div>
6
6
  <div class="book">
7
- <flipbook class="flipbook" :startPage="page" :pages="imgArr" @flip-left-end="flipLeft($event,false)" @flip-right-end="flipRight($event,false)" v-slot="flipbook" :singlePage="singlePage" :ambient="0" :gloss="1" :dragToFlip="false" :pagesHiRes="0">
7
+ <flipbook class="flipbook" :startPage="pageIndex" :pages="imgArr" @flip-left-end="flipLeft($event,false)" @flip-right-end="flipRight($event,false)" v-slot="flipbook" :singlePage="singlePage" :ambient="0" :gloss="1" :dragToFlip="false" :pagesHiRes="0">
8
8
  <div class="but" v-if="butShow">
9
9
  <button class="but-brown" :class="{'but-act': pageIndex === 1}" @click="flipbook.flipLeft">上一页</button>
10
10
  <button class="but-brown" :class="{'but-act': pageIndex === pdfPages}" @click="flipbook.flipRight">下一页</button>
@@ -26,7 +26,7 @@ export default {
26
26
  pdfPages: 0,
27
27
  imgArr: [],
28
28
  hei: 0,
29
- pageIndex: 1
29
+ pageIndex: this.page
30
30
  }
31
31
  },
32
32
  props: {
package/src/index.js CHANGED
@@ -49,7 +49,7 @@ function install(app) {
49
49
  }
50
50
 
51
51
  export default {
52
- version: '1.15.64',
52
+ version: '1.15.65',
53
53
  install,
54
54
  Calendar,
55
55
  Message,