style:样式完成修改
Showing
4 changed files
with
83 additions
and
77 deletions
... | @@ -170,18 +170,43 @@ | ... | @@ -170,18 +170,43 @@ |
170 | cursor: pointer; | 170 | cursor: pointer; |
171 | } | 171 | } |
172 | 172 | ||
173 | // element table 选中 颜色 | 173 | // element table 样式修改 |
174 | // .el-table--enable-row-hover .el-table__body tr:hover>td { | 174 | //去掉表格内的线 |
175 | // background-color: #FCFDFD; | 175 | table th { |
176 | // } | 176 | border-bottom: 5px solid #000637 !important; |
177 | 177 | } | |
178 | // .el-table__body .el-table__row.hover-row td { | 178 | |
179 | // background-color: #FCFDFD; | 179 | table td { |
180 | // } | 180 | border-bottom: 5px solid #000637 !important; |
181 | 181 | } | |
182 | // .el-table tbody tr:hover>td { | 182 | |
183 | // background-color: #FCFDFD; | 183 | //去掉最下面的那一条线 |
184 | // } | 184 | .el-table::before { |
185 | height: 5px !important; | ||
186 | background-color: #000637 !important; | ||
187 | } | ||
188 | |||
189 | .lb-table { | ||
190 | background-color: #000637 !important; | ||
191 | } | ||
192 | |||
193 | .el-table__body-wrapper { | ||
194 | background-color: #000637 !important; | ||
195 | } | ||
196 | |||
197 | .el-table--enable-row-hover .el-table__body tr:hover>td { | ||
198 | background-color: #103E99 !important; | ||
199 | } | ||
200 | |||
201 | .el-table__body .el-table__row.hover-row td { | ||
202 | background-color: #103E99 !important; | ||
203 | } | ||
204 | |||
205 | .el-table tbody tr:hover>td { | ||
206 | background-color: #103E99 !important; | ||
207 | } | ||
208 | |||
209 | |||
185 | // 表格样式 | 210 | // 表格样式 |
186 | .el-table th { | 211 | .el-table th { |
187 | height: 48px !important; | 212 | height: 48px !important; | ... | ... |
1 | .tableClass { | ||
2 | /deep/.el-table { | ||
3 | border: none !important; | ||
4 | |||
5 | .cell { | ||
6 | color: #FFFFFF !important; | ||
7 | } | ||
8 | |||
9 | .el-table__row { | ||
10 | background-color: #00275F !important; | ||
11 | margin-top: 5px; | ||
12 | } | ||
13 | |||
14 | thead { | ||
15 | background: #103E99 !important; | ||
16 | |||
17 | & th { | ||
18 | //inherit:规定应该从父元素继承 background-color 属性的设置。 | ||
19 | //transparent:默认。背景颜色为透明。 | ||
20 | // background-color: inherit !important; | ||
21 | background-color: transparent; | ||
22 | } | ||
23 | |||
24 | & tr { | ||
25 | // background-color: inherit !important; | ||
26 | background-color: transparent; | ||
27 | } | ||
28 | } | ||
29 | } | ||
30 | } | ||
31 | |||
1 | //*****start*通用表单查询条件,列表样式******// | 32 | //*****start*通用表单查询条件,列表样式******// |
2 | .from-clues { | 33 | .from-clues { |
3 | min-width: 1280px; | 34 | min-width: 1280px; |
... | @@ -67,72 +98,9 @@ | ... | @@ -67,72 +98,9 @@ |
67 | background: #FFFFFF; | 98 | background: #FFFFFF; |
68 | margin-top: 10px; | 99 | margin-top: 10px; |
69 | 100 | ||
70 | //去掉表格内的线 | ||
71 | /deep/ table th { | ||
72 | border-bottom: 5px solid #000637 !important; | ||
73 | } | ||
74 | |||
75 | /deep/ table td { | ||
76 | border-bottom: 5px solid #000637 !important; | ||
77 | } | ||
78 | |||
79 | //去掉最下面的那一条线 | ||
80 | /deep/.el-table::before { | ||
81 | height: 5px !important; | ||
82 | background-color: #000637 !important; | ||
83 | } | ||
84 | |||
85 | |||
86 | /deep/.lb-table { | ||
87 | background-color: #000637 !important; | ||
88 | } | ||
89 | |||
90 | /deep/.el-table__body-wrapper { | ||
91 | background-color: #000637 !important; | ||
92 | } | ||
93 | |||
94 | /deep/.el-table--enable-row-hover .el-table__body tr:hover>td { | ||
95 | background-color: #103E99 !important; | ||
96 | } | ||
97 | |||
98 | /deep/.el-table__body .el-table__row.hover-row td { | ||
99 | background-color: #103E99 !important; | ||
100 | } | ||
101 | |||
102 | /deep/.el-table tbody tr:hover>td { | ||
103 | background-color: #103E99 !important; | ||
104 | } | ||
105 | |||
106 | //修改表头的背景颜色横向渐变色 | 101 | //修改表头的背景颜色横向渐变色 |
102 | @extend .tableClass; | ||
107 | 103 | ||
108 | /deep/.el-table { | ||
109 | border: none !important; | ||
110 | |||
111 | .cell { | ||
112 | color: #FFFFFF !important; | ||
113 | } | ||
114 | |||
115 | .el-table__row { | ||
116 | background-color: #00275F !important; | ||
117 | margin-top: 5px; | ||
118 | } | ||
119 | |||
120 | thead { | ||
121 | background: #103E99 !important; | ||
122 | |||
123 | & th { | ||
124 | //inherit:规定应该从父元素继承 background-color 属性的设置。 | ||
125 | //transparent:默认。背景颜色为透明。 | ||
126 | // background-color: inherit !important; | ||
127 | background-color: transparent; | ||
128 | } | ||
129 | |||
130 | & tr { | ||
131 | // background-color: inherit !important; | ||
132 | background-color: transparent; | ||
133 | } | ||
134 | } | ||
135 | } | ||
136 | } | 104 | } |
137 | 105 | ||
138 | .el-form--inline .el-form-item { | 106 | .el-form--inline .el-form-item { | ... | ... |
... | @@ -164,6 +164,9 @@ | ... | @@ -164,6 +164,9 @@ |
164 | margin-top: 5px; | 164 | margin-top: 5px; |
165 | background-color: #000637; | 165 | background-color: #000637; |
166 | 166 | ||
167 | /deep/tbody tr:nth-child(odd) { | ||
168 | background: #000637 !important; | ||
169 | } | ||
167 | .title { | 170 | .title { |
168 | text-align: center; | 171 | text-align: center; |
169 | line-height: 36px; | 172 | line-height: 36px; | ... | ... |
... | @@ -76,7 +76,7 @@ | ... | @@ -76,7 +76,7 @@ |
76 | </div> | 76 | </div> |
77 | </div> | 77 | </div> |
78 | <!-- 底部表格 --> | 78 | <!-- 底部表格 --> |
79 | <div class="jrxxlb"> | 79 | <div class="jrxxlb tableClass"> |
80 | <div class="title">陕西省平台接入情况</div> | 80 | <div class="title">陕西省平台接入情况</div> |
81 | <!-- 陕西省平台接入情况table --> | 81 | <!-- 陕西省平台接入情况table --> |
82 | <lb-table ref="table" :pagination="false" :heightNum="408" :column="tableData.columns" :data="tableData.data"> | 82 | <lb-table ref="table" :pagination="false" :heightNum="408" :column="tableData.columns" :data="tableData.data"> |
... | @@ -149,6 +149,15 @@ export default { | ... | @@ -149,6 +149,15 @@ export default { |
149 | dk: 60, | 149 | dk: 60, |
150 | wjrqx: '长安县', | 150 | wjrqx: '长安县', |
151 | jrdf: 50 | 151 | jrdf: 50 |
152 | }, | ||
153 | { | ||
154 | xzqmc: '咸阳市', | ||
155 | xzqzs: 100, | ||
156 | jrl: 300, | ||
157 | jscgl: 20, | ||
158 | dk: 60, | ||
159 | wjrqx: '长安县', | ||
160 | jrdf: 50 | ||
152 | }] | 161 | }] |
153 | } | 162 | } |
154 | } | 163 | } |
... | @@ -176,5 +185,6 @@ export default { | ... | @@ -176,5 +185,6 @@ export default { |
176 | </script> | 185 | </script> |
177 | <style scoped lang="scss"> | 186 | <style scoped lang="scss"> |
178 | @import "~@/styles/mixin.scss"; | 187 | @import "~@/styles/mixin.scss"; |
188 | @import "~@/styles/public.scss"; | ||
179 | @import "./home.scss"; | 189 | @import "./home.scss"; |
180 | </style> | 190 | </style> | ... | ... |
-
Please register or sign in to post a comment