Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bc6042a3
authored
Apr 26, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化提示弹框
1 parent
3aeddf2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
17 deletions
src/pages/monitor/fence.vue
src/pages/monitor/fence.vue
View file @
bc6042a
...
...
@@ -72,13 +72,13 @@
</div>
<!-- <el-alert v-show="showSuccessTips" :title="`保存成功,页面将在${timer}秒后自动关闭`" type="success" :closable="false" show-icon class="show_success_tips"></el-alert> -->
<el-dialog
title=
"提示"
custom-class=
"monitor_dialog"
:visible
.
sync=
"showSuccessTips"
width=
"3
0%
"
append-to-body
:show-close=
"false"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
>
<el-dialog
title=
"提示"
custom-class=
"monitor_dialog"
:visible
.
sync=
"showSuccessTips"
width=
"3
40px
"
append-to-body
:show-close=
"false"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
>
<div
class=
"monitor_dialog_content"
>
<i
class=
"el-icon-circle-check"
></i>
<span
class=
""
>
{{`保存成功,页面将在${timer}秒后自动关闭`}}
</span>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
size=
"
small
"
@
click=
"closePage"
>
立即关闭
</el-button>
<el-button
type=
"primary"
size=
"
mini
"
@
click=
"closePage"
>
立即关闭
</el-button>
</span>
</el-dialog>
...
...
@@ -496,10 +496,9 @@ export default {
},
// 关闭标签页
closePage
(){
window
.
close
()
}
closePage
()
{
window
.
close
();
},
},
};
</
script
>
...
...
@@ -561,25 +560,31 @@ export default {
transform
:
translateX
(
-50%
);
z-index
:
9999
;
}
.monitor_dialog_content
{
.monitor_dialog_content
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
14px
;
i{
font-size
:
24px
;
color
:
#67C23A
;
margin
:
0
10px
;
font-size
:
14px
;
i
{
font-size
:
24px
;
color
:
#67c23a
;
margin
:
0
10px
;
}
}
</
style
>
<
style
lang=
"scss"
>
.monitor_dialog
{
.el-dialog__header{
padding
:
10px
!important
;
.monitor_dialog
{
.el-dialog__header
{
padding
:
10px
!important
;
.el-dialog__title
{
font-size
:
14px
;
}
}
.el-dialog__footer
{
padding
:
5px
10px
!important
;
}
.el-dialog__
footer
{
padding
:
10px
!important
;
.el-dialog__
body
{
padding
:
20px
;
}
}
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment