diff --git a/src/assets/css/components/components/advancedSearch/codemirror.scss b/src/assets/css/components/components/advancedSearch/codemirror.scss index a09d3149..befb2e96 100644 --- a/src/assets/css/components/components/advancedSearch/codemirror.scss +++ b/src/assets/css/components/components/advancedSearch/codemirror.scss @@ -375,16 +375,15 @@ span.CodeMirror-selectedtext { background: none; } } .hint-title { - margin: 10px 10px 10px 0; - height: 24px; - line-height: 24px; + margin: 7px 0 3px 0 !important; /* 禁止选中 样式 */ background: #fff !important; font-family: NotoSansHans-Medium; - font-size: 14px; + font-size: 12px; color: #333333 !important; letter-spacing: 0; - font-weight: 500; + font-weight: 600 !important; + line-height: 12px; } .cm-s-eclipse span.cm-string-2 { @@ -435,7 +434,7 @@ span.CodeMirror-selectedtext { background: none; } } .cm-variable-2{ - font-weight: bold; + color: #164 !important; } .default-tips-header,.default-tips-title { diff --git a/src/components/advancedSearch/TextMode.vue b/src/components/advancedSearch/TextMode.vue index 9b92492d..68222532 100644 --- a/src/components/advancedSearch/TextMode.vue +++ b/src/components/advancedSearch/TextMode.vue @@ -134,12 +134,13 @@ export default { option = { keyMap: 'sublime', tabSize: 2, // 缩进格式 - theme: 'eclipse', // 主题,对应主题库 JS 需要提前引入 + // theme: 'eclipse', // 主题,对应主题库 JS 需要提前引入 line: true, lineNumbers: false, // 显示行数 indentUnit: 4, // 缩进单位为4 styleActiveLine: true, // 当前行背景高亮 - mode: 'text/x-filter', // HMTL混合模式 + // mode: 'text/x-filter', // HMTL混合模式 + mode: 'sql', // HMTL混合模式 foldGutter: true, lint: true, auto: 'auto', // 自动换行 diff --git a/src/components/advancedSearch/showhint/Hint/HintInfo.vue b/src/components/advancedSearch/showhint/Hint/HintInfo.vue index bcf196b9..cdda4e4f 100644 --- a/src/components/advancedSearch/showhint/Hint/HintInfo.vue +++ b/src/components/advancedSearch/showhint/Hint/HintInfo.vue @@ -3,6 +3,7 @@