Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
4c871587
Commit
4c871587
authored
May 15, 2023
by
hxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付有礼 bug 修复
parent
f9535b9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
src/components/paySuccess/payWithGifts.vue
+11
-5
No files found.
src/components/paySuccess/payWithGifts.vue
View file @
4c871587
...
...
@@ -28,7 +28,7 @@
</div>
</template>
</template>
<div
class=
"points-wrapper flex"
v-if=
"
!
isShowIntegral"
>
<div
class=
"points-wrapper flex"
v-if=
"isShowIntegral"
>
<image
class=
"image"
src=
"http://cdn.mayi888.com/public/png/4eef96f4-a6be-4d13-9b5e-60577d289e08.png"
></image>
<div
class=
"flex center"
>
<div
class=
"points-content"
>
+ {{ giftsInfo.integral }}积分
</div>
...
...
@@ -74,9 +74,14 @@
}
},
watch
:
{
orderDetail
(
val
)
{
this
.
_orderDetail
=
val
;
this
.
getPayWithCourtesyInfoForShop
();
orderDetail
:
{
handler
(
val
)
{
if
(
val
&&
Object
.
keys
(
val
).
length
>
0
)
{
this
.
_orderDetail
=
val
;
this
.
getPayWithCourtesyInfoForShop
();
}
},
immediate
:
true
}
},
computed
:
{
...
...
@@ -125,7 +130,8 @@
if
(
this
.
giftsInfo
.
integral
&&
this
.
giftsInfo
.
integral
>
0
)
{
this
.
isShowIntegral
=
true
;
}
if
(
this
.
giftsInfo
.
getPayWithCourtesyInfoForShopRespDTO
)
{
const
info
=
this
.
giftsInfo
.
getPayWithCourtesyInfoForShopRespDTO
;
if
(
info
&&
(
info
.
payWithCourtesyIntegralRedemptionPageRespDTO
||
info
.
detailCouponInfoResponseDTO
))
{
this
.
isShowGifts
=
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