Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
cddfef43
Commit
cddfef43
authored
Dec 10, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'浏览器打开插件'
parent
32430c09
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
uat.env.js
config/uat.env.js
+1
-1
pay-page.vue
src/pages/pay/pay-page.vue
+13
-2
No files found.
config/uat.env.js
View file @
cddfef43
...
@@ -10,5 +10,5 @@ module.exports = {
...
@@ -10,5 +10,5 @@ module.exports = {
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_DEV&apiName=file_view&"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_DEV&apiName=file_view&"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
appId
:
'"com.xcmg.app"'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"1.
0.9
"'
currentVersion
:
'"1.
1.0
"'
}
}
src/pages/pay/pay-page.vue
View file @
cddfef43
...
@@ -80,6 +80,7 @@ export default {
...
@@ -80,6 +80,7 @@ export default {
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
console
.
log
(
1111111
)
vm
.
showSelect
=
false
vm
.
showSelect
=
false
vm
.
showpay
=
true
vm
.
showpay
=
true
vm
.
isSuccess
=
false
vm
.
isSuccess
=
false
...
@@ -96,11 +97,12 @@ export default {
...
@@ -96,11 +97,12 @@ export default {
},
},
pay
()
{
pay
()
{
let
vm
=
this
let
vm
=
this
window
.
open
(
this
.
url
)
cordova
.
InAppBrowser
.
open
(
this
.
url
,
'_blank'
,
'location=yes'
)
//window.open(this.url)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
vm
.
showSelect
=
true
vm
.
showSelect
=
true
vm
.
showpay
=
false
vm
.
showpay
=
false
},
1
000
)
},
3
000
)
},
},
searchResult
()
{
searchResult
()
{
let
vm
=
this
let
vm
=
this
...
@@ -131,6 +133,15 @@ export default {
...
@@ -131,6 +133,15 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
#pay-page {
#pay-page {
.payBtn{
width: 200px;
height: 40px;
text-align: center;
line-height: 40px;
background: @headerColor;
color: #FFF;
border-radius: 6px;
}
.box{
.box{
display: flex;
display: flex;
justify-content: center;
justify-content: center;
...
...
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