zydx-plus 1.35.561 → 1.35.562

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.561",
3
+ "version": "1.35.562",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  <div class="headLevel">
17
17
  <div v-for="(item, index) in nodeList" :key="index" class="borderBottom1cccccc padding0_10 box_sizing_border_box" v-show="getShow(item)">
18
18
  <zydx-topic-dry :is_hide="true">
19
- <template v-slot:title_slot><span class="fontSize16" :title="item.name" :class="'level'+item.level">{{item.name}}</span></template>
19
+ <template v-slot:title_slot><span class="fontSize16" :title="item.name" :class="'level'+item.level">{{item.name}}{{ item.suffixName? ':':'' }}</span><span v-if="item.suffixName" class="fontSize12">{{ item.suffixName }}</span></template>
20
20
  <template v-slot:button_slot v-if="isShowBtn">
21
21
  <template v-for="(buttonInfo, buttonIndex) in initConfig(item).buttonList[tabType]">
22
22
  <template v-if="buttonInfo instanceof Object" v-for="(childButtonInfo, childButtonIndex) in buttonInfo">
@@ -300,4 +300,7 @@ export default {
300
300
  box-sizing: border-box;
301
301
  height: 30px;
302
302
  }
303
+ .fontSize12{
304
+ font-size: 12px;
305
+ }
303
306
  </style>
@@ -965,7 +965,8 @@ let buttonNames = {
965
965
  buttonList: {
966
966
  0: {
967
967
  headLevel: {
968
- default: "singletonClass",
968
+ default: "demand",
969
+ demand: '写作要求',
969
970
  singletonClass: this.getCurrentPrefix(item) + '写作',
970
971
  allClass: this.getPrefix(item) + '情况',
971
972
  },
@@ -1912,7 +1913,8 @@ let buttonNames = {
1912
1913
  buttonList: {
1913
1914
  0: {
1914
1915
  headLevel: {
1915
- default: "singletonClass",
1916
+ default: "demand",
1917
+ demand: '写作要求',
1916
1918
  singletonClass: this.getCurrentPrefix(item) + '写作',
1917
1919
  allClass: this.getPrefix(item) + '情况',
1918
1920
  },
@@ -7,8 +7,10 @@
7
7
  <em>({{ text }})</em>
8
8
  </div>
9
9
  <div class="choice-title-right">
10
+ <button class="sees-but" @click="createTips()" v-if="column.hasOwnProperty('select') && column.hasOwnProperty('textarea') && column.textarea.length > 0">创建提示</button>
10
11
  <button class="sees-but" @click="add('correct')" v-if="!single">增正确项</button>
11
12
  <button class="sees-but" @click="add('interfere')">增干扰项</button>
13
+ <button class="sees-but" v-html="'完&emsp;&emsp;成'" @click="complete()"></button>
12
14
  </div>
13
15
  </div>
14
16
  <div class="choice-list" v-for="(item,index) in list">
@@ -75,6 +77,10 @@ export default {
75
77
  single: { // 是否单选
76
78
  type: Boolean,
77
79
  default: false
80
+ },
81
+ column: {
82
+ type: Object,
83
+ default: () => {}
78
84
  }
79
85
  },
80
86
  watch: {
@@ -90,6 +96,12 @@ export default {
90
96
  this.list = this.organize(this.value)
91
97
  },
92
98
  methods: {
99
+ complete () {
100
+ this.$emit('saveSelect')
101
+ },
102
+ createTips () {
103
+ this.$emit('createExplain')
104
+ },
93
105
  addOption() {
94
106
  const index = this.list.length
95
107
  if(index === 8) return
@@ -91,6 +91,10 @@ export default {
91
91
  type: Boolean,
92
92
  default: false
93
93
  },
94
+ isLook: { // 题库资源中,查看试题true,创建试题false
95
+ type: Boolean,
96
+ default: true
97
+ }
94
98
  },
95
99
  watch: {
96
100
  data: {
@@ -97,7 +97,7 @@
97
97
  text-align: center;
98
98
  font-size: 16px;
99
99
  color: rgba(0,0,0,0.6);
100
- margin-top: 140px;
100
+ padding-top: 140px;
101
101
  }
102
102
  .but-tag{
103
103
  margin-left: 5px;
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.561',
92
+ version: '1.35.562',
93
93
  install,
94
94
  Calendar,
95
95
  Message,