| | |
| | | import Vue from "vue"; |
| | | import App from "./App"; |
| | | import * as filters from "./utils/filters.js"; // global filter |
| | | import uView from "uview-ui"; |
| | | import uView from '@/components/uview-components/uview-ui' |
| | | import store from "./store"; |
| | | import config from '@/config/config'; |
| | | import airBtn from "@/components/m-airbtn/index.vue"; |
| | | import socketIO from './pages/mine/im/socket'; |
| | | |
| | | // 自定义tabbar |
| | | import CustomTabbar from '@/components/custom-tabbar.vue' |
| | | Vue.component('custom-tabbar', CustomTabbar) |
| | | |
| | | /** |
| | | * 仅在h5中显示唤醒app功能 |
| | | * 在h5页面手动挂载 |
| | |
| | | // #endif |
| | | |
| | | // 引入uView对小程序分享的mixin封装 |
| | | let mpShare = require('uview-ui/libs/mixin/mpShare.js'); |
| | | let mpShare = require('./components/uview-components/uview-ui/libs/mixin/mpShare.js'); |
| | | Vue.mixin(mpShare) |
| | | |
| | | /** |
| | |
| | | Vue.filter(key, filters[key]); |
| | | }); |
| | | |
| | | console.log("有吗?",uView); |
| | | // 引入Vuex |
| | | Vue.prototype.$store = store; |
| | | // Vue.prototype.socketIo = new socketIO(); |