<template>
  <header id="header-wrap">
    <div class="container">
      <div class="logo">
        <span style="font-weight: normal; font-size: 18px">杭州优品尚电商科技有限公司</span>
      </div>
      <nav class="nav">
        <ul>
          <li><a href="#header-wrap">首页</a></li>
          <li><a href="#product-wrap">产品中心</a></li>
          <li><a href="#solution-wrap">解决方案</a></li>
          <li><a href="#about-us-wrap">关于我们</a></li>
        </ul>
      </nav>
    </div>
  </header>
</template>

<script lang="ts" setup></script>

<style lang="scss" scoped>
#header-wrap {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
    min-width: 1000px;
    max-width: 1500px;
    margin: 0 auto;
    .logo {
      display: flex;
      align-items: center;

      img {
        height: 40px;
        margin-right: 10px;
      }

      span {
        font-size: 16px;
        font-weight: bold;
        color: #333;
      }
    }
    .nav ul {
      display: flex;
      list-style: none;

      li {
        margin-left: 30px;

        a {
          text-decoration: none;
          color: #333;
          font-size: 14px;
          transition: color 0.3s;

          &:hover {
            color: #1890ff;
          }
        }
      }
    }
  }
}
</style>
