<template>
  <el-footer class="footer">
    <div class="footer-content">
      <div class="footer-info">
        <p>&copy; 2024 AIGC Demo. All rights reserved.</p>
        <p>基于 Vue.js 3 + Element Plus 构建</p>
      </div>
      <div class="footer-links">
        <a href="#" class="footer-link">关于我们</a>
        <a href="#" class="footer-link">联系我们</a>
        <a href="#" class="footer-link">隐私政策</a>
        <a href="#" class="footer-link">服务条款</a>
      </div>
    </div>
  </el-footer>
</template>

<script setup>
// Footer组件逻辑
</script>

<style scoped>
.footer {
  height: 60px;
  background-color: #f5f5f5;
  border-top: 1px solid #e4e7ed;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

.footer-info {
  color: #606266;
  font-size: 14px;
}

.footer-info p {
  margin: 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: #606266;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #409EFF;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-links {
    gap: 15px;
  }
}
</style>









