Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
a8d3ba38
Commit
a8d3ba38
authored
Apr 15, 2020
by
王建威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into wjw_fenqi
parents
ff55d339
693adf77
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
6 deletions
+21
-6
main.js
main.js
+8
-3
payresult.vue
pages/payresult/payresult.vue
+6
-2
signcontract.vue
pages/signcontract/signcontract.vue
+1
-1
wxpay.vue
pages/wxpay/wxpay.vue
+3
-0
yuepay.vue
pages/yuepay/yuepay.vue
+3
-0
No files found.
main.js
View file @
a8d3ba38
...
...
@@ -77,9 +77,14 @@ function backup() {
}
// 跳转外部链接,使用webview
function
jump
(
url
)
{
// #ifdef H5
window
.
location
.
href
=
url
;
function
jump
(
url
,
type
)
{
// #ifdef H5
if
(
type
===
1
){
// 重定向到指定地址,防止回退
window
.
location
.
replace
(
url
);
}
else
{
window
.
location
.
href
=
url
;
}
// #endif
// #ifndef H5
...
...
pages/payresult/payresult.vue
View file @
a8d3ba38
...
...
@@ -21,7 +21,9 @@
let
timer
=
setInterval
(()
=>
{
if
(
this
.
time
<=
0
){
const
{
origin
}
=
window
.
location
;
this
.
$jump
(
`
${
origin
}
/index.php?app=member`
);
// 清除合同信息缓存
uni
.
removeStorageSync
(
'installment'
);
this
.
$jump
(
`
${
origin
}
/index.php?app=member`
,
1
);
clearInterval
(
timer
);
return
;
}
...
...
@@ -30,7 +32,9 @@
},
methods
:{
jumpPhp
(){
this
.
$jump
(
`
${
origin
}
/index.php?app=member`
);
// 清除合同信息缓存
uni
.
removeStorageSync
(
'installment'
);
this
.
$jump
(
`
${
origin
}
/index.php?app=member`
,
1
);
}
}
}
...
...
pages/signcontract/signcontract.vue
View file @
a8d3ba38
...
...
@@ -113,7 +113,7 @@
const
{
contract_no
,
equipment_id
,
property_id
}
=
install
;
const
url
=
this
.
is_eidt
?
'/uni/api/signcontract/EditContract'
:
'/uni/api/signcontract/AddContract'
;
uni
.
showLoading
({
title
:
'提交中
。。。
'
title
:
'提交中
...
'
})
uni
.
request
({
url
:
url
,
...
...
pages/wxpay/wxpay.vue
View file @
a8d3ba38
...
...
@@ -115,6 +115,9 @@
}
}
);
},
goBack
(){
this
.
$backup
();
}
}
}
...
...
pages/yuepay/yuepay.vue
View file @
a8d3ba38
...
...
@@ -77,6 +77,9 @@
}
}
})
},
goBack
(){
this
.
$backup
();
}
}
}
...
...
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