n20-common-lib 3.0.96 → 3.0.97

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.96",
3
+ "version": "3.0.97",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -148,4 +148,78 @@ $--color-FFBF00: #ffbf00;
148
148
  --color-AE89E0: #ae89e0;
149
149
  --color-5F5CD2: #5f5cd2;
150
150
  --color-7585A2: #7585a2;
151
+
152
+ // ==================== 其他系统色 ====================
153
+
154
+ // 碧涛青 Cyan (Success 系)
155
+ --color-success-6: #0fc6c2;
156
+ --color-success-5: #33d1c9;
157
+ --color-success-7: #0aa5a8;
158
+ --color-success-3: #86e8dd;
159
+ --color-success-2: #b5f4ea;
160
+ --color-success-1: #e8fffb;
161
+
162
+ // 晚秋橙红 Orange Red
163
+ --color-orange-red-6: #f77234;
164
+ --color-orange-red-5: #f99057;
165
+ --color-orange-red-7: #cc5120;
166
+ --color-orange-red-3: #fcc59f;
167
+ --color-orange-red-2: #fddcc3;
168
+ --color-orange-red-1: #fff3eb;
169
+
170
+ // 黄油 Gold
171
+ --color-gold-6: #f7ba1e;
172
+ --color-gold-5: #f9cc45;
173
+ --color-gold-7: #cc9213;
174
+ --color-gold-3: #fce996;
175
+ --color-gold-2: #fdf4bf;
176
+ --color-gold-1: #fffcf8;
177
+
178
+ // 海蔚蓝 Blue
179
+ --color-blue-6: #3491fa;
180
+ --color-blue-5: #57a9fb;
181
+ --color-blue-7: #206ccf;
182
+ --color-blue-3: #9fd4fd;
183
+ --color-blue-2: #c3e7fe;
184
+ --color-blue-1: #e8f7ff;
185
+
186
+ // 暗夜紫 Purple
187
+ --color-purple-6: #722ed1;
188
+ --color-purple-5: #8d4eda;
189
+ --color-purple-7: #551db0;
190
+ --color-purple-3: #c396ed;
191
+ --color-purple-2: #ddbef6;
192
+ --color-purple-1: #f5ebff;
193
+
194
+ // 柠檬黄 Yellow
195
+ --color-yellow-6: #fadc19;
196
+ --color-yellow-5: #fbe842;
197
+ --color-yellow-7: #cfaf0f;
198
+ --color-yellow-3: #fdfa94;
199
+ --color-yellow-2: #fefebe;
200
+ --color-yellow-1: #feffe8;
201
+
202
+ // 新生绿 Lime
203
+ --color-lime-6: #9fdb1d;
204
+ --color-lime-5: #b5e241;
205
+ --color-lime-7: #7eb712;
206
+ --color-lime-3: #dcf190;
207
+ --color-lime-2: #edf8bb;
208
+ --color-lime-1: #fcffeb;
209
+
210
+ // 青春紫 Pink Purple
211
+ --color-pink-purple-6: #d91ad9;
212
+ --color-pink-purple-5: #e13edb;
213
+ --color-pink-purple-7: #b01db6;
214
+ --color-pink-purple-3: #f08ee6;
215
+ --color-pink-purple-2: #f7baef;
216
+ --color-pink-purple-1: #ffebfb;
217
+
218
+ // 品红 Magenta
219
+ --color-magenta-6: #f5319d;
220
+ --color-magenta-5: #f754a8;
221
+ --color-magenta-7: #cb1eb3;
222
+ --color-magenta-3: #f89dc7;
223
+ --color-magenta-2: #fdc2db;
224
+ --color-magenta-1: #ffe8f1;
151
225
  }
@@ -101,7 +101,7 @@ export default {
101
101
  },
102
102
  // 根据可见项数动态计算宽度
103
103
  hoverWidth() {
104
- const widthMap = { 4: '136px', 3: '132px', 2: '88px', 1: '40px', 0: '0px' }
104
+ const widthMap = { 4: '168px', 3: '128px', 2: '88px', 1: '40px', 0: '0px' }
105
105
  return widthMap[this.activeItemCount] || '0px'
106
106
  }
107
107
  },
@@ -684,7 +684,9 @@ export default {
684
684
  },
685
685
  resizableChange({ resizeWidth, columnIndex }) {
686
686
  this.checkColumns[columnIndex].width = resizeWidth
687
- this.$refs.showColumn.saveColumns(this.checkColumns)
687
+ if(this.showColumn && this.pageId) {
688
+ this.$refs.showColumn.saveColumns(this.checkColumns)
689
+ }
688
690
  },
689
691
  setColumns(list) {
690
692
  if (this.isExport) {