createVisit.scss 3 KB
/* packageCustomer/pages/createVisit/createVisit.wxss */
page {
  background: #F7F8FA;
}
.visit-create {
  min-height: 100vh;
  box-sizing: border-box;
  padding-bottom: 200rpx; /* 预留底部按钮空间 */
}
.card {
  background: #fff;
  margin: 24rpx 24rpx;
  border-radius: 16rpx;
  box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.02);
  .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96rpx;
    padding: 0 40rpx;
    border-bottom: 1rpx solid #EFF0F2;
    font-size: 28rpx;
    .label {
      color: #1A2233;
      width: 140rpx;
      flex-shrink: 0;
      .star { color: #F24724; }
    }
    .value {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: calc(100% - 158rpx);
      .placeholder { 
        color: #BEC1C7;
        font-size: 28rpx;
      }
      .input {
        text-align: right;
        font-size: 28rpx;
        padding: 16rpx 0;
        width: 100%;
      }
      image {
        flex-shrink: 0;
        width: 32rpx;
        height: 32rpx;
      }
    }
    .value-text { 
      color: #1A2233; 
      font-size: 30rpx; 
      word-break: break-all;
    }
    .location-text {
      display: flex;
      align-items: center;
    }
  }
  .location-row {
    padding: 32rpx 40rpx;
    align-items: flex-start;
    height: auto;
  }
  .textarea-wrap {
    position: relative;
    border-bottom: 1rpx solid #EFF0F2;
    padding: 0 40rpx;
    .textarea {
      width: 100%;
      min-height: 200rpx;
      border-radius: 12rpx;
      box-sizing: border-box;
      font-size: 28rpx;
    }
    .counter {
      position: absolute;
      right: 40rpx;
      bottom: 32rpx;
      color: #AAB0B7;
      font-size: 28rpx;
    }
  }
  .no-border { 
    border-bottom: none; 
  }
  .input-ph { 
    color: #BEC1C7; 
  }
}

.uploader-wrap { 
  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;
    }
  }
}
.addr-icon {
  width: 32rpx; 
  height: 32rpx; 
  margin-left: 8rpx;
}
.location-value { 
  justify-content: flex-end;

}
.btn {
  position: fixed;
  bottom: 16rpx;
  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;
  }
}