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
32c54ace
Commit
32c54ace
authored
Jul 05, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug处理
parent
ff5722c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
21 deletions
+16
-21
jointElectronicTicket.vue
.../my/order/jointElectronicTicket/jointElectronicTicket.vue
+7
-3
chooseArea.vue
pages/scenic/scenicComponents/chooseArea.vue
+9
-18
No files found.
pages/my/order/jointElectronicTicket/jointElectronicTicket.vue
View file @
32c54ace
...
@@ -406,7 +406,7 @@ export default {
...
@@ -406,7 +406,7 @@ export default {
countFlag
:
null
,
//倒计时时间函数
countFlag
:
null
,
//倒计时时间函数
numberFlag
:
null
,
////获取排号信息时间函数2
numberFlag
:
null
,
////获取排号信息时间函数2
Brightness
:
''
,
//屏幕亮度
Brightness
:
''
,
//屏幕亮度
openid
:
uni
.
getStorageSync
(
'openid'
)
||
''
,
//openid
openid
:
'oroHZ5FaUQ_SOOC_uQQP92fJpBRE'
,
//
uni.getStorageSync('openid')||'',//openid
companyId
:
''
,
//公司Id
companyId
:
''
,
//公司Id
orderId
:
''
,
//订单Id
orderId
:
''
,
//订单Id
orderInfo
:
''
,
//订单信息
orderInfo
:
''
,
//订单信息
...
@@ -423,7 +423,7 @@ export default {
...
@@ -423,7 +423,7 @@ export default {
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
orderId
=
option
.
orderId
this
.
orderId
=
'z001720159120330b8139324c6c8c2e8'
//
option.orderId
},
},
onShow
()
{
onShow
()
{
this
.
getDetail
()
this
.
getDetail
()
...
@@ -612,7 +612,10 @@ export default {
...
@@ -612,7 +612,10 @@ export default {
}
}
let
refundTimeNumber
=
new
Date
(
refundTime
.
replace
(
/-/g
,
'/'
)).
getTime
()
let
refundTimeNumber
=
new
Date
(
refundTime
.
replace
(
/-/g
,
'/'
)).
getTime
()
//refundDateType退款时间0之前1之后2至(用于区间)
//refundDateType退款时间0之前1之后2至(用于区间)
if
(
item2
.
refundDateType
==
0
){
if
(
item2
.
refundDateType
==
0
){
console
.
log
(
nowTimeNumber
)
console
.
log
(
refundTimeNumber
)
if
(
nowTimeNumber
<
refundTimeNumber
){
if
(
nowTimeNumber
<
refundTimeNumber
){
this
.
subRefundBtn
=
true
this
.
subRefundBtn
=
true
//增加字段用于弹窗展示该产品是否可退
//增加字段用于弹窗展示该产品是否可退
...
@@ -843,7 +846,8 @@ export default {
...
@@ -843,7 +846,8 @@ export default {
if
(
dataObj
.
pays
.
length
>
0
){
if
(
dataObj
.
pays
.
length
>
0
){
item
.
companyIdCopy
=
dataObj
.
pays
[
0
].
companyId
item
.
companyIdCopy
=
dataObj
.
pays
[
0
].
companyId
}
}
item
.
sorts
=
dataObj
.
sorts
||
[]
//由于页面不显示历史排号,所以只取第一个最新的排号信息
item
.
sorts
=
dataObj
.
sorts
.
slice
(
0
,
1
)
||
[]
if
(
item
.
sorts
[
0
].
sortFair
==
4
||
item
.
sorts
[
0
].
sortFair
==
5
){
if
(
item
.
sorts
[
0
].
sortFair
==
4
||
item
.
sorts
[
0
].
sortFair
==
5
){
//时间判断,用于返程或第一次取号时,是否可以显示取号按钮
//时间判断,用于返程或第一次取号时,是否可以显示取号按钮
let
presentTime
=
new
Date
().
getTime
()
let
presentTime
=
new
Date
().
getTime
()
...
...
pages/scenic/scenicComponents/chooseArea.vue
View file @
32c54ace
...
@@ -71,15 +71,6 @@
...
@@ -71,15 +71,6 @@
</text>
</text>
</view>
</view>
</
template
>
</
template
>
<!-- <view>
<text>
退票规则:
</text>
<text>
不可退
</text>
</view> -->
<view>
<view>
返程时,根据现场情况需重新取号
返程时,根据现场情况需重新取号
</view>
</view>
...
@@ -132,15 +123,6 @@
...
@@ -132,15 +123,6 @@
</text>
</text>
</view>
</view>
<!-- <view>
<text>
退票规则:
</text>
<text>
不可退
</text>
</view> -->
<view>
<view>
<image
src=
"../static/scenic/chooseArea.jpg"
mode=
"widthFix"
></image>
<image
src=
"../static/scenic/chooseArea.jpg"
mode=
"widthFix"
></image>
</view>
</view>
...
@@ -149,6 +131,9 @@
...
@@ -149,6 +131,9 @@
<a
class=
"btn"
@
click=
"closeSon()"
>
确定
</a>
<a
class=
"btn"
@
click=
"closeSon()"
>
确定
</a>
</view>
</view>
</view>
</view>
<view
class=
"number-detail"
>
长江索道排号详情可在公众号查询
</view>
</view>
</view>
</view>
</view>
...
@@ -338,4 +323,10 @@ export default {
...
@@ -338,4 +323,10 @@ export default {
font-weight
:
bolder
;
font-weight
:
bolder
;
color
:
$red
;
color
:
$red
;
}
}
.number-detail
{
font-size
:
32rpx
;
color
:
#FC6703
;
text-align
:
center
;
margin-top
:
20rpx
;
}
</
style
>
</
style
>
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