n20-common-lib 3.0.39 → 3.0.40

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.39",
3
+ "version": "3.0.40",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -43,6 +43,7 @@ $--button-margin-left: 6px;
43
43
  .el-button--mini {
44
44
  padding: 5px 12px;
45
45
  font-size: 13px;
46
+ min-width: auto;
46
47
  }
47
48
  .el-button--info {
48
49
  &,
@@ -4,7 +4,11 @@
4
4
  <div class="n20-page-content flex-item" :class="{ is_padding: padding }">
5
5
  <slot></slot>
6
6
  </div>
7
- <div class="n20-page-content__footer" :class="{ 'n20-page-content__footer--max__padding': maxPadding }">
7
+ <div
8
+ v-if="$slots.footer"
9
+ class="n20-page-content__footer"
10
+ :class="{ 'n20-page-content__footer--max__padding': maxPadding }"
11
+ >
8
12
  <slot name="footer"></slot>
9
13
  </div>
10
14
  </div>
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <div class="ProFilterView">
3
3
  <div class="flex-box flex-lr flex-v top">
4
+ <slot name="leftContent"></slot>
4
5
  <div class="flex-box flex-v">
5
6
  <el-popover
6
7
  v-model="stVisible"
@@ -64,9 +65,8 @@
64
65
  </div>
65
66
  </div>
66
67
  </el-button>
67
- <slot name="leftContent"></slot>
68
+ <slot name="rightContent"></slot>
68
69
  </div>
69
- <slot name="rightContent"></slot>
70
70
  </div>
71
71
  <cl-advanced-filter
72
72
  ref="filter"