Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 c06edadf
authored
Nov 18, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
弹窗改动
1 parent
88320304
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
10 deletions
src/components/glsx-dialog/index.vue
src/views/memberCenter/center.vue
src/views/memberCenter/setmeal.vue
src/components/glsx-dialog/index.vue
View file @
c06edad
...
...
@@ -2,17 +2,20 @@
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
:width=
"width"
>
<span
slot=
"title"
>
{{
title
}}
<span
class=
"dialog-sub-title"
>
<slot
name=
"sub-title"
></slot>
<el-scrollbar>
<span
slot=
"title"
>
{{
title
}}
<span
class=
"dialog-sub-title"
>
<slot
name=
"sub-title"
></slot>
</span>
</span>
</span
>
<
slot></slot
>
<slot></slot
>
<
/el-scrollbar
>
<div
slot=
"footer"
>
<slot
name=
"btn-start"
></slot>
<el-button
type=
"primary"
v-if=
"!noClose"
:size=
"btnSize"
@
click=
"handleClose"
>
关闭
</el-button>
<el-button
type=
"primary"
v-if=
"!noBtnOk"
:size=
"btnSize"
@
click=
"handleConfirm"
>
{{
btnOkLabel
}}
</el-button>
<el-button
v-if=
"!noCancel"
:size=
"btnSize"
@
click=
"handleClose"
>
{{
btnCancelLabel
}}
</el-button>
<el-button
v-if=
"!noCancel"
type=
"primary"
:size=
"btnSize"
@
click=
"handleClose"
>
{{
btnCancelLabel
}}
</el-button>
<slot
name=
"btn-middle"
></slot>
</div>
</el-dialog>
...
...
@@ -54,6 +57,10 @@ export default {
type
:
Boolean
,
default
:
false
},
noClose
:
{
type
:
Boolean
,
default
:
true
},
width
:
{
type
:
String
,
default
:
'580px'
...
...
@@ -74,9 +81,14 @@ export default {
}
}
</
script
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
.dialog-sub-title
{
font-size
:
12px
;
color
:
#666666
;
}
//
::v-deep
.el-dialog__body
{
//
border-top
:
1px
solid
#e6e6e6
;
//
border-bottom
:
1px
solid
#e6e6e6
;
//
padding
:
20px
25px
;
//
}
</
style
>
src/views/memberCenter/center.vue
View file @
c06edad
...
...
@@ -79,7 +79,7 @@
</el-form>
<GLTable
ref=
"memberCenterRef"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
></GLTable>
</div>
<glsx-dialog
title=
"权益详情"
width=
"712px"
:noBtnOk=
"true"
btnCancelLabel=
"关闭"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<glsx-dialog
title=
"权益详情"
width=
"712px"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
btnCancelLabel=
"关闭"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<el-scrollbar>
<div
class=
"modal-body"
>
<div
class=
"equity-name"
>
汽车权益
</div>
...
...
src/views/memberCenter/setmeal.vue
View file @
c06edad
...
...
@@ -26,7 +26,7 @@
</span>
</GLTable>
</div>
<glsx-dialog
title=
"示例效果"
width=
"1142px"
:noBtnOk=
"true"
btnCancelLabel=
"关闭"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<glsx-dialog
title=
"示例效果"
width=
"1142px"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
btnCancelLabel=
"关闭"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<div
class=
"content-body"
>
<div
class=
"content-item col1"
>
<div
class=
"subTitle"
>
...
...
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