Commit dff74f3b by Lin

feat: 策略分析页面开发

1 parent d3e7755c
......@@ -18,11 +18,8 @@
></div>
</div>
<!-- 分割线 (可选,增加视觉间隔) -->
<div class="vertical-divider"></div>
<!-- 右侧 筛选区 + 按钮 -->
<div class="filter-area">
<div class="filter-area" v-if="showRightArea">
<div class="filter-group">
<span class="label">区域:</span>
<el-select v-model="localFilters.region" size="small" placeholder="全部" class="filter-select" filterable clearable>
......@@ -91,6 +88,11 @@ export default {
brandOptions: {
type: Array,
default: () => []
},
// 控制筛选区域是否展示
showRightArea: {
type: Boolean,
default: false
}
},
data() {
......@@ -223,13 +225,6 @@ $text-orange: #FF7D00;
width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.vertical-divider {
width: 1px;
height: 20px;
background: $border;
margin-right: 32px;
}
.filter-area {
flex: 1;
display: flex;
......
......@@ -25,7 +25,10 @@
</div>
<div class="row-item">
<span class="label">区域运营:</span>
<span class="val">{{ cardData.regionOps }}</span>
<el-tooltip v-if="cardData.regionOps" effect="dark" placement="top" popper-class="dark-tooltip">
<div slot="content" style="max-width:240px;line-height:1.6;">{{ cardData.regionOps }}</div>
<span class="val">{{ cardData.regionOps }}</span>
</el-tooltip>
</div>
<!-- 预警标签组 -->
......@@ -180,6 +183,6 @@ $text-orange: #FF7D00;
<style>
/* 全局样式 - tooltip 样式 */
.dark-tooltip { background: rgba(29,33,41, 0.9) !important; }
.dark-tooltip { background: #000000 !important; }
</style>
......@@ -6,6 +6,7 @@
:tabs="tabs"
:filters="filters"
:brand-options="brandOptions"
:show-right-area="true"
@tab-change="handleTabChange"
@search="handleSearch"
@reset="handleReset"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!