Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
4fffe4e0
Commit
4fffe4e0
authored
Nov 09, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享中心那里
parent
624910bb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
14 deletions
+50
-14
designerDetail.vue
pages/reserve/designerDetail.vue
+23
-8
offline-success.vue
pages/reserve/offline-success.vue
+1
-1
storeDetails.vue
pages/reserve/storeDetails.vue
+3
-1
share-detail.vue
pages/share-team/share-detail.vue
+23
-4
No files found.
pages/reserve/designerDetail.vue
View file @
4fffe4e0
...
...
@@ -415,7 +415,7 @@
</view>
<view
class=
"serve"
>
<view
class=
"title"
>
TA可服务会员卡
<text
style=
"font-size: 11px;color: #1B1D1E;"
>
(
{{
allCoupon
.
length
}}
)
</text></view>
<view
class=
"setmeal-box"
>
<view
class=
"setmeal-box"
v-if=
"allCoupon.length>0"
>
<view
v-for=
"(cl, ci) in allCoupon"
:key=
"ci"
@
click=
"gocoupon(cl)"
>
<view
class=
"setmeal-item"
:style=
"
{'margin-left':ci==0?'15px':'0','margin-right': ci+1==allCoupon.length?'15px':'5px'}">
<view
class=
"setmeal-item-top"
>
...
...
@@ -433,6 +433,9 @@
</view>
</view>
</view>
<view
v-if=
"allCoupon.length==0"
style=
"width: 100%;height: 50px;line-height: 50px;text-align: center;"
>
暂无服务会员卡~
</view>
<view
class=
"title"
>
TA可服务的商品
<text
style=
"font-size: 11px;color: #1B1D1E;"
>
(
{{
personal
.
goodsList
.
length
}}
)
</text></view>
<view
class=
"d-goods"
>
<view
class=
"d-goods-item"
v-for=
"(c, j) in personal.goodsList"
:key=
"c"
@
click=
"gogoods(c)"
>
...
...
@@ -536,9 +539,14 @@
if
(
option
&&
option
.
storeId
)
{
this
.
storeId
=
option
.
storeId
}
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
getDetail
()
//服务人员详情
this
.
getAllCPList
();
this
.
getAppCommentList
()
if
(
this
.
u
)
{
this
.
getAllCPList
();
this
.
getAppCommentList
()
}
},
mounted
()
{
uni
.
setNavigationBarTitle
({
...
...
@@ -658,6 +666,8 @@
},
reloadUserinfo
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
getAllCPList
();
this
.
getAppCommentList
()
},
//关闭登录窗口
gbAuth
()
{
...
...
@@ -672,11 +682,16 @@
},
//跳转至生成海报
goShare
(){
uni
.
navigateTo
({
url
:
"/pages/reserve/share_qrcode?ServiceLogo="
+
this
.
personal
.
ServiceLogo
+
'&Name='
+
this
.
personal
.
Name
+
'&storeId='
+
this
.
storeId
+
'&ID='
+
this
.
ID
})
if
(
this
.
u
)
{
uni
.
navigateTo
({
url
:
"/pages/reserve/share_qrcode?ServiceLogo="
+
this
.
personal
.
ServiceLogo
+
'&Name='
+
this
.
personal
.
Name
+
'&storeId='
+
this
.
storeId
+
'&ID='
+
this
.
ID
})
}
else
{
this
.
showAuth
=
true
;
}
},
},
...
...
pages/reserve/offline-success.vue
View file @
4fffe4e0
...
...
@@ -102,7 +102,7 @@
godingdan
(){
uni
.
reLaunch
({
url
:
'/pages/reserve/personal/order
list
?status=2'
,
url
:
'/pages/reserve/personal/order
Details
?status=2'
,
});
}
...
...
pages/reserve/storeDetails.vue
View file @
4fffe4e0
...
...
@@ -626,7 +626,7 @@
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
init
();
this
.
getSPList
()
//获取服务人员列表
this
.
getAllCPList
()
//获取门店套餐卡
wx
.
showShareMenu
({
withShareTicket
:
true
,
menus
:
[
"shareAppMessage"
,
"shareTimeline"
],
...
...
@@ -765,6 +765,7 @@
if
(
this
.
u
)
{
// this.initComments();
this
.
getGoodsComment
()
this
.
getAllCPList
()
//获取门店套餐卡
}
}
else
{
...
...
@@ -935,6 +936,7 @@
reloadUserinfo
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
getGoodsComment
()
this
.
getAllCPList
()
//获取门店套餐卡
},
//关闭登录窗口
...
...
pages/share-team/share-detail.vue
View file @
4fffe4e0
...
...
@@ -563,7 +563,7 @@
methods
:
{
//跳转至订单详情
redirectToDetail
(
item
)
{
// OrderClassify 0商品 1司导 2网课
// OrderClassify 0商品 1司导 2网课
3线下服务
if
(
item
.
OrderClassify
==
0
)
{
uni
.
navigateTo
({
url
:
"/pages/order/order-detail?id="
+
item
.
OrderId
+
'&NewUserId='
+
item
.
UserId
,
...
...
@@ -576,13 +576,32 @@
uni
.
navigateTo
({
url
:
"/pages/school/personal/orderDetail?OrderId="
+
item
.
OrderId
+
'&NewUserId='
+
item
.
UserId
,
});
}
else
if
(
item
.
OrderClassify
==
3
)
{
uni
.
navigateTo
({
url
:
"/pages/reserve/personal/orderDetails?id="
+
item
.
OrderId
+
'&NewUserId='
+
item
.
UserId
,
});
}
},
//跳转至商品详情
openGood
(
item
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
GoodsId
});
if
(
item
.
OrderClassify
==
0
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
GoodsId
});
}
else
if
(
item
.
OrderClassify
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/guidecar/guidecarGoodsdetails?GoodsId="
+
item
.
GoodsId
,
});
}
else
if
(
item
.
OrderClassify
==
2
)
{
uni
.
navigateTo
({
url
:
"/pages/school/courseInfo?GoodsId="
+
item
.
GoodsId
,
});
}
else
if
(
item
.
OrderClassify
==
3
)
{
uni
.
navigateTo
({
url
:
"/pages/reserve/goodsDetails?GoodsId="
+
item
.
GoodsId
,
});
}
},
getHeadHeight
()
{
let
that
=
this
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment