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 9e30d9dc
authored
Dec 23, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加功能权限
1 parent
89a2138a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
18 deletions
src/views/memberCenter/center.vue
src/views/memberCenter/order.vue
src/views/memberCenter/service.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/center.vue
View file @
9e30d9d
...
@@ -9,17 +9,20 @@
...
@@ -9,17 +9,20 @@
<div
class=
"memberCardName"
>
{{
ruleForm
.
cardName
}}
</div>
<div
class=
"memberCardName"
>
{{
ruleForm
.
cardName
}}
</div>
</div>
</div>
<div
class=
"cardDetail"
v-if=
"!isShowEditWrap"
>
<div
class=
"cardDetail"
v-if=
"!isShowEditWrap"
>
<p>
{{
ruleForm
.
cardName
}}
</p>
<div
class=
"flex-1"
>
<p>
{{
ruleForm
.
cardName
}}
</p>
<img
src=
"@/assets/edit.png"
class=
"editIcon"
@
click=
"openEditWrap"
alt=
""
/>
<GLButton
@
click=
"openEditWrap"
fn=
"编辑"
mode=
"div"
>
<img
src=
"@/assets/edit.png"
class=
"editIcon"
@
click=
"openEditWrap"
alt=
""
/></GLButton>
<div>
</div>
<!--
<img
src=
"@/assets/edit.png"
class=
"editIcon"
@
click=
"openEditWrap"
alt=
""
/>
-->
<div
class=
"row"
>
<span>
售价:
</span>
<span>
售价:
</span>
<span
class=
"price"
v-if=
"ruleForm.price"
>
¥
{{
ruleForm
.
price
}}
</span>
<span
class=
"price"
v-if=
"ruleForm.price"
>
¥
{{
ruleForm
.
price
}}
</span>
</div>
</div>
<div>
<div
class=
"row"
>
<span>
市场价:
</span>
<span>
市场价:
</span>
<span
class=
"price"
v-if=
"ruleForm.marketPrice"
>
¥
{{
ruleForm
.
marketPrice
}}
</span>
<span
class=
"price"
v-if=
"ruleForm.marketPrice"
>
¥
{{
ruleForm
.
marketPrice
}}
</span>
</div>
</div>
<div>
<div
class=
"row"
>
<span>
会员权益使用地址:
</span>
<span>
会员权益使用地址:
</span>
<span
class=
"address ellipsis-1"
:title=
"ruleForm.linkUrl"
>
{{
ruleForm
.
linkUrl
}}
</span>
<span
class=
"address ellipsis-1"
:title=
"ruleForm.linkUrl"
>
{{
ruleForm
.
linkUrl
}}
</span>
</div>
</div>
...
@@ -449,14 +452,17 @@ mounted () {
...
@@ -449,14 +452,17 @@ mounted () {
vertical-align
:
middle
;
vertical-align
:
middle
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
>
p
{
.flex-1
{
display
:
flex
;
p
{
display
:
inline-block
;
display
:
inline-block
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#333333
;
color
:
#333333
;
font-size
:
16px
;
font-size
:
16px
;
margin
:
0
;
margin
:
0
;
}
}
>
div
{
}
.row
{
margin-top
:
15px
;
margin-top
:
15px
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/memberCenter/order.vue
View file @
9e30d9d
...
@@ -41,8 +41,10 @@
...
@@ -41,8 +41,10 @@
<img
class=
"img-60"
:src=
"scope.scope.shareImgUrl"
/>
<img
class=
"img-60"
:src=
"scope.scope.shareImgUrl"
/>
</span>
-->
</span>
-->
<span
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<span
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
v-if=
"scope.scope.orderType == 1"
>
详情
</el-button>
<!--
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
v-if=
"scope.scope.orderType == 1"
>
详情
</el-button>
<el-button
type=
"text"
style=
"color:#eee"
v-else
>
详情
</el-button>
<el-button
type=
"text"
style=
"color:#eee"
v-else
>
详情
</el-button>
-->
<GLButton
@
click=
"handleDetail(scope.scope)"
fn=
"订单详情"
type=
"text"
v-if=
"scope.scope.orderType == 1"
>
详情
</GLButton>
<GLButton
style=
"color: #eee"
fn=
"订单详情"
type=
"text"
v-else
>
详情
</GLButton>
</span>
</span>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -51,12 +53,12 @@
...
@@ -51,12 +53,12 @@
<
script
>
<
script
>
import
{
orderTypesList
,
orderStatusList
}
from
'@/common/constant'
import
{
orderTypesList
,
orderStatusList
}
from
'@/common/constant'
import
url
from
"@/assets/empty.png"
import
url
from
'@/assets/empty.png'
import
{
getOrderListApi
}
from
'@/api/modules/order'
import
{
getOrderListApi
}
from
'@/api/modules/order'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
url
:
url
,
url
:
url
,
isReload
:
true
,
isReload
:
true
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
...
@@ -147,9 +149,7 @@ export default {
...
@@ -147,9 +149,7 @@ export default {
}
}
}
}
},
},
mounted
()
{
mounted
()
{},
},
methods
:
{
methods
:
{
tabClick
(
index
)
{
tabClick
(
index
)
{
this
.
currentIndex
=
index
this
.
currentIndex
=
index
...
...
src/views/memberCenter/service.vue
View file @
9e30d9d
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<el-form
:inline=
"true"
style=
"width:100%"
:model=
"searchForm"
label-width=
"100px"
label-position=
"right"
>
<el-form
:inline=
"true"
style=
"width:100%"
:model=
"searchForm"
label-width=
"100px"
label-position=
"right"
>
<el-row>
<el-row>
<el-form-item
size=
"small"
>
<el-form-item
size=
"small"
>
<
el-button
:size=
"size"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"handleCreate"
>
创建服务
</el-button
>
<
!--
<el-button
:size=
"size"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"handleCreate"
>
创建服务
</el-button>
--
>
<
!--
<GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建服务"
mode=
"el-button"
>
创建服务
</GLButton>
--
>
<
GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建服务"
mode=
"el-button"
>
创建服务
</GLButton
>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"服务名称"
>
<el-form-item
size=
"small"
label=
"服务名称"
>
<el-input
:size=
"size"
v-model=
"searchForm.couponName"
placeholder=
"请输入服务名称"
clearable
></el-input>
<el-input
:size=
"size"
v-model=
"searchForm.couponName"
placeholder=
"请输入服务名称"
clearable
></el-input>
...
...
src/views/memberCenter/setmeal.vue
View file @
9e30d9d
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<tip-panel
panelWidth=
"616px"
panelMinHeight=
"40px"
:panelContent=
"panelContent"
v-if=
"isFirstShow"
@
closePanel=
"closePanel"
></tip-panel>
<tip-panel
panelWidth=
"616px"
panelMinHeight=
"40px"
:panelContent=
"panelContent"
v-if=
"isFirstShow"
@
closePanel=
"closePanel"
></tip-panel>
<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>
--
>
<
!--
<GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建套餐"
mode=
"el-button"
>
创建套餐
</GLButton>
--
>
<
GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建套餐"
mode=
"el-button"
>
创建套餐
</GLButton
>
<el-button
:size=
"size"
@
click=
"showViewer=true"
>
查看示例效果
</el-button>
<el-button
:size=
"size"
@
click=
"showViewer=true"
>
查看示例效果
</el-button>
<el-image-viewer
v-if=
"showViewer"
:on-close=
"()=>
{showViewer=false}" :url-list="srcList" style="padding:4%;"/>
<el-image-viewer
v-if=
"showViewer"
:on-close=
"()=>
{showViewer=false}" :url-list="srcList" style="padding:4%;"/>
</div>
</div>
...
...
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