123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497 |
- .knowledgeFieldCon {
- position: relative;
- background: #f6f7fb;
- min-height: 100%;
- padding-top: 4.5rem;
- display: flex;
- // 知识园地
- .knowledgeField {
- flex: 1;
- margin: 2.1875rem;
- background: #fff;
- border-radius: 0.25rem;
- display: flex;
- flex-direction: column;
- .knowledgeField-header {
- height: 4.5rem;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 3.125rem;
- border-bottom: 0.0625rem solid #ededed;
- .knowledgeInput {
- width: 25rem;
- height: 2.625rem;
- box-sizing: border-box;
- background: #f4f4f4;
- border-radius: 2.625rem;
- border: 1px solid #fff;
- padding: 0 1.25rem;
- margin-right: 0.8125rem;
- &:focus {
- border: 0.0625rem solid #3396fb;
- outline: none;
- }
- }
- .searchButton {
- width: 7.1875rem;
- height: 2.8125rem;
- background: #3396fb;
- border-radius: 0.375rem;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #fff;
- font-size: 1.125rem;
- }
- .knowledgeField-header-text {
- color: #000000;
- font-family: Microsoft YaHei UI;
- font-weight: bold;
- font-size: 20px;
- line-height: normal;
- letter-spacing: 0px;
- }
- .elInput {
- width: 25.8125rem;
- margin-right: 0.8125rem;
- .elSelect {
- width: 5rem;
- }
- }
- }
- .knowledgeField-content {
- padding: 0 3.25rem;
- margin: 1.875rem 0;
- // overflow-y: auto;
- // height: 60vh;
- min-height: 60vh;
- .knowledgeField-content-item {
- display: flex;
- cursor: pointer;
- &:hover {
- .textContent div {
- color: #3396fb;
- }
- }
- .image {
- width: 10.1875rem;
- height: 6.8125rem;
- margin-right: 1.25rem;
- }
- .textContent {
- width: 100.5rem;
- .textContentTitle {
- color: #000000;
- font-family: Microsoft YaHei UI;
- font-weight: regular;
- font-size: 1.25rem;
- line-height: normal;
- letter-spacing: 0px;
- padding-bottom: .625rem;
- }
- .textContentUnderstand {
- display: flex;
- align-items: center;
- .textContentUnderstandText {
- font-size: 0.875rem;
- color: #7B7B7B;
- padding-right: .625rem;
- }
- }
- p {
- color: #7b7b7b;
- font-family: Microsoft YaHei UI;
- font-weight: regular;
- font-size: 1rem;
- line-height: 1.65;
- height: 3.5625rem;
- line-height: normal;
- letter-spacing: 0px;
- display: -webkit-box; /* 必须设置为弹性盒模型 */
- -webkit-box-orient: vertical; /* 设置盒子的排列方式为垂直 */
- overflow: hidden; /* 隐藏超出的文本 */
- -webkit-line-clamp: 2; /* 限制显示2行 */
- text-overflow: ellipsis; /* 超出的部分显示省略号 */
- // margin-bottom: 0.625rem;
- }
- span {
- color: #3396fb;
- font-family: Microsoft YaHei UI;
- font-weight: regular;
- font-size: 1rem;
- line-height: normal;
- letter-spacing: 0px;
- cursor: pointer;
- }
- }
- }
- }
- .knowledgeField-bottom {
- padding: 1.5625rem 0;
- font-size: 1rem !important;
- }
- }
- // 知识详情
- .knowledgeDetails {
- padding: 1.25rem 2.1875rem;
- display: flex;
- justify-content: space-between;
- position: relative;
- .returnIcon {
- position: absolute;
- left: 4.0625rem;
- top: 2.8125rem;
- font-size: 1.5625rem;
- z-index: 2;
- cursor: pointer;
- width: 1.875rem;
- height: 1.875rem;
- img {
- width: 100%;
- height: 100%;
- }
- }
- .returnIcon:hover {
- color: #3396fb;
- }
- .knowledgeDetails-left {
- width: 92.75rem;
- background: #fff;
- display: flex;
- flex-direction: column;
- .knowledgeDetails-left-title {
- color: #000000;
- font-family: Microsoft YaHei UI;
- font-weight: bold;
- font-size: 1.5rem;
- line-height: normal;
- letter-spacing: 0px;
- text-align: center;
- padding-top: 1.5rem;
- }
- .knowledgeDetails-left-con {
- padding: 0 1.875rem 0.9375rem 1.875rem;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .distribution {
- width: 33%;
- }
- .timeContent {
- font-size: 1rem;
- p {
- color: #7b7b7b;
- margin-right: 1rem;
- }
- span {
- color: #000000;
- }
- }
- .readUse {
- .text {
- font-size: 1rem;
- margin-right: 1rem;
- color: #7b7b7b;
- }
- .jumpToImg {
- width: 8.75rem;
- height: 2.5rem;
- font-size: 1rem;
- color: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: .375rem;
- background: linear-gradient(180deg, #3597fb 0%, #39e5ff 100%);
- cursor: pointer;
- }
- }
- li {
- font-family: Microsoft YaHei UI;
- font-weight: regular;
- font-size: 1rem;
- line-height: normal;
- margin-right: 2.0625rem;
- }
- .grey {
- color: #7b7b7b;
- }
- .blue {
- color: #3396fb;
- }
- }
- .hypertextContent {
- background: #f6f6f6;
- padding: 1.875rem;
- // overflow-y: auto;
- margin: 0 1.875rem;
- flex: 1;
- font-size: 1rem;
- img {
- cursor: pointer;
- }
- }
- .knowledgeDetails-left-bottom {
- padding: 1.25rem 0;
- }
- }
- .knowledgeDetails-right {
- width: 22.625rem;
- padding-left: 1.875rem;
- display: flex;
- flex-direction: column;
- .latestArticles {
- width: 100%;
- height: 20.75rem;
- background: #fff;
- margin-bottom: 1.25rem;
- padding: 1.25rem;
- }
- .relatedRecommendations {
- // flex: 1;
- height: 32.5rem;
- background: #fff;
- padding: 1.25rem;
- }
- .knowledgeDetails-right-title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- div {
- font-size: 1rem;
- color: #000000;
- }
- span {
- font-size: 0.875rem;
- color: #3878ff;
- cursor: pointer;
- }
- }
- .line {
- width: 100%;
- height: 1px;
- background: #ededed;
- margin: 0.5625rem 0 0.875rem 0;
- }
- .latestList {
- width: 100%;
- .latestList-item {
- width: 100%;
- display: flex;
- justify-content: space-between;
- margin-bottom: 1rem;
- border: 1px solid #fff;
- cursor: pointer;
- &:hover {
- // border: 1px solid #409eff;
- .latestList-item-text {
- color: #3396fb;
- }
- }
- &:last-child {
- margin-bottom: 0;
- }
- .latestList-item-image {
- width: 6.25rem;
- height: 4.5rem;
- }
- .latestList-item-text {
- width: 11.25rem;
- font-size: 0.875rem;
- color: #000000;
- .data {
- color: #c7c7c7;
- text-align: right;
- }
- .latestList-item-text-title {
- line-height: 1.125rem;
- height: 3.5625rem;
- display: -webkit-box; /* 必须设置为弹性盒模型 */
- -webkit-box-orient: vertical; /* 设置盒子的排列方式为垂直 */
- overflow: hidden; /* 隐藏超出的文本 */
- -webkit-line-clamp: 3; /* 限制显示2行 */
- text-overflow: ellipsis; /* 超出的部分显示省略号 */
- }
- }
- }
- }
- }
- }
- .flex1 {
- flex: 1;
- }
- .flex {
- display: flex;
- }
- .flex-center {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .wh100 {
- width: 100%;
- height: 100%;
- }
- .linkButton, .linkButtonss {
- color: #7b7b7b;
- font-family: Microsoft YaHei UI;
- font-weight: regular;
- font-size: .875rem;
- line-height: normal;
- letter-spacing: 0px;
- cursor: pointer;
- position: relative;
- z-index: 2;
- }
- .linkButtonss {
- // color: #3396fb;
- color: #7b7b7b;
- }
- .dividingLine {
- height: 0.0625rem;
- background: #dcdfe6;
- margin: 1.25rem 0;
- }
- .pagination {
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 0.625rem;
- }
- .pagination button {
- padding: 0.3125rem 0.625rem;
- cursor: pointer;
- background-color: #007bff;
- color: white;
- border: 0.0625rem solid #007bff;
- border-radius: 0.3125rem;
- }
- .pagination button:disabled {
- background-color: #fff;
- border-color: #d6d6d6;
- cursor: not-allowed;
- color: #000000;
- }
- .pagination ul {
- list-style-type: none;
- display: flex;
- gap: 0.3125rem;
- }
- .pagination li {
- padding: 0.3125rem 0.625rem;
- cursor: pointer;
- border: 0.0625rem solid #d6d6d6;
- border-radius: 0.3125rem;
- }
- .pagination li.active {
- background-color: #007bff;
- background: #007bff;
- color: white;
- }
- .pagination li:hover {
- background-color: #007bff;
- color: white;
- }
- .pagination button {
- padding: 0.3125rem 0.625rem;
- margin: 0 0.3125rem;
- }
- .paginationInput {
- width: 3.75rem;
- height: 2rem;
- text-align: center;
- border-radius: 0.1875rem;
- background: #ffffff;
- border: 0.0625rem solid #d6d6d6;
- margin: 0 0.5rem;
- &:focus {
- border: 0.0625rem solid #3396fb;
- outline: none;
- }
- }
- .paginationButton {
- width: 3.75rem;
- height: 2rem;
- border-radius: 0.1875rem;
- background: #f6f6f6;
- border: 0.0625rem solid #d6d6d6;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 1rem;
- color: #363636;
- margin: 0 0.5rem;
- &:hover {
- background: #3396fb;
- color: #fff;
- border-color: #3396fb;
- }
- }
- .modal {
- display: none;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.7);
- justify-content: center;
- align-items: center;
- .layout {
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .modalImage {
- width: 50%;
- display: flex;
- align-items: center;
- img {
- width: 100%;
- }
- }
- .prev, .next {
- width: 1.875rem;
- cursor: pointer;
- background: none;
- border: 0;
- img {
- width: 100%;
- }
- }
- button:disabled {
- background: rgba(0, 0, 0, 0.2);
- cursor: not-allowed;
- }
- }
- }
- body {
- background: #7b7b7b;
- }
|