zydx-plus 1.35.618 → 1.35.619

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.618",
3
+ "version": "1.35.619",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -3,7 +3,8 @@
3
3
  <div class="choice-title">
4
4
  <div class="choice-title-left">
5
5
  <!-- <span><i>*</i>{{ title }}:</span>-->
6
- <span>{{ isHasOption ? title : '创建选项' }}:</span>
6
+ <span class="choice-customized-title" v-if="isCustomizedTitle" v-html="title"></span>
7
+ <span class="choice-fixed-title" v-else>{{ isHasOption ? title : '创建选项' }}:</span>
7
8
  <em>({{ text }})</em>
8
9
  </div>
9
10
  <div class="choice-title-right">
@@ -93,6 +94,10 @@ export default {
93
94
  column: {
94
95
  type: Object,
95
96
  default: () => {}
97
+ },
98
+ isCustomizedTitle: { // 是否是自定义标题
99
+ type: Boolean,
100
+ default: false
96
101
  }
97
102
  },
98
103
  watch: {
@@ -247,6 +252,9 @@ export default {
247
252
  </script>
248
253
 
249
254
  <style scoped>
255
+ .choice-list{
256
+ text-indent: 27px;
257
+ }
250
258
  .list-cont-input{
251
259
  width: 100%;
252
260
  height: 30px;
@@ -317,10 +325,24 @@ export default {
317
325
  .choice-title-left{
318
326
  flex: 1;
319
327
  }
320
- .choice-title-left span{
328
+ /* .choice-title-left span{
329
+ font-size: 14px;
330
+ font-weight: 700;
331
+ display: inline-block;
332
+ text-indent: 27px;
333
+ } */
334
+ .choice-title-left .choice-customized-title{
335
+ font-size: 14px;
336
+ display: inline-block;
337
+ text-indent: 27px;
338
+ }
339
+ .choice-title-left .choice-fixed-title{
321
340
  font-size: 14px;
322
341
  font-weight: 700;
342
+ display: inline-block;
343
+ text-indent: 27px;
323
344
  }
345
+
324
346
  .choice-title-left span i{
325
347
  color: red;
326
348
  margin-right: 2px;
@@ -70,7 +70,7 @@
70
70
  </div>
71
71
  </div>
72
72
  <div class="input-name" v-if="item.type === 'textarea'">
73
- <div style="width: 300px;height: 100px; text-align: left;font-size: 16px;">
73
+ <div style="width: 300px;text-align: left;font-size: 16px;" :style="{'height': item.height ? `${item.height}px` :'100px'}">
74
74
  <zydx-textarea
75
75
  ref="textarea"
76
76
  :height="item.height?item.height:100"
package/src/index.js CHANGED
@@ -87,7 +87,7 @@ function install(app) {
87
87
  }
88
88
 
89
89
  export default {
90
- version: '1.35.618',
90
+ version: '1.35.619',
91
91
  install,
92
92
  Calendar,
93
93
  Message,