Commit f8cbf4f2 authored by Nature's avatar Nature

platform

parent 5c6601f5
......@@ -9,6 +9,8 @@
<!-- safari私有meta标签 允许全屏模式浏览 指定safari顶部状态栏样式(黑色) -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<script src="./static/vuePlatform.js" type="text/javascript"></script>
<script src="./static/prototype.js" type="type/javascript"></script>
<script type="text/javascript" src="../../cordova.js"></script>
<title>车租易</title>
</head>
......
......@@ -10,17 +10,9 @@ import flexible from './common/ydui.flexible'
import {componentInstall, appStyle} from 'hls-easy-ui'
/**
* 组件
*/
import {
Picker,
} from 'vux'
import './scripts/prototype'
import './scripts/vuePlatform'
/**
* 指令
*/
......
export default{
createElement: function (marker, tag) {
let el = document.createElement(tag || 'div')
el.setAttribute(marker, '')
document.body.appendChild(el)
},
removeElement: function (marker) {
let el = document.querySelector(marker) || document.querySelector(`[${marker}]`)
if (el) { document.body.removeChild(el) }
},
timeout: function (duration = 0) {
return new Promise((resolve, reject) => {
setTimeout(resolve, duration)
})
},
}
......@@ -3815,7 +3815,7 @@ he@1.2.x, he@^1.1.0:
"hls-easy-ui@https://hel.hand-china.com/easyUI/hls-easy-ui.git":
version "0.0.3"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#3e65dbb22b596b6d517dbfaba932e9c1cc8bad47"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#ed1330b1b05596e0600fa8682428b0b66d769867"
dependencies:
autosize "^3.0.20"
better-scroll "^1.10.3"
......
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