Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
Overview
Overview
Details
Activity
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
pseer
gxpt_wechat
Commits
5f87b3b0
Commit
5f87b3b0
authored
Dec 01, 2023
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
7a9b8b0e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
25 deletions
+32
-25
toolBox.vue
components/toolBox/toolBox.vue
+1
-1
myInfo.vue
pages/my/myInfo.vue
+4
-0
order.vue
pages/order/order.vue
+19
-20
orderResult.vue
pages/orderResult/orderResult.vue
+1
-1
useCouponIllustrate.vue
pages/useCouponIllustrate/useCouponIllustrate.vue
+7
-3
No files found.
components/toolBox/toolBox.vue
View file @
5f87b3b0
...
...
@@ -43,7 +43,7 @@
url
:
config
.
assetsPath
+
'/tool_3.png'
,
imgUrl
:
config
.
assetsPath
+
'/scan_code_icon.png'
,
sortName
:
"验"
,
routePath
:
"/pages/useCouponIllustrate/useCouponIllustrate"
routePath
:
"/pages/useCouponIllustrate/useCouponIllustrate
?keyData=coupon_use_process
"
},
{
name
:
"客服"
,
...
...
pages/my/myInfo.vue
View file @
5f87b3b0
...
...
@@ -258,6 +258,10 @@
uni
.
navigateTo
({
url
:
'/pages/storeList/storeList'
})
}
else
if
(
val
===
4
){
uni
.
navigateTo
({
url
:
'/pages/useCouponIllustrate/useCouponIllustrate?keyData=call_us_images'
})
}
},
onClose
(){
...
...
pages/order/order.vue
View file @
5f87b3b0
...
...
@@ -300,7 +300,7 @@
</view>
<view
class=
"btn-box"
>
<button
class=
"cu-btn round block bg-pink lg"
@
tap=
"onOrder
Create
"
>
立即
{{
orderType
==
1
?
'预约'
:
'续单'
}}
</button>
@
tap=
"onOrder"
>
立即
{{
orderType
==
1
?
'预约'
:
'续单'
}}
</button>
</view>
</view>
</view>
...
...
@@ -908,23 +908,23 @@
})
return
}
if
(
uni
.
getStorageSync
(
"orderUseMessage"
))
{
this
.
$refs
.
confirmPop
.
open
();
}
else
{
wx
.
requestSubscribeMessage
({
tmplIds
:
[
'K8fbcKVq46w9o7Ekpesn74WPjwxnbso947YZiYBQw9c'
,
'HB2_moQRQrXC2cKw6zE08NU3AQO9Ggj3aAOg0lIgecg'
,
'oTc000e4NHkoc7v9OLBZiwM6Q6SFzguemrx6d0iuVS8'
],
success
:
(
res
)
=>
{
uni
.
setStorageSync
(
"orderUseMessage"
,
true
);
this
.
$refs
.
confirmPop
.
open
();
},
complete
:
(
res
)
=>
{
console
.
log
(
res
,
909090
)
}
}
)
}
this
.
$refs
.
confirmPop
.
open
();
},
onOrder
()
{
wx
.
requestSubscribeMessage
({
tmplIds
:
[
'K8fbcKVq46w9o7Ekpesn74WPjwxnbso947YZiYBQw9c'
,
'HB2_moQRQrXC2cKw6zE08NU3AQO9Ggj3aAOg0lIgecg'
,
'oTc000e4NHkoc7v9OLBZiwM6Q6SFzguemrx6d0iuVS8'
],
success
:
(
res
)
=>
{
//
uni.setStorageSync("orderUseMessage", true);
//
this.$refs.confirmPop.open();
this
.
onOrderCreate
()
},
complete
:
(
res
)
=>
{
console
.
log
(
res
,
909090
)
}
}
)
},
onOrderCreate
()
{
this
.
onCancle
();
...
...
@@ -975,9 +975,8 @@
"fail"
:
(
resp
)
=>
{
// 取消支付或支付失败
uni
.
showToast
({
title
:
"取消支付
或支付失败
"
title
:
"取消支付"
})
// 调用取消订单接口
},
"complete"
:
(
resp
)
=>
{
// 接口调用结束的回调函数(调用成功、失败都会执行)
...
...
pages/orderResult/orderResult.vue
View file @
5f87b3b0
...
...
@@ -80,7 +80,7 @@
<view
class=
"part"
>
<button
class=
"cu-btn block round line-pink lg"
@
tap=
"onNavToShare"
>
分享好友
</button>
</view>
<view
v-i
s=
"orderInfo.status
== 1"
class=
"part"
>
<view
v-i
f=
"orderInfo.status =
== 1"
class=
"part"
>
<button
class=
"cu-btn block round bg-mauve lg"
@
tap=
"onNavToOrder"
>
房间续单
</button>
</view>
</view>
...
...
pages/useCouponIllustrate/useCouponIllustrate.vue
View file @
5f87b3b0
...
...
@@ -11,15 +11,19 @@
export
default
{
data
()
{
return
{
content
:
''
content
:
''
,
keyData
:
"coupon_use_process"
};
},
onLoad
()
{
onLoad
(
option
)
{
if
(
option
&&
option
.
keyData
){
this
.
keyData
=
option
.
keyData
}
this
.
onLoading
()
},
methods
:{
onLoading
(){
getProtocol
(
'coupon_use_process'
).
then
(
res
=>
{
getProtocol
(
this
.
keyData
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
data
.
code
){
uni
.
setNavigationBarTitle
({
...
...
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