zydx-plus 1.35.578 → 1.35.580
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 +1 -1
- package/src/components/chat/src/chat.vue +4 -4
- package/src/components/choice/src/choice.vue +9 -3
- package/src/components/editor2/src/editor.vue +2 -2
- package/src/components/flip/img/dingwei.png +0 -0
- package/src/components/flip/src/flip.vue +3 -3
- package/src/components/preface/src/preface.vue +10 -5
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class="line"></div>
|
|
26
26
|
<div :class="{'disabled': disabled}" @click="speak">
|
|
27
27
|
<i :class="{'speak': microphone, 'theme-text': true}" class="iconfont zydx-a-yuyinshuruAi"></i>
|
|
28
|
-
<span class="theme-text">语音输入</span>
|
|
28
|
+
<span :class="{'speak': microphone, 'theme-text': true}">语音输入</span>
|
|
29
29
|
</div>
|
|
30
30
|
<div class="line"></div>
|
|
31
31
|
<div @click="send('')">
|
|
@@ -609,9 +609,9 @@ export default {
|
|
|
609
609
|
height: 100%;
|
|
610
610
|
}
|
|
611
611
|
.speak{
|
|
612
|
-
background: #43cf7c !important;
|
|
613
|
-
color: #
|
|
614
|
-
border: 1px solid #43cf7c !important;
|
|
612
|
+
/* background: #43cf7c !important; */
|
|
613
|
+
color: #43cf7c !important;
|
|
614
|
+
/* border: 1px solid #43cf7c !important; */
|
|
615
615
|
}
|
|
616
616
|
.microphone{
|
|
617
617
|
position: absolute;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="choice-title">
|
|
4
4
|
<div class="choice-title-left">
|
|
5
5
|
<!-- <span><i>*</i>{{ title }}:</span>-->
|
|
6
|
-
<span>{{ title }}:</span>
|
|
6
|
+
<span>{{ isHasOption ? title : '创建选项' }}:</span>
|
|
7
7
|
<em>({{ text }})</em>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="choice-title-right">
|
|
@@ -37,8 +37,14 @@
|
|
|
37
37
|
<div v-else>
|
|
38
38
|
<div class="choice-list">
|
|
39
39
|
<div class="list-title">
|
|
40
|
-
<span
|
|
41
|
-
<
|
|
40
|
+
<span>{{ isHasOption ? title : '创建选项' }}:<em>(必填项)</em></span>
|
|
41
|
+
<template v-if="isHasOption">
|
|
42
|
+
<button class="sees-but" v-html="'修改选项'" @click="modifyOption()"></button>
|
|
43
|
+
</template>
|
|
44
|
+
<template v-else>
|
|
45
|
+
<button class="sees-but" @click="addOption">增加选项</button>
|
|
46
|
+
<button class="sees-but" v-html="'完  成'" @click="complete()"></button>
|
|
47
|
+
</template>
|
|
42
48
|
</div>
|
|
43
49
|
<div class="list-cont">
|
|
44
50
|
<div class="list-cont-li" v-for="(item,index) in list">
|
|
@@ -667,11 +667,11 @@ export default {
|
|
|
667
667
|
data: {
|
|
668
668
|
// 百度实时转译 appid appkey
|
|
669
669
|
appid: Number(_this.appData.appId),
|
|
670
|
-
appkey: _this.appData.
|
|
670
|
+
appkey: _this.appData.key,
|
|
671
671
|
// appid: 101913097,
|
|
672
672
|
// appkey: 'xv9715uwu2jqkTmIzlJl8eGx',
|
|
673
673
|
dev_pid: 15372,
|
|
674
|
-
cuid:
|
|
674
|
+
cuid: _this.appData.secret,
|
|
675
675
|
format: 'pcm',
|
|
676
676
|
sample: 16000,
|
|
677
677
|
}
|
|
Binary file
|
|
@@ -601,8 +601,8 @@ export default {
|
|
|
601
601
|
return {
|
|
602
602
|
'left': x1 - 0.2 + '%',
|
|
603
603
|
'top': (y1 - y2) - 0.2 + '%',
|
|
604
|
-
'width': x2 + 0.
|
|
605
|
-
'height': (y2 + 0.
|
|
604
|
+
'width': x2 + 0.1 + '%',
|
|
605
|
+
'height': (y2 + 0.1) + '%',
|
|
606
606
|
'border': `${v.borderStyle.width}px solid rgb(${v.borderColor[0]},${v.borderColor[1]},${v.borderColor[2]})`
|
|
607
607
|
}
|
|
608
608
|
},
|
|
@@ -1714,7 +1714,7 @@ export default {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
.magnifier>img{
|
|
1716
1716
|
width: 80% !important;
|
|
1717
|
-
height:
|
|
1717
|
+
height: 90% !important;
|
|
1718
1718
|
display: block;
|
|
1719
1719
|
margin: 0 auto;
|
|
1720
1720
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="preface">
|
|
3
|
-
<div class="preface-left">
|
|
4
|
-
<span
|
|
3
|
+
<div :class="[radioValue ? 'preface-left' : 'preface-left1']">
|
|
4
|
+
<span>{{radioValue ? '题序设置:' : '输入题序:'}}</span>
|
|
5
5
|
<div class="preface-input">
|
|
6
6
|
<input type="number" :value="inputValue" @input="numbers" @keypress="isNumberKey($event)" />
|
|
7
7
|
</div>
|
|
@@ -94,16 +94,21 @@ export default {
|
|
|
94
94
|
<style scoped>
|
|
95
95
|
.preface{
|
|
96
96
|
display: flex;
|
|
97
|
-
justify-content: center;
|
|
97
|
+
/* justify-content: center; */
|
|
98
98
|
}
|
|
99
99
|
.preface-left{
|
|
100
|
+
/* flex: 1; */
|
|
101
|
+
display: flex;
|
|
102
|
+
margin-right: 124px;
|
|
103
|
+
}
|
|
104
|
+
.preface-left1{
|
|
100
105
|
flex: 1;
|
|
101
106
|
display: flex;
|
|
102
107
|
}
|
|
103
|
-
.preface-left>span,.preface-right>span{
|
|
108
|
+
.preface-left>span,.preface-left1>span,.preface-right>span{
|
|
104
109
|
font-size: 14px;
|
|
105
110
|
color: #000;
|
|
106
|
-
font-weight: 700;
|
|
111
|
+
/* font-weight: 700; */
|
|
107
112
|
line-height: 15px;
|
|
108
113
|
}
|
|
109
114
|
.preface-input{
|