html, body { font-size: 20px; background: #f8f8f8; } * { margin: 0; padding: 0; text-decoration: none; } .text-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .input-box input{ height: 100%; } .text-two-line { display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; /* autoprefixer: off */ -webkit-box-orient: vertical; /* autoprefixer: on */ -webkit-line-clamp: 2; } .text-three-line { display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; /* autoprefixer: off */ -webkit-box-orient: vertical; /* autoprefixer: on */ -webkit-line-clamp: 3; } .text-four-line { display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; /* autoprefixer: off */ -webkit-box-orient: vertical; /* autoprefixer: on */ -webkit-line-clamp: 4; } [v-cloak] { display: none; } .header-box1 { width: 100%; } .header-box1 .search-box1 { width: 1250px; margin: 20px auto; display: flex; align-items: center; } .header-box1 .search-box1 .icon { width: 86px; height: 52px; margin-right: 34px; } .header-box1 .search-box1 .input-box { width: 620px; /*height: 52px;*/ /*border-radius: 6px;*/ /*background-color: #eee;*/ /*padding-left: 30px;*/ /*display: flex;*/ /*align-items: center;*/ transition: width 0.2s linear 100ms; position: relative; /*z-index: 1;*/ } .autocom { width: 560px!important; } .el-autocomplete-suggestion__wrap { max-height: 400px; } .header-box1 .search-box1 .input-box.fixed-input { width: 702px; } .el-input { height: 52px; width: 100%; } .el-input__inner { height: 52px; } .auto-li { display: flex; align-items: center; justify-content: space-between; color: #111; } /*.header-box .search-box .input-box .input {*/ /* height: 52px;*/ /* padding: 0;*/ /* margin: 0;*/ /* border: none;*/ /* outline: none;*/ /* background-color: #eee;*/ /* flex: 1;*/ /* font-size: 19px;*/ /*}*/ .header-box1 .search-box1 .input-box .s-btn { width: 60px; height: 52px; display: flex; align-items: center; justify-content: center; cursor: pointer; } .header-box1 .search-box1 .input-box .s-btn.fixed-input { background-color: #b20b30; } .header-box1 .search-box1 .btn { width: 109px; height: 52px; line-height: 52px; text-align: center; background: #b20b30; border-radius: 6px; font-size: 21px; color: #fff; margin-left: 34px; transition: transform 0.3s linear, -webkit-transform 0.3s linear, -moz-transform 0.3s linear; cursor: pointer; } .header-box1 .search-box1 .btn.fixed-input { transform: scale(0); } .filter { width: 1250px; margin: 0 auto; display: flex; align-items: center; padding-bottom: 20px; } .filter .filter-li { font-size: 23px; line-height: 23px; color: #111; font-weight: 500; margin-right: 50px; cursor: pointer; } .filter .filter-li:hover { color: #b20b30; } .filter .filter-li.active { color: #b20b30; } .filter .filter-other { display: flex; align-items: center; cursor: pointer; position: relative; } .filter .filter-other:hover > .fixed-filter { display: block; } .filter .filter-other .name { font-size: 23px; line-height: 23px; color: #111; margin-right: 10px; } .filter .filter-other .el-icon-arrow-down { font-size: 19px; } .fixed-filter { position: absolute; right: -140px; top: 26px; display: none; width: 348px; background: #ffffff; box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.3); box-sizing: border-box; padding: 20px 50px 0 50px; } .fixed-filter .fixed-li { display: inline-block; font-size: 23px; line-height: 23px; color: #111; margin-bottom: 20px; } .fixed-filter .fixed-li:nth-of-type(2n 2) { margin-left: 60px; } .fixed-filter .fixed-li:hover { color: #b20b30; } .el-icon-search { font-size: 21px; } .el-icon-search.fixed-input { color: #fff; } .container { width: 1250px; margin: 0 auto; display: flex; } .container .left-con { display: inline-block; width: 884px; } .container .right-con { display: inline-block; width: 335px; margin-left: 30px; } .list { width: 100%; } .list .des-box { width: 884px; background: #ffffff; border-radius: 6px; box-sizing: border-box; padding: 20px; margin-bottom: 17px; overflow: hidden; background: linear-gradient(to right,#e2cac2,#f0e5e1); } .list .des-box .avatar { width: 262px; height: 158px; border-radius: 6px; margin-right: 16px; margin-bottom: 5px; } .list .des-box .text { font-size: 18px; line-height: 28px; color: #666; text-indent: 2em; } .list .li { width: 884px; max-height: 248px; background: #ffffff; border-radius: 6px; box-sizing: border-box; padding: 20px; display: flex; flex-direction: column; margin-bottom: 16px; cursor: pointer; } .list .li .question { display: flex; align-items: center; } .list .li .question .left { flex: 1; max-height: 114px; } .list .li .question .left .title-box { display: flex; align-items: center; } .list .li .question .left .title-box .icon { width: 39px; height: 39px; background: #feb000; border-radius: 100%; line-height: 39px; text-align: center; margin-right: 20px; font-size: 19px; color: #fff; } .list .li .question .left .title-box .title { font-size: 21px; color: #111; width: 538px; font-weight: bold; } .list .li .question .left .desc { font-size: 13px; line-height: 13px; color: #999; margin-top: 8px; } .list .li .question .left .info { width: 598px; font-size: 17px; line-height: 23px; color: #666; margin-top: 8px; } .list .li .question .img { width: 191px; height: 114px; border-radius: 6px; } .list .li .answers { margin-top: 17px; box-sizing: border-box; padding-top: 17px; display: flex; align-items: center; border-top: 1px solid #eee; } .list .li .answers .a-icon { width: 39px; height: 39px; background: #49b51f; border-radius: 100%; text-align: center; line-height: 39px; font-size: 19px; color: #fff; margin-right: 20px; } .list .li .answers .con { width: 654px; font-size: 17px; line-height: 23px; color: #333; } .list .li .answers .btn { width: 97px; height: 35px; background: #fff1f2; border-radius: 17px; margin-left: 20px; display: flex; align-items: center; justify-content: center; } .list .li .answers .btn .point { width: 16px; height: 15px; } .list .li .answers .btn .num { font-size: 17px; line-height: 17px; color: #b20b30; margin-left: 4px; } .pagegation { width: 100%; display: flex; align-items: center; justify-content: center; margin: 20px 0; } .pagegation .pages { display: flex; align-items: center; } .pagegation .pages .head, .pagegation .pages .prev, .pagegation .pages .next, .pagegation .pages .end { font-size: 16px; color: #666666; margin-right: 16px; cursor: pointer; } .pagegation .pages .num { width: 44px; height: 44px; border: 1px solid #cccccc; border-radius: 3px; background: #ffffff; text-align: center; line-height: 44px; margin-right: 8px; font-size: 16px; color: #666; cursor: pointer; } .pagegation .pages .num.active { border-color: #b20b30; color: #b20b30; } .pagegation .pages .num:last-child { margin-right: 16px; } .refer { width: 335px; box-sizing: border-box; padding: 20px; background: #ffffff; border-radius: 6px; margin-bottom: 20px; } .refer .refer-title { display: flex; align-items: center; width: 100%; justify-content: space-between; } .refer .refer-title .name { font-size: 20px; line-height: 20px; padding-left: 10px; border-left: 2px solid #b20b30; font-weight: bold; color: #333; } .refer .refer-title .more { font-size: 15px; line-height: 15px; font-weight: bold; color: #333; } .refer .re-li { margin-top: 20px; width: 100%; display: flex; flex-direction: column; border-bottom: 1px solid #eee; padding-bottom: 10px; } .refer .re-li:first-child { margin-top: 16px; } .refer .re-li:last-child { border-bottom: 0; } .refer .re-li .title { font-size: 17px; line-height: 23px; color: #333; width: 282px; } .refer .re-li .avatar-box { margin-top: 10px; width: 100%; display: flex; align-items: center; justify-content: space-between; } .refer .re-li .avatar-box .left { display: flex; align-items: center; } .refer .re-li .avatar-box .left .avatar { width: 30px; height: 30px; border-radius: 100%; margin-right: 10px; } .refer .re-li .avatar-box .left .name { font-size: 15px; line-height: 15px; color: #333; font-weight: 600; } .refer .re-li .avatar-box .num { font-size: 13px; line-height: 13px; color: #111; } .refer .re-li .con { font-size: 15px; line-height: 20px; color: #666; margin-top: 6px; } .refer .re-li .con-box { width: 100%; display: flex; align-items: center; justify-content: space-between; } .refer .re-li .con-box .con-c { width: 170px; font-size: 15px; line-height: 20px; color: #333; } .refer .re-li .con-box .con-icon { width: 98px; height: 57px; border-radius: 6px; } .box { position: absolute; display: none; left: 0; top: 54px; width: 672px; box-sizing: border-box; z-index: 100; background: #ffffff; box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.23); border-radius: 0 0 6px 6px; } .box .box-list { width: 100%; box-sizing: border-box; padding: 20px; } .box .box-list .li { display: flex; align-items: center; width: 100%; margin-bottom: 15px; cursor: pointer; } .box .box-list .li:last-child { margin-bottom: 0; } .box .box-list .li .title { width: 560px; font-size: 17px; line-height: 17px; color: #333; } .box .box-list .li .title:hover { color: #b20b30; } .box .box-list .li .num { font-size: 13px; line-height: 17px; color: #666; } .box .question-box { width: 100%; height: 52px; background: #f4f4f4; border-radius: 6px; text-align: center; line-height: 52px; font-size: 17px; color: #b20b30; cursor: pointer; } .ul { display: flex; align-items: center } footer { clear: both; width: 100%; height: 90px; overflow: hidden; border-top: 1px solid #f3f3f3; background: white; text-align: center; font-size: 13px; color: #333333; } footer .list { margin-top: 15px; } footer .list a { margin-right: 10px; color: #333; } .nodata { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 148px; } .nodata-icon { width: 61px; height: 65px; margin-bottom: 22px; } .nodata-name { font-size: 16px; line-height: 16px; color: #cccccc; }