n20-common-lib 3.0.43 → 3.0.44

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": "n20-common-lib",
3
- "version": "3.0.43",
3
+ "version": "3.0.44",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -49,7 +49,7 @@
49
49
  font-size: 14px;
50
50
 
51
51
  .top {
52
- padding: 12px 0px;
52
+ padding: 6px 0px;
53
53
  border-bottom: 1px solid #e5e6eb !important;
54
54
  }
55
55
  .filter {
@@ -1,6 +1,12 @@
1
1
  <template>
2
2
  <div :class="prefixCls">
3
- <el-form v-show="visible" ref="advancedFilter" :class="prefixCls + '-body'" @submit.native.prevent="() => {}">
3
+ <el-form
4
+ v-show="visible"
5
+ ref="advancedFilter"
6
+ style="display: flex; align-items: center; flex-wrap: wrap"
7
+ :class="prefixCls + '-body'"
8
+ @submit.native.prevent="() => {}"
9
+ >
4
10
  <slot name="prefix"></slot>
5
11
  <el-form-item
6
12
  v-for="item in GroupData"
@@ -95,7 +101,7 @@
95
101
  prop="viewName"
96
102
  :rules="[{ required: true, message: '请输入', trigger: 'blur' }]"
97
103
  >
98
- <el-input maxlength="30" show-word-limit v-model="form.viewName" />
104
+ <el-input v-model="form.viewName" maxlength="30" show-word-limit />
99
105
  </el-form-item>
100
106
  </el-form>
101
107
  <div slot="footer" class="flex-box flex-c flex-v page-button-shadow">
@@ -76,6 +76,7 @@
76
76
  <cl-advanced-filter
77
77
  ref="filter"
78
78
  class="filter"
79
+ :class="{ 'is-hidden': !multiple }"
79
80
  :visible.sync="multiple"
80
81
  :filter-id="filterId"
81
82
  :buss-id="bussId"
@@ -550,3 +551,10 @@ export default {
550
551
  }
551
552
  }
552
553
  </script>
554
+
555
+ <style scoped>
556
+ .filter.is-hidden {
557
+ padding: 0;
558
+ border-bottom: none !important;
559
+ }
560
+ </style>