n20-common-lib 2.4.17 → 2.4.19

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": "2.4.17",
3
+ "version": "2.4.19",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -45,10 +45,10 @@ $--hover-bg-color: #303d59;
45
45
  }
46
46
  }
47
47
 
48
- .layout-aside > .el-menu-item,
49
- .layout-aside > .el-submenu > .el-submenu__title {
50
- padding-left: 16px !important;
51
- }
48
+ // .layout-aside > .el-menu-item,
49
+ // .layout-aside > .el-submenu > .el-submenu__title {
50
+ // padding-left: 16px !important;
51
+ // }
52
52
 
53
53
  .open-collapsed-btn {
54
54
  box-sizing: border-box;
@@ -1,15 +1,15 @@
1
1
  .content-box {
2
2
  box-sizing: border-box;
3
- margin: 10px;
4
- padding: 12px;
3
+ margin: 8px;
4
+ padding: 8px;
5
5
  border-radius: 6px;
6
6
  height: var(--client-height);
7
7
  background: $--color-white;
8
8
  overflow: auto;
9
9
 
10
10
  &.element-doc {
11
- margin: 10px;
12
- padding: 10px;
11
+ margin: 8px;
12
+ padding: 8px;
13
13
  height: var(--client-height);
14
14
  overflow: auto;
15
15
  }
@@ -1,4 +1,4 @@
1
- $--item-margin: 6px;
1
+ $--item-margin: 8px;
2
2
  $--item-radius: 4px;
3
3
  $--item-hover-padding: 12px;
4
4
 
@@ -12,7 +12,7 @@ $--item-hover-padding: 12px;
12
12
  }
13
13
  .el-tabs__nav {
14
14
  border: none !important;
15
- padding-top: $--layou-margin - 1px;
15
+ padding-top: $--layou-margin;
16
16
  }
17
17
  .el-tabs__item {
18
18
  height: $--tabsnav-height - 2 * $--layou-margin;
@@ -1,10 +1,10 @@
1
1
  // layout
2
- $--aside-width: 208px;
2
+ $--aside-width: 190px;
3
3
  $--aside-height: 40px;
4
4
  $--aside-collapse-width: 50px;
5
5
  $--header-height: 48px;
6
- $--tabsnav-height: 46px;
7
- $--layou-margin: 10px;
6
+ $--tabsnav-height: 42px;
7
+ $--layou-margin: 8px;
8
8
 
9
9
  body {
10
10
  background: $--body-background;
@@ -82,16 +82,14 @@ body {
82
82
  .content-wrap {
83
83
  box-sizing: border-box;
84
84
  position: fixed !important;
85
- top: $--header-height + $--tabsnav-height - $--layou-margin;
85
+ top: $--header-height + $--tabsnav-height - 6;
86
86
  left: $--aside-width;
87
87
  right: 0;
88
88
  bottom: 0;
89
89
  width: auto;
90
90
  height: auto;
91
91
  background: $--body-background;
92
-
93
92
  overflow-y: auto;
94
- overflow-y: overlay;
95
93
  overflow-x: hidden;
96
94
 
97
95
  transition: left 0.3s ease-in;
@@ -19,6 +19,9 @@
19
19
  .btn-next {
20
20
  margin-left: 6px;
21
21
  }
22
+ .el-pagination {
23
+ padding: 1px 5px;
24
+ }
22
25
  }
23
26
  .n20-pagination-jumper-1 {
24
27
  width: 36px;
@@ -72,7 +72,7 @@ iframe {
72
72
  // }
73
73
 
74
74
  :root {
75
- --client-height: calc(100vh - 116px);
75
+ --client-height: calc(100vh - 110px);
76
76
  }
77
77
 
78
78
  /* 内外边距 */
@@ -143,7 +143,7 @@
143
143
  </slot>
144
144
  </template>
145
145
  </el-table-column>
146
- <el-table-column :label="'操作' | $lc" align="center" width="85" fixed="right">
146
+ <el-table-column :label="'操作' | $lc" align="center" width="90" fixed="right">
147
147
  <slot slot="header" slot-scope="scope" name="handle-header" :column="scope.column">{{ '操作' | $lc }}</slot>
148
148
  <slot slot-scope="{ row }" name="handle" :row="row">
149
149
  <el-button type="text" icon="el-icon-view" :disabled="!row[keys.url]" @click="seeFile(row)" />
@@ -88,7 +88,7 @@ export default {
88
88
  data() {
89
89
  let headerH = 48
90
90
  let tabsH = 35
91
- let clientM = 10 + 1
91
+ let clientM = 8
92
92
 
93
93
  return {
94
94
  dnsKey: this.isTest || (process.env.NODE_ENV === 'production' && process.env.VUE_APP_KEEP_ALIVE === 'true'),
@@ -93,7 +93,7 @@ export default {
93
93
  data() {
94
94
  let headerH = 48
95
95
  let tabsH = 35
96
- let clientM = 10 + 1
96
+ let clientM = 8 + 1
97
97
 
98
98
  return {
99
99
  dnsKey: this.isTest || (process.env.NODE_ENV === 'production' && process.env.VUE_APP_KEEP_ALIVE === 'true'),
@@ -4,7 +4,6 @@
4
4
  ref="vxeTable"
5
5
  :key="colsKey"
6
6
  :align="'center'"
7
- :header-align="'center'"
8
7
  :data="data"
9
8
  :height="height"
10
9
  :class="{ 'cell-default-set--': cellDefault }"