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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.35.557",
3
+ "version": "1.35.558",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -2441,7 +2441,7 @@ let buttonNames = {
2441
2441
  lowLevel: {
2442
2442
  default: "viewResource",
2443
2443
  createResource: '创建思考',
2444
- viewResource: '列表',
2444
+ viewResource: '思考列表',
2445
2445
  // selectResource: '查找资源',
2446
2446
  }
2447
2447
  }
@@ -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.length; i++) {
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
@@ -176,7 +176,7 @@
176
176
  :deep(.custom-underline){
177
177
  font-style: normal;
178
178
  /*background-color: rgba(0,0,0,0.1);*/
179
- border-bottom: 1px dashed #FF0000;
179
+ border-bottom: 1px dashed #ccc;
180
180
  }
181
181
  .link{
182
182
  position: absolute;
@@ -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 red'
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 #FF0000',false)
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'
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.557',
92
+ version: '1.35.558',
93
93
  install,
94
94
  Calendar,
95
95
  Message,