Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
84704fdb
Commit
84704fdb
authored
Dec 26, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单产品优惠券处理
parent
0738836e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
combiChoose.vue
pages/combination/combiChoose/combiChoose.vue
+3
-3
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+2
-2
scenicSingleOrder.vue
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
+3
-3
No files found.
pages/combination/combiChoose/combiChoose.vue
View file @
84704fdb
...
...
@@ -13,11 +13,11 @@ export default {
},
onLoad
(
option
)
{
//由于之前配置了这个页面,暂时进入页面直接跳转页面
this
.
companyId
=
this
.
$commonjs
.
getCompanyId
(
option
)
||
''
let
companyId
=
this
.
$commonjs
.
getCompanyId
(
option
)
||
''
let
merchantId
=
this
.
$commonjs
.
getKey
(
option
,
'merchantId'
)
||
''
let
channelId
=
this
.
$commonjs
.
getKey
(
option
,
'channelId'
)
||
''
this
.
groupId
=
this
.
$commonjs
.
getKey
(
option
,
'groupId'
)
||
''
this
.
groupChannelId
=
this
.
$commonjs
.
getKey
(
option
,
'groupChannelId'
)
||
''
let
groupId
=
this
.
$commonjs
.
getKey
(
option
,
'groupId'
)
||
''
let
groupChannelId
=
this
.
$commonjs
.
getKey
(
option
,
'groupChannelId'
)
||
''
uni
.
navigateTo
({
url
:
`/pages/combination/distributionCombiChoose/distributionCombiChoose?merchantId=
${
merchantId
}
&channelId=
${
channelId
}
&groupId=
${
groupId
}
&groupChannelId=
${
groupChannelId
}
&companyId=
${
companyId
}
`
})
...
...
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
84704fdb
...
...
@@ -88,7 +88,7 @@
<u-empty
text=
"空空如也..."
mode=
"list"
v-if=
"scenicList.length == 0"
width=
"320"
height=
"320"
></u-empty>
</swiper-item>
<swiper-item
class=
"swiper-item"
>
<
!-- <
swiper-item class="swiper-item">
<u-waterfall v-model="albumList" class="waterfall" style="padding-top: 8rpx;">
<template v-slot:left="{leftList}">
<view v-for="(item, index) in leftList" :key="index" class="album-left" @click="goAlbum(index)">
...
...
@@ -136,7 +136,7 @@
</swiper-item>
<swiper-item class="swiper-item">
<u-empty text="空空如也..." mode="list" width="320" height="320"></u-empty>
</swiper-item>
</swiper-item>
-->
</swiper>
</view>
<view
class=
"bottom"
>
...
...
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
View file @
84704fdb
...
...
@@ -139,7 +139,7 @@
</u-number-box>
</view>
</view>
<view
class=
" middle-coupon"
v-if=
"couponData
.length>0
"
@
click=
"showCoupon()"
>
<view
class=
" middle-coupon"
v-if=
"couponData"
@
click=
"showCoupon()"
>
<view>
券
</view>
...
...
@@ -451,7 +451,7 @@ export default {
dateScroll
:
''
,
//日期滚动值
timeScroll
:
''
,
//时间滚动值
openid
:
uni
.
getStorageSync
(
'openid'
)
||
''
,
//openid
couponData
:
[]
,
//所有劵数据
couponData
:
''
,
//所有劵数据
chooseCouponObj
:
''
,
//默认选中最优价格优惠券
ableConpon
:
''
,
//没有可用优惠券时,达到一定条件可用,显示达到的条件
}
...
...
@@ -971,7 +971,7 @@ export default {
let
savedMoneyList
=
[]
this
.
chooseCouponObj
=
''
this
.
ableConpon
=
''
this
.
couponData
=
[]
this
.
couponData
=
''
let
data
=
{
productId
:
this
.
productId
,
//产品id
tickets
:
this
.
buyNum
,
//房间数量
...
...
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