|
|
@ -14,6 +14,7 @@ import '@vant/touch-emulator'
|
|
|
|
import 'vant/lib/index.css'
|
|
|
|
import 'vant/lib/index.css'
|
|
|
|
import './assets/css/vant-ui.scss'
|
|
|
|
import './assets/css/vant-ui.scss'
|
|
|
|
import './assets/css/style.css'
|
|
|
|
import './assets/css/style.css'
|
|
|
|
|
|
|
|
import VConsole from 'vconsole'
|
|
|
|
|
|
|
|
|
|
|
|
import moment from 'moment'
|
|
|
|
import moment from 'moment'
|
|
|
|
import 'moment/locale/zh-cn'
|
|
|
|
import 'moment/locale/zh-cn'
|
|
|
@ -27,17 +28,20 @@ Vue.config.productionTip = false
|
|
|
|
moment.locale('zh-cn')
|
|
|
|
moment.locale('zh-cn')
|
|
|
|
Vue.prototype.$moment = moment
|
|
|
|
Vue.prototype.$moment = moment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const vConsole = new VConsole({ theme: 'dark' })
|
|
|
|
|
|
|
|
Vue.use(vConsole)
|
|
|
|
|
|
|
|
|
|
|
|
Vue.prototype.config = {
|
|
|
|
Vue.prototype.config = {
|
|
|
|
barHeight: 20,
|
|
|
|
barHeight: 20,
|
|
|
|
setBarHeight(h) {
|
|
|
|
setBarHeight(h) {
|
|
|
|
this.barHeight = h
|
|
|
|
this.barHeight = h
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// PC调式版本
|
|
|
|
// PC调式版本
|
|
|
|
new Vue({
|
|
|
|
new Vue({
|
|
|
|
router,
|
|
|
|
router,
|
|
|
|
render: h => h(App)
|
|
|
|
render: (h) => h(App),
|
|
|
|
}).$mount('#app')
|
|
|
|
}).$mount('#app')
|
|
|
|
|
|
|
|
|
|
|
|
// 手机打包版本
|
|
|
|
// 手机打包版本
|
|
|
|