Blame view

src/pages/custom-service/components/reservation.scss 4.03 KB
joe committed
1 2
@import '@/styles/_support';

simon committed
3 4


joe committed
5
input {
simon committed
6
  padding: 0 2.083333rem;
simon committed
7
  color: #333333;
joe committed
8 9
}

simon committed
10
.top-space {}
joe committed
11

1  
joe committed
12
.reservation-container {
simon committed
13
  @extend .bb;
simon committed
14 15
  border-radius: .666667rem;
  border: solid .083333rem #f2f2f2;
1  
joe committed
16
  background-color: #ffffff;
simon committed
17
  padding: 2.666667rem 2.833333rem 2.833333rem 2rem;
1  
joe committed
18
}
joe committed
19 20 21 22 23 24 25 26

.form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  &-item {
    position: relative;
simon committed
27
    padding: 0 $marginSmall;
simon committed
28
    margin-bottom: 2.333333rem;
joe committed
29 30

    .label {
31
      color: $cOrange;
joe committed
32 33 34 35
      display: flex;
      align-items: center;
      margin-bottom: .7rem;

1  
joe committed
36
      .icon {
simon committed
37
        width: 2.166667rem;
1  
joe committed
38 39 40
        display: flex;
      }

joe committed
41 42 43 44 45 46 47 48 49
      img {
        height: 1rem;
      }
    }

    .ipt-wrap {
      position: relative;

      // input和下拉
simon committed
50
      .ipt {}
joe committed
51 52 53 54 55 56 57 58 59 60 61

      // 长文本
      .textarea {
        min-height: 8.75rem;
        border-radius: 1rem;
        @extend .bb;
        padding: .75rem;
      }

      .down-arrow {
        position: absolute;
simon committed
62
        top: 2.2rem;
joe committed
63
        right: 2rem;
simon committed
64 65 66 67 68
        background-image: url('~@/assets/images/reservation/re-down-arrow.png');
        width: 1rem;
        height: .666667rem;
        pointer-events: none;
        cursor: default;
joe committed
69 70 71
      }
    }

joe committed
72 73 74 75 76 77 78
    .validator {
      color: $cOrange;
      margin-top: 0.5rem;
      position: absolute;
      right: 1rem;
      display: flex;
      align-items: center;
79
      // bottom: 0;
joe committed
80 81 82 83 84 85

      img {
        display: inline-block;
        margin-right: 0.4rem;
      }
    }
joe committed
86 87 88 89 90
  }

  // 不换行
  &-item2 {
    display: flex;
simon committed
91
    margin-bottom: 2.25rem;
joe committed
92 93 94

    .label {
      height: 2.5rem;
simon committed
95
      margin-right: 1rem;
joe committed
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
    }

    .cont {

      display: flex;

      .boo-btn {
        width: 5.25rem;
        height: 2.5rem;
        line-height: 2.5rem;
        border: solid 1px #dcdddd;
        background-color: #ffffff;
        border-radius: 2.5rem;
        text-align: center;
        margin: 0 0.6rem;
      }

      .active {
        border: none;
        color: #ffffff;
116
        background-color: $cOrange;
joe committed
117 118
        box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
        background-blend-mode: soft-light, ;
119
        // background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, $cOrange, $cOrange);
joe committed
120 121 122 123 124 125 126
        background-image: linear-gradient(to bottom, #f05f28, #f05021);
      }
    }
  }

  &-item3 {
    display: flex;
1  
joe committed
127
    align-items: center;
joe committed
128 129 130
    flex-wrap: wrap;

    .label {
simon committed
131
      // min-width: 8.833333rem;
1  
joe committed
132 133 134 135
    }

    .ipt-wrap {
      width: 50%;
simon committed
136
      margin-left: 1.75rem;
1  
joe committed
137 138

      input {
simon committed
139
        // font-size: 1.166667rem;
simon committed
140
        letter-spacing: .116667rem;
1  
joe committed
141 142 143
        color: #4c4948;
        font-family: Arial;
      }
joe committed
144 145
    }

simon committed
146
    .ipt-wrap2 {
simon committed
147 148 149
      flex: 1;
    }

joe committed
150 151 152 153 154 155 156
    .cont {
      .calendar {
        img {
          max-width: 96%;
        }
      }
    }
simon committed
157

simon committed
158 159 160 161
    .mt8 {
      margin-top: .666667rem;
      margin-left: 10rem;
    }
1  
joe committed
162
  }
joe committed
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
}


.notice {
  margin-top: 4rem;
  @extend .bb;
  padding: 0 1rem;

  &-item {
    position: relative;
    line-height: 2;
    letter-spacing: 1.2px;
    margin-bottom: 1rem;

    &-icon {
      position: absolute;
      top: .5rem;
    }
  }
}
1  
joe committed
183 184

.submit-btn {
simon committed
185 186 187 188
  width: 13.583333rem;
  height: 4.083333rem;
  margin: 2.5rem auto;
  line-height: 4.083333rem;
1  
joe committed
189 190 191 192
  box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
  background-blend-mode: soft-light, ;
  background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, #ec6429, #ec6429);
  text-align: center;
simon committed
193 194
  font-size: 1.291667rem;
  letter-spacing: .129167rem;
1  
joe committed
195 196 197
  color: #ffffff;
  border-radius: 3.5rem;
  cursor: pointer;
simon committed
198 199
  border: none;
  color: #ffffff;
200
  background-color: $cOrange;
simon committed
201 202 203
  box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
  background-blend-mode: soft-light, ;
  background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, #ec6429, #ec6429);
simon committed
204
}
joe committed
205 206 207

.disabled {
  background-color: gray !important;
simon committed
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
  background-image: none !important;
}

@media (max-width: 768px) {
  .form {
    &-item3 {
      display: block;

      .ipt-wrap {
        margin: 0;
      }
    }
  }

  .notice {
    margin: 0;
  }
225
}