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 e7db956e
authored
Dec 13, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
xiugai
1 parent
dbc949cf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
12 deletions
src/views/memberCenter/center.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/center.vue
View file @
e7db956
...
@@ -314,6 +314,7 @@ mounted () {
...
@@ -314,6 +314,7 @@ mounted () {
this
.
ruleForm
.
price
=
res
.
goodPrice
this
.
ruleForm
.
price
=
res
.
goodPrice
this
.
ruleForm
.
marketPrice
=
res
.
marketPrice
this
.
ruleForm
.
marketPrice
=
res
.
marketPrice
this
.
ruleForm
.
linkUrl
=
res
.
freeUrl
this
.
ruleForm
.
linkUrl
=
res
.
freeUrl
this
.
ruleForm
.
tryAble
=
res
.
tryAble
})
})
},
},
openEditWrap
()
{
openEditWrap
()
{
...
...
src/views/memberCenter/setmeal.vue
View file @
e7db956
...
@@ -4,7 +4,13 @@
...
@@ -4,7 +4,13 @@
<div
class=
"live-room container"
>
<div
class=
"live-room container"
>
<div
class=
"btnWrap"
>
<div
class=
"btnWrap"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-plus"
>
创建套餐
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-plus"
>
创建套餐
</el-button>
<el-button
:size=
"size"
@
click=
"isDialogVisible = true"
>
查看示例效果
</el-button>
<!-- @click="isDialogVisible = true" -->
<div
class=
"seeBtnWrap"
>
<el-button
:size=
"size"
@
click=
"previewPic"
>
查看示例效果
</el-button>
<div
class=
"demo-image__preview"
>
<el-image
ref=
"previewImg"
style=
"width: 110px; height: 32px"
:src=
"surl"
:preview-src-list=
"srcList"
></el-image>
</div>
</div>
</div>
</div>
<GLTable
ref=
"memberSetMealRef"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"memberSetMealRef"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<span
slot=
"list"
slot-scope=
"scope"
>
<span
slot=
"list"
slot-scope=
"scope"
>
...
@@ -32,17 +38,13 @@
...
@@ -32,17 +38,13 @@
<glsx-dialog
title=
"示例效果"
width=
"1142px"
:hasScroll=
"false"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
typeName=
"primary"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<glsx-dialog
title=
"示例效果"
width=
"1142px"
:hasScroll=
"false"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
typeName=
"primary"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<div
class=
"content-body"
>
<div
class=
"content-body"
>
<div
class=
"content-item col1"
>
<div
class=
"content-item col1"
>
<div
class=
"subTitle"
>
<div
class=
"subTitle"
>
1、管理后台先创建套餐
</div>
1、管理后台先创建套餐
</div>
<div
class=
"imageWrap"
>
<div
class=
"imageWrap"
>
<img
src=
"@/assets/table.png"
alt=
""
/>
<img
src=
"@/assets/table.png"
alt=
""
/>
</div>
</div>
</div>
</div>
<div
class=
"content-item col2"
>
<div
class=
"content-item col2"
>
<div
class=
"subTitle"
>
<div
class=
"subTitle"
>
2、小程序端进行展示
</div>
2、小程序端进行展示
</div>
<div
class=
"twoImageWrap"
>
<div
class=
"twoImageWrap"
>
<img
src=
"@/assets/card1.png"
alt=
""
/>
<img
src=
"@/assets/card1.png"
alt=
""
/>
<img
src=
"@/assets/card2.png"
alt=
""
/>
<img
src=
"@/assets/card2.png"
alt=
""
/>
...
@@ -55,13 +57,12 @@
...
@@ -55,13 +57,12 @@
<
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'
import
{
stateList
}
from
'@/common/constant'
import
{
stateList
}
from
'@/common/constant'
import
tipPanel
from
'@/components/tipPanel/index.vue'
import
tipPanel
from
'@/components/tipPanel/index.vue'
export
default
{
export
default
{
components
:
{
components
:
{
tipPanel
,
tipPanel
,
...
@@ -70,6 +71,8 @@ export default {
...
@@ -70,6 +71,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
url
:
url
,
url
:
url
,
surl
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/memberCase.png'
,
srcList
:
[
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/memberCase.png'
],
isFirstShow
:
false
,
isFirstShow
:
false
,
panelContent
:
'会员套餐:将已经创建好的会员服务打包成一个套餐售卖给客户。'
,
panelContent
:
'会员套餐:将已经创建好的会员服务打包成一个套餐售卖给客户。'
,
size
:
'small'
,
size
:
'small'
,
...
@@ -134,9 +137,11 @@ export default {
...
@@ -134,9 +137,11 @@ export default {
created
()
{
created
()
{
this
.
getLoginCountFun
()
this
.
getLoginCountFun
()
},
},
mounted
()
{
mounted
()
{},
},
methods
:
{
methods
:
{
previewPic
()
{
this
.
$refs
.
previewImg
.
showViewer
=
true
},
getLoginCountFun
()
{
getLoginCountFun
()
{
//loginType:5是查会员套餐浏览次数
//loginType:5是查会员套餐浏览次数
getLoginCount
({
loginType
:
5
}).
then
(
res
=>
{
getLoginCount
({
loginType
:
5
}).
then
(
res
=>
{
...
@@ -162,7 +167,6 @@ export default {
...
@@ -162,7 +167,6 @@ export default {
this
.
$refs
.
memberSetMealRef
.
setTableHeightFun
()
this
.
$refs
.
memberSetMealRef
.
setTableHeightFun
()
}
}
},
},
//创建套餐
//创建套餐
handleCreate
()
{
handleCreate
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -245,6 +249,19 @@ export default {
...
@@ -245,6 +249,19 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.btnWrap
{
.btnWrap
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.seeBtnWrap
{
margin-left
:
20px
;
display
:
inline-block
;
position
:
relative
;
.demo-image__preview
{
position
:
absolute
;
left
:
0px
;
top
:
0
;
width
:
68px
;
height
:
32px
;
opacity
:
0
;
}
}
}
}
/
deep
/
.el-dialog__header
{
/
deep
/
.el-dialog__header
{
...
...
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