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
15a4a3db
Commit
15a4a3db
authored
Mar 01, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
请求优化
parent
75f4af3b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
launch.json
.hbuilderx/launch.json
+4
-0
App.vue
App.vue
+1
-1
ourPayment.vue
pages/payment/ourPayment/ourPayment.vue
+15
-0
No files found.
.hbuilderx/launch.json
View file @
15a4a3db
...
...
@@ -10,6 +10,10 @@
{
"launchtype"
:
"local"
},
"mp-toutiao"
:
{
"launchtype"
:
"local"
},
"mp-weixin"
:
{
"launchtype"
:
"local"
...
...
App.vue
View file @
15a4a3db
...
...
@@ -58,7 +58,7 @@ export default {
9.css单位为rpx
*/
page
{
font-size
:
28rpx
;
color
:
#333333
;
background
:
#F7F7F7
;
height
:
100%
;}
view
,
text
,
image
{
box-sizing
:border-box
;}
view
,
text
,
image
,
video
,
button
,
checkbox
,
form
,
input
,
label
,
radio
,
switch
,
textarea
{
box-sizing
:border-box
;}
.btn
{
background
:linear-gradient
(
132deg
,
#ED400C
0
%
,
#FB862C
100
%
)
;
display
:
inline-block
;
color
:
#FFFFFF
;
font-size
:
28rpx
;
border-radius
:
8rpx
;
text-align
:
center
;}
/*单行溢出*/
.one-txt-cut
{
...
...
pages/payment/ourPayment/ourPayment.vue
View file @
15a4a3db
...
...
@@ -143,6 +143,7 @@
orderId
:
""
,
//订单Id
paydJumpUrl
:
""
,
//页面跳转路径
companyAttribute
:
""
,
//等于5时为出租车
timer
:
null
,
//定时器
}
},
onLoad
(
option
)
{
...
...
@@ -176,6 +177,14 @@
this
.
login
()
}
},
// 一般页面用onUnload
// tabbar页面用onHide
onUnload
()
{
if
(
this
.
timer
)
{
clearTimeout
(
this
.
timer
)
this
.
timer
=
null
}
},
methods
:
{
getUserBrowse
(){
//---获取浏览记录
let
queryUrl
=
this
.
$commonjs
.
getCurrentPageUrl
()
...
...
@@ -243,6 +252,9 @@
title
:
"登录失败"
,
icon
:
"none"
})
_this
.
timer
=
setTimeout
(()
=>
{
_this
.
login
()
},
2000
)
})
}
else
{
uni
.
showToast
({
...
...
@@ -255,6 +267,9 @@
title
:
"登录失败"
,
icon
:
"none"
})
_this
.
timer
=
setTimeout
(()
=>
{
_this
.
login
()
},
2000
)
})
}
}
...
...
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