zydx-plus 1.35.506 → 1.35.508
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
|
@@ -206,17 +206,25 @@ export default {
|
|
|
206
206
|
},
|
|
207
207
|
computed: {
|
|
208
208
|
position() {
|
|
209
|
-
if(this.
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
if(this.zIndex > 0) {
|
|
210
|
+
if(this.autoHeight) {
|
|
211
|
+
return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;min-height:${this.footDownOffset}px;z-index: ${this.zIndex}`;
|
|
212
|
+
} else {
|
|
213
|
+
return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;height:${this.footDownOffset}px;z-index: ${this.zIndex}`;
|
|
214
|
+
}
|
|
215
|
+
}else {
|
|
216
|
+
if(this.autoHeight) {
|
|
217
|
+
return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;min-height:${this.footDownOffset}px;`;
|
|
218
|
+
} else {
|
|
219
|
+
return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;height:${this.footDownOffset}px;`;
|
|
220
|
+
}
|
|
213
221
|
}
|
|
214
222
|
},
|
|
215
223
|
},
|
|
216
224
|
emits: ['dragStatus', 'close', 'enlarge','updateDrag','minimize','dragMouseup'],
|
|
217
225
|
methods: {
|
|
218
226
|
dragTap() {
|
|
219
|
-
if(this.zIndex
|
|
227
|
+
if(this.zIndex > 0) return
|
|
220
228
|
let pop = JSON.parse(sessionStorage.getItem('pop'))
|
|
221
229
|
for(let i = 0; i< pop.length; i++) {
|
|
222
230
|
if(document.getElementById(pop[i]) === null) continue
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<dragPopup2 :z-index="10002" title="手写记录" @updateDrag="updateDragInit" :width="width" :height="height" :minWidth="740" :minHeight="487" @close="cancel" :minimizeCir="false" :dragTextShow="false">
|
|
3
3
|
<template #content>
|
|
4
4
|
<div class="paint" :id="ids">
|
|
5
5
|
<div class="paint-title"></div>
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
15
|
-
</
|
|
16
|
-
<
|
|
15
|
+
</dragPopup2>
|
|
16
|
+
<dragPopup2 :z-index="10003" :width="600" :height="417" v-if="show" :dragStatus="false" :minimizeCir="false" :enlargeShow="false" @close="close">
|
|
17
17
|
<template #content>
|
|
18
18
|
<div class="can">
|
|
19
19
|
<div class="can-cont" :id="ids + 'cont'">
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
37
|
</template>
|
|
38
|
-
</
|
|
38
|
+
</dragPopup2>
|
|
39
39
|
<teleport to="body">
|
|
40
40
|
<div class="tool-cont" :style="{left: left + 'px', top: top + 'px'}">
|
|
41
41
|
<div class="tool"
|
|
@@ -112,15 +112,14 @@
|
|
|
112
112
|
</template>
|
|
113
113
|
|
|
114
114
|
<script>
|
|
115
|
-
import interact from 'interactjs'
|
|
116
115
|
import Sketchpad from '../../sketchpad/src/sketchpad'
|
|
117
|
-
import
|
|
116
|
+
import dragPopup2 from '../../dragPopup2/src/dragPopup'
|
|
118
117
|
import Mess from '../../tipBox/index'
|
|
119
118
|
|
|
120
119
|
let stayTime = 0
|
|
121
120
|
let timer = null
|
|
122
121
|
export default {
|
|
123
|
-
components: {Sketchpad,
|
|
122
|
+
components: {Sketchpad, dragPopup2},
|
|
124
123
|
data() {
|
|
125
124
|
return {
|
|
126
125
|
width: 940,
|