Blame view

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

simon committed
3 4


joe committed
5
input {
joe committed
6
  padding: 0 2rem;
joe committed
7 8
}

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

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

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

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

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

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

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

    .ipt-wrap {
      position: relative;

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

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

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

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

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

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

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

    .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;
115
        background-color: $cOrange;
joe committed
116 117
        box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
        background-blend-mode: soft-light, ;
118
        // background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, $cOrange, $cOrange);
joe committed
119 120 121 122 123 124 125
        background-image: linear-gradient(to bottom, #f05f28, #f05021);
      }
    }
  }

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

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

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

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

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

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

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


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

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

    &-icon {
1  
joe committed
177
      width: 1.166667rem;
joe committed
178
      position: absolute;
simon committed
179
      top: .6rem;
joe committed
180 181 182
    }
  }
}
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
  box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
  background-blend-mode: soft-light, ;
joe committed
191 192
  background-image: linear-gradient(to bottom, #ec6429, #ec6429), linear-gradient(to top, #000000, #ffffff);
  // background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, #ec6429, #ec6429);
1  
joe committed
193
  text-align: center;
1  
joe committed
194
  font-size: $fontSize;
simon committed
195
  letter-spacing: .129167rem;
1  
joe committed
196 197 198
  color: #ffffff;
  border-radius: 3.5rem;
  cursor: pointer;
simon committed
199 200
  border: none;
  color: #ffffff;
201
  background-color: $cOrange;
simon committed
202 203
  box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2);
  background-blend-mode: soft-light, ;
joe committed
204 205
  background-image: linear-gradient(to bottom, #ec6429, #ec6429), linear-gradient(to top, #000000, #ffffff);
  // background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, #ec6429, #ec6429);
simon committed
206
}
joe committed
207

simon committed
208 209
@media (max-width: 768px) {
  .form {
simon committed
210 211 212 213 214 215 216 217
    &-item2 {
      display: block;

      .ipt-wrap {
        margin: 0;
      }
    }

simon committed
218 219 220 221 222
    &-item3 {
      display: block;

      .ipt-wrap {
        margin: 0;
simon committed
223
        width: 100%;
simon committed
224 225 226 227 228 229 230
      }
    }
  }

  .notice {
    margin: 0;
  }
231
}