diff --git a/src/plugins/search/component.js b/src/plugins/search/component.js index 35e5dee23..abc12dead 100644 --- a/src/plugins/search/component.js +++ b/src/plugins/search/component.js @@ -94,8 +94,10 @@ function doSearch (value) { let html = '' matchs.forEach(post => { html += `
-

${post.title}

+ +

${post.title}

${post.content}

+
` }) diff --git a/src/themes/basic/_layout.css b/src/themes/basic/_layout.css index d05e74571..0fb37c0ac 100644 --- a/src/themes/basic/_layout.css +++ b/src/themes/basic/_layout.css @@ -52,6 +52,7 @@ div#app { .search .search-keyword { color: var(--theme-color, $color-primary); font-style: normal; + font-weight: bold; } html,