Commit 9cd01910 authored by Nature's avatar Nature

vum

parent 3e65dbb2
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<!-- safari私有meta标签 允许全屏模式浏览 指定safari顶部状态栏样式(黑色) --> <!-- safari私有meta标签 允许全屏模式浏览 指定safari顶部状态栏样式(黑色) -->
<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="application/javascript" src="./static/vuePlatform.js"></script>
<script type="text/javascript" src="../../cordova.js"></script> <script type="text/javascript" src="../../cordova.js"></script>
<title>车租易</title> <title>车租易</title>
</head> </head>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
{{ confirmText }} {{ confirmText }}
</div> </div>
</h-header> </h-header>
<picker <Picker
:data="list" :data="list"
v-model="tempValue" v-model="tempValue"
:columns="3" :columns="3"
...@@ -81,7 +81,12 @@ ...@@ -81,7 +81,12 @@
<script> <script>
import assign from 'object-assign' import assign from 'object-assign'
import { Picker } from 'vux'
export default { export default {
components: {
Picker
},
data () { data () {
return { return {
defaultOptions: { defaultOptions: {
......
// components
import BottomTab from './components/BottomTab/index' import BottomTab from './components/BottomTab/index'
import CheckBox from './components/CheckBox/index' import CheckBox from './components/CheckBox/index'
import Notify from './components/Dialog/Notify' import Notify from './components/Dialog/Notify'
...@@ -18,15 +19,17 @@ import TopTip from './components/TopTip/index' ...@@ -18,15 +19,17 @@ import TopTip from './components/TopTip/index'
import Stab from './components/STab/index' import Stab from './components/STab/index'
import TabItem from './components/STab/tab-item' import TabItem from './components/STab/tab-item'
import TabButton from './components/BottomTab/tab-button' import TabButton from './components/BottomTab/tab-button'
import componentInstall from './components/component'
// compontenPlugins
import ActionSheetPlugin from './components/ActionSheet/index' import ActionSheetPlugin from './components/ActionSheet/index'
import ShowPicturePlugin from './components/ShowPicture/index' import ShowPicturePlugin from './components/ShowPicture/index'
import SelectPlugin from './components/select/index' import SelectPlugin from './components/select/index'
import NotifyPlugin from './components/Dialog/plugins/index' import NotifyPlugin from './components/Dialog/plugins/index'
import HlsModalPlugin from './components/Modal/index' import HlsModalPlugin from './components/Modal/index'
import NumberKeyboardPlugin from './components/NumberKeyboard/index' import NumberKeyboardPlugin from './components/NumberKeyboard/index'
import componentInstall from './components/component'
// styles
import appStyle from '../packages/common/styles/app.core.less' import appStyle from '../packages/common/styles/app.core.less'
const version = '0.0.2' const version = '0.0.2'
......
...@@ -15,16 +15,8 @@ import {componentInstall, appStyle} from '../packages/index' ...@@ -15,16 +15,8 @@ import {componentInstall, appStyle} from '../packages/index'
import directives from './scripts/directives' import directives from './scripts/directives'
import filter from './scripts/filter' import filter from './scripts/filter'
/**
* 组件
*/
import {
Picker,
} from 'vux'
import './scripts/prototype' import './scripts/prototype'
import './scripts/vuePlatform'
/** /**
* 弹框组件 * 弹框组件
...@@ -54,8 +46,6 @@ Vue.use(directives) ...@@ -54,8 +46,6 @@ Vue.use(directives)
Vue.use(filter) Vue.use(filter)
Vue.component('picker', Picker)
Vue.prototype.hlsPopup = window.hlsPopup = hlsPopup Vue.prototype.hlsPopup = window.hlsPopup = hlsPopup
Vue.prototype.$devicePixelRatio = 2 Vue.prototype.$devicePixelRatio = 2
......
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