Browse Source

气泡背景色

natasha 3 days ago
parent
commit
68799fb7b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/RichText.vue

+ 1 - 1
src/components/RichText.vue

@@ -643,7 +643,7 @@ export default {
 
     // 获取高亮 span 标签
     getLightSpanString(noteId, str) {
-      return `<span data-annotation-id="${noteId}" class="rich-fill" style="background-color:#FACB2F;cursor: pointer;">${str}</span>`;
+      return `<span data-annotation-id="${noteId}" class="rich-fill" style="background-color:#fff3b7;cursor: pointer;">${str}</span>`;
     },
     // 选中文本打开弹窗
     openExplanatoryNoteDialog() {