::v-deep.tests > div:not(:last-of-type) {
display: inline-block;
width: 50%;
}
css选择题设置div为块元素,同时不影响正常翻页功能(最后一个元素)
补充:解决页码混乱(不是最后一个元素,class=pagination,和暂无内容empty情况的样式问题)
类选择器
::v-deep.tests > div:not(.pagination .empty) {
display: inline-block;
width: 50%;
}