@import '@/assets/bundle.scss';

.create-order {
  .top-wrapper {
    height: calc(100vh - 100rpx);
    overflow-y: auto;
    // margin-bottom: 20rpx;
    padding-bottom: 20rpx;
    box-sizing: border-box;
  }
  .pd-wrapper {
    // @extend %pd20;
	  // margin-top: 200rpx;
	  margin-top: 180rpx;
  }
  .isSelfBox{
    padding:10rpx
  }
  // 自提
  .is-self{
    background-image: url('https://image.jxc4.com/image/962302a3c7fac74d92ed23b2b373dbf1.png');
    background-repeat: no-repeat;
    background-size: cover;
    
    height: 100rpx;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    .isSelf-switch{
      // // border: 1rpx solid green !important;
      // position: absolute;
      // top: 20rpx;
      // // top: 42rpx;
      // right:50rpx;
      z-index:99;
      margin-right: 20px;
      // // border: 1rpx solid red;
      // // height: 100rpx;
    }
  }
  .list {
    margin-top: 20rpx;
    // @extend %pdlr;
  }
  .self-order{
    width: 100vw;
    height:100rpx;
    line-height:100rpx;
    text-align: center;
    background-color: #fff;
    font-weight: bold;
  }
  .btn-comment {
    margin-top: 20rpx;
    .comment {
      color: $text3;
      @extend %oneline;
    }
  }
  .total-pay {
    @extend %bgwhite;
    border-top: 1rpx solid $border1;
    .order-totalPay {
      @extend %flex-left;
      font-size: 28rpx;
    }
    .money {
      font-size: 34rpx;
      font-weight: bold;
      color: $danger;
    }
    .btn-pay {
      @extend %btn-linearGradient;
      border-radius: 0;
      height: 70rpx;
      width: 200rpx;
      font-size: 28rpx;
    }
  }
  .order-num{
    // margin-top: 10rpx;
    margin-right: 10rpx;
  }
  .order-freight{
    color:$strong;
    font-size:22rpx;
  }
  .reduce-freight{
    display: flex;
    justify-content: space-between;
    width: 100vw;
    background:#fff;
    color:rgb(243, 144, 144);
    padding:10rpx;
    position: fixed;
    top:160rpx;
    left: 0;
    z-index: 999;
    border-bottom-left-radius: 10rpx;
    font-size: 30rpx;
    border-bottom:1rpx solid rgba(255,255,255,0.5)
  }
  // .add{
  //   margin-right: 20rpx;
  // }
}