diff --git a/src/common/lang/businessSupport/zh.js b/src/common/lang/businessSupport/zh.js index eb8a13f2..ea6d8a24 100644 --- a/src/common/lang/businessSupport/zh.js +++ b/src/common/lang/businessSupport/zh.js @@ -1,7 +1,8 @@ module.exports = { // 标准化活动 standardizationActivity: { - nodeName: '节点名称' // 节点名称 + nodeName: '节点名称', // 节点名称 + currentNode: '当前节点' }, // 问答库 questionAnswer: { diff --git a/src/components/InternalDetailPage.vue b/src/components/InternalDetailPage.vue index d3fdeada..edccef98 100644 --- a/src/components/InternalDetailPage.vue +++ b/src/components/InternalDetailPage.vue @@ -2,8 +2,16 @@
- - {{ title }} + + +
+ {{ title }} + + +
{{ subTitle }}
+
+
{{ subTitle }}
+
@@ -42,6 +50,24 @@ export default { type: Boolean, required: false, default: false + }, + // 自定义图标 + customIcon: { + type: Boolean, + required: false, + default: false + }, + // 副标题 + subTitle: { + type: String, + required: false, + default: null + }, + // 副标题是否需要tooltip + subTitleTooltip: { + type: Boolean, + required: false, + default: false } }, methods: { @@ -84,11 +110,21 @@ export default { font-weight: bold; color: #1D2129; flex: 1; - display: inline-block; width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + display: flex; + align-items: center; + } + + &-sub-title { + font-size: 16px; + font-family: PingFang SC-Regular, PingFang SC, sans-serif; + font-weight: 400; + color: #4E5969; + margin-left: 12px; + display: inline-block; } } diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 093c12ed..b7910a0f 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -1,146 +1,149 @@