zydx-plus 1.32.229 → 1.32.231

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.32.229",
3
+ "version": "1.32.231",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -1253,7 +1253,7 @@ let buttonNames = {
1253
1253
  power: '学习动力'
1254
1254
  }
1255
1255
  },
1256
- 1: {
1256
+ 2: {
1257
1257
  headLevel: {
1258
1258
  default: "allClass",
1259
1259
  allClass: this.getPrefix(item) + '检测',
@@ -1506,7 +1506,7 @@ let buttonNames = {
1506
1506
  power: '学习动力'
1507
1507
  },
1508
1508
  },
1509
- 1: {
1509
+ 2: {
1510
1510
  headLevel: {
1511
1511
  default: "allClass",
1512
1512
  allClass: this.getPrefix(item) + '训练',
@@ -2182,7 +2182,7 @@ let buttonNames = {
2182
2182
  demand: '分析要求',
2183
2183
  resourceIndex: '题  目',
2184
2184
  review: '分析点评',
2185
- analyse: '分析分析',
2185
+ analyse: '分析资源',
2186
2186
  countermeasure: '教学对策'
2187
2187
  },
2188
2188
  otherLevel: {
@@ -2420,7 +2420,7 @@ let buttonNames = {
2420
2420
  default: "demand",
2421
2421
  demand: '考试须知',
2422
2422
  resourceIndex: '考试试题',
2423
- analyse: '创新分析',
2423
+ analyse: '考试分析',
2424
2424
  countermeasure: '教学对策'
2425
2425
  },
2426
2426
  otherLevel: {
@@ -360,7 +360,7 @@ export default {
360
360
  readOnlyPage() { // 只读分页
361
361
  this.htmlArr = []
362
362
  const data = document.querySelectorAll('.editing-cont')[0].childNodes[0].childNodes
363
- this.wit = document.getElementsByClassName('editor-content')[0].offsetWidth
363
+ this.wit = document.getElementsByClassName('editor-content')[0].offsetWidth + 20
364
364
  if(this.wit > 900) this.wit = 900
365
365
  let max = this.wit * 1.4 - 200
366
366
  let pHeight = 0
@@ -823,6 +823,7 @@ export default {
823
823
  </script>
824
824
 
825
825
  <style scoped>
826
+
826
827
  :deep(.ProseMirror-separator) {
827
828
  display: none !important;
828
829
  }
@@ -852,8 +853,10 @@ export default {
852
853
  background-color: #fff;
853
854
  box-sizing: border-box;
854
855
  position: relative;
855
- border: 1px solid #ccc;
856
- margin: 10px 10px 20px 10px;
856
+ border-bottom: 10px solid #e5e5e5;
857
+ }
858
+ .read-only-page:last-child{
859
+ border-bottom: 0;
857
860
  }
858
861
 
859
862
  .read-only-p {
@@ -865,6 +868,9 @@ export default {
865
868
  line-height: 24px;
866
869
  text-align: justify;
867
870
  }
871
+ :deep(.text){
872
+ text-indent: 2em;
873
+ }
868
874
 
869
875
  .read-only-a {
870
876
  position: absolute;
@@ -957,7 +963,11 @@ label {
957
963
  font-size: 12px;
958
964
  font-weight: 400;
959
965
  }
960
-
966
+ .read-only-down{
967
+ background-color: #e5e5e5;
968
+ height: 10px;
969
+ width: 100%;
970
+ }
961
971
  :deep(.ProseMirror) p.is-editor-empty:first-child::before {
962
972
  content: attr(data-placeholder);
963
973
  float: left;
@@ -1050,7 +1060,6 @@ li {
1050
1060
 
1051
1061
  .editor-content {
1052
1062
  margin: 10px;
1053
- border: 1px solid rgba(204, 204, 204, 1);
1054
1063
  max-height: 900px;
1055
1064
  overflow: auto;
1056
1065
  }
@@ -450,9 +450,6 @@ export default {
450
450
  </script>
451
451
 
452
452
  <style scoped>
453
- .edit{
454
- margin-bottom: 14px;
455
- }
456
453
  :deep(.imgCont) {
457
454
  line-height: 0 !important;
458
455
  }
@@ -7,9 +7,9 @@
7
7
  <div class="tip-title" v-html="title"></div>
8
8
  </div>
9
9
  <div class="tip-boxContent">
10
- <div class="tap-p">
11
- <div class="tip-title2" v-if="type === 'text'"
12
- :style="{'text-align': (middle)? 'center': 'left' }" v-html="promptContent"></div>
10
+ <div class="tap-p" ref="tapP">
11
+ <div class="tip-title2" ref="tipTitle" v-if="type === 'text'"
12
+ :style="{'text-align': (middles)? 'center': 'left', 'text-indent': indent? '2em': '0' }" v-html="promptContent"></div>
13
13
  <div class="tip-img" v-if="type === 'img'">
14
14
  <img :src="url" alt=""/>
15
15
  </div>
@@ -101,7 +101,9 @@ export default {
101
101
  return {
102
102
  tip: false,
103
103
  tipYear: false,
104
- fileName: ''
104
+ fileName: '',
105
+ middles: this.middle,
106
+ indent: false
105
107
  }
106
108
  },
107
109
  props: {
@@ -170,6 +172,16 @@ export default {
170
172
  }
171
173
  }
172
174
  },
175
+ mounted() {
176
+ this.$nextTick(() => {
177
+ if(this.type === 'text') {
178
+ if(this.$refs.tapP.offsetHeight > 25) {
179
+ this.middles = false
180
+ this.indent = true
181
+ }
182
+ }
183
+ })
184
+ },
173
185
  methods: {
174
186
  checkboxTao(index) {
175
187
  this.checkboxArr[index].checked = !this.checkboxArr[index].checked
@@ -47,9 +47,6 @@
47
47
  font-size: 20px;
48
48
  margin-top: 5px;
49
49
  }
50
- .parer-cont{
51
- padding: 10px 0;
52
- }
53
50
  .parer-cont>p{
54
51
  font-size: 12px;
55
52
  line-height: 18px;
@@ -89,7 +86,7 @@
89
86
  .subject-title{
90
87
  flex: 1;
91
88
  position: relative;
92
- line-height: 26px;
89
+ line-height: 24px;
93
90
  }
94
91
  .subject-title label{
95
92
  display: inline-block;
@@ -109,9 +106,8 @@
109
106
  }
110
107
  .choice-box{
111
108
  text-indent: 2em;
112
- line-height: 25px;
109
+ line-height: 24px;
113
110
  font-size: 14px;
114
- margin: 2px 0;
115
111
  position: relative;
116
112
  }
117
113
  .choice-input{
@@ -168,21 +164,15 @@ input[name='check'] {
168
164
  z-index: 1;
169
165
  display: flex;
170
166
  }
171
- .subject-html{
172
- margin: 2px 0;
173
- }
174
- .subject-html :deep(p){
175
- margin: 2px 0;
176
- }
177
167
  .subject-html-title{
178
168
  text-indent: 2em;
179
169
  font-weight: bold;
180
170
  font-size: 14px;
181
- line-height: 26px;
171
+ line-height: 24px;
182
172
  }
183
173
  .subject-html-cont{
184
174
  text-align: justify;
185
- line-height: 26px;
175
+ line-height: 24px;
186
176
  text-indent: 2em;
187
177
  }
188
178
  .table{
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.229',
82
+ version: '1.32.231',
83
83
  install,
84
84
  Calendar,
85
85
  Message,