rateEdit.sass 6.17 KB
/* packageWorkspace/pages/performanceRating/rateDetail/rateDetail.wxss */
page {
  background: #F2F3F7;
}
.title {
  max-length: 360rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flex {
  display: flex;
  align-items: center;
}
.just-space {
  justify-content: space-between;
}
.mar-t32 {
  margin-top: 32rpx;
}
.mar-l32 {
  margin-left: 32rpx;
}
.container {
  padding: 12rpx 24rpx;
  .blue {
    color: #347BFF;
  }
  .help-icon {
    width: 28rpx;
    height: 28rpx;
    flex-shrink: 0;
    margin-left: 8rpx;
  }
  .content-box {
    border-radius: 32rpx;
    background: #ffffff;
    padding: 24rpx 28rpx;
    margin-bottom: 24rpx;
    color: #222222;
    font-size: 26rpx;
    .content-title {
      font-size: 28rpx;
      color: #222222;
      font-weight: 500;
      margin-bottom: 16rpx;
      .title-icon {
        width: 6rpx;
        height: 32rpx;
        margin-right: 16rpx;
      }
      image {
        width: 32rpx;
        height: 32rpx;
        flex-shrink: 0;
        margin-right: 8rpx;
      }
      .left {
        width: 6rpx;
        height: 32rpx;
        border-radius: 6rpx;
        overflow: hidden;
        background: #347bff33;
        position: relative;
        margin-right: 16rpx;
        .left-top {
          width: 6rpx;
          height: 16rpx;
          border-radius: 6rpx;
          overflow: hidden;
          background: linear-gradient(180deg, #2c66f7 0%, #389fff 100%);
          position: absolute;
          top: 0;
          left: 0;
        }
      }
      .tips {
        margin-left: 16rpx;
        color: #888888;
        font-size: 22rpx;
      }
    }
    .level-box {
      margin-top: 16rpx;
      border-radius: 16rpx;
      background: #f2f7ff;
      padding: 24rpx;
      font-size: 28rpx;
      color: #133667;
      .box-title {
        font-weight: 500;
      }
      .mr-16 {
        margin: 16rpx 0;
      }
      .weight {
        font-weight: 600;
        margin-left: 8rpx;
      }
      .rule-box {
        border-radius: 28rpx;
        background: #ffffffb0;
        padding: 4rpx 20rpx;
        font-size: 22rpx;
        color: #666666;
        image {
          width: 24rpx;
          height: 24rpx;
        }
      }
    }
    .radio-box {
      border-bottom: 2rpx solid #F2F3F5;
    }
    .radio-item {
      margin: 16rpx 0 24rpx;
      padding: 10rpx 0;
      .radio {
        width: 28rpx;
        height: 28rpx;
        box-sizing: border-box;
        padding: 4rpx;
        flex-shrink: 0;
        margin-right: 12rpx;
        border-radius: 50%;
        border: 2rpx solid #D0D2D6;
      }
      image {
        width: 32rpx;
        height: 32rpx;
        margin-right: 8rpx;
      }
    }
    .manual-box {
      border-radius: 20rpx;
      background: #f7f8fa;
      padding: 24rpx 20rpx;
      font-size: 26rpx;
      color: #222222;
      .dot {
        width: 12rpx;
        height: 12rpx;
        border-radius: 50%;
        margin-right: 16rpx;
        background: #347BFF;
      }
      .select {
        margin: 12rpx 0 12rpx 28rpx;
        height: 72rpx;
        border-radius: 16rpx;
        background: #FFFFFF;
        border: 2rpx solid #EFF0F2;
        color: #222222;
        font-size: 28rpx;
        font-weight: 500;
        padding: 0 20rpx;
        &.gary {
          color: #999EA8;
          font-weight: 400;
        }
        image {
          width: 32rpx;
          height: 32rpx;
        }
      }
      .rate {
        margin-left: 28rpx;
      }
    }
    .input-content {
      margin: 16rpx 0;
      font-size: 28rpx;
      color: #222222;
      image {
        width: 28rpx;
        height: 28rpx;
        flex-shrink: 0;
        margin: 0 16rpx 0 8rpx;
      }
      .input-box {
        width: 196rpx;
        height: 72rpx;
        line-height: 72rpx;
        box-sizing: border-box;
        padding: 0 20rpx;
        position: relative;
        border-radius: 16rpx;
        border: 2rpx solid #eff0f2;
        .input {
          height: 72rpx;
          line-height: 72rpx;
          width: 100%;
          font-weight: 700;
        }
      }
    }
    .input-tips {
      font-size: 24rpx;
      color: #888888;
      line-height: 1.5;
    }
    .label {
      font-weight: 500;
    }
    .unit {
      margin: 0 4rpx;
      font-size: 28rpx;
      font-weight: 500;
      &.font-s20{
        font-size: 40rpx;
      }
    }
    .price-box {
      font-weight: 500;
      color: #222222;
      .left,.right {
        flex: 1;
      }
      .price {
        margin: 16rpx 0;
        font-size: 40rpx;
        font-family: "numberBold";
      }
    }
    .fancy-divider {
      position: relative;
      width: 100%;
      height: 1px;
      background: #347bff80;
      &::before {
        content: '';
        position: absolute;
        left: 30rpx;
        top: -10rpx;
        width: 16rpx;
        height: 16rpx;
        background-color: #FFFFFF;
        border: 2rpx solid #347bff80;
        border-color: transparent transparent #347bff80 #347bff80;
        transform: rotate(-45deg);
      }
    }
    .base-box {
      margin-top: 24rpx;
      .comput-price {
        margin-top: 16rpx;
        font-size: 40rpx;
        font-family: "numberBold";
      }
    }
    .gross-price {
      text-align: center;
      font-family: "numberBold";
      font-size: 68rpx;
    }
  }
  .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28rpx 32rpx;
    .name {
      font-size: 30rpx;
      color: #222222;
      font-weight: 500;
      text {
        font-size: 22rpx;
        color: #999999;
        font-weight: 400;
        margin-left: 16rpx;
      }
    }
    .merchant {
      margin-top: 10rpx;
      font-size: 26rpx;
      color: #666666;
    }
    .bg-image {
      margin: -24rpx 0;
      width: 186rpx;
      height: 138rpx;
    }
  }
  .btn-box {
    padding: 32rpx 40rpx 68rpx;
    font-size: 32rpx;
    .btn {
      width: 100%;
      height: 88rpx;
      border-radius: 24rpx;
      margin-bottom: 20rpx;
      text-align: center;
      line-height: 88rpx;
      background: #FFFFFF;
      &.confirm {
        background: #2C66F7;
        color: #FFFFFF;
        font-weight: 500;
      }
    }
    .btn-disabled {
      opacity: .5;
    }
  }
  .disabled {
    background: #F7F8FA !important;
  }
}