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
d08af7a2
Commit
d08af7a2
authored
Jan 16, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
8ec8bd21
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
index.vue
pages/coupon/index/index.vue
+3
-1
jz_SureOrder.vue
pages/jiuzhai/jz_SureOrder.vue
+8
-1
No files found.
pages/coupon/index/index.vue
View file @
d08af7a2
...
...
@@ -11,7 +11,7 @@
</view>
</view>
<view
class=
"couponHeadRight"
>
<text
v-for=
"(item,index) in couponStateList"
:key=
"index"
:class=
"[
msg.Coupons
Type==item.id?'active':'']"
<text
v-for=
"(item,index) in couponStateList"
:key=
"index"
:class=
"[
checkState
Type==item.id?'active':'']"
@
click
.
stop=
"changeState(item)"
>
{{
item
.
name
}}
</text>
</view>
</view>
...
...
@@ -94,6 +94,7 @@
pageTitle
:
"我的优惠券"
,
showAuth
:
false
,
U
:
{},
checkStateType
:
1
,
//状态选中
couponStateList
:
[{
name
:
"全部"
,
id
:
0
,
...
...
@@ -252,6 +253,7 @@
},
//状态切换
changeState
(
item
)
{
this
.
checkStateType
=
item
.
id
;
if
(
item
.
id
<=
2
)
{
this
.
msg
.
CouponsType
=
item
.
id
,
this
.
msg
.
CouponStatus
=
1
;
...
...
pages/jiuzhai/jz_SureOrder.vue
View file @
d08af7a2
...
...
@@ -440,7 +440,14 @@
<view
class=
"label"
>
在线支付
</view>
<view
class=
"val f14 regular"
style=
"text-align: right"
>
<text
style=
"margin-right: 30rpx"
>
{{
orderData
.
model
.
GuestNum
}}
人
</text>
<text
class=
"red"
>
¥
{{
orderData
.
model
.
PreferPrice
}}
</text>
<text
class=
"red"
>
¥
<template
v-if=
" orderData.model.DiscountMoney&&orderData.model.DiscountMoney>0"
>
{{
Number
(
orderData
.
model
.
PreferPrice
)
-
Number
(
orderData
.
model
.
DiscountMoney
)
}}
</
template
>
<
template
v-else
>
{{
orderData
.
model
.
PreferPrice
}}
</
template
>
</text>
</view>
</view>
<view
class=
"form-items"
style=
"border-bottom: none"
>
...
...
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