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
7b8acbb3
Commit
7b8acbb3
authored
Apr 15, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug edit
parent
6c9ddcbf
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
7 deletions
+22
-7
main.js
main.js
+8
-3
manifest.json
manifest.json
+1
-1
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 @
7b8acbb3
...
...
@@ -77,9 +77,14 @@ function backup() {
}
// 跳转外部链接,使用webview
function
jump
(
url
)
{
function
jump
(
url
,
type
)
{
// #ifdef H5
if
(
type
===
1
){
// 重定向到指定地址,防止回退
window
.
location
.
replace
(
url
);
}
else
{
window
.
location
.
href
=
url
;
}
// #endif
// #ifndef H5
...
...
manifest.json
View file @
7b8acbb3
...
...
@@ -62,7 +62,7 @@
"disableHostCheck"
:
true
,
"proxy"
:
{
"/uni/api"
:
{
"target"
:
"http://
192.168.50.133:6564
/"
,
"target"
:
"http://
39.96.85.45:9093
/"
,
"changeOrigin"
:
true
,
"secure"
:
false
,
"pathRewrite"
:
{
...
...
pages/payresult/payresult.vue
View file @
7b8acbb3
...
...
@@ -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 @
7b8acbb3
...
...
@@ -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 @
7b8acbb3
...
...
@@ -115,6 +115,9 @@
}
}
);
},
goBack
(){
this
.
$backup
();
}
}
}
...
...
pages/yuepay/yuepay.vue
View file @
7b8acbb3
...
...
@@ -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