zydx-plus 1.35.557 → 1.35.558
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
|
@@ -991,6 +991,7 @@ export default {
|
|
|
991
991
|
// setTimeout(() => {
|
|
992
992
|
if (this.page) {
|
|
993
993
|
this.editableShow = false
|
|
994
|
+
console.log('editableShow',this.editableShow)
|
|
994
995
|
this.readOnlyPage()
|
|
995
996
|
}
|
|
996
997
|
// }, 300)
|
|
@@ -1014,6 +1015,7 @@ export default {
|
|
|
1014
1015
|
// setTimeout(() => {
|
|
1015
1016
|
this.editableShow = !e
|
|
1016
1017
|
if (e) {
|
|
1018
|
+
console.log('readOnlyPage',e)
|
|
1017
1019
|
this.readOnlyPage() // 只读分页
|
|
1018
1020
|
}
|
|
1019
1021
|
// }, 300)
|
|
@@ -2160,7 +2162,7 @@ export default {
|
|
|
2160
2162
|
let max = this.wit * 1.6 - 186
|
|
2161
2163
|
let pHeight = 0
|
|
2162
2164
|
let html = ''
|
|
2163
|
-
for (let i = 0; i < data
|
|
2165
|
+
for (let i = 0; i < data?.length; i++) {
|
|
2164
2166
|
if (data[i].className === 'custom-link') { // 分割线
|
|
2165
2167
|
pHeight += 21
|
|
2166
2168
|
html += data[i].outerHTML
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
top: item.leftY + 'px',
|
|
7
7
|
left: item.leftX + 'px',
|
|
8
8
|
transform: 'rotate('+ item.angle +'deg)',
|
|
9
|
-
'border-bottom': (item.border)? '1px solid red' :'1px dashed
|
|
9
|
+
'border-bottom': (item.border)? '1px solid red' :'1px dashed #ccc'
|
|
10
10
|
}"></div>
|
|
11
11
|
<div class="tagging-left">
|
|
12
12
|
<div class="tagging-title">学生作品</div>
|
|
@@ -200,7 +200,6 @@ export default {
|
|
|
200
200
|
// 当前页批注数据ID
|
|
201
201
|
annDataID() {
|
|
202
202
|
this.dataID = []
|
|
203
|
-
console.log('childNodes',this.$refs.tagging.childNodes);
|
|
204
203
|
this.$refs.tagging.childNodes.forEach(item => {
|
|
205
204
|
this.childNode(item)
|
|
206
205
|
})
|
|
@@ -350,7 +349,7 @@ export default {
|
|
|
350
349
|
const className = document.getElementsByClassName('annotation-list')
|
|
351
350
|
const className2 = document.getElementsByClassName(`${id}s`)
|
|
352
351
|
const className3 = document.getElementsByClassName('custom-underline')
|
|
353
|
-
this.classGuidance(className3,'1px dashed #
|
|
352
|
+
this.classGuidance(className3,'1px dashed #ccc',false)
|
|
354
353
|
this.classGuidance(className2,'1px solid #FF0000',true)
|
|
355
354
|
for (let i = 0; i < className.length; i++) {
|
|
356
355
|
className[i].style.border = '1px solid #ccc'
|