<template>
  <div class="effect-analysis">
    <div class="placeholder-card">
      <div class="card-header">
        <CardTitle title="影响分析" />
        <el-icon class="expand-icon"><TrendCharts /></el-icon>
      </div>
      <div class="card-body">
        <div class="placeholder-content">
          <h3 class="placeholder-title">影响分析功能开发中</h3>
          <el-empty description="暂无数据" />
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import { TrendCharts } from '@element-plus/icons-vue'
import CardTitle from '@/components/CardTitle.vue'
</script>

<style scoped>
.effect-analysis {
  /* padding: 20px 0; */
}

.placeholder-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 500px;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-body {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.expand-icon {
  color: #999;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
}

.placeholder-icon {
  margin-bottom: 24px;
  color: #d3d3d3;
}

.placeholder-title {
  font-size: 20px;
  color: #333;
  margin: 0 0 16px 0;
}

.placeholder-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.feature-list li {
  padding: 8px 0;
  color: #666;
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.feature-list li::before {
  content: "•";
  color: #409eff;
  font-weight: bold;
  position: absolute;
  left: 0;
}
</style>
