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
84532bf6
Commit
84532bf6
authored
Oct 11, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 弹窗标题大小
parent
0a42646f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
custom-modal.vue
src/components/custom-modal/custom-modal.vue
+2
-1
modal-style.ts
src/components/custom-modal/modal-style.ts
+1
-1
No files found.
src/components/custom-modal/custom-modal.vue
View file @
84532bf6
...
@@ -79,7 +79,7 @@ function handleConfirm() {
...
@@ -79,7 +79,7 @@ function handleConfirm() {
@
close=
"handleCloseModal"
@
close=
"handleCloseModal"
>
>
<template
#
header
>
<template
#
header
>
<div
class=
"text-xl"
>
{{
title
}}
</div>
<div>
{{
title
}}
</div>
</
template
>
</
template
>
<div>
<div>
...
@@ -94,6 +94,7 @@ function handleConfirm() {
...
@@ -94,6 +94,7 @@ function handleConfirm() {
<NButton
<NButton
:loading=
"btnLoading"
:loading=
"btnLoading"
type=
"primary"
type=
"primary"
:bordered=
"false"
:disabled=
"btnDisabled"
:disabled=
"btnDisabled"
class=
"h-[32px]! px-6! rounded-md! ml-4!"
class=
"h-[32px]! px-6! rounded-md! ml-4!"
@
click=
"handleConfirm"
@
click=
"handleConfirm"
...
...
src/components/custom-modal/modal-style.ts
View file @
84532bf6
export
const
modalHeaderStyle
=
{
export
const
modalHeaderStyle
=
{
padding
:
'24px 24px 16px'
,
padding
:
'24px 24px 16px'
,
fontSize
:
'
20
px'
,
fontSize
:
'
18
px'
,
}
}
export
const
modalContentStyle
=
{
export
const
modalContentStyle
=
{
...
...
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