diff --git a/src/views/HomeSearch/components/Recommend/Index.vue b/src/views/HomeSearch/components/Recommend/Index.vue index 9c36931..1abc097 100644 --- a/src/views/HomeSearch/components/Recommend/Index.vue +++ b/src/views/HomeSearch/components/Recommend/Index.vue @@ -26,10 +26,9 @@ function formatStr(str: string, limit = 6) { - +
{{ formatStr(tag.key_word) }} - +
@@ -49,15 +48,8 @@ function formatStr(str: string, limit = 6) { -
- +
+ {{ formatStr(tag) }}
@@ -86,4 +78,14 @@ function formatStr(str: string, limit = 6) { justify-content: space-between; align-items: center; } + +.tags { + display: flex; + flex-wrap: wrap; + gap: 5px; + + .el-tag { + color: black; + } +}