Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b62b0fdf
authored
2022-08-16 17:23:46 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:弹框组件重构完成
1 parent
5442fa03
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/components/dialogBox/dialogBox.scss
src/components/dialogBox/dialogBox.vue
src/components/dialogBox/dialogBox.scss
View file @
b62b0fd
.
el-dialog
{
.
dialogBox
{
border-radius
:
8px
;
overflow
:
hidden
;
background
:
#FFFFFF
;
...
...
src/components/dialogBox/dialogBox.vue
View file @
b62b0fd
<
template
>
<el-dialog
:visible
.
sync=
"dialogVisible"
:width=
"width"
:fullscreen=
"fullscreen"
top=
"0"
:append-to-body=
"true"
:lock-scroll=
"true"
:close-on-click-modal=
"false"
:custom-class=
"isMain ? 'mainCenter' : 'contentCenter'"
:destroy-on-close=
"true"
ref=
"dialogBox"
>
:lock-scroll=
"true"
:close-on-click-modal=
"false"
:custom-class=
"isMain ? 'mainCenter dialogBox' : 'contentCenter dialogBox'"
:destroy-on-close=
"true"
ref=
"dialogBox"
>
<div
slot=
"title"
class=
"dialog_title"
ref=
"dialogTitle"
>
<b>
{{
title
}}
</b>
<div
v-if=
"isFullscreen"
class=
"dialog_full"
>
...
...
@@ -27,7 +28,7 @@ export default {
value
:
{
type
:
Boolean
,
default
:
false
},
isMain
:
{
type
:
Boolean
,
default
:
tru
e
default
:
fals
e
},
isButton
:
{
type
:
Boolean
,
...
...
Please
register
or
sign in
to post a comment