equityQualityOrderList.sass 7.85 KB
/* packageEquity/pages/qualityOrderList/qualityOrderList.wxss */
.main {
  overflow: hidden;
  border-top: var(--fontSize1) solid #F2F2F2;
  box-sizing: border-box;
  height: calc(100vh - var(--fontSize1));
  .to-box {
    position: sticky;
    left: 0;
    z-index: 2;
    height: var(--fontSize104);
    display: flex;
    align-items: center;
    background: #FFFFFF;
    .search-box {
      width: 100%;
      padding: 0 var(--fontSize32);
      display: flex;
      align-items: center;
      background-color: #fff;
      position: sticky;
      top: 0;
      left: 0;
      z-index: 9;
      box-sizing: border-box;
      .search-input {
        background: #F7F8FA;
        border-radius: var(--fontSize38);
        width: calc(568 / 750 * 100vw);
        height: var(--fontSize72);
        display: flex;
        align-items: center;
        .search-icon {
          width: var(--fontSize32);
          height: var(--fontSize32);
          margin: 0 var(--fontSize10) 0 var(--fontSize26);
        }
        .clearBtn {
          width: var(--fontSize100);
          height: var(--fontSize100);
          position: relative;
        }
        .search-clear {
          position: absolute;
          left: var(--fontSize40);
          top: var(--fontSize33);
          width: var(--fontSize36);
          height: var(--fontSize36);
        }
        input {
          font-size: var(--fontSize28);
          width: calc(100% - var(--fontSize136));
          height: var(--fontSize46);
          line-height: var(--fontSize46);
        }
      }
      .input-placeholder {
        color: #BEC1C7;
      }
    }
  }
  .order-box {
    background-color: #F6F7F9;
    height: calc(100% - var(--fontSize104));
    .margin-fixer{
      height: var(--fontSize20);
      width: 100%;
    }
    .list {
      box-sizing: border-box;
      width: 100%;
      padding-bottom: 0;
      height: 100%;
      .item {
        box-sizing: border-box;
        background: #FFFFFF;
        box-shadow: 0 var(--fontSize4) var(--fontSize16) 0 #cdcdd180;
        border-radius: var(--fontSize16);
        margin: 0 var(--fontSize20) var(--fontSize20);
        padding-bottom: var(--fontSize20);
        display: flex;
        justify-content: space-between;
        overflow: hidden;
        .item-inner {
          width: 100%;
          margin-right: 0;
          -webkit-transition: all 0.4s;
          transition: all 0.4s;
          -webkit-transform: translateX(72px);
          transform: translateX(72px);
          margin-left: -72px;
        }
        .item-content {
          padding: var(--fontSize32) var(--fontSize32) 0;
          .item-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            .header-cust {
              display: flex;
              align-items: center;
              font-size: var(--fontSize32);
              font-weight: 600;
              max-width: 60%;
              color: #292D33;
              word-break: break-all;
              .icon-sex {
                width: var(--fontSize32);
                height: var(--fontSize32);
                margin-left: var(--fontSize8);
              }
            }
            .header-status {
              font-weight: 600;
              font-size: var(--fontSize28);
            }
          }
          .order-list {
            padding: var(--fontSize28) 0 var(--fontSize20);
            .order {
              font-size: var(--fontSize24);
              color: #292D33;
              margin-bottom: var(--fontSize20);
              display: flex;
              align-items: center;
              .order-label {
                width: var(--fontSize136);
                color: #9B9B9E;
              }
              .order-value {
                width: calc(100% - var(--fontSize136));
                display: flex;
                align-items: center;
                .order-value-item{
                  .split {
                    margin: 0 var(--fontSize6);
                  }
                }
                .order-value-item:first-of-type {
                  max-width: 70%;
                }
              }
            }
            .order:last-of-type {
              margin-bottom: 0;
            }
            .pricePay {
              display: flex;
              align-items: center;
              flex-shrink: 0;
              .unit {
                font-size: var(--fontSize28);
              }
              .order-label {
                width: var(--fontSize136);
                color: #999EA8;
              }
              .header-price {
                font-family: 'numberBold';
                font-size: var(--fontSize36);
                color: #347BFF;
              }
            }
          }
          .order-detail {
            display: flex;
            align-items: center;
            justify-content: space-around;
            background: #F4F5F7;
            border-radius: var(--fontSize8);
            padding: var(--fontSize16);
            font-weight: 400;
            font-size: var(--fontSize24);
            color: #222222;
            margin-bottom: var(--fontSize24);
            .detail-item {
              width: 33%;
              text-align: center;
              border-right: var(--fontSize1) solid #E1E2E6;
              .detail-label {
                color: #9B9B9E;
                margin-bottom: var(--fontSize8);
              }
            }
            .detail-item:last-child {
              border: none;
            }
          }
        }
        .item-footer {
          display: flex;
          justify-content: space-between;
          align-items: center;
          font-size: var(--fontSize24);
          color: #9B9B9E;
          border-top: var(--fontSize1) solid #F2F3F6;
          margin: 0 var(--fontSize32) 0;
          padding: var(--fontSize20) 0 0;
          .btn_class {
            display: flex;
            gap: var(--fontSize20);
            margin-left: auto;
            font-weight: 500;
            .order-btn {
              box-sizing: border-box;
              height: var(--fontSize56);
              display: flex;
              align-items: center;
              justify-content: center;
              font-size: var(--fontSize28);
              color: #FFFFFF;
              background: #347BFF;
              border-radius: var(--fontSize32);
              padding: var(--fontSize8) var(--fontSize40);
              flex-shrink: 0;
            }
            .default-btn {
              background: #FFFFFF;
              border: var(--fontSize2) solid #347BFF;
              border-radius: var(--fontSize32);
              color: #347BFF;
            }
            .padding_20 {
              padding: 0 var(--fontSize20);
            }
          }
        }
      }
    }
  }
  .no-data {
    text-align: center;
    padding-top: var(--fontSize128);
  }

  .no-data-img {
    width: var(--fontSize160);
    height: var(--fontSize160);
  }

  .list-nothing,
  .list-not {
    text-align: center;
  }

  .list-nothing{
    padding: var(--fontSize40) 0;
  }
  .green-txt {
    color: #35C376;
    background: #EAF9F1;
    padding: var(--fontSize4) var(--fontSize8);
    font-size: var(--fontSize24);
    border-radius: var(--fontSize4);
  }

  .grey-txt {
    background: #F2F3F5;
    color: #999999;
    padding: var(--fontSize4) var(--fontSize8);
    font-size: var(--fontSize24);
    border-radius: var(--fontSize4);
  }

  .red-txt {
    color: #EB4E4E;
    background: #FDECE9;
    padding: var(--fontSize4) var(--fontSize8);
    border-radius: var(--fontSize4);
  }

  .default-txt {
    color: #FF9D0A;
    background: #FFF5E6;
    padding: var(--fontSize4) var(--fontSize8);
    border-radius: var(--fontSize4);
  }

  .text-hide {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .copy_icon {
    width: var(--fontSize28);
    height: var(--fontSize28);
    margin-left: var(--fontSize12);
  }
  .text-hideWidth {
    width: calc(100% - 36rpx);
  }
}