Commit cddfef43 authored by 李晓兵's avatar 李晓兵

'浏览器打开插件'

parent 32430c09
...@@ -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"'
} }
...@@ -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
}, 1000) }, 3000)
}, },
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment