zydx-plus 1.32.255 → 1.32.256

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.255",
3
+ "version": "1.32.256",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -326,7 +326,6 @@ export default {
326
326
  sampleBits: 16, // 采样位数,支持 8 或 16,默认是16
327
327
  sampleRate: 16000, // 采样率,支持 11025、16000、22050、24000、44100、48000,根据浏览器默认值,我的chrome是48000
328
328
  numChannels: 1, // 声道,支持 1 或 2, 默认是1
329
- // compiling: false,(0.x版本中生效,1.x增加中) // 是否边录边转换,默认是false
330
329
  })
331
330
  this.recorder.onprogress = function (params) {
332
331
  if(_this.countdown <= 0) {
@@ -346,7 +345,7 @@ export default {
346
345
  for(let i=0; i< html.length; i++) {
347
346
  editorHtml += `<p>${html[i]}</p>`
348
347
  }
349
- this.editor.commands.setContent(editorHtml)
348
+ this.editor.commands.setContent(editorHtml.replace(/<p><\/p>/g, ''))
350
349
  },
351
350
  editingCancel() {
352
351
  this.textEditing = false
@@ -395,6 +394,7 @@ export default {
395
394
  const xhr = new XMLHttpRequest()
396
395
  // xhr.open('POST', 'http://192.168.15.126:8888/zydx/voice/getBaiduToken')
397
396
  xhr.open('POST', '/zydx/voice/getBaiduToken')
397
+ // xhr.setRequestHeader('Authorization', '5c9826f8-da53-44f1-9141-5917df6acab2')
398
398
  xhr.setRequestHeader('Authorization', token)
399
399
  const params = new URLSearchParams()
400
400
  params.append('type', 'voice')
@@ -35,7 +35,7 @@
35
35
  </div>
36
36
  <div class="tip-img" v-if="type === 'input'">
37
37
  <div class="tip-input" v-for="(item,index) in inputArr" :key="index">
38
- <span v-if="item.name"><em v-html="item.name"></em><i v-if="item.required">*</i></span>
38
+ <span v-if="item.name"><em>{{ item.name }}</em><i v-if="item.required">*</i></span>
39
39
  <div v-if="item.type === 'file'" class="file-cont">
40
40
  <em>{{ fileName }}</em>
41
41
  <label>
@@ -54,8 +54,8 @@
54
54
  v-model="item.value" :disabled="item.disabled"/>
55
55
  <b>{{ item.tail }}</b>
56
56
  </div>
57
- <div style="display: inline-block;">
58
- <Select v-if="item.type === 'select'" :options="item.option"
57
+ <div v-if="item.type === 'select'" style="display: inline-block;width: 300px;">
58
+ <Select :options="item.option"
59
59
  v-model:value="item.selectValue"></Select>
60
60
  </div>
61
61
  <div class="cal" v-if="item.type === 'calender'">
@@ -28,8 +28,8 @@
28
28
  cursor: pointer;
29
29
  }
30
30
  .tip-box {
31
- width: 480px;
32
- padding: 40px 40px;
31
+ width: 600px;
32
+ padding: 60px 100px 40px 100px;
33
33
  background-color: white;
34
34
  border-radius: 5px;
35
35
  border: 5px rgba(0, 0, 0, .1) solid;
@@ -140,6 +140,9 @@
140
140
 
141
141
  .tip-input > span > em {
142
142
  font-style: normal;
143
+ min-width: 65px;
144
+ display: inline-block;
145
+ text-align-last: justify;
143
146
  }
144
147
 
145
148
  .tip-input > span > i {
@@ -153,7 +156,7 @@
153
156
  }
154
157
 
155
158
  .tip-input input {
156
- width: 211px;
159
+ width: 300px;
157
160
  height: 32px;
158
161
  box-sizing: border-box;
159
162
  font-size: 16px;
@@ -165,7 +168,7 @@
165
168
  }
166
169
 
167
170
  .tip-input > select {
168
- width: 210px;
171
+ width: 300px;
169
172
  height: 30px;
170
173
  box-sizing: border-box;
171
174
  font-size: 16px;
@@ -229,7 +232,7 @@
229
232
  }
230
233
 
231
234
  .number-input {
232
- width: 211px;
235
+ width: 300px;
233
236
  height: 32px;
234
237
  box-sizing: border-box;
235
238
  font-size: 16px;
@@ -244,7 +247,7 @@
244
247
  border: 0 !important;
245
248
  box-shadow: none !important;
246
249
  height: 30px !important;
247
- width: 240px !important;
250
+ width: 320px !important;
248
251
  }
249
252
 
250
253
  .file-cont {
@@ -267,7 +270,7 @@
267
270
  .file-cont > em {
268
271
  display: inline-block;
269
272
  font-style: normal;
270
- width: 211px;
273
+ width: 300px;
271
274
  height: 32px;
272
275
  box-sizing: border-box;
273
276
  font-size: 16px;
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.255',
82
+ version: '1.32.256',
83
83
  install,
84
84
  Calendar,
85
85
  Message,