tianheng-ui 0.0.50 → 0.0.51

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,7 +1,7 @@
1
1
  {
2
2
  "name": "tianheng-ui",
3
3
  "description": "A Vue.js project",
4
- "version": "0.0.50",
4
+ "version": "0.0.51",
5
5
  "author": "shu lang <403732931@qq.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -11,7 +11,6 @@
11
11
  v-model="params[item.options.prop]"
12
12
  :style="{ width: item.options.width + 'px' }"
13
13
  :placeholder="item.options.placeholder || '请输入'"
14
- :size="item.options.size"
15
14
  :disabled="item.options.disabled"
16
15
  clearable
17
16
  ></el-input>
@@ -22,10 +21,10 @@
22
21
  :type="item.options.dateType || 'date'"
23
22
  :format="item.options.format"
24
23
  :value-format="item.options.valueFormat"
25
- :size="item.options.size"
26
24
  range-separator="至"
27
25
  start-placeholder="开始日期"
28
26
  end-placeholder="结束日期"
27
+ clearable
29
28
  >
30
29
  </el-date-picker>
31
30
  <el-select
@@ -33,20 +32,30 @@
33
32
  v-model="params[item.options.prop]"
34
33
  :style="{ width: item.options.width + 'px' }"
35
34
  :placeholder="item.options.placeholder || '请选择'"
36
- :size="item.options.size"
37
35
  :multiple="item.options.multiple"
38
36
  :multiple-limit="item.options.multipleLimit"
39
37
  :filterable="item.options.filterable"
40
38
  :disabled="item.options.disabled"
41
39
  clearable
42
40
  >
43
- <el-option
44
- v-for="option in item.options.options"
45
- :key="option.value"
46
- :label="option.label"
47
- :value="option.value"
48
- >
49
- </el-option>
41
+ <template v-if="item.options.remote">
42
+ <el-option
43
+ v-for="option in item.options.options"
44
+ :key="option[item.option.props.value]"
45
+ :label="option[item.option.props.label]"
46
+ :value="option[item.option.props.value]"
47
+ >
48
+ </el-option>
49
+ </template>
50
+ <template v-else>
51
+ <el-option
52
+ v-for="option in item.options.options"
53
+ :key="option.value"
54
+ :label="option.label"
55
+ :value="option.value"
56
+ >
57
+ </el-option>
58
+ </template>
50
59
  </el-select>
51
60
  </div>
52
61
 
@@ -108,10 +117,17 @@ export default {
108
117
 
109
118
  <style lang="less" scoped>
110
119
  .th-table-search {
111
- margin-bottom: 10px;
120
+ margin-bottom: 15px;
112
121
  &-item {
113
122
  display: inline-block;
114
123
  margin-right: 15px;
124
+ margin-bottom: 10px;
125
+ &-title {
126
+ font-size: 14px;
127
+ }
128
+ }
129
+ .th-table-search-item:last-child {
130
+ margin-right: 20px !important;
115
131
  }
116
132
  }
117
133
  </style>