Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI_BOOK_TOOL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
AI_BOOK_TOOL
Commits
e9c2dd1d
Commit
e9c2dd1d
authored
May 12, 2025
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 锁定页面
parent
0d5b7a31
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
180 additions
and
43 deletions
+180
-43
index.html
form/index.html
+10
-1
index.js
form/index.js
+170
-42
No files found.
form/index.html
View file @
e9c2dd1d
...
...
@@ -272,7 +272,8 @@
:current-page
.
sync=
"currentPageIndex"
:page-size=
"1"
layout=
"prev, pager, next"
:total=
"pages.length"
>
:total=
"pages.length"
:disabled=
"isPageLocked"
>
</el-pagination>
</div>
...
...
@@ -298,6 +299,14 @@
:disabled=
"audioLoading"
style=
"width: 200px; margin-left: 20px;"
>
</el-slider>
<el-button
size=
"small"
:type=
"isPageLocked ? 'danger' : 'primary'"
@
click=
"togglePageLock"
style=
"margin-left: 20px;"
>
<i
:class=
"isPageLocked ? 'el-icon-lock' : 'el-icon-unlock'"
></i>
{{ isPageLocked ? '解锁页面' : '锁定页面' }}
</el-button>
</div>
</div>
</el-card>
...
...
form/index.js
View file @
e9c2dd1d
This diff is collapsed.
Click to expand it.
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