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

'浏览器打开插件'

parent 32430c09
......@@ -10,5 +10,5 @@ module.exports = {
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"',
appId: '"com.xcmg.app"',
currentVersion: '"1.0.9"'
currentVersion: '"1.1.0"'
}
......@@ -80,6 +80,7 @@ export default {
},
beforeRouteEnter (to, from, next) {
next(vm => {
console.log(1111111)
vm.showSelect = false
vm.showpay = true
vm.isSuccess = false
......@@ -96,11 +97,12 @@ export default {
},
pay () {
let vm = this
window.open(this.url)
cordova.InAppBrowser.open(this.url, '_blank', 'location=yes')
//window.open(this.url)
setTimeout(() => {
vm.showSelect = true
vm.showpay = false
}, 1000)
}, 3000)
},
searchResult () {
let vm = this
......@@ -131,6 +133,15 @@ export default {
</script>
<style lang="less">
#pay-page {
.payBtn{
width: 200px;
height: 40px;
text-align: center;
line-height: 40px;
background: @headerColor;
color: #FFF;
border-radius: 6px;
}
.box{
display: flex;
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