zydx-plus 1.35.549 → 1.35.550

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.549",
3
+ "version": "1.35.550",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -732,6 +732,46 @@ let buttonNames = {
732
732
  }
733
733
  }
734
734
  },
735
+ resource_lesson023: {
736
+ actionName: '经典文章',
737
+ buttonList: {
738
+ 0: {
739
+ headLevel: {
740
+ default: "btnIndex1",
741
+ btnIndex1: this.getCurrentPrefix(item) + '文章',
742
+ btnIndex2: this.getPrefix(item) + '文章'
743
+ },
744
+ otherLevel: {
745
+ default: "btnIndex1",
746
+ btnIndex1: this.getCurrentPrefix(item) + '文章',
747
+ btnIndex2: this.getPrefix(item) + '文章'
748
+ },
749
+ lowLevel: {
750
+ default: "viewResource",
751
+ // createResource: '创建文章',
752
+ viewResource: '文章列表',
753
+ // selectResource: '查找资源',
754
+ }
755
+ },
756
+ 2: {
757
+ headLevel: {
758
+ default: "btnIndex1",
759
+ btnIndex1: this.getCurrentPrefix(item) + '文章',
760
+ btnIndex2: this.getPrefix(item) + '文章'
761
+ },
762
+ otherLevel: {
763
+ default: "btnIndex1",
764
+ btnIndex1: this.getCurrentPrefix(item) + '文章',
765
+ btnIndex2: this.getPrefix(item) + '文章'
766
+ },
767
+ lowLevel: {
768
+ default: "viewResource",
769
+ viewResource: '文章列表',
770
+ // selectResource: '查找资源',
771
+ }
772
+ }
773
+ }
774
+ },
735
775
  action_lesson056: {
736
776
  actionName: '讲给他人',
737
777
  buttonList: {
@@ -484,7 +484,6 @@ export default {
484
484
  if(this.doublePage) return;
485
485
  if(e.target.nodeName === 'SPAN') {
486
486
  const wid = this.$refs.wrap.offsetWidth - 10
487
- const hei = this.$refs.wrap.offsetHeight - 10
488
487
  const endOffset = this.getRange().endOffset
489
488
  const style = e.target.attributes.style.value
490
489
  const size = style.match(/font-size:\s*([^;]+)/)[1].trim().replace(/px/g, "")
@@ -497,7 +496,7 @@ export default {
497
496
  this.rightMenuShow = true
498
497
  this.extendStyle = {
499
498
  left: left + 'px',
500
- top: Number(topMatch) - ((size/hei)*240) + '%'
499
+ top: `calc(${Number(topMatch) + '%'} - 50px)`
501
500
  }
502
501
  this.annData = {
503
502
  rect: [x1/this.scales,y1/this.scales,x2/this.scales,y2/this.scales],
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.549',
92
+ version: '1.35.550',
93
93
  install,
94
94
  Calendar,
95
95
  Message,