ThirdStep.sass 4.46 KB
/* packageUsedCar/pages/evaluationForm/components/ThirdStep/ThirdStep.wxss */
.thirdStep {
  .box {
  box-sizing: border-box;
  background: #FFFFFF;
  box-shadow: 0 var(--fontSize6) var(--fontSize16) 0 #cdcdd159;
  border-radius: var(--fontSize16);
  padding: var(--fontSize28) var(--fontSize32);
  margin-bottom: var(--fontSize20);
  color: #222222;
  overflow: hidden;
}

.m-b-40 {
  margin-bottom: var(--fontSize40);
}

.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
  font-size: var(--fontSize28);
   color: #292d33;
  margin-bottom: var(--fontSize16);
}

.upload-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.upload-images-wrapper {
  display: flex;
  gap: 28rpx;
  flex-wrap: wrap;
  
  .uploaded-image-container {
    position: relative;
    border-radius: 12rpx;
    overflow: hidden;
    
    .uploaded-image {
      background: #F5F5F7;
      width: 196rpx;
      height: 196rpx;
    }
    
    .video-container {
      position: relative;
      width: 196rpx;
      height: 196rpx;
      background: #F5F5F7;
      
      image {
        width: 100%;
        height: 100%;
      }
      
      .video-play-icon {
        position: absolute;
        left: 12rpx;
        bottom: 16rpx;
        width: 40rpx;
        height: 40rpx;
        
        .icon-upload-play {
          width: 100%;
          height: 100%;
        }
      }
    }
    
    .delete-icon {
      position: absolute;
      top: 12rpx;
      right: 12rpx;
      width: 40rpx;
      height: 40rpx;
      
      .icon-icon-circle-error {
        width: 100%;
        height: 100%;
      }
    }
  }
  
  .upload-item {
    width: 196rpx;
    height: 196rpx;
    border-radius: 12rpx;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    
    .icon-uploadAdd {
      width: 40rpx;
      height: 40rpx;
    }
    
    .upload-text {
      margin-top: 16rpx;
      color: #999EA8;
      font-size: 24rpx;
    }
  }
}

.upload-item {
  margin-bottom: var(--fontSize32);

  &:last-child {
    margin-bottom: 0;
  }

  &.fullwidth {
    width: 100%;
  }
}

.upload-section {
  .upload-item:last-child {
    margin-bottom: 0;
  }
}

.label {
  font-size: var(--fontSize26);
  color: #5a5e66;
  margin-bottom: var(--fontSize16);
  font-weight: 400;

  .required {
    color: #f00;
    margin-left: var(--fontSize4);
  }
}

.plus {
  ::v-deep .van-uploader__wrapper {
    display: flex;
    flex-wrap: wrap;
    width: var(--fontSize196);
  }

  ::v-deep .van-uploader__upload {
    width: var(--fontSize192);
    height: var(--fontSize192);
    margin-right: var(--fontSize16);
    margin-bottom: var(--fontSize16);
  }

  ::v-deep .van-uploader__preview {
    width: var(--fontSize192);
    height: var(--fontSize192);
    margin-right: var(--fontSize16);
    margin-bottom: var(--fontSize16);
  }

  ::v-deep .van-uploader__upload-text {
    font-size: var(--fontSize24);
    color: #999999;
  }
}
  .up-down-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--fontSize48);
  margin-left: var(--fontSize32);
}

.up-down-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--fontSize48);
  height: var(--fontSize32);
  background: #F4F5F7;
  border-radius: var(--fontSize16);
  text-align: center;
}

.arrow-up {
  width: var(--fontSize10);
  height: var(--fontSize10);
  border: var(--fontSize2) solid #B6B6B8;
  border-width: var(--fontSize2) var(--fontSize2) 0 0;
  transform: rotate(-45deg);
  transition: all .3s;
  margin-top: var(--fontSize4);
}

.arrow-down {
  transform: rotate(135deg);
  transition: all .3s;
  margin-top: 0;
}
   .plus .van-icon-photograph:before {
  content: '';
  width: var(--fontSize32);
  height: var(--fontSize32);
  background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/icon-plus.png');
  background-size: 100% 100%;
}
.driveFront .van-icon-photograph:before {
  content: '';
  width: var(--fontSize152);
  height: var(--fontSize108);
  background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/icon-front.png');
  background-size: 100% 100%;
}

.driveBack .van-icon-photograph:before {
  content: '';
  width: var(--fontSize152);
  height: var(--fontSize108);
  background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/icon-back.png');
  background-size: 100% 100%;
}
}