/* pages/handoverVehicle/procurementDeliveryEdit/procurementDeliveryEdit.wxss */
page {
  height: 100vh;
  background: #EFF1F4;
  // overflow: hidden;
  position: relative;
  .container {
    height: calc(100% - 88px);
    overflow-y: auto;
    .content {
      background-color: #ffffff;
      font-size: 28rpx;
      padding:28rpx 20rpx;
      margin-bottom: 16rpx;
      .top {
        margin-bottom: 10px;
        color: #333F53;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .left {
          display: flex;
          align-items: center;
          .line {
            width: 8rpx;
            height: 44rpx;
            background: linear-gradient(180deg, #4E87FC 0%, #38B1FE 100%);
            border-radius: 4rpx;
            margin-right: 16rpx;
          }
          .title {
            color: #2E3A4F;
            font-weight: bold;
          }
        }
        .right {
          display: flex;
          .btn-add {
            padding: 8px 12px;
            margin-right: 8px;
            background: #E9F2FF;
            border-radius: 4px;
            border: 1px dashed #4381FC;
            color: #4381FC;
            display: flex;
            align-items: center;
            image {
              width: 36rpx;
              height: 36rpx;
              margin-right: 8px;
            }
          }
          .btn {
            display: flex;
            align-items: center;
            image {
              width: 18px;
              height: 18px;
              margin-right: 6px;
              display: block;
            }
            .val {
  
            }
          }
        }
      }
      .box {
        // padding: 10px 0 0;
        .row {
          // margin-bottom: 8px;
          padding: 10px 0;
          border-bottom: 2rpx solid #E6EAF2;
          color: #333F53;
          font-size: 14px;
          .flex-between {
            justify-content: space-between;
          }
          .noalign-center {
            align-items: flex-start !important;
          }
          >view {
            display: flex;
            align-items: flex-start;
            .left {
              // color: #858CA0;
              color: #2F3B50;
              display: flex;
              .require{
                color: #EA4955;
              }
            }
            .right {
              max-width: 70%;
              min-width: 50%;
              text-align: right;
              .upload-box {
                width: 80px;
                height: 80px;
                background: #ECF1FF;
                border-radius: 4px;
                border: 1px dashed #4381FC;
                box-sizing: border-box;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
          
                image {
                  width: 20px;
                  height: 20px;
                  margin: 16rpx 0 8rpx;
                }
          
                .val {
                  color: #4381FC;
                  font-size: 14px;
                }
              }
              image {
                width: 84px;
                height: 84px;
                display: inline-block;
                margin-left: 6px;
              }
              .select-box {
                width: 100%;
                height: 20px;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                .placeholder{
                  color: #949CB5;
                }
                .arrow{
                  width: 0;
                  height: 0;
                  border-left: 13rpx solid transparent;
                  border-right: 13rpx solid transparent;
                  border-top: 15rpx solid #636B83;  
                  margin-left: 18rpx;
                }
              }
              .input-box {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                input {
                  flex: 1;
                }
                .clear-btn {
                  width: 12px;
                  height: 12px;
                  margin: 0 4px;
                  image {
                    width: 100%;
                    height: 100%;
                    display: block;
                  }
                }
              }
              .address-box {
                width: 100%;
                display: flex;
                align-items: center;
                .val {
                  width: 100%;
                  overflow: hidden;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                }
                .icon {
                  width: 16px;
                  height: 16px;
                  image {
                    width: 100%;
                    height: 100%;
                    margin-left: 0px;
                    display: block;
                  }
                }
              }
              .tips {
                color: #EA4955;
                text-align: right;
              }
            }
            .r100 {
              width: 100%;
              max-width: 100%;
              margin-top: 10px;
              display: block;
              text-align: left;
            }
          }
        }
        .row:last-child {
          margin-bottom: 0;
          border-bottom: 0;
        }
        .row-w {
          margin-bottom: 0;
          background: #fff;
          padding: 10px 12px;
          border-bottom: 1px solid #E6EAF2;
          .left, .right {
            color: #2F3B50 !important;
          }
        }
        .row-w:first-child {
          border-radius: 4px 4px 0px 0px;
        }
        .row:last-child {
          border-radius: 0px 0px 4px 4px;
        }
        .no-flex {
          display: block !important;
        }
        .box-g {
          padding: 12px;
          margin-bottom: 8px;
          background: #ECEFF5;
          border-radius: 4px;
          .row {
            .left {
              color: #858CA0;
            }
          }
        }
        .box-g:last-child {
          margin-bottom: 0;
        }
        .btn-box {
          margin-top: 8px;
          display: flex;
          justify-content: center;
          align-items: center;
          .btn-del {
            padding: 2px 16px;
            background: #FFEEEE;
            border-radius: 4px;
            border: 1px solid #FDD0DD;
            color: #FA5955;
          }
        }
      }
    }
    .content-base {
      .box {
        .row {
          padding: 0;
          margin-bottom: 8px;
          border: 0;
          .left {
            color: #858CA0 !important;
          }
        }
      }
    }
  }
  .bottom {
    width: 100%;
    padding: 16px 12px 30px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 8px 8px 0 0;
    box-shadow: 0px -2px 12px 0px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 0;
    left: 0;
    .btn-box {
      width: 100%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      .btn {
        width: 100%;
        height: 40px;
        line-height: 40px;
        border-radius: 8px;
        background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
        color: #fff;
        font-size: 30rpx;
        font-weight: bold;
        text-align: center;
      }
      .btn-w50 {
        width: calc((100% - 12px) / 2);
      }
      .btn3 {
        background: #E4EDFF;
        color: #4381FC;
      }
      .btn1 {
        background: #fff;
        border: 1px solid #d6d6d6;
        box-sizing: border-box;
        color: #2E3A4F;
      }
    }
  }
}
.van-uploader__preview-delete {
  .van-uploader__preview-delete-icon {
    transform: scale(.7) translate(0,0);
  }
}
.van-uploader__preview-delete:after {
  background-color: #F56B6B !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
}