.page-invoice-detail {
  background: #f2f3f7;
  min-height: 100vh;
  box-sizing: border-box;
  padding-bottom: calc(126rpx + env(safe-area-inset-bottom));
  /* 发票状态 */
  .status-box {
    position: relative;
    height: 150rpx;
    padding: 0 30rpx 10rpx;
    display: flex;
    align-items: center;
    color: #fff;
    margin-bottom: -10rpx;
    .bg {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      font-size: 0;
    }
    .status {
      position: relative;
      font-size: 32rpx;
      font-weight: 600;
    }
  }
  /* 发票信息 */
  .invoice-info {
    background: #fff;
    padding: 30rpx;
    border-radius: 10rpx;
    margin-bottom: 30rpx;
    position: relative;
    .item {
      margin-top: 20rpx;
      display: flex;
      align-items: flex-start;
      line-height: 32rpx;
      &:first-child {
        margin-top: 0;
      }
      .tit {
        color: #999999;
        margin-right: 20rpx;
      }
      .text {
        font-family: PingFangSC-Medium, tahoma;
        flex: 1;
        max-width: 540rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    } 
  }
  /* 商品信息 */
  .prods-box {
    background: #fff;
    border-radius: 10rpx;
    margin-top: 30rpx;
    padding: 30rpx;
    .shop {
      display: flex;
      align-items: center;
      .icon {
        width: 24rpx;
        height: 24rpx;
        font-size: 0;
      }
      .name {
        font-weight: 600;
        margin-left: 10rpx;
      }
    }
    .prod-item {
      padding: 30rpx 0 10rpx;
      /* 单商品 */
      .single-prod {
        display: flex;
        .prod-img {
          width: 120rpx;
          height: 120rpx;
          border-radius: 10rpx;
          overflow: hidden;
          font-size: 0;
        }
        .text-box {
          flex: 1;
          margin-left: 20rpx;
          align-self: flex-start;
          position: relative;
          height: 120rpx;
          .name {
            max-height: 64rpx;
            line-height: 32rpx;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
          }
          .sku {
            margin-top: 10rpx;
            color: #999;
            font-size: 20rpx;
            .sku-text{
              margin-right: 20rpx;
            }
          }
        }

      }
      /* 多商品 */
      .many-prods{
        .prod-img{
          .img-box {
            white-space: nowrap;
            .img {
              display: inline-block;
              width: 130rpx;
              height: 130rpx;
              font-size: 0;
              border-radius: 10rpx;
              overflow: hidden;
              margin-left: 10rpx;
              &:first-child {
                margin-left: 0;
              }
            }
          }
          
        }
        .price-box {
          display: flex;
          justify-content: flex-end;
          align-items: center;
          .count {
            color: #999;
            margin-right: 10rpx;
          }
          .price {
            color: #333;
          }
          .big {
            font-size: 24rpx;
          }
        }

      }
    }
    /* 订单信息 */
    .order-msg{
      .item {
        margin-top: 20rpx;
        display: flex;
        align-items: flex-start;
        line-height: 32rpx;
        .tit {
          color: #999999;
          margin-right: 20rpx;
        }
        .item .text {
          font-family: PingFangSC-Medium, tahoma;
          flex: 1;
        }
      }
    }

  } 
  /* 发票须知 */
 .invoice-notice {
    background: #fff;
    border-radius: 10rpx;
    margin-top: 30rpx;
    padding: 30rpx;
    .tit {
      font-weight: 600;
      margin-bottom: 10rpx;
    }
    .text {
      line-height: 40rpx;
      color: #999;
    }
  }
  /* 底部 */
  .foot-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 750rpx;
    margin: auto;
    background: #fff;
    border-radius: 10rpx 10rpx 0 0;
    padding: 20rpx 30rpx;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    box-shadow: 0 -6rpx 6rpx rgba(0,0,0,.01);
    .del-order {
      font-weight: 600;
    }
    .btn-box {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      .btn {
        padding: 10rpx 26rpx;
        border: 2rpx solid #ddd;
        border-radius: 60rpx;
        margin-left: 20rpx;
        line-height: 36rpx;
        box-sizing: border-box;
        &.btn-r {
          background: #fc1b35;
          color: #fff;
          border-color: #fc1b35;
        }
      }
    }
  }
  .text-box-sku-item {
    margin-right: 20rpx;
  }
}
