| | |
| | | import App from './App' |
| | | import Vue from 'vue' |
| | | import tabbar from '@/components/tab-bar/tab-bar.vue' |
| | | import '../unattended-app/static/fonts/commontfont.css' |
| | | |
| | | Vue.config.productionTip = false |
| | | |
| | | App.mpType = 'app' |
| | | uni.$u.config.unit = 'rpx' |
| | | // #ifdef MP-WEIXIN |
| | | import tabbar from '@/components/tab-bar/tab-bar.vue' |
| | | Vue.use('tab-bar', tabbar) |
| | | // #endif |
| | | |
| | | // 引入全局 uView 框架 |
| | | import uView from '@/uni_modules/uview-ui' |
| | |
| | | import { |
| | | reqAll, |
| | | reqGet, |
| | | reqGet2, |
| | | reqGetId, |
| | | reqPost, |
| | | reqAllJson, |
| | | reqDelete |
| | |
| | | Vue.prototype.$reqAll = reqAll |
| | | Vue.prototype.$reqAllJson = reqAllJson |
| | | Vue.prototype.$reqGet = reqGet |
| | | Vue.prototype.$reqGet2 = reqGet2 |
| | | Vue.prototype.$reqGetId = reqGetId |
| | | Vue.prototype.$reqPost = reqPost |
| | | Vue.prototype.$reqDelete = reqDelete |
| | | Vue.prototype.$store = store |