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
865e3bd0
authored
2022-08-15 17:43:58 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:dialog样式
1 parent
a2eb58ba
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
21 deletions
src/components/dialogBox/dialogBox.vue
src/styles/dialog.scss
src/styles/element-ui.scss
src/styles/index.scss
src/views/zhcx/jdcx/jdcx.vue
src/views/zhcx/jdcx/jdcxdata.js
src/components/dialogBox/dialogBox.vue
View file @
865e3bd
...
...
@@ -30,6 +30,7 @@
<
script
>
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
,
},
activity
:
{
type
:
Boolean
,
default
:
false
,
...
...
@@ -95,6 +96,11 @@ export default {
scrollerHeight
:
''
,
}
},
watch
:
{
value
(
val
)
{
this
.
dialogVisible
=
val
}
},
methods
:
{
isShow
()
{
this
.
dialogVisible
=
true
...
...
src/styles/dialog.scss
View file @
865e3bd
.dialog_title
{
@
flex
()
;
@
include
flex
;
justify-content
:
space-between
;
width
:
100%
;
}
.el-dialog__header
{
margin-bottom
:
10px
;
color
:
#4A4A4A
;
border-bottom
:
1px
solid
#E4EBF4
;
}
.el-dialog__body
{
padding-top
:
10px
;
padding-bottom
:
0
;
}
.el-dialog__headerbtn
.el-dialog__close
{
color
:
#6B7A99
!
important
;
position
:
relative
;
top
:
-2px
;
}
.dialog_footer
{
@flex-center
()
;
}
.dialog_footer
{}
.el-form-item
{
@
flex
()
;
@
include
flex
;
width
:
100%
;
}
.el-dialog__wrapper
{
@flex-center
()
;
@include
flex-center
;
transform
:
translateX
(
80px
);
}
.el-dialog
{
margin
:
0
;
}
\ No newline at end of file
...
...
src/styles/element-ui.scss
View file @
865e3bd
...
...
@@ -48,13 +48,6 @@
}
// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog
{
transform
:
none
;
left
:
0
;
position
:
relative
;
margin
:
0
auto
;
}
// refine element ui upload
.upload-container
{
.el-upload
{
...
...
src/styles/index.scss
View file @
865e3bd
...
...
@@ -282,13 +282,6 @@ aside {
font-size
:
20
PX
;
}
// 遮罩层样式设置
.dialog_Style
{
.el-dialog
{
width
:
40%
!
important
;
}
}
.description
{
.el-form-item__content
{
width
:
75%
;
...
...
src/views/zhcx/jdcx/jdcx.vue
View file @
865e3bd
...
...
@@ -51,6 +51,9 @@
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<dialogBox
ref=
"dialog"
title=
"标题"
v-model=
"isDialog"
>
**在这里面写弹框内容**
</dialogBox>
</div>
</
template
>
<
script
>
...
...
@@ -65,6 +68,7 @@ export default {
},
data
()
{
return
{
isDialog
:
false
,
queryForm
:
{
ywly
:
""
,
qllx
:
""
,
...
...
@@ -84,9 +88,11 @@ export default {
data
:
[
{
slsj
:
"2022-5-12"
,
ywh
:
111111111111
},
{
slsj
:
"2022-5-13"
,
ywh
:
111111111111
},
],
},
...
...
@@ -97,6 +103,9 @@ export default {
fetchData
()
{
},
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
},
openDialog
()
{
this
.
isDialog
=
true
}
}
}
...
...
src/views/zhcx/jdcx/jdcxdata.js
View file @
865e3bd
...
...
@@ -40,8 +40,14 @@ class data extends filter {
}
},
{
prop
:
"ywh"
,
label
:
"业务号"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
link
type
=
"primary"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
)
}}
>
{
scope
.
row
.
ywh
}
<
/el-link
>
<
/div
>
)
}
},
{
prop
:
"sqywmc"
,
...
...
Please
register
or
sign in
to post a comment