zydx-plus 1.35.596 → 1.35.598
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 +1 -1
- package/src/components/buttonGroup/src/buttonGroup.vue +15 -3
- package/src/components/data_table/src/table_head.vue +3 -3
- package/src/components/dragPopup/src/dragPopup.vue +2 -1
- package/src/components/dragPopup2/src/dragPopup.vue +2 -1
- package/src/components/editor/src/editor.vue +3 -1
- package/src/components/editor2/src/editor.vue +155 -133
- package/src/components/flip/src/annotationLayer.css +1 -0
- package/src/components/flip/src/flip.vue +25 -14
- package/src/components/flip/src/icon.css +1478 -0
- package/src/components/flip/src/textLayer.css +1 -0
- package/src/components/mind/src/mind.vue +614 -587
- package/src/components/read/src/read.vue +45 -1
- package/src/components/select/src/select.vue +3 -3
- package/src/components/tipBox/index.js +2 -2
- package/src/components/tipBox/src/main.vue +5 -1
- package/src/index.js +1 -1
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
<div class="wrap-can" v-show="!loading" ref="wrapCanBox">
|
|
28
28
|
<div class="extend-right" v-if="rightMenuShow" :style="extendStyle">
|
|
29
29
|
<div class="extend-right-cont" @click.stop="extendRight(null)">
|
|
30
|
-
<img src="../img/qubiezhen.svg" alt="">
|
|
31
|
-
<p
|
|
30
|
+
<!-- <img src="../img/qubiezhen.svg" alt=""> -->
|
|
31
|
+
<p>添加链接</p>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
<div class="textLayer" ref="textLayer">
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
<div class="wrap-can" v-show="!loading" ref="wrapCan">
|
|
80
80
|
<div class="extend-right" v-if="rightMenuShow" :style="extendStyle">
|
|
81
81
|
<div class="extend-right-cont" @click.stop="extendRight(null)">
|
|
82
|
-
<img src="../img/qubiezhen.svg" alt="">
|
|
83
|
-
<p
|
|
82
|
+
<!-- <img src="../img/qubiezhen.svg" alt=""> -->
|
|
83
|
+
<p>添加链接</p>
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
<div class="textLayer" ref="textLayer">
|
|
@@ -253,6 +253,10 @@ export default {
|
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
props: {
|
|
256
|
+
isDisableRightClick: {
|
|
257
|
+
type: Boolean,
|
|
258
|
+
default: false
|
|
259
|
+
},
|
|
256
260
|
source: {
|
|
257
261
|
type: String,
|
|
258
262
|
default: ''
|
|
@@ -494,6 +498,9 @@ export default {
|
|
|
494
498
|
},
|
|
495
499
|
// 右键菜单
|
|
496
500
|
rightMenu(e) {
|
|
501
|
+
if (this.isDisableRightClick) {
|
|
502
|
+
return
|
|
503
|
+
}
|
|
497
504
|
e.preventDefault()
|
|
498
505
|
if(this.readOnly) return;
|
|
499
506
|
if(!this.rightClick) return;
|
|
@@ -512,7 +519,8 @@ export default {
|
|
|
512
519
|
this.rightMenuShow = true
|
|
513
520
|
this.extendStyle = {
|
|
514
521
|
left: left + 'px',
|
|
515
|
-
top: `calc(${Number(topMatch) + '%'} - 50px)`
|
|
522
|
+
// top: `calc(${Number(topMatch) + '%'} - 50px)`
|
|
523
|
+
top: `calc(${Number(topMatch) + '%'} - 30px)`
|
|
516
524
|
}
|
|
517
525
|
this.annData = {
|
|
518
526
|
rect: [x1/this.scales,y1/this.scales,x2/this.scales,y2/this.scales],
|
|
@@ -1701,9 +1709,9 @@ export default {
|
|
|
1701
1709
|
|
|
1702
1710
|
<style scoped>
|
|
1703
1711
|
|
|
1704
|
-
@import '
|
|
1705
|
-
@import '
|
|
1706
|
-
@import '
|
|
1712
|
+
@import './icon.css';
|
|
1713
|
+
@import './annotationLayer.css';
|
|
1714
|
+
@import './textLayer.css';
|
|
1707
1715
|
.magnifier{
|
|
1708
1716
|
position: absolute;
|
|
1709
1717
|
text-align: initial;
|
|
@@ -1777,18 +1785,20 @@ export default {
|
|
|
1777
1785
|
.extend-right{
|
|
1778
1786
|
position: absolute;
|
|
1779
1787
|
z-index: 5;
|
|
1780
|
-
border-radius: 20px;
|
|
1781
|
-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
|
|
1782
|
-
padding: 10px;
|
|
1788
|
+
/* border-radius: 20px; */
|
|
1789
|
+
/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); */
|
|
1790
|
+
/* padding: 10px; */
|
|
1783
1791
|
background-color: #DEDCDC;
|
|
1784
1792
|
cursor: pointer;
|
|
1785
1793
|
transform: scaleX(-1);
|
|
1794
|
+
padding: 2px 6px;
|
|
1795
|
+
border-radius: 3px;
|
|
1786
1796
|
}
|
|
1787
1797
|
.extend-right-cont{
|
|
1788
1798
|
display: flex;
|
|
1789
1799
|
transform: scaleX(-1);
|
|
1790
1800
|
}
|
|
1791
|
-
.extend-right:after {
|
|
1801
|
+
/* .extend-right:after {
|
|
1792
1802
|
content: '';
|
|
1793
1803
|
position: absolute;
|
|
1794
1804
|
top: 54%;
|
|
@@ -1798,7 +1808,7 @@ export default {
|
|
|
1798
1808
|
background: url("../img/sanjiao.png") no-repeat 0 0;
|
|
1799
1809
|
background-size: 100% 100%;
|
|
1800
1810
|
transform: rotate(-85deg) scaleY(-1);
|
|
1801
|
-
}
|
|
1811
|
+
} */
|
|
1802
1812
|
.extend-right-cont>img{
|
|
1803
1813
|
width: 14px !important;
|
|
1804
1814
|
height: 14px !important;
|
|
@@ -1806,9 +1816,10 @@ export default {
|
|
|
1806
1816
|
top: 2px;
|
|
1807
1817
|
}
|
|
1808
1818
|
.extend-right-cont>p{
|
|
1819
|
+
line-height: 20px;
|
|
1809
1820
|
font-size: 12px;
|
|
1810
1821
|
color: #fff;
|
|
1811
|
-
padding-left: 5px;
|
|
1822
|
+
/* padding-left: 5px; */
|
|
1812
1823
|
}
|
|
1813
1824
|
.isPointer{
|
|
1814
1825
|
pointer-events: none;
|