Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
poc
poc-fe
Commits
b060c588
Commit
b060c588
authored
Oct 29, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 自定义弹窗底部样式调整
parent
10f18ed0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
custom-modal.vue
src/components/custom-modal/custom-modal.vue
+4
-2
No files found.
src/components/custom-modal/custom-modal.vue
View file @
b060c588
...
@@ -94,15 +94,17 @@ function handleConfirm() {
...
@@ -94,15 +94,17 @@ function handleConfirm() {
<slot
v-if=
"slots.footer"
name=
"footer"
/>
<slot
v-if=
"slots.footer"
name=
"footer"
/>
<div
v-else
class=
"flex w-full items-center justify-end"
>
<div
v-else
class=
"flex w-full items-center justify-end"
>
<NButton
c
lass=
"h-[34px]! rounded-full! px-6! min-w-[96px]
!"
@
click=
"handleCloseModal"
>
<NButton
c
olor=
"#F5F5F5"
round
class=
"h-[34px]! px-6! min-w-[96px]! text-font-color
!"
@
click=
"handleCloseModal"
>
{{
t
(
cancelBtnText
)
}}
{{
t
(
cancelBtnText
)
}}
</NButton>
</NButton>
<NButton
<NButton
:loading=
"btnLoading"
:loading=
"btnLoading"
type=
"primary"
type=
"primary"
color=
"#6F77FF"
round
:bordered=
"false"
:bordered=
"false"
:disabled=
"btnDisabled"
:disabled=
"btnDisabled"
class=
"h-[34px]! px-6!
rounded-full!
ml-4! min-w-[96px]!"
class=
"h-[34px]! px-6! ml-4! min-w-[96px]!"
@
click=
"handleConfirm"
@
click=
"handleConfirm"
>
>
{{
t
(
confirmBtnText
)
}}
{{
t
(
confirmBtnText
)
}}
...
...
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