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
29cbeb56
Commit
29cbeb56
authored
Mar 24, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
名称修改
parent
f0ffa5f7
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1216 additions
and
1196 deletions
+1216
-1196
pages.json
pages.json
+1
-1
electronicTicket.vue
pages/my/order/electronicTicket/electronicTicket.vue
+1165
-40
electronicTicketNew.vue
pages/my/order/electronicTicketNew/electronicTicketNew.vue
+0
-1155
electronicTicketold.vue
pages/my/order/electronicTicketold/electronicTicketold.vue
+50
-0
No files found.
pages.json
View file @
29cbeb56
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
}
}
,{
,{
"path"
:
"pages/my/order/electronicTicket
New/electronicTicketNew
"
,
"path"
:
"pages/my/order/electronicTicket
old/electronicTicketold
"
,
"style"
:
"style"
:
{
{
"navigationBarTitleText"
:
""
,
"navigationBarTitleText"
:
""
,
...
...
pages/my/order/electronicTicket/electronicTicket.vue
View file @
29cbeb56
This diff is collapsed.
Click to expand it.
pages/my/order/electronicTicketNew/electronicTicketNew.vue
deleted
100644 → 0
View file @
f0ffa5f7
This diff is collapsed.
Click to expand it.
pages/my/order/electronicTicketold/electronicTicketold.vue
0 → 100644
View file @
29cbeb56
<
template
>
<view>
<web-view
:src=
"outUrl"
></web-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
outUrl
:
''
,
//跳出地址
Brightness
:
''
,
//屏幕亮度
}
},
onShow
()
{
let
_this
=
this
uni
.
getScreenBrightness
({
success
:
function
(
res
){
// 这里是把获取到的手机屏幕亮度,存储到data里面,方便给到页面生命周期隐藏和卸载方法里面用
_this
.
Brightness
=
res
.
value
if
(
res
.
value
!=
1
){
uni
.
setScreenBrightness
({
value
:
1
})
}
}
})
},
onHide
:
function
()
{
uni
.
setScreenBrightness
({
// 恢复之前屏幕亮度
value
:
this
.
Brightness
})
},
onLoad
(
option
)
{
let
pdOpenid
=
uni
.
getStorageSync
(
'openid'
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
'token'
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
'createUserId'
)
let
pdUserId
=
uni
.
getStorageSync
(
'userId'
)
let
ifyukuaiCode
=
option
.
ifyukuaiCode
||
''
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
this
.
outUrl
=
'https://wx.pangdly.com/#/unusedDetail?id='
+
option
.
orderId
+
'&pdOpenid='
+
pdOpenid
+
'&pdToken='
+
pdToken
+
'&pdCreateUserId='
+
pdCreateUserId
+
'&pdUserId='
+
pdUserId
+
'&ifyukuaiCode='
+
ifyukuaiCode
},
methods
:
{
}
}
</
script
>
<
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