@litianxiang/portal-ui 0.0.29 → 0.1.0

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.
@@ -237,6 +237,8 @@
237
237
  // ==================== Input 输入框 ====================
238
238
  .el-input {
239
239
  .el-input__wrapper {
240
+ min-height: var(--el-component-size);
241
+ height: var(--el-component-size);
240
242
  border-radius: 0;
241
243
  box-shadow: none;
242
244
  border: 1px solid #ccc;
@@ -457,6 +459,8 @@
457
459
  // ==================== Select 选择器 ====================
458
460
  .el-select {
459
461
  .el-select__wrapper {
462
+ min-height: var(--el-component-size);
463
+ height: var(--el-component-size);
460
464
  border-radius: 0;
461
465
  box-shadow: none;
462
466
  border: 1px solid #ccc;
@@ -485,6 +489,12 @@
485
489
  // 设置宽度自适应
486
490
  width: 100% !important;
487
491
  --el-date-editor-width: 100%;
492
+
493
+ &.el-input .el-input__wrapper,
494
+ &.el-input__wrapper {
495
+ min-height: var(--el-component-size);
496
+ height: var(--el-component-size);
497
+ }
488
498
 
489
499
  &.el-input__wrapper {
490
500
  border-radius: 0;
@@ -612,7 +622,10 @@
612
622
 
613
623
  // ==================== TimePicker 时间选择器 ====================
614
624
  .el-time-picker {
625
+ &.el-input .el-input__wrapper,
615
626
  &.el-input__wrapper {
627
+ min-height: var(--el-component-size);
628
+ height: var(--el-component-size);
616
629
  border-radius: 0;
617
630
  box-shadow: none;
618
631
  border: 1px solid #ccc;
@@ -1199,21 +1212,13 @@
1199
1212
 
1200
1213
  // 表格内控件紧凑模式
1201
1214
  .cell {
1202
- // 控件容器减少内边距
1203
- .el-input,
1204
- .el-input-number,
1205
- .el-date-editor,
1206
- .el-time-picker {
1207
- --el-component-size: 28px;
1208
- }
1209
-
1210
1215
  // 下拉框高度设置
1211
1216
  .el-select {
1212
- --el-select-height: 28px;
1217
+ --el-select-height: var(--el-component-size);
1213
1218
 
1214
1219
  .el-select__wrapper {
1215
- min-height: 28px !important;
1216
- height: 28px;
1220
+ min-height: var(--el-component-size) !important;
1221
+ height: var(--el-component-size);
1217
1222
  padding: 0 8px !important;
1218
1223
  }
1219
1224
  }
@@ -1224,7 +1229,7 @@
1224
1229
 
1225
1230
  // Switch 开关垂直居中
1226
1231
  .el-switch {
1227
- height: 28px;
1232
+ height: var(--el-component-size);
1228
1233
  }
1229
1234
  }
1230
1235
 
@@ -1306,9 +1311,14 @@
1306
1311
  }
1307
1312
 
1308
1313
  // 表格内日期/时间选择器样式
1314
+ .el-date-editor.el-input .el-input__wrapper,
1315
+ .el-time-picker.el-input .el-input__wrapper,
1309
1316
  .el-date-editor.el-input__wrapper,
1310
1317
  .el-time-picker.el-input__wrapper {
1311
1318
  width: 100%;
1319
+ min-height: var(--el-component-size);
1320
+ height: var(--el-component-size);
1321
+ padding: 0 8px !important;
1312
1322
  border-radius: 0;
1313
1323
  box-shadow: none;
1314
1324
  border: 1px solid #ccc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litianxiang/portal-ui",
3
- "version": "0.0.29",
3
+ "version": "0.1.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@litianxiang/portal-core": "^0.2.2",
31
+ "@litianxiang/portal-core": "^0.2.3",
32
32
  "@vue-office/docx": "^1.6.3",
33
33
  "@vue-office/excel": "^1.7.14",
34
34
  "@vue-office/pdf": "^2.0.10",