Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-10-22 12:17:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0f692ffd412052612290140e5c54e7784625f5df
0f692ffd
1 parent
bf8de59b
fix(PdfViewer): 隐藏返回顶部按钮并调整缩放控件位置
移除返回顶部按钮以简化界面 将缩放控件位置从底部60px调整为20px,避免与其他元素重叠
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/components/ui/PdfViewer.vue
src/components/ui/PdfViewer.vue
View file @
0f692ff
<!--
* @Date: 2025-01-21
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-22 1
1:39:56
* @LastEditTime: 2025-10-22 1
2:17:03
* @FilePath: /mlaj/src/components/ui/PdfViewer.vue
* @Description: PDF预览组件 - 使用pdf-vue3库
-->
...
...
@@ -17,7 +17,7 @@
:showProgress="true"
:progressColor="'#1989fa'"
:showPageTooltip="true"
:showBackToTopBtn="
tru
e"
:showBackToTopBtn="
fals
e"
:scrollThreshold="300"
:pdfWidth="`${Math.round(100 * zoomLevel)}%`"
:rowGap="8"
...
...
@@ -634,7 +634,7 @@ const addPreventSaveListeners = () => {
/* 缩放控制按钮样式 */
.zoom-controls {
position: fixed;
bottom:
6
0px;
bottom:
2
0px;
left: 50%;
transform: translateX(-50%);
z-index: 100;
...
...
Please
register
or
login
to post a comment