mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-06 00:57:51 +08:00
Compare commits
4 Commits
6992b58208
...
3fcd589482
| Author | SHA1 | Date | |
|---|---|---|---|
| 3fcd589482 | |||
| 7a34fc0079 | |||
| 6af713b67a | |||
| 1604decd3c |
@@ -235,17 +235,17 @@ async function handleSearch() {
|
|||||||
<div class="tips-box glass-panel">
|
<div class="tips-box glass-panel">
|
||||||
<h2 class="panel-title"><i class="fa-regular fa-lightbulb"></i> 搜索建议</h2>
|
<h2 class="panel-title"><i class="fa-regular fa-lightbulb"></i> 搜索建议</h2>
|
||||||
<div class="tips-content">
|
<div class="tips-content">
|
||||||
<button class="tip-tag" @click="keyword='新能源汽车'; hours=168; handleSearch()">
|
<button class="tip-tag" @click="keyword='火箭发射'; hours=168; handleSearch()">
|
||||||
<i class="fa-solid fa-rocket"></i> 新能源汽车
|
<i class="fa-solid fa-rocket"></i> 火箭发射
|
||||||
</button>
|
</button>
|
||||||
<button class="tip-tag" @click="keyword='苹果公司'; hours=168; handleSearch()">
|
<button class="tip-tag" @click="keyword='苹果公司'; hours=168; handleSearch()">
|
||||||
<i class="fa-brands fa-apple"></i> 苹果产业链
|
<i class="fa-brands fa-apple"></i> 苹果公司
|
||||||
</button>
|
</button>
|
||||||
<button class="tip-tag regex-tag" @click="keyword='AI|LLM'; hours=168; handleSearch()">
|
<button class="tip-tag regex-tag" @click="keyword='AI|LLM'; hours=168; handleSearch()">
|
||||||
<i class="fa-solid fa-code-branch"></i> AI / 大模型
|
<i class="fa-solid fa-code-branch"></i> AI / 大模型
|
||||||
</button>
|
</button>
|
||||||
<button class="tip-tag regex-tag" @click="keyword='美国关税'; hours=168; handleSearch()">
|
<button class="tip-tag regex-tag" @click="keyword='美国'; hours=168; handleSearch()">
|
||||||
<i class="fa-solid fa-flag-usa"></i> 美国关税
|
<i class="fa-solid fa-flag-usa"></i> 美国
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -261,9 +261,15 @@ async function handleSearch() {
|
|||||||
<div v-else-if="searchResult" class="results-container">
|
<div v-else-if="searchResult" class="results-container">
|
||||||
<section class="chart-section glass-panel">
|
<section class="chart-section glass-panel">
|
||||||
<div class="section-header">
|
<div class="section-header">
|
||||||
<h2 class="section-title">
|
<div class="section-title-group">
|
||||||
<i class="fa-solid fa-wave-square"></i> 时间热度脉络
|
<h2 class="section-title">
|
||||||
</h2>
|
<i class="fa-solid fa-wave-square"></i> 时间热度脉络
|
||||||
|
</h2>
|
||||||
|
<span class="chart-tip">
|
||||||
|
<i class="fa-solid fa-hand-pointer"></i>
|
||||||
|
点击时间点查看具体事件列表
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
<span class="meta-info">共 {{ searchResult.timeline.length }} 个时间节点 · 覆盖 {{ searchResult.events.length }} 个聚合事件</span>
|
<span class="meta-info">共 {{ searchResult.timeline.length }} 个时间节点 · 覆盖 {{ searchResult.events.length }} 个聚合事件</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -553,6 +559,30 @@ async function handleSearch() {
|
|||||||
color: var(--brand-primary);
|
color: var(--brand-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section-title-group {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chart-tip {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
|
padding: 4px 10px;
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
background: var(--brand-primary-alpha);
|
||||||
|
border: 1px solid rgba(99, 102, 241, 0.2);
|
||||||
|
color: var(--brand-primary);
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chart-tip i {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.time-filter-badge {
|
.time-filter-badge {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -599,6 +629,10 @@ async function handleSearch() {
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chart-container :deep(.apexcharts-marker) {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
.events-section {
|
.events-section {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user