// 筛选样式 .label-title { width: 64px; font-weight: 500; margin-right: 24px; color: var(--color-222); } .label-content { flex: 1; } .label-color { color: var(--color-222); font-size: 14px; margin-right: 24px; display: inline-block; cursor: pointer; &:hover { color: var(--v-primary-base); } } .actives { color: var(--v-primary-base); font-weight: 600; } // 公司列表 .company-box { display: flex; flex-wrap: wrap; } .sub-li { position: relative; width: calc((100% - 24px) / 3); min-width: calc((100% - 24px) / 3); max-width: calc((100% - 24px) / 3); margin: 0 12px 12px 0; height: 160px; border-radius: 12px; padding: 0; overflow: hidden; transition: all .2s linear; background-color: #fff; cursor: pointer; &:nth-child(3n) { margin-right: 0; } &:hover { box-shadow: 0 16px 40px 0 rgba(153, 153, 153, .3); } } .company-info { float: left; margin-left: 16px; width: 282px; } .company-info-top { display: flex; height: 90px; line-height: 90px; padding: 0 20px; align-items: center; overflow: hidden; } .company-info h3 { height: 22px; font-size: 18px; font-weight: 700; color: var(--color-333); line-height: 22px; margin: 0 0 4px 0; padding: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .company-info p { height: 18px; font-size: 13px; font-weight: 400; color: var(--color-999); line-height: 18px; } .company-info-bottom { // width: 100%; height: 70px; // margin: 10px 15px; } .name { position: relative; line-height: 22px; color: #404040; margin-right: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all linear .2s; } .salary { font-size: 16px; float: right; color: var(--v-error-base); line-height: 22px; max-width: none; text-align: right; flex: 1; } .job-hover:hover { color: var(--v-primary-base); background-color: #f2f4f7; }