technicianList.scss 3.87 KB
/* packageMine/pages/customerManagement/technicianList/technicianList.wxss */
.technician-list-page {
  width: 100%;
  box-sizing: border-box;
  padding: 20rpx;
  background-color: #F2F3F7;

  .btn_box {
    width: 100%;
    height: 96rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 16rpx;
    color: var(--btnColor);
    font-size: 28rpx;
    font-weight: 600;
    margin-bottom: 32rpx;

    .icon {
      width: 40rpx;
      height: 40rpx;
      margin-right: 16rpx;
      vertical-align: -12rpx
    }
  }

  .title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20rpx;

    .title {
      color: #323436;
      font-size: 28rpx;
      font-weight: 600;

      .number {
        color: var(--btnColor)
      }
    }
  }

  .item-box {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12rpx;
    margin-bottom: 20rpx;

    .top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24rpx 32rpx;

      .message {
        display: flex;
        align-items: center;

        .avatar {
          flex-shrink: 0;
          width: 72rpx;
          height: 72rpx;
          margin-right: 12rpx;
        }

        .message-text {
          display: flex;
          flex-flow: column;
          justify-content: center;

          .merchant {
            color: #323436;
            font-size: 28rpx;
          }

          .contact {
            color: #858A94;
            font-size: 26rpx;
          }
        }

        .icon-edit {
          width: 36rpx;
          height: 36rpx;
          margin-left: 4rpx;
        }
      }

      .delete {
        font-size: 24rpx;
        color: #3666FE;
      }
    }

    .bottom {
      padding: 0 32rpx;
      height: 72rpx;
      background-color: #FFF9F2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 24rpx;
      color: #8A8C90;

      .technician_name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  .bottomTips {
    text-align: center;
    color: #393b3e;
    font-size: 26rpx;
    height: 60rpx;
    line-height: 40rpx;
  }
}

// 弹窗
// 提示
.layout {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, .8);
}

.content {
  position: relative;
  text-align: center;
  box-sizing: border-box;
  width: 614rpx;
  background: #FFFFFF;
  border-radius: 32rpx;

  .form-box {
    margin: 32rpx 40rpx;
    text-align: left;

    .form {
      display: flex;
    }

    .form:first-child {
      margin-bottom: 32rpx;
    }

    .label {
      width: calc(100% - 390rpx);
      height: 88rpx;
      line-height: 88rpx;
      font-size: 28rpx;
      color: #323436;
      text-align: left;
    }

    .input {
      width: 390rpx;
      height: 88rpx;
      background: #F8F9FC;
      border-radius: 12rpx;
      padding-left: 32rpx;
    }

    .input-placeholder {
      font-size: 28rpx;
      color: #858A94;
    }
  }

  .title {
    height: 110rpx;
    line-height: 110rpx;
    text-align: center;
    font-weight: 600;
    font-size: 32rpx;
    color: #323436;
    border-bottom: 2rpx solid #F5F6F7;
  }

  .dialog-btn {
    display: flex;
    width: 100%;
    height: 110rpx;
    line-height: 110rpx;
    border-top: 2rpx solid #F5F6F7;
    font-size: 32rpx;
    color: #6C737A;

    .cancel-btn {
      width: 50%;
    }

    .default-btn {
      width: 50%;
      color: #3666FE;
      border-left: 2rpx solid #F5F6F7;
    }
  }
}

.close {
  position: absolute;
  top: 324rpx;
  right: 96rpx;
  width: 56rpx;
  height: 56rpx;
}