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
429a0c3e
Commit
429a0c3e
authored
Mar 27, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示优化
parent
f4e69866
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
electronicTicket.vue
pages/my/order/electronicTicket/electronicTicket.vue
+5
-2
No files found.
pages/my/order/electronicTicket/electronicTicket.vue
View file @
429a0c3e
...
...
@@ -30,11 +30,11 @@
<view
class=
"certificate-box"
>
<view
class=
"box-verificationCode"
>
验证码:
{{
ticketCode
}}
</view>
<canvas
class=
"box-QRcode"
canvas-id=
"qrcode"
/>
<view
class=
"progress-box"
v-if=
"
orderInfo.orderType == 0
"
>
<view
class=
"progress-box"
v-if=
"
qrCodeType==true
"
>
<progress
:percent=
"percentage"
activeColor=
"#3688FF"
stroke-width=
"3"
/>
</view>
<!--
<view
class=
"box-prompt"
>
自动更新,截屏无效
</view>
-->
<view
class=
"box-prompt2"
>
{{
orderInfo
.
orderType
==
1
?
''
:
'二维码自动更新,截屏无法验证
'
}}
</view>
<view
class=
"box-prompt2"
>
{{
qrCodeType
==
true
?
'二维码自动更新,截屏无法验证'
:
'
'
}}
</view>
</view>
</view>
</
template
>
...
...
@@ -434,6 +434,7 @@
timerType
:
null
,
//清除标记
returnTripType
:
false
,
//返程取号设置
Brightness
:
''
,
//屏幕亮度
qrCodeType
:
false
,
//是否是多个二维码
}
},
onShow
()
{
...
...
@@ -494,8 +495,10 @@
this
.
$nextTick
(()
=>
{
if
(
this
.
orderInfo
.
playDate
.
substr
(
0
,
10
)
==
this
.
$commonjs
.
today
()
&&
this
.
orderInfo
.
exchangeMode
==
4
||
this
.
orderInfo
.
playDate
.
substr
(
0
,
10
)
==
this
.
$commonjs
.
today
()
&&
this
.
orderInfo
.
exchangeMode
==
5
){
this
.
dynamicCode
()
this
.
qrCodeType
=
true
}
else
{
this
.
qecode
()
this
.
qrCodeType
=
false
}
})
}
...
...
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