Blame view

src/views/ywbl/ywsq/ywsq.scss 4.93 KB
任超 committed
1 2
.ywsq {
  display: flex;
任超 committed
3
  height: 100%;
任超 committed
4

任超 committed
5 6 7 8
  /deep/.el-collapse-item__header {
    padding-left: 20px;
    font-weight: 700;
    font-size: 16px;
任超 committed
9 10 11 12 13 14 15
    border: 1px solid $borderColor;
    border-top: none;
  }

  .active {
    background-color: $light-blue !important;
    color: $menuText !important;
任超 committed
16 17
  }

任超 committed
18 19 20 21 22
  .cactive {
    border: 1px solid $light-blue !important;
    color: $light-blue !important;
  }

任超 committed
23
  .ywsq-left {
任超 committed
24
    width: 270px;
任超 committed
25 26 27 28
    background-color: #fff;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
任超 committed
29
    display: flex;
30

任超 committed
31 32 33
    flex-direction: column;

    .item-list {
34
      max-height: calc(100vh - 360px);
任超 committed
35 36
      overflow-y: auto;
    }
任超 committed
37 38 39 40 41 42

    p {
      width: 100%;
      line-height: 36px;
      border: 1px solid $borderColor;
      font-weight: 700;
43
      font-size: 16px;
任超 committed
44 45 46 47 48 49 50 51 52 53 54 55
      padding: 5px 0 5px 10px;
      background-color: #fff;
      margin-bottom: 5px;
      box-sizing: border-box;
      cursor: pointer;
      border-radius: 3px;

      &:hover {
        border: 1px solid $light-blue;
        color: $light-blue;
      }
    }
任超 committed
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73

    .box-card {
      margin-bottom: 20px;
      cursor: pointer;
    }

    .item-title {
      font-size: 18px;
      font-weight: 700;
      padding: 20px;

      &:hover {
        background-color: $light-blue;
        color: $menuText;
      }
    }

    .item-list {
74
      padding: 0 10px;
任超 committed
75 76

      li {
任超 committed
77
        cursor: pointer;
任超 committed
78 79 80 81 82 83
        line-height: 36px;
        background-color: rgb(235, 235, 235);
        margin-top: 10px;
        padding-left: 10px;
        border-radius: 2px;
        box-sizing: border-box;
84
        font-size: 14px;
任超 committed
85
        border: 1px solid rgb(235, 235, 235);
任超 committed
86
        transition: all 0.3s;
任超 committed
87 88

        &:hover {
任超 committed
89
          border: 1px solid $light-blue !important;
任超 committed
90
          color: $light-blue;
任超 committed
91 92 93 94 95 96
        }
      }
    }
  }

  .ywsq-right {
任超 committed
97
    width: calc(100% - 255px);
任超 committed
98
    margin-left: 5px;
任超 committed
99 100 101
    height: 100%;
    display: flex;
    flex-direction: column;
任超 committed
102 103

    .right-type {
任超 committed
104
      margin-bottom: 5px;
任超 committed
105
    }
任超 committed
106 107 108 109 110 111 112

    .right-title {
      font-size: 18px;
      font-weight: 700;
      padding: 20px;
      border-bottom: 1px solid $borderColor;

任超 committed
113 114 115 116 117 118
    }

    .type-content {
      @include flex;
      justify-content: space-between;
      padding: 0 20px;
任超 committed
119
      margin: 20px 0;
任超 committed
120
      min-height: 50px;
任超 committed
121 122 123

      li {
        width: 23.5%;
任超 committed
124
        height: 50px;
任超 committed
125 126 127 128 129 130
        line-height: 50px;
        border: 1px solid $borderColor;
        border-radius: 5px;
        box-sizing: border-box;
        padding-left: 10px;
        transition: all 0.3s;
任超 committed
131
        cursor: pointer;
任超 committed
132 133 134 135 136 137 138
        @include flex;
        justify-content: space-between;
        margin-left: 20px;
        cursor: pointer;

        p {
          @include flex-center;
139
          font-size: 16px;
任超 committed
140
        }
任超 committed
141 142

        &:hover {
任超 committed
143
          border: 1px solid $light-blue !important;
任超 committed
144 145
          color: $light-blue;
        }
任超 committed
146 147 148 149 150

        p:nth-child(1) {
          flex: 1;
          width: 100%;
          padding: 3px;
151
          font-size: 16px;
任超 committed
152 153 154 155 156 157 158 159 160 161 162 163
        }

        p:nth-child(2) {
          width: 50px;
          height: 50px;
          border-left: 1px solid $borderColor;
          cursor: pointer;
        }

        i {
          font-size: 24px;
        }
任超 committed
164 165 166 167
      }
    }

    .right-situation {
任超 committed
168 169 170
      flex: 1;
      height: 100%;

任超 committed
171
      ul {
任超 committed
172 173
        padding: 20px;
        @include flex;
任超 committed
174
        flex-wrap: wrap;
任超 committed
175
        margin-left: -10px;
任超 committed
176
        justify-content: space-between;
任超 committed
177

任超 committed
178 179
        &:after {
          content: "";
任超 committed
180
          width: 48%; //与块级的宽度相同
任超 committed
181 182 183 184
          display: block;
          height: 0;
        }

任超 committed
185
        li {
任超 committed
186 187
          width: 48.5%;
          height: 40px;
任超 committed
188 189 190
          border: 1px solid $borderColor;
          @include flex;
          justify-content: space-between;
任超 committed
191
          margin-left: 10px;
任超 committed
192
          cursor: pointer;
193
          font-size: 14px;
任超 committed
194
          margin-bottom: 15px;
任超 committed
195

196
          p:nth-child(2) {
任超 committed
197 198 199
            @include flex-center;
          }

任超 committed
200
          &:hover {
任超 committed
201
            border: 1px solid $light-blue !important;
任超 committed
202 203
            color: $light-blue;
          }
任超 committed
204 205 206 207

          p:nth-child(1) {
            flex: 1;
            width: 100%;
任超 committed
208
            padding: 1px;
209 210
            padding-left: 30px;
            display: flex;
211
            justify-content: center;
任超 committed
212 213 214 215 216 217
            flex-direction: column;
          }

          dt {
            flex: 1;
            width: 100%;
xiaomiao committed
218 219 220
            display: flex;
            align-items: center;
            margin-left: 30px;
221
            font-size: 14px;
任超 committed
222 223 224 225
          }

          p:nth-child(2) {
            width: 50px;
任超 committed
226
            height: 40px;
任超 committed
227 228 229 230 231 232 233 234
            border-left: 1px solid $borderColor;
            cursor: pointer;
          }

          i {
            font-size: 24px;
          }
        }
任超 committed
235 236
      }
    }
任超 committed
237

任超 committed
238 239 240 241 242 243
    .registration {
      li:hover {
        border: 1px solid $borderColor !important;
        color: $light-blue;
      }

任超 committed
244

任超 committed
245 246
    }

任超 committed
247 248 249 250 251
    .submit-button {
      padding: 15px 0;
      text-align: center;
      background-color: #fff;
    }
任超 committed
252
  }
任超 committed
253 254

  .right-btn {
1  
liangyifan committed
255 256 257
    text-align: center;
    margin-top: 20px;
  }
258
}