<template>
  <div class="home">
    <div class="coming-soon-container">
      <div class="coming-soon-content">
        <div class="icon-wrapper">
          <svg class="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path
              d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"
              stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
            <path d="M9 12L11 14L15 10" stroke="currentColor" stroke-width="2" stroke-linecap="round"
              stroke-linejoin="round" />
          </svg>
        </div>
        <h2 class="coming-soon-title">部分功能待开发中</h2>
        <p class="coming-soon-subtitle">请直接进行入驻、新增和下单等流程</p>
        
        <div class="process-guide">
          <div class="guide-item">
            <div class="guide-info">
              <span class="dot"></span>
              <span>履约入驻流程</span>
            </div>
          </div>
          <div class="guide-item">
            <div class="guide-info">
              <span class="dot"></span>
              <span>数据新增与修改</span>
            </div>
          </div>
          <div class="guide-item">
            <div class="guide-info">
              <span class="dot"></span>
              <span>核心下单业务流</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup name="Index" lang="ts">
// 首页逻辑组件
</script>

<style lang="scss" scoped>
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
}

.coming-soon-container {
  width: 100%;
  max-width: 600px;
  padding: 40px;
}

.coming-soon-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 60px 40px;
  text-align: center;
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
  }
}

.icon-wrapper {
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;

  .icon {
    width: 80px;
    height: 80px;
    color: #409eff;
  }
}

.coming-soon-title {
  font-size: 32px;
  font-weight: 600;
  color: #303133;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}

.coming-soon-subtitle {
  font-size: 18px;
  color: #606266;
  margin: 0 0 40px 0;
  font-weight: 400;
}

.process-guide {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}

.guide-item {
  padding: 12px 20px;
  background: #f8faff;
  border-radius: 10px;
  border: 1px border-color(#e4e7ed);
  transition: all 0.2s ease;

  &:hover {
    background: #ecf5ff;
    transform: scale(1.02);
  }

  .guide-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #409eff;
    font-size: 16px;
    font-weight: 500;
  }

  .dot {
    width: 8px;
    height: 8px;
    background-color: #409eff;
    border-radius: 50%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .coming-soon-container {
    padding: 20px;
  }

  .coming-soon-content {
    padding: 40px 20px;
  }

  .icon-wrapper .icon {
    width: 60px;
    height: 60px;
  }

  .coming-soon-title {
    font-size: 24px;
  }

  .coming-soon-subtitle {
    font-size: 16px;
  }
}
</style>

