@import "./element-variables.scss"; ::v-deep .search-container { .el-form-item__content { width: 550px; } .el-input-group__append { padding-left: 15px !important; padding-right: 15px !important; background: $--color-primary !important; border-color: $--color-primary !important; .search-btn { color: #fff !important; } } } ::v-deep .el-dialog__header { background: #f7f5f5; .dialog-title { font-size: 17px; font-family: "Alibaba-PuHuiTi-Bold"; color: #4c4949; display: flex; align-items: center; .title-line { display: inline-block; width: 5px; height: 18px; background: $--color-primary; margin-right: 6px; } } } //详情 .info-box { // display: flex; // flex-direction: column; // align-items: center; // justify-content: center; .info-item { display: flex; // align-items: center; margin-bottom: 20px; .item-lable { width: 80px; font-size: 16px; font-family: "Alibaba-PuHuiTi-Regular"; font-weight: 400; color: #4c4949; } .item-value { font-size: 16px; font-family: "Alibaba-PuHuiTi-Regular"; font-weight: 400; color: #807a7a; } } } //搜索框 .search { display: flex; align-items: center; justify-content: space-between; } //卡片布局 .book-main { margin: 0; padding: 0; display: flex; flex-wrap: wrap; width: 100%; li { width: 19%; height: 48.5%; margin-right: calc(1% + (2% / 8)); margin-bottom: 1%; list-style: none; background: #fff; box-shadow: 0px 3px 15px 0px rgba(184, 184, 184, 0.22); border-radius: 10px; position: relative; overflow: hidden; .integral-num { position: absolute; top: 6%; right: 10%; font-size: 18px; font-weight: bold; color: #2aa984; z-index: 10; font-family: "din-bold-2.ttf"; } .operate { height: 13%; width: 100%; display: flex; justify-content: space-between; align-content: center; padding: 0 10px; .integral { flex: 1; padding: 4px 0; font-weight: 400; font-family: "Alibaba-PuHuiTi-Regular"; color: #4d4949; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .exchange-btn { padding: 4px 10px; font-size: 14px; cursor: pointer; font-family: "Alibaba-PuHuiTi-Regular"; font-weight: 400; color: $--color-primary; background: rgba(249, 86, 95, 0.1); border-radius: 4px; } } } li:nth-of-type(5n) { margin-right: 0; } // li:nth-of-type(n + 2) { // margin-bottom: 0; // } } ::v-deep .pagination-container { height: 0 !important; padding: 0 !important; background: transparent !important; .el-pagination { top: 20px; } }