@94ai/nf-theme-oem 3.1.30 → 3.1.31

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.
@@ -0,0 +1,85 @@
1
+ .nf-notification {
2
+ display: flex;
3
+ width: 400px;
4
+ padding: 16px 24px;
5
+ box-sizing: border-box;
6
+ position: fixed;
7
+ background: #FFFFFF;
8
+ box-shadow: 0px 4px 18px 0px rgba(0,0,0,0.1);
9
+ border-radius: 4px;
10
+ transition: opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;
11
+ overflow: hidden;
12
+
13
+ &.right {
14
+ right: 16px
15
+ }
16
+
17
+ &.left {
18
+ left: 16px
19
+ }
20
+
21
+ .nf-notification__group {
22
+ flex: 1;
23
+ }
24
+
25
+ .nf-notification__title {
26
+ font-size: 16px;
27
+ font-weight: 400;
28
+ color: rgba(0,0,0,0.85);
29
+ line-height: 24px;
30
+ margin: 0 0 12px
31
+ }
32
+
33
+ .nf-notification__content {
34
+ font-size: 14px;
35
+ font-weight: 400;
36
+ color: rgba(0,0,0,0.65);
37
+ line-height: 22px;
38
+ text-align: justify
39
+ }
40
+
41
+ .nf-notification__content p {
42
+ margin: 0
43
+ }
44
+
45
+ .nf-notification__icon {
46
+ height: 24px;
47
+ width: 24px;
48
+ font-size: 24px;
49
+ margin-right: 16px;
50
+ }
51
+
52
+ .nf-notification__btns {
53
+ margin-top: 16px;
54
+ text-align: right;
55
+ }
56
+
57
+ .nf-notification__closeBtn {
58
+ position: absolute;
59
+ top: 18px;
60
+ right: 15px;
61
+ cursor: pointer;
62
+ color: #909399;
63
+ font-size: 16px;
64
+
65
+ &:hover {
66
+ color: #606266
67
+ }
68
+ }
69
+
70
+ .el-icon-success {
71
+ color: #67C23A
72
+ }
73
+
74
+ .el-icon-error {
75
+ color: #F56C6C
76
+ }
77
+
78
+ .el-icon-info {
79
+ color: #909399
80
+ }
81
+
82
+ .el-icon-warning {
83
+ color: #E6A23C
84
+ }
85
+ }
@@ -3,14 +3,29 @@
3
3
  .nf-search-form {
4
4
 
5
5
  .nf-form-item {
6
+ margin-bottom: 2px;
6
7
  .el-form-item__label {
7
8
  padding: 0;
8
9
  }
9
10
  &.nf-search-form-nf-form-item-btn-box-label {
10
11
  .el-form-item__content {
11
- height: 40px;
12
+ //height: 40px;
12
13
  > div {
13
- height: 40px;
14
+ //height: 40px;
15
+ }
16
+ .nf-flex-align-items-start {
17
+ .nf-btn-search {
18
+ margin-top: 8px;
19
+ }
20
+ .nf-btn-export {
21
+ margin-top: 8px;
22
+ }
23
+ .nf-btn-reset {
24
+ margin-top: 8px;
25
+ }
26
+ .nf-btn-check {
27
+ margin-top: 8px;
28
+ }
14
29
  }
15
30
  }
16
31
  .el-form-item__label {
@@ -205,47 +220,47 @@
205
220
  }
206
221
  }
207
222
 
208
- .nf-search-form-check-dialog {
223
+ .nf-search-form-nf-column-check-dialog {
209
224
  .el-dialog__body {
210
225
  padding: 16px;
211
226
  }
212
227
  .el-dialog__footer {
213
228
  padding: 0 0 0 0;
214
- .nf-search-form-check-dialog-button-confirm {
229
+ .nf-search-form-nf-column-check-dialog-button-confirm {
215
230
  margin-right: 16px;
216
231
  }
217
- .nf-search-form-check-dialog-button-cancel {
232
+ .nf-search-form-nf-column-check-dialog-button-cancel {
218
233
 
219
234
  }
220
235
  }
221
236
  .el-dialog__header {
222
237
  border-bottom: 1px solid #EBEEF5;
223
238
  }
224
- .nf-search-form-check-dialog-button-container {
239
+ .nf-search-form-nf-column-check-dialog-button-container {
225
240
  border-top: 1px solid #EBEEF5;
226
241
  height: 64px;
227
242
  line-height: 64px;
228
243
  }
229
- .nf-search-form-check-content {
244
+ .nf-search-form-nf-column-check-dialog-check-content {
230
245
  padding: 0 12px;
231
- .nf-search-form-check-item{
246
+ .nf-check-item {
232
247
  margin-bottom: 12px;
233
- }
234
- .nf-search-form-check-title {
235
- font-size: 16px;
236
- font-weight: bold;
237
- padding: 10px 0;
238
- }
239
- .nf-search-form-el-check-box {
240
- padding: 5px;
241
- width: 33.3%;
242
- margin-right: 0;
243
- box-sizing: border-box;
244
- .el-checkbox__label {
245
- overflow: hidden;
246
- text-overflow: ellipsis;
247
- width: calc(100% - 22px);
248
- vertical-align: middle;
248
+ .nf-check-title {
249
+ font-size: 16px;
250
+ font-weight: bold;
251
+ padding: 10px 0;
252
+ }
253
+ .nf-check-box {
254
+ padding: 5px;
255
+ width: 33.3%;
256
+ margin-right: 0;
257
+ box-sizing: border-box;
258
+ .el-checkbox__label {
259
+ overflow: hidden;
260
+ text-overflow: ellipsis;
261
+ width: calc(100% - 22px);
262
+ vertical-align: middle;
263
+ }
249
264
  }
250
265
  }
251
266
  }
package/lib/nf-table.scss CHANGED
@@ -1,4 +1,143 @@
1
+ @use './base.scss';
2
+
1
3
  .nf-table {
2
- background-color: red;
3
- height: 300px;
4
+ position: relative;
5
+ display: flex;
6
+ flex-direction: column;
7
+
8
+ >.nf-table-content {
9
+ flex: 1;
10
+ min-height: 0;
11
+ display: flex;
12
+ flex-direction: column;
13
+ >.nf-column-display {
14
+ position: absolute;
15
+ top: 0;
16
+ right: 0;
17
+ }
18
+ >.nf-table-container {
19
+ flex: 1;
20
+ min-height: 0;
21
+ &.nf-default-table-border {
22
+ &.el-table--border {
23
+ border: none;
24
+ td {
25
+ border: none;
26
+ }
27
+ .el-table__header {
28
+ background: #F5F7FA;
29
+ th {
30
+ background: #F5F7FA;
31
+ border-right-color: transparent;
32
+ &:last-child{
33
+ .cell {
34
+ &::after {
35
+ display: none;
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ .el-table__header {
43
+ background: #F5F7FA;
44
+ th {
45
+ user-select: auto;
46
+ padding: 0;
47
+ &:not(th:nth-last-child(1)) {
48
+ border: none;
49
+ }
50
+ .cell {
51
+ position: relative;
52
+ font-size: 14px;
53
+ color: #303133;
54
+ font-weight: 600;
55
+ padding: 0;
56
+
57
+ &::after {
58
+ position: absolute;
59
+ content: "";
60
+ display: block;
61
+ right: 0;
62
+ top: 50%;
63
+ transform: translateY(-50%);
64
+ width: 2px;
65
+ height: 16px;
66
+ background-color: #E9EBF0;
67
+ }
68
+ }
69
+ &:nth-last-child(2),&:nth-last-child(1) {
70
+ .cell {
71
+ &::after {
72
+ display: none;
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+
79
+ }
80
+
81
+ }
82
+ }
83
+ >.nf-action-box {
84
+ padding: 16px 0 0 16px;
85
+ border-top: none;
86
+ >.nf-pagination-box {
87
+ text-align: center;
88
+ }
89
+ }
90
+ }
4
91
  }
92
+
93
+
94
+ .nf-table-nf-column-check-dialog {
95
+ .el-dialog__body {
96
+ padding: 16px;
97
+ }
98
+ .el-dialog__footer {
99
+ padding: 0 0 0 0;
100
+ .nf-table-nf-column-check-dialog-button-confirm {
101
+ margin-right: 16px;
102
+ }
103
+ .nf-table-nf-column-check-dialog-button-cancel {
104
+
105
+ }
106
+ }
107
+ .el-dialog__header {
108
+ border-bottom: 1px solid #EBEEF5;
109
+ }
110
+ .nf-table-nf-column-check-dialog-button-container {
111
+ border-top: 1px solid #EBEEF5;
112
+ height: 64px;
113
+ line-height: 64px;
114
+ }
115
+ .nf-table-nf-column-check-dialog-check-content {
116
+ padding: 0 12px;
117
+ .nf-check-item {
118
+ margin-bottom: 12px;
119
+ .nf-check-title {
120
+ font-size: 16px;
121
+ font-weight: bold;
122
+ padding: 10px 0;
123
+ }
124
+ .nf-check-box {
125
+ padding: 5px;
126
+ width: 33.3%;
127
+ margin-right: 0;
128
+ box-sizing: border-box;
129
+ .el-checkbox__label {
130
+ overflow: hidden;
131
+ text-overflow: ellipsis;
132
+ width: calc(100% - 22px);
133
+ vertical-align: middle;
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ }
140
+
141
+
142
+
143
+
@@ -0,0 +1,29 @@
1
+ .nf-text-overflow {
2
+ font-size: 12px;
3
+ font-weight: 400;
4
+ line-height: 20px;
5
+
6
+ .nf-text-overflow__content {
7
+ margin-bottom: 6px;
8
+ color: rgba(0,0,0,0.85);
9
+ }
10
+
11
+ .nf-text-overflow__action {
12
+ color: rgba(0,0,0,0.45);
13
+ line-height: 18px;
14
+ padding: 3px 4px;
15
+ display: inline-flex;
16
+ align-items: center;
17
+ cursor: pointer;
18
+
19
+ &:hover {
20
+ color: #1177FF;
21
+ background-color: #EBEEF5;
22
+ }
23
+
24
+ .nf-text-overflow__icon {
25
+ margin-left: 4px;
26
+ font-size: 16px;
27
+ }
28
+ }
29
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-theme-oem",
3
- "version": "3.1.30",
3
+ "version": "3.1.31",
4
4
  "description": "oem主题包",
5
5
  "keywords": [
6
6
  "theme",
@@ -30,5 +30,5 @@
30
30
  "build": "gulp --require @esbuild-kit/cjs-loader"
31
31
  },
32
32
  "types": "lib/index.ts",
33
- "gitHead": "92718f2567719702159e8edb0fe360eba3e7e07b"
33
+ "gitHead": "02e1666730c7a3450ce803ef411297377b288321"
34
34
  }