Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
03f0efc2
Commit
03f0efc2
authored
Mar 07, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复券详情bug
parent
55735f8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
details.vue
pages/coupon/details/details.vue
+5
-5
No files found.
pages/coupon/details/details.vue
View file @
03f0efc2
...
...
@@ -54,8 +54,8 @@
<view
class=
"cdTiaojianBRText"
v-if=
"g.remark&&g.remark!=''"
>
备注:{{ g.remark }}
</view>
</view>
</view>
<view
class=
"cdTiaojianButtom"
v-if=
"type==1"
@
click=
"gouseUrl(
g
)"
>
立即使用
</view>
<view
class=
"cdTiaojianButtom"
v-else
@
click=
"g.couponReceiveCount==0?receive(
g.couponReceiveCount):gouseUrl(g
)"
>
{{ g.couponReceiveCount==0?'立即领取':'立即使用' }}
</view>
<view
class=
"cdTiaojianButtom"
v-if=
"type==1"
@
click=
"gouseUrl()"
>
立即使用
</view>
<view
class=
"cdTiaojianButtom"
v-else
@
click=
"g.couponReceiveCount==0?receive(
):gouseUrl(
)"
>
{{ g.couponReceiveCount==0?'立即领取':'立即使用' }}
</view>
</view>
</view>
...
...
@@ -108,9 +108,9 @@
return
num
},
receive
(
id
){
receive
(){
this
.
apipost
(
"b2c_post_CustomerGrantCoupon"
,
{
Id
:
id
Id
:
this
.
g
.
id
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
showToast
({
...
...
@@ -129,7 +129,7 @@
},
gouseUrl
(
g
)
{
gouseUrl
()
{
uni
.
redirectTo
({
url
:
'/pages/index/index'
});
...
...
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