Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-webapp-cli
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
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
heasy
hls-webapp-cli
Commits
62636c4b
Commit
62636c4b
authored
Aug 27, 2020
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
web
parent
8af998bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
index.html
template/index.html
+0
-1
main.js
template/src/main.js
+2
-9
No files found.
template/index.html
View file @
62636c4b
...
...
@@ -10,7 +10,6 @@
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<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=
"../../cordova.js"
></script>
<title>
车租易
</title>
</head>
<body>
...
...
template/src/main.js
View file @
62636c4b
...
...
@@ -70,7 +70,7 @@ let routeGo = function (index) {
}
Vue
.
prototype
.
$routeGo
=
routeGo
let
hlsExit
=
function
()
{
/*
let hlsExit = function () {
if (vum.Platform.isIOS()) {
cordova.exec(null, null, 'BridgePlugin', 'closeWebView', [])
} else {
...
...
@@ -83,19 +83,12 @@ let hlsExit = function () {
HandBridge.postMessage(JSON.stringify(dict))
}
}
Vue
.
prototype
.
$hlsExit
=
hlsExit
Vue.prototype.$hlsExit = hlsExit
*/
// FastClick.attach(document.body)
Vue
.
config
.
productionTip
=
true
vum
.
$vumPlatform
.
ready
(
function
()
{
})
vum
.
$vumPlatform
.
registerBackButtonAction
(
function
(
e
)
{
},
101
)
/* eslint-disable no-new */
new
Vue
({
data
()
{
...
...
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