Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yzy
db-tools
Commits
7632f29c
Commit
7632f29c
authored
Aug 21, 2026
by
Data Governance Dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(web3): 结果表「备注」列 sticky 固定右侧,数据列出横向滚动条
parent
03eb8d63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
web3/src/components/ResultTable.vue
web3/src/components/ResultTable.vue
+22
-0
No files found.
web3/src/components/ResultTable.vue
View file @
7632f29c
...
@@ -230,4 +230,26 @@ function ruleHint(col) {
...
@@ -230,4 +230,26 @@ function ruleHint(col) {
padding
:
4px
8px
;
padding
:
4px
8px
;
font-size
:
13px
;
font-size
:
13px
;
}
}
/* 「备注」列固定在右侧 —— 数据列多了时只滚左侧,备注常驻 */
.dq-table
th
.col-reason
,
.dq-table
td
.cell-reason
{
position
:
sticky
;
right
:
0
;
z-index
:
1
;
/* 左侧阴影做视觉分隔,提示这一列是固定的 */
box-shadow
:
-4px
0
8px
-4px
rgba
(
0
,
0
,
0
,
0.12
);
}
.dq-table
th
.col-reason
{
/* header 高于普通列,避免被覆盖 */
z-index
:
2
;
background
:
#fde2e2
;
}
.dq-table
td
.cell-reason
{
background
:
#fef7f7
;
}
/* hover 时整行变色,备注列也得跟着变,否则会和 tr 的 #f5f7fa 背景脱节 */
.dq-table
tbody
tr
:hover
td
.cell-reason
{
background
:
#f5f7fa
;
}
</
style
>
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment