main.scss 12.4 KB
Newer Older
lxyang committed
1 2
// 上方搜索
/deep/.seachData {
lxyang committed
3 4 5 6
    height: 64px;
    display: flex;
    background: #fff;
    box-shadow: inset 0px -1px 0px 0px #DCDCDC;
lxyang committed
7 8 9 10 11
    .el-form {
        display: flex;
        flex-wrap: wrap;
    }
    .el-button--primary {
lxyang committed
12 13 14 15
        min-width: 112px;
        height: 32px;
        background: rgba(0, 82, 217, 1);
        border-color: rgba(0, 82, 217, 1);
lxyang committed
16
        font-size: 14px;
lxyang committed
17
        margin: 16px 0 16px 16px;
lxyang committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
    }
    .el-button--text {
        margin-left: 36px;
    }
        .el-form-item {
            margin: 0 20px 20px 0;
            &.active {
                margin-bottom: 0;
            }
        }
        .el-form-item__label {
            width: 80px;
            font-size: 14px;
            font-weight: 400;
            padding-right: 10px;
        }
        .el-range-editor {
            &.el-input__inner {
                width: 220px;
            }
        }
        .el-range-editor--small {
            .el-range__close-icon {
                vertical-align: middle;
            }
            .el-range-separator, .el-range__icon {
                line-height: 18px;
            }
        }
        .el-select {
            width: 220px;
        }
        .seachData-left {
lxyang committed
51 52 53 54 55 56
            width: 50%;
            color: rgba(0, 0, 0, 0.9000);
            line-height: 64px;
            padding-left: 32px;
            font-size: 20px;
            font-weight: 500;
lxyang committed
57 58
        }
        .seachData-right {
lxyang committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
          width: 50%;
          padding-right: 40px;
          display: flex;
          justify-content: flex-end;
          .el-input {
            width: 320px;
            height: 32px;
            margin: 16px 0;
          }
          .el-input__inner {
            height: 32px;
            width: 320px;
            font-size: 14px;
            padding: 8px 10px;
          }
lxyang committed
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
        }
        .seachData-next-line {
            width: 100%;
            margin-top: 20px;
            border-top:1px dashed #E4E4E4;
            padding: 20px 0;
            display: flex;
            &.active-top {
                margin-top: 0;
                border-top: 0;
            }
            .seachData-next-div {
                width: 50%;
                &.left-div {
                    .el-button--primary {
                        float: left;
                        margin-left: 0;
                        color: #fff;
                        color: #FFFFFF;
                        cursor: pointer;
                        background-color: #1890ff;
                        border-color: #1890ff;
                        .el-icon-plus {
                            margin-right: 4px;
                            font-weight: 600;
                        }
                    }
                }
                &.right-div {
                    .el-button--primary {
                        float: right;
                    }
                }
                .el-button--primary {
                    padding: 7px;
                    background: #F6F6F6;
                    color: #333;
                    margin-bottom: 0;
                    border-color: #DFDFDF;
                }
                .el-button [class*="el-icon-"] + span {
                    margin-left: 0;
                }
            }
        }
}
// 表格弹框
/deep/.from-pop-up {
    .el-dialog {
        border-radius: 4px;
    }
    .el-dialog__header {
        height: 50px;
        font-size: 16px;
        padding: 14px 24px;
        border-bottom: 1px solid #DDDDDD;
    }
    .el-dialog__headerbtn {
        font-size: 24px;
        top: 14px;
    }
    .el-dialog__body {
        padding: 24px;
        max-height: 540px;
        overflow-y: auto;
        .el-form-item__label {
            font-size: 14px;
            padding-right: 16px;
            font-weight: 400;
        }
        .el-input--medium, .el-form-item__content {
            width: 400px;
        }
        .el-range-editor--small {
            .el-range-separator, .el-range__icon {
                line-height: 16px;
            }
        }
        .el-form-item {
            margin-bottom: 24px;
            &.content-active {
                .el-form-item__content {
                    width: 626px;
                }
            }
            .el-input__inner {
                font-size: 14px;
                padding: 8px 16px;
                height: 34px;
            }
            .oneDate {
                .el-input__inner {
                    padding: 8px 34px;
                }
            }
        }
        .switch-span {
            margin-left: 6px;
            vertical-align: middle;
            color: #151B39;
            font-size: 14px;
        }
    }
    .el-dialog__footer {
        padding: 12px 24px;
        .el-button {
            height: 34px;
            width: 104px;
            font-size: 12px;
        }
    }
}
// 下面的分页高度
.pagination-container {
    height: 52px;
}
// 列表样式
/deep/.el-table--enable-row-transition {
    .el-table__body {
        td {
            height: 56px;
            font-size: 14px;
            color: #333;
            line-height: 22px;
        }
    }
}
/deep/.seachTable {
    .el-dialog__title {
        font-weight: 600;
    }
    &.el-table {
        th {
            height: 56px;
            font-size: 14px;
            color: #333;
            background: #f8f8f9;
            font-weight: 400;
        }
        .el-table__header-wrapper {
            th {
                height: 56px;
                padding: 0;
                font-size: 14px;
                color: #333;
            }
        }
        .cell.el-tooltip {
            .ellipsis-hidden {
                width: 100%;
                display: flow-root;
                text-overflow: ellipsis;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }
        }
    }
}
/deep/.ql-editor {
    min-height: 240px;
    height: 240px;
}

.app-container {
lxyang committed
239 240
  padding: 0;
  background-color: #fafafa;
lxyang committed
241 242 243 244 245 246 247
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  .content {
    position: absolute;
lxyang committed
248 249 250 251
    left: 0;
    bottom: 0;
    right: 0;
    top: 96px;
lxyang committed
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
    .scroll {
        overflow-y: auto;
        &::-webkit-scrollbar-track-piece {
            background: #d3dce6;
          }
      
          &::-webkit-scrollbar {
            width: 6px;
          }
      
          &::-webkit-scrollbar-thumb {
            background: #99a9bf;
            border-radius: 20px;
          }
    }
    .not-data {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px;
        color: #222;
    }
    .loading-left {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
    }
    .loading {
        z-index: 10;
        background: hsla(0,0%,100%,.9);
        color: rgb(64, 158, 255);
        text-align: center;
        .loading-center {
            margin-bottom: 8px;
        }
        .loading-div {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }
    .content-left {
        position: absolute;
        left: 0;
        right: 432px;
lxyang committed
301
        top: 0;
lxyang committed
302
        bottom: 0;
lxyang committed
303
        right: 0;
lxyang committed
304 305 306
        .content-left-center {
            width: 100%;
            height: 100%;
lxyang committed
307
            padding: 0 16px 0 16px;
lxyang committed
308
            position: relative;
lxyang committed
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
            /deep/.pagination-container {
                background: #fafafa;
            }
            /deep/.el-pagination {
                text-align: center;
                width: 100%;
            }
            /deep/.el-pagination.is-background {
                .el-pager li {
                    background-color: #fafafa;
                    border-radius: 3px;
                    color: rgba(0, 0, 0, 0.6000);
                    border: 1px solid rgba(220, 220, 220, 1);
                    border-radius: 3px;
                    &:not(.disabled).active {
                        color: #fff;
                        background: rgba(0, 82, 217, 1);
                    }
                }
                .btn-prev, .btn-next {
                    border: 0;
                    background: #fafafa;
                    color: rgba(0, 0, 0, 0.6000);
                }
            }
lxyang committed
334 335 336
        }
        .left-content {
            position: relative;
lxyang committed
337 338 339 340 341 342
            padding-left: 80px;
            width: 752px;
            margin-bottom: 40px;
            &:first-child {
                margin-top: 40px;
            }
lxyang committed
343
            .left-content-title {
lxyang committed
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369
                width: 100%;
                margin-bottom: 12px;
                height: 20px;
                .logo {
                    width: 20px;
                    height: 20px;
                    border-radius: 50%;
                    background: #fff;
                    border: 1px solid #ccc;
                    margin-right: 8px;
                    float: left;
                    .logo-img {
                        width: 18px;
                        height: 18px;
                        border-radius: 50%;
                    }
                }
                .media {
                    margin-right: 32px;
                }
                .text {
                    float: left;
                    font-size: 14px;
                    line-height: 20px;
                    color: rgba(0,0,0,0.4); 
                }
lxyang committed
370 371
            }
            .content-text-header {
lxyang committed
372 373
                height: 28px;
                line-height: 28px;
lxyang committed
374 375
                font-size: 20px;
                font-weight: 500;
lxyang committed
376
                color: rgba(0, 0, 0, 0.9000);
lxyang committed
377
                text-align: left;
lxyang committed
378
                margin-bottom: 8px;
lxyang committed
379 380 381 382
                .link {
                  cursor: pointer;
                  color: #222;
                  &:hover {
lxyang committed
383
                    color: #0052d9;
lxyang committed
384 385 386 387
                  } 
                }
            }
            .content-text {
lxyang committed
388 389
                margin-bottom: 4px;
                margin-top: 0;
lxyang committed
390 391
                text-align: left;
                font-size: 14px;
lxyang committed
392 393
                line-height: 20px;
                color: rgba(0,0,0,0.6);
lxyang committed
394
                word-break: break-all;
lxyang committed
395 396 397
                &:last-child {
                    margin-bottom: 0;
                }
lxyang committed
398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459
            }
        }
    }
    .content-right {
        position: absolute;
        right: 0;
        top: 32px;
        bottom: 0;
        width: 400px;
        .change {
            height: 40px;
            line-height: 40px;
            padding: 0 16px;
            font-size: 20px;
            text-align: left;
            color: #222;
        }
        .content-right-content {
            height: calc(100% - 40px);
            padding: 16px 16px 0 16px;
            position: absolute;
            top: 40px;
            left: 0;
            right: 0;
            bottom: 0;
        }
        .right-content {
            padding: 16px 24px;
            border: 1px solid #ccc;
            margin-bottom: 20px;
            .content-text-header {
                height: 32px;
                font-size: 20px;
                font-weight: 500;
                color: #222;
                text-align: left;
            }
            .content-text {
                margin-top: 8px;
                text-align: left;
                font-size: 14px;
                color: #222;
                word-break: break-all;
            }
        }
    }
    .add-more {
        color: #222;
        border: 1px solid #ccc;
        text-align: center;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
        margin-bottom: 20px;
        cursor: pointer;
        &:hover {
            background: #f5f5f5;
        }
    }
  }
}
.blue {
lxyang committed
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503
    color: #0052d9;
    cursor: pointer;
    &:hover {
        color: #025cf1;
    }
}
.app-header {
  height: 96px;
  background: #fff;
  padding: 24px 36px;
  display: flex;
  .search-logo {
    height: 32px;
    width: 32px;
    background: #fafafa;
    margin: 8px 12px 8px 0;
    float: left;
  }
  /deep/.el-input-group {
    width: 800px;
  }
  /deep/.el-input-group--append {
    float: left;
    .el-input__inner {
      height: 48px;
      width: 680px;
      padding-left: 40px;
      border-color: rgba(220, 220, 220, 1);
      border-radius: 4px 0 0 4px;
    }
    .el-input-group__append {
      width: 120px;
      text-align: center;
      background: rgba(0, 82, 217, 1);
      color: rgba(255,255,255,0.9);
      border-radius: 0 4px 4px 0;
      &:hover {
        background: rgba(0, 82, 217, .8);
      }
    }
    .el-input__prefix {
        font-size: 16px;
    }
  }
lxyang committed
504
}