Commit 62636c4b authored by JingChao's avatar JingChao

web

parent 8af998bf
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<script type="text/javascript" src="./static/prototype.js"></script> <script type="text/javascript" src="./static/prototype.js"></script>
<script type="text/javascript" src="../../cordova.js"></script>
<title>车租易</title> <title>车租易</title>
</head> </head>
<body> <body>
......
...@@ -70,7 +70,7 @@ let routeGo = function (index) { ...@@ -70,7 +70,7 @@ let routeGo = function (index) {
} }
Vue.prototype.$routeGo = routeGo Vue.prototype.$routeGo = routeGo
let hlsExit = function () { /*let hlsExit = function () {
if (vum.Platform.isIOS()) { if (vum.Platform.isIOS()) {
cordova.exec(null, null, 'BridgePlugin', 'closeWebView', []) cordova.exec(null, null, 'BridgePlugin', 'closeWebView', [])
} else { } else {
...@@ -83,19 +83,12 @@ let hlsExit = function () { ...@@ -83,19 +83,12 @@ let hlsExit = function () {
HandBridge.postMessage(JSON.stringify(dict)) HandBridge.postMessage(JSON.stringify(dict))
} }
} }
Vue.prototype.$hlsExit = hlsExit Vue.prototype.$hlsExit = hlsExit*/
// FastClick.attach(document.body) // FastClick.attach(document.body)
Vue.config.productionTip = true Vue.config.productionTip = true
vum.$vumPlatform.ready(function () {
})
vum.$vumPlatform.registerBackButtonAction(function (e) {
}, 101)
/* eslint-disable no-new */ /* eslint-disable no-new */
new Vue({ new Vue({
data () { data () {
......
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