diff --git a/components/common/CommonTrendingCharts.vue b/components/common/CommonTrendingCharts.vue index 43fbf05b..b579dfee 100644 --- a/components/common/CommonTrendingCharts.vue +++ b/components/common/CommonTrendingCharts.vue @@ -4,8 +4,12 @@ import sparkline from '@fnando/sparkline' const { history, + width = 60, + height = 40, } = $defineProps<{ history?: History[] + width?: number + height?: number }>() const historyNum = $computed(() => { @@ -24,5 +28,5 @@ watch([$$(historyNum), $$(sparklineEl)], ([historyNum, sparklineEl]) => { diff --git a/components/search/SearchAccountInfo.vue b/components/search/SearchAccountInfo.vue new file mode 100644 index 00000000..dd55f5c6 --- /dev/null +++ b/components/search/SearchAccountInfo.vue @@ -0,0 +1,24 @@ + + + diff --git a/components/search/HashtagInfo.vue b/components/search/SearchHashtagInfo.vue similarity index 64% rename from components/search/HashtagInfo.vue rename to components/search/SearchHashtagInfo.vue index f98cf3fd..f7b9d06f 100644 --- a/components/search/HashtagInfo.vue +++ b/components/search/SearchHashtagInfo.vue @@ -9,8 +9,8 @@ const totalTrend = $computed(() => diff --git a/components/search/SearchResult.vue b/components/search/SearchResult.vue index e4b17eff..a42baa56 100644 --- a/components/search/SearchResult.vue +++ b/components/search/SearchResult.vue @@ -12,9 +12,17 @@ const onActivate = () => {