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 0e7a8561
authored
Dec 10, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
会员中心样式修改
1 parent
550fc00b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
22 deletions
src/views/memberCenter/center.vue
src/views/memberCenter/orderDetail.vue
src/views/memberCenter/serviceAddUpdateLook.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/memberCenter/center.vue
View file @
0e7a856
...
@@ -515,7 +515,8 @@ export default {
...
@@ -515,7 +515,8 @@ export default {
/
deep
/
.el-dialog__body
{
/
deep
/
.el-dialog__body
{
border-top
:
1px
solid
#e6e6e6
;
border-top
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
padding
:
20px
45px
;
//
padding
:
20px
45px
;
padding
:
20px
20px
20px
45px
;
.modal-body
{
.modal-body
{
//
overflow
:
auto
;
//
overflow
:
auto
;
max-height
:
400px
;
max-height
:
400px
;
...
...
src/views/memberCenter/orderDetail.vue
View file @
0e7a856
...
@@ -94,6 +94,7 @@ export default {
...
@@ -94,6 +94,7 @@ export default {
// this.setTableData()
// this.setTableData()
},
},
mounted
()
{
mounted
()
{
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"none"
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
offsettop
=
document
.
getElementById
(
'tableWrap'
).
offsetTop
let
offsettop
=
document
.
getElementById
(
'tableWrap'
).
offsetTop
...
@@ -122,7 +123,9 @@ export default {
...
@@ -122,7 +123,9 @@ export default {
},
},
goBack
()
{
goBack
()
{
console
.
log
(
this
.
detail
,
'gggg'
)
console
.
log
(
this
.
detail
,
'gggg'
)
this
.
$router
.
go
(
-
1
)
// this.$router.go(-1)
this
.
$router
.
push
(
"/memberCenter/order"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
}
}
}
}
}
...
...
src/views/memberCenter/serviceAddUpdateLook.vue
View file @
0e7a856
...
@@ -264,6 +264,7 @@ export default {
...
@@ -264,6 +264,7 @@ export default {
mounted
()
{
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"none"
},
},
methods
:
{
methods
:
{
getPageDetail
()
{
getPageDetail
()
{
...
@@ -364,6 +365,7 @@ export default {
...
@@ -364,6 +365,7 @@ export default {
// console.log(res, '提交内容')
// console.log(res, '提交内容')
this
.
$message
.
success
(
'创建服务成功'
)
this
.
$message
.
success
(
'创建服务成功'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
@@ -385,6 +387,7 @@ export default {
...
@@ -385,6 +387,7 @@ export default {
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
$message
.
success
(
'编辑服务成功'
)
this
.
$message
.
success
(
'编辑服务成功'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
@@ -393,14 +396,11 @@ export default {
...
@@ -393,14 +396,11 @@ export default {
}
}
})
})
},
},
// resetForm(formName) {
// this.$router.push('/memberCenter/service')
// this.$refs[formName].resetFields()
// },
goBack
()
{
goBack
()
{
if
(
JSON
.
stringify
(
this
.
ruleForm
)
==
JSON
.
stringify
(
this
.
copyRuleForm
)){
if
(
JSON
.
stringify
(
this
.
ruleForm
)
==
JSON
.
stringify
(
this
.
copyRuleForm
)){
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
else
{
}
else
{
// this.$message.error('是否保存信息')
// this.$message.error('是否保存信息')
this
.
isDialogVisible
=
true
this
.
isDialogVisible
=
true
...
@@ -411,6 +411,7 @@ export default {
...
@@ -411,6 +411,7 @@ export default {
},
},
handleConfirm
(){
handleConfirm
(){
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
},
},
oninput
(
value
)
{
oninput
(
value
)
{
let
str
=
value
let
str
=
value
...
...
src/views/memberCenter/setmeal.vue
View file @
0e7a856
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<
script
>
<
script
>
import
glsxDialog
from
'@/components/glsx-dialog'
import
glsxDialog
from
'@/components/glsx-dialog'
import
url
from
"@/assets/empty.png"
import
url
from
'@/assets/empty.png'
import
{
getSetMealListApi
,
deleteSetMeal
,
upDownPackage
}
from
'@/api/modules/setmeal'
import
{
getSetMealListApi
,
deleteSetMeal
,
upDownPackage
}
from
'@/api/modules/setmeal'
import
{
getLoginCount
}
from
'@/api/modules/service'
import
{
getLoginCount
}
from
'@/api/modules/service'
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
url
:
url
,
url
:
url
,
isFirstShow
:
false
,
isFirstShow
:
false
,
panelContent
:
'会员套餐:将已经创建好的会员服务打包成一个套餐售卖给客户。'
,
panelContent
:
'会员套餐:将已经创建好的会员服务打包成一个套餐售卖给客户。'
,
size
:
'small'
,
size
:
'small'
,
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
// 表格参数
// 表格参数
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
true
,
//
tableOption: true,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'套餐名称'
,
label
:
'套餐名称'
,
...
@@ -112,7 +112,10 @@ export default {
...
@@ -112,7 +112,10 @@ export default {
return
this
.
baseDataList
.
stateList
.
find
(
item
=>
item
.
confId
==
cellValue
.
state
).
confName
return
this
.
baseDataList
.
stateList
.
find
(
item
=>
item
.
confId
==
cellValue
.
state
).
confName
}
}
}
}
]
],
tableOption
:
{
width
:
80
}
},
},
baseDataList
:
{
baseDataList
:
{
stateList
:
stateList
stateList
:
stateList
...
@@ -153,9 +156,12 @@ export default {
...
@@ -153,9 +156,12 @@ export default {
//创建套餐
//创建套餐
handleCreate
()
{
handleCreate
()
{
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:{
this
.
$router
.
push
({
$title
:
encodeURI
(
'创建套餐'
)
path
:
'/memberCenter/setmealAddUpdate'
,
}})
query
:
{
$title
:
encodeURI
(
'创建套餐'
)
}
})
},
},
handleClose
()
{
handleClose
()
{
this
.
isDialogVisible
=
!
this
.
isDialogVisible
this
.
isDialogVisible
=
!
this
.
isDialogVisible
...
@@ -199,7 +205,7 @@ export default {
...
@@ -199,7 +205,7 @@ export default {
})
})
},
},
handleEdit
(
row
)
{
handleEdit
(
row
)
{
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:
{
id
:
row
.
id
,
$title
:
encodeURI
(
'编辑套餐'
)
}
})
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:
{
id
:
row
.
id
,
$title
:
encodeURI
(
'编辑套餐'
)
}
})
},
},
// 查看示例效果
// 查看示例效果
handleLook
(
row
)
{},
handleLook
(
row
)
{},
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
0e7a856
...
@@ -96,6 +96,7 @@
...
@@ -96,6 +96,7 @@
<span
class=
"smallRedText"
>
¥
</span>
<span
class=
"smallRedText"
>
¥
</span>
<span
class=
"redText"
>
{{ totalPrice }}
</span>
<span
class=
"redText"
>
{{ totalPrice }}
</span>
</div>
</div>
<div
style=
"height:1px"
></div>
</div>
</div>
</glsx-dialog>
</glsx-dialog>
<glsx-dialog
title=
""
:hasScroll=
"false"
class=
"tipDialog"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isTipDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleTipClose"
@
confirmDialog=
"handleTipConfirm"
>
<glsx-dialog
title=
""
:hasScroll=
"false"
class=
"tipDialog"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isTipDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleTipClose"
@
confirmDialog=
"handleTipConfirm"
>
...
@@ -305,7 +306,9 @@ export default {
...
@@ -305,7 +306,9 @@ export default {
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
if
(
res
.
code
==
'0'
)
{
if
(
res
.
code
==
'0'
)
{
this
.
$router
.
go
(
-
1
)
// this.$router.go(-1)
this
.
$router
.
push
(
"/memberCenter/setmeal"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
}
})
})
}
else
{
}
else
{
...
@@ -328,7 +331,8 @@ export default {
...
@@ -328,7 +331,8 @@ export default {
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
if
(
res
.
code
==
'0'
)
{
if
(
res
.
code
==
'0'
)
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
(
"/memberCenter/setmeal"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
}
})
})
}
}
...
@@ -346,14 +350,11 @@ export default {
...
@@ -346,14 +350,11 @@ export default {
console
.
log
(
'配置接口'
,
res
.
data
)
console
.
log
(
'配置接口'
,
res
.
data
)
})
})
},
},
// resetForm(formName) {
// this.$router.go(-1)
// },
goBack
()
{
goBack
()
{
// this.$router.go(-1)
if
(
JSON
.
stringify
(
this
.
ruleForm
)
==
JSON
.
stringify
(
this
.
copyRuleForm
)
&&
this
.
choseItemList
.
length
==
this
.
copyChoseItemList
.
length
&&
this
.
totalPrice
==
this
.
copyTotalPrice
)
{
if
(
JSON
.
stringify
(
this
.
ruleForm
)
==
JSON
.
stringify
(
this
.
copyRuleForm
)
&&
this
.
choseItemList
.
length
==
this
.
copyChoseItemList
.
length
&&
this
.
totalPrice
==
this
.
copyTotalPrice
)
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
(
"/memberCenter/setmeal"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
else
{
}
else
{
this
.
isTipDialogVisible
=
true
this
.
isTipDialogVisible
=
true
}
}
...
@@ -423,7 +424,8 @@ export default {
...
@@ -423,7 +424,8 @@ export default {
this
.
isTipDialogVisible
=
false
this
.
isTipDialogVisible
=
false
},
},
handleTipConfirm
()
{
handleTipConfirm
()
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
(
"/memberCenter/setmeal"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
}
}
}
}
}
...
...
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