createPotential.scss 4.19 KB
/* packageCustomer/pages/createPotential/createPotential.wxss */
.potential-create {
  background: #F7F8FA;
  padding-bottom: 200rpx;
  .card {
    margin: 24rpx 20rpx;
    background: #FFFFFF;
    border-radius: 16rpx;
    box-sizing: border-box;
    padding-bottom: 32rpx;
    .section-title {
      padding-left: 40rpx;
      height: 82rpx;
      display: flex;
      align-items: center;
      font-size: 24rpx;
      color: #999EA8;
    }
    .row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      border-bottom: 0.5px solid #EFF0F2;
      padding: 32rpx 40rpx;
      color: #292D33;
      .label {
        flex-shrink: 0;
        width: 168rpx;
        margin-right: 10rpx;
        .star {
          color: #F24724;
        }
      }
      .value {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: calc(100% - 178rpx);
        .placeholder-class {
          color: #BEC1C7;
          font-size: 28rpx;
        }
        .placeholder { 
          color: #BEC1C7;
          font-size: 28rpx;
        }
        .textarea {
          text-align: right;
          font-size: 28rpx;
          min-height: 40rpx;
          line-height: 40rpx;
          width: 100%;
          &.disabled {
            color: #999EA8;
          }
        }
        .value-text {
          word-break: break-all;
          &.disabled {
            color: #999EA8;
          }
        }
        image {
          flex-shrink: 0;
          width: 32rpx;
          height: 32rpx;
        }
      }
    }
    .no-border {
      border-bottom: none;
    }
    .uploader-wrap { 
      margin-top: -16rpx;
      padding: 0 0 32rpx 40rpx;
      border-bottom: 1rpx solid #EFF0F2;
      .image_content {
        width: 160rpx;
        height: 160rpx;
        border-radius: 8rpx;
        overflow: hidden;
        position: relative;
        .image_box {
          width: 100%;
          height: 100%;
        }
        .del_icon {
          width: 40rpx;
          height: 40rpx;
          position: absolute;
          top: 10rpx;
          right: 10rpx;
        }
      }
      .upload_content {
        width: 160rpx;
        height: 160rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #EFF0F2;
        border-radius: 8rpx;
        image {
          width: 56rpx;
          height: 56rpx;
        }
      }
    }
    .textarea-wrap {
      position: relative;
      padding: 0 40rpx;
      .textarea {
        width: 100%;
        min-height: 200rpx;
        border-radius: 12rpx;
        box-sizing: border-box;
        font-size: 28rpx;
      }
      .input-ph {
        color: #BEC1C7;
      }
      .counter {
        position: absolute;
        right: 56rpx;
        bottom: 0;
        color: #AAB0B7;
        font-size: 28rpx;
      }
    }
    .manange-box {
      .item {
        .check-box {
          display: flex;
          align-items: center;
          height: 86rpx;
          color: #292D33;
          font-size: 26rpx;
          padding: 0 40rpx;
          font-weight: 500;
          image {
            width: 32rpx;
            height: 32rpx;
            margin-right: 16rpx;
          }
        }
        .row {
          display: flex;
          align-items: center;
          justify-content: space-between;
          .label {
            width: 84rpx;
            flex-shrink: 0;
            margin-right: 10rpx;
          }
          .value {
            .input {
              width: calc(100% - 100rpx);
              text-align: right;
            }
          }
        }
        &:last-child{
          .row {
            border-bottom: none;
          }
        }
      }
      
    }
    
  }
  .btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 88rpx;
    text-align: center;
    font-size: 32rpx;
    background: #FFFFFF;
    padding: 20rpx 32rpx;
    display: flex;
    align-items: center;
    z-index: 100;
    .cancel {
      width: 184rpx;
      background: #F4F5F7;
      border-radius: 12rpx;
      color: #292D33;
      margin-right: 22rpx;
    }
    .confirm {
      width: 480rpx;
      background: #347BFF;
      border-radius: 12rpx;
      color: #FFFFFF;
    }
  }
}