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

'禁用安卓物理返回键'

parent 93583bf2
......@@ -57,10 +57,10 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService'
//if (process.env.CONFIG_ENV === 'uat') {
// if (process.env.CONFIG_ENV === 'uat') {
// const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
//}
// }
Vue.use(componentInstall)
Vue.use(components)
......@@ -153,6 +153,12 @@ vum.$vumPlatform.ready(function () {
}
})
document.addEventListener('deviceready', function () {
document.addEventListener('backbutton', function () {
hlsPopup.showLongCenter('请点击左上角返回按钮返回')
}, false)
}, false)
vum.$vumPlatform.registerBackButtonAction(function (e) {
// let vm = this
let time
......
......@@ -257,6 +257,7 @@ export default {
})
},
inSure () {
debugger
// console.log(typeof window.sessionStorage.getItem('add_status'))
console.log(this.bank_flag)
if (this.bank_flag) {
......
......@@ -108,21 +108,6 @@ export default {
</script>
<style scoped lang="less" rel="stylesheet">
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
span {
font-family: PingFangSC-Semibold;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.61px;
line-height: 24px;
}
}
.hinput {
position: relative;
z-index: 50;
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
</body>
</html>
......@@ -6,7 +6,21 @@
background-color: @theme-color
}
}
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
span {
font-family: PingFangSC-Semibold;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.61px;
line-height: 24px;
}
}
@import "platform-ios";
@import "platform-iosx";
@import "platform-iosxr";
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