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
72aa26e7
Commit
72aa26e7
authored
Dec 04, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://192.168.0.204/panyongping/uni-pdtravel
into develop
parents
90c441cd
f5c7eb29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
scenicOrder-new.vue
pages/scenic/scenicOrder/scenicOrder-new.vue
+14
-6
No files found.
pages/scenic/scenicOrder/scenicOrder-new.vue
View file @
72aa26e7
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</scroll-view>
</scroll-view>
<text
class=
"no-time"
v-if=
"item.timeList&&item.timeList.length==0"
>
该日票种已售罄,请选择其他日期
</text>
<text
class=
"no-time"
v-if=
"item.timeList&&item.timeList.length==0"
>
该日票种已售罄,请选择其他日期
</text>
<text
class=
"no-time"
v-if=
"!item.startDate || !item.endDate"
>
请先选游玩日期
</text>
<text
class=
"no-time"
v-if=
"!item.startDate || !item.endDate"
>
请先选游玩日期
</text>
<view
class=
"timeMore"
@
click=
"showTime()"
>
<view
class=
"timeMore"
@
click=
"showTime(
item,index
)"
>
<view
class=
"time-more-content"
>
<view
class=
"time-more-content"
>
<view>
更多
</view>
<view>
更多
</view>
<view>
场次
</view>
<view>
场次
</view>
...
@@ -403,7 +403,6 @@ export default {
...
@@ -403,7 +403,6 @@ export default {
productCode
:
''
,
//产品code
productCode
:
''
,
//产品code
chooseContact
:
[],
//选中的游客信息列表
chooseContact
:
[],
//选中的游客信息列表
cruisePlanId
:
''
,
//班次Id
cruisePlanId
:
''
,
//班次Id
chooseTimeData
:
''
,
//选中的时间传给子组件
timeNumber
:
''
,
//当前时间转化为数字
timeNumber
:
''
,
//当前时间转化为数字
startPlayTime
:
''
,
//开始时间
startPlayTime
:
''
,
//开始时间
endPlayTime
:
''
,
//结束时间
endPlayTime
:
''
,
//结束时间
...
@@ -430,6 +429,8 @@ export default {
...
@@ -430,6 +429,8 @@ export default {
productIdList
:[],
//产品id列表入参
productIdList
:[],
//产品id列表入参
productList
:[],
//初始化产品数据
productList
:[],
//初始化产品数据
orderStatus
:
''
,
//上下架状态,任何一个产品状态为下架,该状态为下架
orderStatus
:
''
,
//上下架状态,任何一个产品状态为下架,该状态为下架
chooseTimeList
:[],
//选中产品时间列表
chooseTimeData
:
''
,
//选中的时间传给子组件
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
...
@@ -552,7 +553,7 @@ export default {
...
@@ -552,7 +553,7 @@ export default {
showCalendar
()
{
showCalendar
()
{
this
.
$refs
.
calendar
.
show
=
true
this
.
$refs
.
calendar
.
show
=
true
},
},
//---日期选择
//---日期选择
---已改
dateChoose
(
item
,
item2
,
index
)
{
dateChoose
(
item
,
item2
,
index
)
{
item
.
active
=
index
//修改选中样式
item
.
active
=
index
//修改选中样式
item
.
maxBookNum
=
Math
.
min
(
item2
.
maxBookNum
,
item2
.
surplus
)
//剩余量变化
item
.
maxBookNum
=
Math
.
min
(
item2
.
maxBookNum
,
item2
.
surplus
)
//剩余量变化
...
@@ -601,11 +602,18 @@ export default {
...
@@ -601,11 +602,18 @@ export default {
this
.
dateScroll
=
(
data
[
index
].
width
+
4
)
*
index
this
.
dateScroll
=
(
data
[
index
].
width
+
4
)
*
index
}).
exec
()
}).
exec
()
},
},
//---展示更多时间
//---展示更多时间---已改好
showTime
()
{
showTime
(
item
,
index
)
{
this
.
chooseTimeList
=
item
.
timeList
this
.
moreTimeIndex
=
index
if
(
item
.
timeActive
>=
0
){
this
.
timeActive
=
item
.
timeActive
//组件的默认下标
}
else
{
this
.
timeActive
=
10000
}
this
.
$refs
.
times
.
showPop
=
true
this
.
$refs
.
times
.
showPop
=
true
},
},
//---时间选择
//---时间选择
---已改好,数据更新需要测试
chooseTime
(
item
,
item2
,
index
)
{
chooseTime
(
item
,
item2
,
index
)
{
if
(
item2
.
copyLast
!=
'售罄'
){
if
(
item2
.
copyLast
!=
'售罄'
){
item
.
timeActive
=
index
item
.
timeActive
=
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