zydx-plus 1.35.578 → 1.35.579

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.578",
3
+ "version": "1.35.579",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -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: #fff !important;
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>试题选项:<em>(必填项)</em></span>
41
- <button v-if="!isHasOption" class="sees-but" @click="addOption">增加选项</button>
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="'完&emsp;&emsp;成'" @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">
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="preface">
3
- <div class="preface-left">
4
- <span>题序设置:</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{
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.578',
92
+ version: '1.35.579',
93
93
  install,
94
94
  Calendar,
95
95
  Message,