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
3c801558
Commit
3c801558
authored
Nov 24, 2023
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化,加订阅消息提示
parent
eebca2b1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
order.vue
pages/order/order.vue
+0
-0
orderRecord.vue
pages/orderRecord/orderRecord.vue
+7
-2
orderResult.vue
pages/orderResult/orderResult.vue
+6
-11
No files found.
pages/order/order.vue
View file @
3c801558
This diff is collapsed.
Click to expand it.
pages/orderRecord/orderRecord.vue
View file @
3c801558
...
...
@@ -16,7 +16,7 @@
<text
class=
"cuIcon cuIcon-title text-pink"
></text>
<text
class=
"text-title text-bold text-xl"
>
{{
item
.
storeName
||
'门店名称'
}}
</text>
</view>
<text
:class=
"item.status==1?'text-pink':item.status==0?'text-cyan':item.status==2?'text-gray':'text-red'"
>
{{
orderStatusEnum
[
item
.
status
]
}}
</text>
<text
:class=
"item.status==1?'text-pink':item.status==0?'text-cyan':item.status==2?'text-gray':'text-red'"
>
{{
item
.
status
>=
3
?
refundStatusEnum
[
item
.
refundStatus
]:
orderStatusEnum
[
item
.
status
]
}}
</text>
</view>
<view
class=
"flex-row room-image-box"
>
...
...
@@ -162,7 +162,12 @@ import NoLogin from "@/components/noLogin/noLogin"
},
loginStatus
:
true
,
orderStatusEnum
:{},
roomTypeEnum
:{}
roomTypeEnum
:{},
refundStatusEnum
:{
1
:
'退款中'
,
2
:
'退款中'
,
3
:
'已退款'
}
};
},
onLoad
()
{
...
...
pages/orderResult/orderResult.vue
View file @
3c801558
...
...
@@ -80,7 +80,7 @@
<view
class=
"part"
>
<button
class=
"cu-btn block round line-pink lg"
@
tap=
"onNavToShare"
>
分享好友
</button>
</view>
<view
class=
"part"
>
<view
v-is=
"orderInfo.status == 1"
class=
"part"
>
<button
class=
"cu-btn block round bg-mauve lg"
@
tap=
"onNavToOrder"
>
房间续单
</button>
</view>
</view>
...
...
@@ -140,7 +140,10 @@
this
.
orderNo
=
option
.
orderNo
;
this
.
onGetDicts
()
this
.
onLoading
();
this
.
onMessagePush
()
if
(
option
.
success
){
this
.
onMessagePush
()
}
},
methods
:{
onGetDicts
()
{
...
...
@@ -237,15 +240,7 @@
})
},
onMessagePush
(){
if
(
!
uni
.
getStorageSync
(
"orderUseMessage"
)){
uni
.
requestSubscribeMessage
({
tmplIds
:[
'oTc000e4NHkoc7v9OLBZiwM6Q6SFzguemrx6d0iuVS8'
],
complete
:
(
res
)
=>
{
console
.
log
(
res
,
909090
)
uni
.
setStorageSync
(
"orderUseMessage"
,
true
);
}
})
}
}
}
}
...
...
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