zydx-plus 1.33.435 → 1.33.437

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.33.435",
3
+ "version": "1.33.437",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  <div class="tool-img" :class="{'tool-arr-act': item.id === toolId}" :data-index="index">
20
20
  <img :src="item.img" alt=""/>
21
21
  </div>
22
- <div class="prompt">{{ item.name }}</div>
22
+ <div class="prompt-paint">{{ item.name }}</div>
23
23
  </div>
24
24
  </div>
25
25
  <div class="tool-pop" v-if="toolMenu" :style="{bottom: toolTop + 'px', left: toolLeft + 'px'}">
@@ -239,6 +239,7 @@ export default {
239
239
  methods: {
240
240
  exportTap() {
241
241
  this.$refs.sketchpad.exportImg().then(res => {
242
+ document.body.style.overflow = 'visible'
242
243
  this.$emit('exportImg', res)
243
244
  })
244
245
  },
@@ -495,6 +496,7 @@ export default {
495
496
  return id.replace(/[0-9]/g, '')
496
497
  },
497
498
  cancel() {
499
+ document.body.style.overflow = 'visible'
498
500
  this.$emit('cancel')
499
501
  }
500
502
  }
@@ -655,7 +657,7 @@ export default {
655
657
  margin-top: -5px;
656
658
  }
657
659
 
658
- .prompt {
660
+ .prompt-paint {
659
661
  position: absolute;
660
662
  top: -38px;
661
663
  left: -10px;
@@ -668,7 +670,7 @@ export default {
668
670
  display: none;
669
671
  }
670
672
 
671
- .prompt:after {
673
+ .prompt-paint:after {
672
674
  content: '';
673
675
  width: 0;
674
676
  height: 0;
@@ -714,7 +716,7 @@ export default {
714
716
  background-color: #00FF00;
715
717
  }
716
718
 
717
- .tool-item:hover .prompt {
719
+ .tool-item:hover .prompt-paint {
718
720
  display: block;
719
721
  }
720
722
 
package/src/index.js CHANGED
@@ -83,7 +83,7 @@ function install(app) {
83
83
  }
84
84
 
85
85
  export default {
86
- version: '1.33.435',
86
+ version: '1.33.437',
87
87
  install,
88
88
  Calendar,
89
89
  Message,