* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC";
    }

    body {
      background: #f5f6f7;
    }

    .page {
      display: none;
      padding-bottom: 60px;
    }

    .page.active {
      display: block;
    }

    header {
      padding: 14px;
      text-align: center;
      font-weight: bold;
      background: #fff;
      border-bottom: 1px solid #eee;
    }

    /* 轮播图 */
    .banner {
      width: 100%;
      height: 200px;
      overflow: hidden;
    }

    .banner-track {
      display: flex;
      width: 100%;
      height: 100%;
      /* animation: slide 9s infinite; */
    }

    .banner-item {
      flex: 1;
      color: #fff;
      font-size: 22px;
      /* display: flex;
      align-items: center;
      justify-content: center; */
    }

    .b1 { background: #4e73df; }
    .b2 { background: #1cc88a; }
    .b3 { background: #f6c23e; }

    @keyframes slide {
      0% { transform: translateX(0); }
      33% { transform: translateX(-100%); }
      66% { transform: translateX(-200%); }
      100% { transform: translateX(0); }
    }

    /* 列表 */
    .list {
      background: #fff;
      margin-top: 10px;
    }

    .list-item {
      padding: 14px;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .price {
      color: #e74c3c;
    }

    /* 详情页 */
    .detail-box {
      padding: 16px;
      background: #fff;
    }

    #chart {
      width: 100%;
      height: 260px;
      margin-top: 10px;
    }

    /* 我的 */
    .empty {
      text-align: center;
      color: #999;
      margin-top: 40px;
    }

    /* 底部导航 */
    .tabbar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 60px;
      background: #fff;
      border-top: 1px solid #ddd;
      display: flex;
    }

    .tabbar div {
      flex: 1;
      text-align: center;
      line-height: 60px;
      color: #666;
    }

    .tabbar .active {
      color: #4e73df;
      font-weight: bold;
    }
    .period {
        flex: 1;
        text-align: center;
        padding: 6px 0;
        margin-right: 6px;
        border-radius: 4px;
        font-size: 13px;
        color: #666;
        background: #f2f2f2;
    }
    .period:last-child {
        margin-right: 0;
    }
    .period.active {
        background: #4e73df;
        color: #fff;
    }