Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7-Res
提交
318854c4
提交
318854c4
编写于
5月 26, 2025
作者:
lijianxiong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:回撤表格样式
上级
1dbc2824
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
10 行增加
和
152 行删除
+10
-152
default.less
src/styles/default.less
+10
-152
未找到文件。
src/styles/default.less
浏览文件 @
318854c4
...
@@ -30,6 +30,10 @@
...
@@ -30,6 +30,10 @@
box-shadow: none;
box-shadow: none;
}
}
.ivu-card-body .grid>.el-table .el-table__header-wrapper thead>tr th {
background: rgb(245,245,245);
border-right: 1px solid rgb(250,250,250);
}
.el-table td, .el-table th.is-leaf {
.el-table td, .el-table th.is-leaf {
border-bottom: 1px solid #ebeef5;
border-bottom: 1px solid #ebeef5;
}
}
...
@@ -40,161 +44,15 @@
...
@@ -40,161 +44,15 @@
display: block !important;
display: block !important;
width: 10px !important;
width: 10px !important;
}
}
.grid {
.grid .el-table__body-wrapper .el-table__row td{
.el-table {
border-left: 1px solid rgb(245,245,245);
color: #333333;
border-top: 1px solid rgb(245,245,245);
}
// 去重边框
.el-table {
border: none;
&::after {
display: none;
}
}
// 表格头部
.el-table__header-wrapper {
tr {
th {
color: #031129;
background-color: #F4F5F7;
border-color: #E9EBEF;
border-right-color: #FFFFFF;
min-height: 44px;
padding: 0;
}
}
}
// 表格内容区
.el-table__body-wrapper {
.el-table__row {
td{
border: none;
border-top: 1px solid #E9EBEF;
box-sizing: border-box;
height: 44px;
max-height: 44px;
padding: 0;
a {
color: #1A6AFF;
}
}
&:first-child {
td {
border: none;
}
}
}
tr:hover {
td {
background-color: #F5F8FF;
}
}
}
// 首列复选框
.el-table-column--selection {
.cell {
padding: 0 !important;
margin: 0;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.el-checkbox {
margin: 0;
}
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #1A6AFF;
border-color: #1A6AFF;
}
}
// 分页
.grid-pagination {
&> ul{
.ivu-page-item-active{
// 表格页码
border-color: #1A6AFF !important;
color: #1A6AFF !important;
background-color: #E6EEFF;
a {
color: #1A6AFF !important;
}
}
}
&.grid-pagination,
.ivu-btn,
.ivu-page-item a,
.ivu-page-next a,
.ivu-page-prev a,
.ivu-select {
color: #333333;
}
.ivu-select-item {
color: #333333;
&.ivu-select-item-focus {
background-color: transparent;
}
&.ivu-select-item-selected {
color: #1A6AFF;
}
&:hover {
background-color: #F5F8FF;
}
}
.ivu-page-next,
.ivu-page-prev,
.ivu-page-item,
.ivu-btn {
border-color: #CCCCCC;
&:hover,
&:hover a {
border-color: #337aff;
color: #337aff;
}
&.ivu-page-disabled {
border-color: #CCCCCC;
a {
color: #CCCCCC;
}
}
}
.ivu-select {
.ivu-select-selection {
border-color: #CCCCCC;
}
&.ivu-select-visible .ivu-select-selection {
border-color: #337aff;
color: #337aff;
}
}
.ivu-page-options-elevator input {
border-color: #CCCCCC;
&:hover,
&:focus {
border-color: #337aff;
color: #337aff;
}
}
}
}
}
.el-table--enable-row-hover .el-table__body
.el-table__body
tr:hover>td {
.el-table--enable-row-hover .el-table__body tr:hover>td {
background-color: #
F5F8FF
!important;
background-color: #
badfffba
!important;
}
}
.grid .el-table__body-wrapper .grid-selected-row{
.grid .el-table__body-wrapper .grid-selected-row{
background-color: #
F5F8FF
!important;
background-color: #
badfffba
!important;
}
}
.el-table th .sort-caret.ascending{
.el-table th .sort-caret.ascending{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录