@agile-team/wl-skills-ui 1.8.13 → 1.8.15
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/CHANGELOG.md +17 -0
- package/README.md +8 -1
- package/package.json +2 -2
- package/skills/_meta/_compat/vendors.json +3 -1
- package/skills/vendors/jh-components/SKILL.md +8 -4
- package/standards/ui/03-form.md +1 -1
- package/styles/vendors/_jh-drag-row.scss +78 -0
- package/styles/vendors/_jh-ui.scss +69 -18
- package/styles/vendors/index.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to **@agile-team/wl-skills-ui** will be documented in this f
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## [1.8.15] - 2026-07-01
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **jh-drag-row 上下分栏手柄覆盖**:新增 `styles/vendors/_jh-drag-row.scss`,把 `jh-drag-row`(来自 `@jhlc/common-core`,主从表/上下双表首选布局)的 `.slider_row` 手柄对齐到与 `_jh-drag-col.scss` 同源的极简细线 + grip dots 风格。此前 wl-skills-ui 只覆盖了 `jh-drag-col`(左右),缺少 `jh-drag-row`(上下),二者手柄风格不一致。覆盖以本包主色 `var(--el-color-primary)` / `rgba(34,84,244,...)`(`#2254f4`)为准,不读 common-core 组件 Props 默认值(硬编码 `#a7caec`/`#6f808d`),用 `html .drager_row > .slider_row { ... !important }` 确定性层叠压过。已注册进 `vendors/index.scss`,`jh-components/SKILL.md` 基线表与全局样式来源同步补充
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- **平台包职责澄清(文档)**:`@jhlc/jh-ui` 是**纯 SCSS 包(零组件)**,所有 `jh-*` / `Base*` / `C_*` 组件来自 `@jhlc/common-core`。本包作为化妆层,职责是**精准层叠覆盖**这两者的视觉,不改平台层源码:L0 token 用 `:root body`(特异性高于 jh-ui 编译产物的 `:root`)以本包 `#2254f4` 压过 jh-ui 的 `#4368ff`;L2 直接写目标属性(`background`/`border`)+ `!important` 绕过组件内部 `var()` 引用。**项目安装本包后,一切以本包为准**
|
|
16
|
+
|
|
17
|
+
## [1.8.14] - 2026-06-28
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **jh-picker 高度统一**:补齐 `.com-picker` / `.com-reference-picker` / `jh-picker` trigger 输入结构,picker 类单行控件与 input / select 保持 `26px` 高度一致。
|
|
22
|
+
- **label 冒号兜底**:扩展屏蔽 `@jhlc/jh-ui` 的 `.com-text:after` / `.text-line-2:after` 冒号注入,避免 picker label 残留 `:`。
|
|
23
|
+
|
|
7
24
|
## [1.8.13] - 2026-05-21
|
|
8
25
|
|
|
9
26
|
### Fixed
|
package/README.md
CHANGED
|
@@ -213,8 +213,15 @@ yarn add @agile-team/wl-skills-ui
|
|
|
213
213
|
|
|
214
214
|
## 版本亮点
|
|
215
215
|
|
|
216
|
-
当前 v1.8.
|
|
216
|
+
当前 v1.8.15:
|
|
217
217
|
|
|
218
|
+
- **jh-drag-row 上下分栏手柄覆盖**:新增 `styles/vendors/_jh-drag-row.scss`,补齐此前缺失的 `jh-drag-row`(上下/主从表)手柄覆盖,与 `_jh-drag-col.scss`(左右)同源风格。以本包主色 `#2254f4` 为准,用 `!important` 确定性层叠压过 common-core 组件 Props 默认值
|
|
219
|
+
- **平台包职责澄清**:`@jhlc/jh-ui` 是纯 SCSS 包(零组件),所有 `jh-*`/`Base*`/`C_*` 组件来自 `@jhlc/common-core`。本包作为化妆层精准层叠覆盖二者视觉,不改平台层源码——L0 token 用 `:root body` 压过 jh-ui 编译产物的 `:root`(`#2254f4` > jh-ui `#4368ff`),L2 直接写目标属性 + `!important` 绕过组件 `var()` 引用。**项目装了本包后,一切以本包为准**
|
|
220
|
+
|
|
221
|
+
上一版 v1.8.14:
|
|
222
|
+
|
|
223
|
+
- **jh-picker 精准修复**:补齐 `.com-picker` / `.com-reference-picker` / `jh-picker` trigger 输入高度,客户等 picker 查询项与 input / select 保持一致
|
|
224
|
+
- **label 冒号兜底**:同时屏蔽 jh-ui `.com-text:after` 与 `.text-line-2:after` 冒号注入,picker / select / input label 全部不带 `:`
|
|
218
225
|
- **表单密度统一**:label 与右侧控件间距统一 16px,单行 input / select / picker / jh-* 控件高度统一 26px
|
|
219
226
|
- **label 冒号统一**:屏蔽 jh-ui `.has-colon .com-text::after` 冒号注入,picker / select / input 不再有的带冒号、有的不带冒号
|
|
220
227
|
- **loading 遮罩质感优化**:BaseTable / AG Grid 的 v-loading 由灰色蒙层改为毛玻璃半透明(backdrop-filter),数据切换无感
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agile-team/wl-skills-ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.15",
|
|
4
4
|
"description": "企业级 UI 风格对齐框架 — Vue + Element Plus 项目通用化妆/原生双模式(tokens / element / vendors / layouts / runtime / scanner / fixer / skills)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./es/index.js",
|
|
@@ -134,4 +134,4 @@
|
|
|
134
134
|
"eslint --fix --no-cache"
|
|
135
135
|
]
|
|
136
136
|
}
|
|
137
|
-
}
|
|
137
|
+
}
|
|
@@ -56,7 +56,9 @@
|
|
|
56
56
|
"domAssumptions": [
|
|
57
57
|
".el-input>.el-input__inner",
|
|
58
58
|
".el-form-item__label>.com-text",
|
|
59
|
-
".has-colon .com-text::after"
|
|
59
|
+
".has-colon .com-text::after",
|
|
60
|
+
".has-colon .text-line-2::after",
|
|
61
|
+
".com-reference-picker .el-input__wrapper"
|
|
60
62
|
],
|
|
61
63
|
"elementPlus": "2.2.6-prod.3",
|
|
62
64
|
"elementPlusRange": "<2.3.0",
|
|
@@ -15,10 +15,11 @@ applyTo: "**/*.vue"
|
|
|
15
15
|
|
|
16
16
|
| 类型 | 子组件 | 标签 | 关键类名 | 治理方式 |
|
|
17
17
|
|---|---|---|---|---|
|
|
18
|
-
| SCSS 皮肤适配 | `@jhlc/jh-ui` | — | `.com-text` / `.com-input` / `.com-textarea` / `.com-input-tip` | `styles/vendors/_jh-ui.scss` |
|
|
18
|
+
| SCSS 皮肤适配 | `@jhlc/jh-ui` | — | `.com-text` / `.text-line-2` / `.com-input` / `.com-picker` / `.com-reference-picker` / `.com-textarea` / `.com-input-tip` | `styles/vendors/_jh-ui.scss` |
|
|
19
19
|
| 专项样式覆盖 | jh-tree | `<jh-tree>` | `.jh-tree` / `.base-tree` | `styles/vendors/_jh-tree.scss` |
|
|
20
20
|
| 专项样式覆盖 | jh-pagination | `<jh-pagination>` | `.jh-pagination` | `styles/vendors/_jh-pagination.scss` |
|
|
21
21
|
| 专项样式覆盖 | jh-drag-col | `<jh-drag-col>` | `.drag-col-container` / `.drag-left` / `.slider-col` | `styles/vendors/_jh-drag-col.scss` |
|
|
22
|
+
| 专项样式覆盖 | jh-drag-row | `<jh-drag-row>` | `.drager_row` / `.drager_top` / `.drager_bottom` / `.slider_row` | `styles/vendors/_jh-drag-row.scss` |
|
|
22
23
|
| 通用规则治理 | jh-table | `<jh-table>` | `.jh-table` | 继承 L0 tokens + L1 table 视觉原则 |
|
|
23
24
|
| 通用规则治理 | jh-form | `<jh-form>` | `.jh-form` | 继承 L0 tokens + L1 form 视觉原则 |
|
|
24
25
|
| 通用规则治理 | 其它 jh-* | `<jh-*>` | `.jh-*` / 组件内部 Element Plus 类 | 先按 jh 通用规则治理,复杂结构再升级专项样式 |
|
|
@@ -27,10 +28,11 @@ applyTo: "**/*.vue"
|
|
|
27
28
|
|
|
28
29
|
**推荐组合(钉死版本)**:`@jhlc/jh-ui@3.1.0` + `element-plus@2.2.6-prod.3`。详见 `docs/compat-matrix.md` 与 `skills/_meta/_compat/vendors.json` 的 `jh.compat` 字段。
|
|
29
30
|
|
|
30
|
-
项目同时安装 `@jhlc/jh-ui` 与 `element-plus@2.2.x` 时,输入控件 DOM 为 `.el-input > .el-input__inner`(**无 `.el-input__wrapper`**,EP 2.3.0 起才引入),表单 label 文本被包成 `<span class="com-text"
|
|
31
|
+
项目同时安装 `@jhlc/jh-ui` 与 `element-plus@2.2.x` 时,输入控件 DOM 为 `.el-input > .el-input__inner`(**无 `.el-input__wrapper`**,EP 2.3.0 起才引入),表单 label 文本被包成 `<span class="com-text">` 或 `.text-line-2`,并由 `.has-colon .com-text:after` / `.text-line-2:after` 注入冒号。`_jh-ui.scss` 已精准覆盖:
|
|
31
32
|
|
|
32
|
-
- label `.com-text` 单行省略 + has-colon 冒号屏蔽
|
|
33
|
+
- label `.com-text` / `.text-line-2` 单行省略 + has-colon 冒号屏蔽
|
|
33
34
|
- EP 2.2.x `.el-input__inner` 26px 高度、圆角 / focus / error 三态
|
|
35
|
+
- jh-picker / reference-picker 的 `.com-picker` / `.com-reference-picker` 输入高度兜底
|
|
34
36
|
- jh-select / jh-date-picker 的 `.el-select.is-focus` / `.el-input.is-focus` 兼容
|
|
35
37
|
- 必填星号在 inline-flex label 下显式声明颜色
|
|
36
38
|
|
|
@@ -38,13 +40,14 @@ applyTo: "**/*.vue"
|
|
|
38
40
|
|
|
39
41
|
- ❌ 在 jh-ui 项目里用 `.el-input__wrapper.is-focus` —— EP 2.2.x 没有 `__wrapper`,规则永不生效。
|
|
40
42
|
- ❌ 直接给 `.el-form-item__label` 写 `text-overflow: ellipsis` —— jh-ui 把它设为 `inline-flex`,文本在 `.com-text` 里,省略不会触发。
|
|
41
|
-
- ❌ 给 `.el-form-item__label` 加 `padding-right` 期望腾出冒号位 —— 表单 label 不强制冒号,`.has-colon .com-text
|
|
43
|
+
- ❌ 给 `.el-form-item__label` 加 `padding-right` 期望腾出冒号位 —— 表单 label 不强制冒号,`.has-colon .com-text:after` / `.text-line-2:after` 已由 `_jh-ui.scss` 统一屏蔽。
|
|
42
44
|
- ❌ 在不确定 EP 版本的情况下下笔修复 —— 必须先跑 `wl_ui_detect_skin` 或 `wl-ui check` 看 I005 结果。
|
|
43
45
|
|
|
44
46
|
## Diagnose
|
|
45
47
|
|
|
46
48
|
- ❌ 自行给 `.jh-tree` 写颜色覆盖(应用全局 `vendors/_jh-tree.scss`)
|
|
47
49
|
- ❌ jh-drag-col 内自定义 padding 破坏拖拽条对齐
|
|
50
|
+
- ❌ jh-drag-row 上下分栏缺 `.drager_row { height:100% }` 高度链(拖拽失效),或手柄未走统一 `.slider_row` 细线风格
|
|
48
51
|
- ❌ jh-pagination 未对齐到右侧(同 R011)
|
|
49
52
|
- ❌ jh-form 内不用 `size="small"` 控件(同 R006)
|
|
50
53
|
- ❌ 发现新的复杂 `<jh-*>` 组件后只在页面局部写补丁,而不沉淀到 L2 Project Vendors
|
|
@@ -65,6 +68,7 @@ applyTo: "**/*.vue"
|
|
|
65
68
|
- `styles/vendors/_jh-tree.scss`
|
|
66
69
|
- `styles/vendors/_jh-pagination.scss`
|
|
67
70
|
- `styles/vendors/_jh-drag-col.scss`
|
|
71
|
+
- `styles/vendors/_jh-drag-row.scss`
|
|
68
72
|
|
|
69
73
|
## 新增 jh 专项覆盖准入
|
|
70
74
|
|
package/standards/ui/03-form.md
CHANGED
|
@@ -76,7 +76,7 @@ textarea 不强制 26px 高度,只继承统一圆角、字体和状态样式
|
|
|
76
76
|
|
|
77
77
|
## 规则:表单 label 不强制冒号
|
|
78
78
|
|
|
79
|
-
Element Plus 原生控件、picker 类控件和 jh-* 封装控件的 label 后不强制追加 `:`。`@jhlc/jh-ui` 的 `.has-colon .com-text
|
|
79
|
+
Element Plus 原生控件、picker 类控件和 jh-* 封装控件的 label 后不强制追加 `:`。`@jhlc/jh-ui` 的 `.has-colon .com-text:after` / `.text-line-2:after` 冒号注入由 wl-skills-ui 统一屏蔽,避免 input / select / picker 之间出现有的带冒号、有的不带冒号。
|
|
80
80
|
|
|
81
81
|
---
|
|
82
82
|
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2
|
+
// jh-drag-row 上下分栏拖拽手柄 — 与 _jh-drag-col 视觉同源
|
|
3
|
+
//
|
|
4
|
+
// 背景
|
|
5
|
+
// `jh-drag-row`(来自 @jhlc/common-core)是主从表/上下双表的首选布局组件
|
|
6
|
+
// (见 wl-skills-kit standards/14)。其拖拽手柄 `.slider_row` 默认使用 jh-ui
|
|
7
|
+
// 内置蓝(#a7caec),与项目集群统一细线手柄风格不一致。
|
|
8
|
+
//
|
|
9
|
+
// 本文件把 `.slider_row` 对齐到与 `_jh-drag-col.scss` 同一套极简细线 +
|
|
10
|
+
// grip dots 设计语言,只是方向改为水平分割线(row-resize)。
|
|
11
|
+
//
|
|
12
|
+
// 源码 CSS 类名参考(common-core/src/components/drag-row/drag-row.vue)
|
|
13
|
+
// .drager_row(主容器)/ .drager_top(上区)/ .drager_bottom(下区)/ .slider_row(手柄)
|
|
14
|
+
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
15
|
+
|
|
16
|
+
// ── 上下拖拽分割条 — 极简细线 + grip dots(垂直方向)────────────────────────
|
|
17
|
+
html .drager_row > .slider_row {
|
|
18
|
+
background: linear-gradient(
|
|
19
|
+
to bottom,
|
|
20
|
+
transparent 4px,
|
|
21
|
+
var(--el-border-color-light) 4px,
|
|
22
|
+
var(--el-border-color-light) 5px,
|
|
23
|
+
transparent 5px
|
|
24
|
+
) !important;
|
|
25
|
+
transition: background 0.2s !important;
|
|
26
|
+
|
|
27
|
+
&::before { display: none !important; }
|
|
28
|
+
|
|
29
|
+
&::after {
|
|
30
|
+
content: '' !important;
|
|
31
|
+
position: absolute !important;
|
|
32
|
+
left: 50% !important;
|
|
33
|
+
right: auto !important;
|
|
34
|
+
top: 50% !important;
|
|
35
|
+
transform: translate(-50%, -50%) !important;
|
|
36
|
+
width: 4px !important;
|
|
37
|
+
height: 4px !important;
|
|
38
|
+
min-height: unset !important;
|
|
39
|
+
max-height: unset !important;
|
|
40
|
+
border-radius: 50% !important;
|
|
41
|
+
background-color: var(--el-border-color) !important;
|
|
42
|
+
box-shadow: -8px 0 0 var(--el-border-color), 8px 0 0 var(--el-border-color) !important;
|
|
43
|
+
transition: background-color 0.2s, box-shadow 0.2s !important;
|
|
44
|
+
opacity: 0.6;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&:hover {
|
|
48
|
+
background: linear-gradient(
|
|
49
|
+
to bottom,
|
|
50
|
+
rgba(34, 84, 244, 0.06) 3px,
|
|
51
|
+
var(--el-color-primary) 3px,
|
|
52
|
+
var(--el-color-primary) 7px,
|
|
53
|
+
rgba(34, 84, 244, 0.06) 7px
|
|
54
|
+
) !important;
|
|
55
|
+
|
|
56
|
+
&::after {
|
|
57
|
+
background-color: var(--el-color-primary) !important;
|
|
58
|
+
box-shadow: -8px 0 0 var(--el-color-primary), 8px 0 0 var(--el-color-primary) !important;
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:active {
|
|
64
|
+
background: linear-gradient(
|
|
65
|
+
to bottom,
|
|
66
|
+
rgba(34, 84, 244, 0.1) 2.5px,
|
|
67
|
+
var(--el-color-primary) 2.5px,
|
|
68
|
+
var(--el-color-primary) 7.5px,
|
|
69
|
+
rgba(34, 84, 244, 0.1) 7.5px
|
|
70
|
+
) !important;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// ── 容器高度链兜底:确保上下区域能正常撑满(kit standards/14 强制项)────────
|
|
75
|
+
// 父容器/Tab 已由业务页负责设高度;此处仅确保 .drager_row 自身不塌缩。
|
|
76
|
+
html .drager_row {
|
|
77
|
+
min-height: 0;
|
|
78
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// 1. 表单 label 文本被包成 `<span class="com-text">`,
|
|
10
10
|
// `.el-form-item__label` 自身是 `display: inline-flex`。
|
|
11
11
|
// → 直接在 label 上写 ellipsis 不生效,必须落到 `.com-text`。
|
|
12
|
-
// 2. `.has-colon .el-form-item__label .com-text::after` 注入冒号。
|
|
12
|
+
// 2. `.has-colon .el-form-item__label .com-text::after` / `.text-line-2::after` 注入冒号。
|
|
13
13
|
// → wl-skills-ui 统一隐藏冒号,避免 picker / select / input label 风格不一致。
|
|
14
14
|
// 3. 输入控件 DOM 为 `.el-input > .el-input__inner`(无 `.el-input__wrapper`)。
|
|
15
15
|
// → focus / error 必须命中 `.el-input__inner`,
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
// focus 标志位为 `.el-select.is-focus` 或 `.el-input.is-focus`。
|
|
19
19
|
// 5. `.com-input` / `.com-textarea` / `.com-input-tip` 是 jh-ui 的控件
|
|
20
20
|
// 外层 wrapper,承载 form-item 的 has-tip / is-error 形态。
|
|
21
|
+
// 6. jh-picker / reference-picker 另有 `.com-picker` / `.com-reference-picker`
|
|
22
|
+
// wrapper,不会命中 `.com-input` 分支,需要独立兜底控件高度。
|
|
21
23
|
//
|
|
22
24
|
// 边界
|
|
23
25
|
// - 本文件只负责修复 jh-ui DOM 与 wl-skills-ui 统一规则的对接差异。
|
|
@@ -44,24 +46,32 @@
|
|
|
44
46
|
vertical-align: middle;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
|
-
.has-colon .el-form-item__label > .com-text,
|
|
48
|
-
.has-colon .el-form-item__label .com-text
|
|
49
|
+
html body .has-colon .el-form-item__label > .com-text,
|
|
50
|
+
html body .has-colon .el-form-item__label .com-text,
|
|
51
|
+
html body .has-colon .el-form-item__label > .text-line-2,
|
|
52
|
+
html body .has-colon .el-form-item__label .text-line-2 {
|
|
49
53
|
padding-right: 0;
|
|
50
|
-
|
|
54
|
+
}
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
html body .has-colon .el-form-item__label > .com-text::after,
|
|
57
|
+
html body .has-colon .el-form-item__label > .com-text:after,
|
|
58
|
+
html body .has-colon .el-form-item__label .com-text::after,
|
|
59
|
+
html body .has-colon .el-form-item__label .com-text:after,
|
|
60
|
+
html body .has-colon .el-form-item__label > .text-line-2::after,
|
|
61
|
+
html body .has-colon .el-form-item__label > .text-line-2:after,
|
|
62
|
+
html body .has-colon .el-form-item__label .text-line-2::after,
|
|
63
|
+
html body .has-colon .el-form-item__label .text-line-2:after {
|
|
64
|
+
content: "" !important;
|
|
65
|
+
display: none !important;
|
|
56
66
|
}
|
|
57
67
|
|
|
58
68
|
// 2) Element Plus 2.2.x 输入控件统一圆角(无 .el-input__wrapper)
|
|
59
|
-
.el-input > .el-input__inner,
|
|
60
|
-
.el-date-editor
|
|
61
|
-
.el-select .el-input
|
|
62
|
-
height: var(--wk-form-control-height, 26px);
|
|
63
|
-
line-height: var(--wk-form-control-height, 26px);
|
|
64
|
-
border-radius: var(--el-border-radius-base);
|
|
69
|
+
html body .el-input > .el-input__inner,
|
|
70
|
+
html body .el-date-editor > .el-input__inner,
|
|
71
|
+
html body .el-select .el-input > .el-input__inner {
|
|
72
|
+
height: var(--wk-form-control-height, 26px) !important;
|
|
73
|
+
line-height: var(--wk-form-control-height, 26px) !important;
|
|
74
|
+
border-radius: var(--el-border-radius-base) !important;
|
|
65
75
|
transition: box-shadow 0.15s ease, border-color 0.15s ease;
|
|
66
76
|
}
|
|
67
77
|
|
|
@@ -98,16 +108,57 @@
|
|
|
98
108
|
.com-input > .el-input > .el-input__inner,
|
|
99
109
|
.com-input>.el-select .el-input>.el-input__inner,
|
|
100
110
|
.com-input>.el-date-editor>.el-input__inner {
|
|
101
|
-
height: var(--wk-form-control-height, 26px);
|
|
102
|
-
line-height: var(--wk-form-control-height, 26px);
|
|
103
|
-
border-radius: var(--el-border-radius-base);
|
|
111
|
+
height: var(--wk-form-control-height, 26px) !important;
|
|
112
|
+
line-height: var(--wk-form-control-height, 26px) !important;
|
|
113
|
+
border-radius: var(--el-border-radius-base) !important;
|
|
104
114
|
}
|
|
105
115
|
.com-input > .el-textarea > .el-textarea__inner,
|
|
106
116
|
.com-textarea > .el-textarea > .el-textarea__inner {
|
|
107
117
|
border-radius: var(--el-border-radius-base);
|
|
108
118
|
}
|
|
109
119
|
|
|
110
|
-
// 6)
|
|
120
|
+
// 6) jh-picker / reference-picker — 不走 .com-input wrapper,也要继承单行控件高度
|
|
121
|
+
html body .com-picker .el-input,
|
|
122
|
+
html body .com-reference-picker .el-input,
|
|
123
|
+
html body .com-reference-picker-input .el-input,
|
|
124
|
+
html body .com-user-picker .el-input,
|
|
125
|
+
html body .com-dept-picker .el-input,
|
|
126
|
+
html body .com-userPicker .el-input,
|
|
127
|
+
html body .com-deptPicker .el-input,
|
|
128
|
+
html body .jh-picker .el-input,
|
|
129
|
+
html body .jh-picker-trigger.el-input {
|
|
130
|
+
height: var(--wk-form-control-height, 26px) !important;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
html body .com-picker .el-input__wrapper,
|
|
134
|
+
html body .com-reference-picker .el-input__wrapper,
|
|
135
|
+
html body .com-reference-picker-input .el-input__wrapper,
|
|
136
|
+
html body .com-user-picker .el-input__wrapper,
|
|
137
|
+
html body .com-dept-picker .el-input__wrapper,
|
|
138
|
+
html body .com-userPicker .el-input__wrapper,
|
|
139
|
+
html body .com-deptPicker .el-input__wrapper,
|
|
140
|
+
html body .jh-picker .el-input__wrapper,
|
|
141
|
+
html body .jh-picker-trigger.el-input .el-input__wrapper {
|
|
142
|
+
height: var(--wk-form-control-height, 26px) !important;
|
|
143
|
+
min-height: var(--wk-form-control-height, 26px) !important;
|
|
144
|
+
border-radius: var(--el-border-radius-base) !important;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
html body .com-picker .el-input > .el-input__inner,
|
|
148
|
+
html body .com-reference-picker .el-input > .el-input__inner,
|
|
149
|
+
html body .com-reference-picker-input .el-input > .el-input__inner,
|
|
150
|
+
html body .com-user-picker .el-input > .el-input__inner,
|
|
151
|
+
html body .com-dept-picker .el-input > .el-input__inner,
|
|
152
|
+
html body .com-userPicker .el-input > .el-input__inner,
|
|
153
|
+
html body .com-deptPicker .el-input > .el-input__inner,
|
|
154
|
+
html body .jh-picker .el-input > .el-input__inner,
|
|
155
|
+
html body .jh-picker-trigger.el-input > .el-input__inner {
|
|
156
|
+
height: var(--wk-form-control-height, 26px) !important;
|
|
157
|
+
line-height: var(--wk-form-control-height, 26px) !important;
|
|
158
|
+
border-radius: var(--el-border-radius-base) !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// 7) 必填星号兼容 jh-ui label 结构
|
|
111
162
|
// 颜色统一 danger 色;显示/隐藏由 _base-components.scss 总控,
|
|
112
163
|
// 此处只负责颜色,不设 display,避免与总控冲突导致 * * 重复。
|
|
113
164
|
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label::before,
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
@forward './_jh-tree'; // jh-tree
|
|
14
14
|
@forward './_jh-pagination'; // jh-pagination
|
|
15
15
|
@forward './_jh-drag-col'; // jh-drag-col(含左树右表骨架)
|
|
16
|
+
@forward './_jh-drag-row'; // jh-drag-row(上下分栏/主从表手柄)
|
|
16
17
|
@forward './_base-query-toolbar';// BaseQuery / BaseToolbar
|
|
17
18
|
@forward './_base-components'; // Base* 通用(操作按钮组、徽标、tag)
|
|
18
19
|
@forward './_base-table'; // BaseTable(最高优先级)
|