Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0888bc47
authored
Apr 15, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:滚动条的背景颜色调整,宽度为8
1 parent
eda5d073
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
src/App.vue
src/packages/Table/src/index.vue
src/theme/theme.scss
src/App.vue
View file @
0888bc4
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</GLDialog>
-->
</GLDialog>
-->
<hr
/>
<hr
/>
<h3>
el-table调整
</h3>
<h3>
el-table调整
</h3>
<GLTable
ref=
"liveRoomRef"
:tableParams=
"tableParams"
:tableData=
"tableData"
>
<GLTable
ref=
"liveRoomRef"
:tableParams=
"tableParams"
:tableData=
"tableData"
max-height=
"250"
>
<span
slot=
"shareImgUrl"
slot-scope=
"scope"
>
<span
slot=
"shareImgUrl"
slot-scope=
"scope"
>
<img
class=
"img-60"
:src=
"scope.scope.shareImgUrl"
/>
<img
class=
"img-60"
:src=
"scope.scope.shareImgUrl"
/>
</span>
</span>
...
...
src/packages/Table/src/index.vue
View file @
0888bc4
...
@@ -514,7 +514,7 @@ export default {
...
@@ -514,7 +514,7 @@ export default {
.el-table__body-wrapper
::-webkit-scrollbar-thumb
{
.el-table__body-wrapper
::-webkit-scrollbar-thumb
{
/* background-color: rgba(0, 0, 0, 0.2); */
/* background-color: rgba(0, 0, 0, 0.2); */
background
:
#e9e8ff
;
background
:
rgba
(
144
,
147
,
153
,
.3
)
;
border-radius
:
8px
;
border-radius
:
8px
;
...
...
src/theme/theme.scss
View file @
0888bc4
...
@@ -23,7 +23,7 @@ $dackColor: $color-primary-dark30;
...
@@ -23,7 +23,7 @@ $dackColor: $color-primary-dark30;
}
}
&
:
:-
webkit-scrollbar-thumb
{
&
:
:-
webkit-scrollbar-thumb
{
/* background-color: rgba(0, 0, 0, 0.2); */
/* background-color: rgba(0, 0, 0, 0.2); */
background
:
#e9e8ff
;
background
:
rgba
(
144
,
147
,
153
,.
3
)
;
border-radius
:
8px
;
border-radius
:
8px
;
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0
.1
);
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0
.1
);
}
}
...
@@ -33,6 +33,17 @@ $dackColor: $color-primary-dark30;
...
@@ -33,6 +33,17 @@ $dackColor: $color-primary-dark30;
background-color
:
white
;
background-color
:
white
;
}
}
}
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
8px
;
height
:
8px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
background
:
rgba
(
144
,
147
,
153
,.
3
);
border-radius
:
8px
;
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0
.1
);
}
/* 按钮 */
/* 按钮 */
.el-button
{
.el-button
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment