zydx-plus 1.33.397 → 1.33.398
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
|
@@ -116,10 +116,10 @@
|
|
|
116
116
|
<img :src="menusData('signMenu')?.ico" alt=""/>
|
|
117
117
|
<span>{{ menusData('signMenu')?.text }}</span>
|
|
118
118
|
</div>
|
|
119
|
-
<!-- ,width: wit + 'px'-->
|
|
120
|
-
<div v-for="(item,index) in htmlArr" :key="index"
|
|
119
|
+
<!-- ,width: wit + 'px' :style="{height: wit * 1.6 + 'px'}"-->
|
|
120
|
+
<div v-for="(item,index) in htmlArr" :key="index"
|
|
121
121
|
class="read-only-page" @click="menusTap">
|
|
122
|
-
<div :style="{
|
|
122
|
+
<div :style="{margin:'0 auto'}" class="read-only-p" v-html="item"></div>
|
|
123
123
|
<div class="read-only-a">{{ index + 1 }}/{{ htmlArr.length }}</div>
|
|
124
124
|
</div>
|
|
125
125
|
</div>
|
|
@@ -2064,7 +2064,7 @@ export default {
|
|
|
2064
2064
|
this.$nextTick(() => {
|
|
2065
2065
|
this.htmlArr = []
|
|
2066
2066
|
const data = document.querySelectorAll('.editing-cont')[0].childNodes[0].childNodes
|
|
2067
|
-
this.wit = document.getElementsByClassName('
|
|
2067
|
+
this.wit = document.getElementsByClassName('read-only')[0].offsetWidth + 20
|
|
2068
2068
|
if (this.wit > 900) this.wit = 900
|
|
2069
2069
|
let max = this.wit * 1.6 - 46
|
|
2070
2070
|
let pHeight = 0
|
|
@@ -4001,7 +4001,7 @@ export default {
|
|
|
4001
4001
|
|
|
4002
4002
|
.read-only-page {
|
|
4003
4003
|
width: 100%;
|
|
4004
|
-
padding: 120px
|
|
4004
|
+
padding: 120px 15% 66px;
|
|
4005
4005
|
background-color: #fff;
|
|
4006
4006
|
box-sizing: border-box;
|
|
4007
4007
|
position: relative;
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
border-radius: 3px;
|
|
79
79
|
background-color: #fff;
|
|
80
80
|
width: 150px;
|
|
81
|
+
overflow: hidden;
|
|
81
82
|
}
|
|
82
83
|
.right-menu>span{
|
|
83
84
|
display: inline-block;
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
cursor: pointer;
|
|
88
89
|
width: 100%;
|
|
89
90
|
padding: 0 10px;
|
|
91
|
+
box-sizing: border-box;
|
|
90
92
|
}
|
|
91
93
|
.right-menu>span:hover{
|
|
92
94
|
background-color: #e8e8e8;
|
|
@@ -339,8 +339,8 @@ export default {
|
|
|
339
339
|
const className = document.getElementsByClassName('annotation-list')
|
|
340
340
|
const className2 = document.getElementsByClassName(`${id}s`)
|
|
341
341
|
const className3 = document.getElementsByClassName('custom-underline')
|
|
342
|
-
this.classGuidance(className3,'1px dashed #FF0000')
|
|
343
|
-
this.classGuidance(className2,'1px solid #FF0000')
|
|
342
|
+
this.classGuidance(className3,'1px dashed #FF0000',false)
|
|
343
|
+
this.classGuidance(className2,'1px solid #FF0000',true)
|
|
344
344
|
for (let i = 0; i < className.length; i++) {
|
|
345
345
|
className[i].style.border = '1px solid #ccc'
|
|
346
346
|
}
|
|
@@ -393,9 +393,10 @@ export default {
|
|
|
393
393
|
}
|
|
394
394
|
return width * fontSize / 10;
|
|
395
395
|
},
|
|
396
|
-
classGuidance(name,state) {
|
|
396
|
+
classGuidance(name,state,back) {
|
|
397
397
|
for (let i = 0; i < name.length; i++) {
|
|
398
398
|
name[i].style.borderBottom = state
|
|
399
|
+
name[i].style.backgroundColor = back?'rgba(0,0,0,0.2)':'rgba(0,0,0,0.1)'
|
|
399
400
|
}
|
|
400
401
|
},
|
|
401
402
|
classBackDel(name) {
|