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
6a8cee3b
authored
2022-11-01 16:56:08 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:弹框组件
1 parent
b3ca9731
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
src/api/config.js
src/components/dialogBox/dialogBox.vue
src/components/tanchuang/index.vue
src/main.js
src/api/config.js
View file @
6a8cee3
export
default
{
SERVERAPI
:
'/service-bdcdj
2
'
SERVERAPI
:
'/service-bdcdj
9
'
}
\ No newline at end of file
...
...
src/components/dialogBox/dialogBox.vue
View file @
6a8cee3
<
template
>
<el-dialog
:visible
.
sync=
"dialogVisible"
:width=
"width"
:fullscreen=
"fullscreen"
top=
"0"
:append-to-body=
"true
"
:lock-scroll=
"true"
:close-on-click-modal=
"false"
@
close=
"closeDialog"
:key=
"key"
<el-dialog
:visible
.
sync=
"dialogVisible"
v-if=
"dialogVisible"
:width=
"width"
:fullscreen=
"fullscreen"
top=
"0
"
:
append-to-body=
"appendToBody"
:
lock-scroll=
"true"
:close-on-click-modal=
"false"
@
close=
"closeDialog"
:key=
"key"
:custom-class=
"isMain ? 'mainCenter dialogBox' : 'contentCenter dialogBox'"
:destroy-on-close=
"true"
ref=
"dialogBox"
id=
"dialogBox"
>
<div
slot=
"title"
>
...
...
@@ -30,6 +30,10 @@ export default {
type
:
Boolean
,
default
:
false
},
appendToBody
:
{
type
:
Boolean
,
default
:
false
},
isButton
:
{
type
:
Boolean
,
default
:
true
,
...
...
src/components/tanchuang/index.vue
View file @
6a8cee3
...
...
@@ -103,7 +103,7 @@ export default {
.ls-mask
{
width
:
100%
;
height
:
100%
;
z-index
:
2001
;
z-index
:
100000
;
position
:
fixed
;
left
:
0
;
top
:
0
;
...
...
src/main.js
View file @
6a8cee3
...
...
@@ -33,7 +33,7 @@ import _ from 'lodash'
import
*
as
filters
from
'./filters'
// global filters
import
'./permission'
// permission control
Vue
.
use
(
Element
,
{
size
:
'small'
})
Vue
.
use
(
Element
,
{
size
:
'small'
,
zIndex
:
1000
})
Vue
.
use
(
Base
)
Object
.
keys
(
filters
).
forEach
(
key
=>
{
Vue
.
filter
(
key
,
filters
[
key
])
...
...
Please
register
or
sign in
to post a comment