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
f16af687
Commit
f16af687
authored
Mar 18, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单细节优化
parent
5c260a78
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
order.vue
pages/order/order.vue
+3
-3
orderResult.vue
pages/orderResult/orderResult.vue
+1
-1
No files found.
pages/order/order.vue
View file @
f16af687
...
...
@@ -841,7 +841,7 @@
url
:
"/pages/useCoupon/index"
,
events
:
{
getSelectData
(
data
)
{
if
(
data
.
couponId
)
{
if
(
data
.
couponId
&&
that
.
useCouponList
.
length
)
{
that
.
selectCouponIndex
=
that
.
useCouponList
.
findIndex
(
item
=>
item
.
id
===
data
.
couponId
)
}
else
{
...
...
@@ -857,9 +857,9 @@
orderMode
:
that
.
orderTypeList
[
that
.
index
].
type
,
preStartDate
:
that
.
dateObj
.
startDate
,
orderType
:
that
.
orderType
,
packageId
:
that
.
packageMode
[
that
.
modeIndex
].
id
,
packageId
:
that
.
packageMode
.
length
?
that
.
packageMode
[
that
.
modeIndex
].
id
:
''
,
preEndDate
:
that
.
dateObj
.
endDate
,
selectId
:
that
.
selectCouponIndex
>=
0
?
that
.
useCouponList
[
that
selectId
:
that
.
selectCouponIndex
>=
0
&&
that
.
useCouponList
.
length
?
that
.
useCouponList
[
that
.
selectCouponIndex
].
id
:
''
})
}
...
...
pages/orderResult/orderResult.vue
View file @
f16af687
...
...
@@ -98,7 +98,7 @@
<view
class=
"part"
>
<button
class=
"cu-btn block round bg-pink lg"
:class=
"openDoorStatus?'bg-gray':'bg-pink'"
@
tap=
"onOpenDoor"
>
进店开门
</button>
</view>
<view
v-if=
"userInfo.id == orderInfo.consumerId"
class=
"part"
>
<view
class=
"part"
>
<button
class=
"cu-btn block round line-pink lg"
open-type=
"share"
>
分享好友
</button>
</view>
<view
v-if=
"orderInfo.status === 1 && userInfo.id == orderInfo.consumerId"
class=
"part"
>
...
...
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