.box { position: relative; background-image: url("@/assets/img/retrieval_bj.png"); background-repeat: no-repeat; background-size: cover; background-position: center; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .directory-container { min-width: 300px; width: calc(100% - 64px); max-width: 500px; height: 60%; padding: 16px; margin: 16px; background-color: rgb(226, 210, 194, 0.7); display: flex; flex-direction: column; border: 3px solid #7c4631; border-radius: 24px; } .directory-container-top { width: calc(100% - 16px); margin: 16px 0 8px 0; padding: 0 8px; display: flex; align-items: center; justify-content: space-around; } .directory-container-top p { color: rgb(69, 20, 3); font-size: calc(1vw + 1vh + 2vmin); font-weight: bolder; white-space: nowrap; } .content-box { flex: 1; display: flex; flex-direction: column; /* display: grid; grid-template-columns: repeat(3, 1fr); align-content: flex-start; column-gap: 4vw; */ row-gap: 1.5vh; padding: 0 3vw; overflow: auto; } .content-box-item { padding: 8px 15px; color: #f6e6d7; background-color: #7a3e2a; text-align: center; font-size: calc(0.8vw + 0.8vh + 0.8vmin); font-weight: bolder; border-radius: 3vh; cursor: pointer; } /* 滚动条样式 */ .content-box::-webkit-scrollbar { width: 6px; height: 6px; background-color: rgba(83, 83, 83, 0); } .content-box:hover::-webkit-scrollbar { width: 6px; height: 6px; background-color: rgb(0, 0, 0, 0); } .content-box:hover::-webkit-scrollbar-thumb { background-color: rgb(144, 147, 153, 0.3); border-radius: 8px; } .content-box:hover::-webkit-scrollbar-thumb:hover { background-color: rgb(144, 147, 153, 0.5); border-radius: 8px; } .introduction-title { margin-left: 2vw; } .introduction-paragraph { text-indent: 2em; margin-left: 2vw; margin-right: 2vw; line-height: 2em; } .introduction-image { text-align: center; } .item-row { margin-top: 2vh; } .options-content { position: relative; top: 35vh; height: 40vh; } p.article-title { position: relative; top: 4vh; height: 1vh; font-size: 1.25rem; color: #f6e6d7; font-weight: bolder; } .return-button { position: absolute; top: 0; right: 0; width: 118px; height: 50px; background-image: url('@/assets/img/list_return_button.png'); background-repeat: no-repeat; background-size: cover; background-position: center; z-index: 100; cursor: pointer; } @media screen and (max-width: 1000px) { .content-box-item { font-size: calc(1vw + 1vh + 1.5vmin); } .introductionVisible { width: 100%; } } @media screen and (orientation: landscape) { .el-col-8 { left: 40%; max-width: 10%; } } ::v-deep .dialogHistoryVisible { height: 80%; max-height: 500px; max-width: 900px; display: flex; flex-direction: column; } ::v-deep .dialogHistoryVisible .el-dialog__body { flex: 1; overflow: auto; }