- 将 @import 替换为 @use,提高代码的可维护性 - 统一使用 index 作为命名空间,避免变量名冲突 - 移除不必要的注释和空格,精简代码 - 删除未使用的 isSocketOpen 属性,简化数据结构
16 lines
303 B
SCSS
16 lines
303 B
SCSS
@use './index.scss' as index;
|
|
|
|
/* 页面宽度小于576px
|
|
------------------------------- */
|
|
@media screen and (max-width: index.$xs) {
|
|
.el-pager,
|
|
.el-pagination__jump {
|
|
display: none !important;
|
|
}
|
|
// 默认居中对齐
|
|
.el-pagination,
|
|
.table-footer {
|
|
justify-content: center !important;
|
|
}
|
|
}
|