Blame view

src/views/ywbl/ywsq/ywsq.scss 4.48 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 30 31 32 33 34 35
    display: flex;
    flex-direction: column;

    .item-list {
      max-height: calc(100vh - 380px);
      overflow-y: auto;
    }
任超 committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53

    p {
      width: 100%;
      line-height: 36px;
      border: 1px solid $borderColor;
      font-weight: 700;
      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
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71

    .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 {
任超 committed
72
      padding: 0 20px 0 20px;
任超 committed
73

任超 committed
74

任超 committed
75 76

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

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

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

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

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

任超 committed
112 113 114 115 116 117
    }

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

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

        p {
          @include flex-center;
        }
任超 committed
139 140

        &:hover {
任超 committed
141
          border: 1px solid $light-blue !important;
任超 committed
142 143
          color: $light-blue;
        }
任超 committed
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160

        p:nth-child(1) {
          flex: 1;
          width: 100%;
          padding: 3px;
        }

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

        i {
          font-size: 24px;
        }
任超 committed
161 162 163 164
      }
    }

    .right-situation {
任超 committed
165 166 167
      flex: 1;
      height: 100%;

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

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

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

          p {
            @include flex-center;
          }

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

          p:nth-child(1) {
            flex: 1;
            width: 100%;
            padding: 3px;
          }

          p:nth-child(2) {
            width: 50px;
任超 committed
209
            height: 40px;
任超 committed
210 211 212 213 214 215 216 217
            border-left: 1px solid $borderColor;
            cursor: pointer;
          }

          i {
            font-size: 24px;
          }
        }
任超 committed
218 219
      }
    }
任超 committed
220

任超 committed
221 222 223 224 225 226
    .registration {
      li:hover {
        border: 1px solid $borderColor !important;
        color: $light-blue;
      }

任超 committed
227

任超 committed
228 229
    }

任超 committed
230 231 232 233 234
    .submit-button {
      padding: 15px 0;
      text-align: center;
      background-color: #fff;
    }
任超 committed
235
  }
任超 committed
236 237

  .right-btn {
1  
liangyifan committed
238 239 240
    text-align: center;
    margin-top: 20px;
  }
任超 committed
241
}