index.html 7.58 KB
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>绿纤协同平台</title>
  <style>
    body {
      margin: 0;
      min-height: 100vh;
      background: #e8f5e9;
      font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .header {
      width: 100%;
      background: linear-gradient(120deg, #43e97b 0%, #38f9d7 100%);
      border-bottom-left-radius: 24px;
      border-bottom-right-radius: 24px;
      padding: 32px 0 24px 0;
      position: relative;
      box-shadow: 0 2px 12px 0 rgba(67, 233, 123, 0.08);
      text-align: center;
    }
    .header-title {
      color: #fff;
      font-size: 1.18em;
      font-weight: bold;
      letter-spacing: 2px;
      margin-bottom: 8px;
    }
    .header-desc {
      color: #e0f2f1;
      font-size: 0.98em;
      margin-bottom: 10px;
    }
    .header-illustration {
      width: 60px;
      height: 60px;
      margin: 0 auto;
      margin-bottom: -18px;
      background: rgba(255,255,255,0.12);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .summary-card {
      width: 90%;
      max-width: 420px;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 12px 0 rgba(67, 233, 123, 0.08);
      margin: -28px auto 18px auto;
      display: flex;
      justify-content: space-between;
      padding: 14px 10px;
      position: relative;
      z-index: 2;
    }
    .summary-item {
      flex: 1;
      text-align: center;
      color: #388e3c;
    }
    .summary-item .num {
      font-size: 1.18em;
      font-weight: bold;
      color: #43a047;
      margin-bottom: 2px;
      display: block;
    }
    .summary-item .label {
      font-size: 0.92em;
      color: #6a9c6a;
    }
    .section-title {
      width: 90%;
      max-width: 420px;
      margin: 0 auto 8px auto;
      font-size: 1.05em;
      color: #388e3c;
      font-weight: bold;
      letter-spacing: 1px;
      padding-left: 2px;
    }
    .func-card {
      width: 90%;
      max-width: 420px;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 12px 0 rgba(67, 233, 123, 0.08);
      padding: 18px 0 8px 0;
      margin: 0 auto 18px auto;
    }
    .icon-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px 0;
      width: 100%;
      justify-items: center;
    }
    .icon-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #e8f5e9 60%, #c8e6c9 100%);
      border-radius: 16px;
      box-shadow: 0 2px 8px #c8e6c9;
      padding: 14px 0 8px 0;
      text-decoration: none;
      color: #388e3c;
      transition: box-shadow 0.18s, background 0.18s;
      border: none;
      width: 70px;
      height: 80px;
    }
    .icon-btn:active, .icon-btn:hover {
      box-shadow: 0 4px 16px #a5d6a7;
      background: linear-gradient(135deg, #b2dfdb 60%, #e8f5e9 100%);
    }
    .icon {
      width: 32px;
      height: 32px;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .icon svg {
      width: 100%;
      height: 100%;
      fill: #43a047;
    }
    .icon-label {
      font-size: 0.98em;
      color: #388e3c;
      margin-top: 2px;
      letter-spacing: 1px;
    }
    .bottom-nav {
      position: fixed;
      left: 0; right: 0; bottom: 0;
      width: 100vw;
      background: #fff;
      border-top: 1.5px solid #e0f2f1;
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 54px;
      z-index: 10;
      box-shadow: 0 -2px 12px 0 rgba(67, 233, 123, 0.06);
    }
    .nav-item {
      flex: 1;
      text-align: center;
      color: #6a9c6a;
      font-size: 0.98em;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      text-decoration: none;
      transition: color 0.18s;
    }
    .nav-item.active {
      color: #43a047;
      font-weight: bold;
    }
    .nav-item .nav-icon {
      width: 22px;
      height: 22px;
      margin-bottom: 2px;
      display: inline-block;
    }
    @media (max-width: 520px) {
      .header { padding: 24px 0 18px 0; }
      .header-illustration { width: 44px; height: 44px; }
      .summary-card, .func-card, .section-title { max-width: 100vw; width: 96vw; }
      .icon-btn { width: 60px; height: 70px; }
      .icon { width: 26px; height: 26px; }
      .bottom-nav { height: 48px; }
      .nav-item { font-size: 0.93em; }
    }
  </style>
</head>
<body>
  <div class="header">
    <div class="header-title">绿纤协同办公平台</div>
    <div class="header-desc">高效协同,移动办公</div>
    <div class="header-illustration">
      <!-- 简单时钟插画SVG -->
      <svg viewBox="0 0 48 48"><circle cx="24" cy="24" r="22" fill="#fff" opacity="0.18"/><circle cx="24" cy="24" r="18" fill="#fff" opacity="0.32"/><circle cx="24" cy="24" r="14" fill="#fff"/><path d="M24 14v10l7 4" stroke="#43a047" stroke-width="2.5" stroke-linecap="round" fill="none"/></svg>
    </div>
  </div>
  <div class="summary-card">
    <div class="summary-item"><span class="num">0</span><span class="label">预约数</span></div>
    <div class="summary-item"><span class="num">0</span><span class="label">邀约数</span></div>
    <div class="summary-item"><span class="num">0</span><span class="label">拓客数</span></div>
    <div class="summary-item"><span class="num">0</span><span class="label">退卡数</span></div>
  </div>
  <div class="section-title">常用功能</div>
  <div class="func-card">
    <div class="icon-grid">
      <a class="icon-btn" href="lx.html">
        <span class="icon">
          <svg viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="4"/><path d="M8 8h8M8 12h8M8 16h4" stroke="#fff" stroke-width="1.5" fill="none"/></svg>
        </span>
        <span class="icon-label">开单</span>
      </a>
      <a class="icon-btn" href="member-consume.html">
        <span class="icon">
          <svg viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="3"/><rect x="7" y="10" width="10" height="2" rx="1" fill="#fff"/></svg>
        </span>
        <span class="icon-label">耗卡</span>
      </a>
      <a class="icon-btn" href="refund.html">
        <span class="icon">
          <svg viewBox="0 0 24 24"><rect x="4" y="6" width="16" height="10" rx="3"/><path d="M12 9v4m0 0l-2-2m2 2l2-2" stroke="#fff" stroke-width="1.5" fill="none"/></svg>
        </span>
        <span class="icon-label">退卡</span>
      </a>
      <a class="icon-btn" href="appointment.html">
        <span class="icon">
          <svg viewBox="0 0 24 24"><rect x="4" y="6" width="16" height="14" rx="3"/><rect x="8" y="10" width="8" height="6" rx="2" fill="#fff"/></svg>
        </span>
        <span class="icon-label">预约</span>
      </a>
      <a class="icon-btn" href="clue-list.html">
        <span class="icon">
          <svg viewBox="0 0 24 24"><rect x="3" y="7" width="18" height="10" rx="3"/><path d="M3 7l9 6 9-6" stroke="#fff" stroke-width="1.5" fill="none"/></svg>
        </span>
        <span class="icon-label">邀约</span>
      </a>
      <a class="icon-btn" href="expansion.html">
        <span class="icon">
          <svg viewBox="0 0 24 24"><circle cx="12" cy="10" r="4"/><path d="M4 20c0-3.3 2.7-6 6-6h4c3.3 0 6 2.7 6 6" stroke="#fff" stroke-width="1.5" fill="none"/></svg>
        </span>
        <span class="icon-label">拓客</span>
      </a>
    </div>
  </div>
</body>
</html>