Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b69a2cf4
authored
2023-01-04 11:43:23 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式完成修改
1 parent
8136d18a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
83 additions
and
77 deletions
src/styles/element-ui.scss
src/styles/public.scss
src/views/home/home.scss
src/views/home/index.vue
src/styles/element-ui.scss
View file @
b69a2cf
...
...
@@ -170,18 +170,43 @@
cursor
:
pointer
;
}
// element table 选中 颜色
// .el-table--enable-row-hover .el-table__body tr:hover>td {
// background-color: #FCFDFD;
// }
// .el-table__body .el-table__row.hover-row td {
// background-color: #FCFDFD;
// }
// .el-table tbody tr:hover>td {
// background-color: #FCFDFD;
// }
// element table 样式修改
//去掉表格内的线
table
th
{
border-bottom
:
5px
solid
#000637
!
important
;
}
table
td
{
border-bottom
:
5px
solid
#000637
!
important
;
}
//去掉最下面的那一条线
.
el-table
:
:
before
{
height
:
5px
!
important
;
background-color
:
#000637
!
important
;
}
.lb-table
{
background-color
:
#000637
!
important
;
}
.el-table__body-wrapper
{
background-color
:
#000637
!
important
;
}
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#103E99
!
important
;
}
.el-table__body
.el-table__row.hover-row
td
{
background-color
:
#103E99
!
important
;
}
.el-table
tbody
tr
:hover
>
td
{
background-color
:
#103E99
!
important
;
}
// 表格样式
.el-table
th
{
height
:
48px
!
important
;
...
...
src/styles/public.scss
View file @
b69a2cf
.tableClass
{
/
deep
/
.el-table
{
border
:
none
!
important
;
.cell
{
color
:
#FFFFFF
!
important
;
}
.el-table__row
{
background-color
:
#00275F
!
important
;
margin-top
:
5px
;
}
thead
{
background
:
#103E99
!
important
;
&
th
{
//inherit:规定应该从父元素继承 background-color 属性的设置。
//transparent:默认。背景颜色为透明。
// background-color: inherit !important;
background-color
:
transparent
;
}
&
tr
{
// background-color: inherit !important;
background-color
:
transparent
;
}
}
}
}
//*****start*通用表单查询条件,列表样式******//
.from-clues
{
min-width
:
1280px
;
...
...
@@ -67,72 +98,9 @@
background
:
#FFFFFF
;
margin-top
:
10px
;
//去掉表格内的线
/
deep
/
table
th
{
border-bottom
:
5px
solid
#000637
!
important
;
}
/
deep
/
table
td
{
border-bottom
:
5px
solid
#000637
!
important
;
}
//去掉最下面的那一条线
/
deep
/.
el-table
:
:
before
{
height
:
5px
!
important
;
background-color
:
#000637
!
important
;
}
/
deep
/
.lb-table
{
background-color
:
#000637
!
important
;
}
/
deep
/
.el-table__body-wrapper
{
background-color
:
#000637
!
important
;
}
/
deep
/
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#103E99
!
important
;
}
/
deep
/
.el-table__body
.el-table__row.hover-row
td
{
background-color
:
#103E99
!
important
;
}
/
deep
/
.el-table
tbody
tr
:hover
>
td
{
background-color
:
#103E99
!
important
;
}
//修改表头的背景颜色横向渐变色
@extend
.tableClass
;
/
deep
/
.el-table
{
border
:
none
!
important
;
.cell
{
color
:
#FFFFFF
!
important
;
}
.el-table__row
{
background-color
:
#00275F
!
important
;
margin-top
:
5px
;
}
thead
{
background
:
#103E99
!
important
;
&
th
{
//inherit:规定应该从父元素继承 background-color 属性的设置。
//transparent:默认。背景颜色为透明。
// background-color: inherit !important;
background-color
:
transparent
;
}
&
tr
{
// background-color: inherit !important;
background-color
:
transparent
;
}
}
}
}
.el-form--inline
.el-form-item
{
...
...
src/views/home/home.scss
View file @
b69a2cf
...
...
@@ -164,6 +164,9 @@
margin-top
:
5px
;
background-color
:
#000637
;
/
deep
/
tbody
tr
:nth-child
(
odd
)
{
background
:
#000637
!
important
;
}
.title
{
text-align
:
center
;
line-height
:
36px
;
...
...
src/views/home/index.vue
View file @
b69a2cf
...
...
@@ -76,7 +76,7 @@
</div>
</div>
<!-- 底部表格 -->
<div
class=
"jrxxlb"
>
<div
class=
"jrxxlb
tableClass
"
>
<div
class=
"title"
>
陕西省平台接入情况
</div>
<!-- 陕西省平台接入情况table -->
<lb-table
ref=
"table"
:pagination=
"false"
:heightNum=
"408"
:column=
"tableData.columns"
:data=
"tableData.data"
>
...
...
@@ -149,6 +149,15 @@ export default {
dk
:
60
,
wjrqx
:
'长安县'
,
jrdf
:
50
},
{
xzqmc
:
'咸阳市'
,
xzqzs
:
100
,
jrl
:
300
,
jscgl
:
20
,
dk
:
60
,
wjrqx
:
'长安县'
,
jrdf
:
50
}]
}
}
...
...
@@ -176,5 +185,6 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"./home.scss"
;
</
style
>
...
...
Please
register
or
sign in
to post a comment