import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
import store from './store/index.js' // 确保路径正确
Vue.prototype.$store = store;
import uView from 'uview-ui'
import {formatSeconds}from './utils/tools.js'
Vue.prototype.$formatSeconds = formatSeconds;
import {isLoginCourse,isLoginCourseqw} from './utils/common.js'
import {isLoginCourseAuto} from '@/utils/courseTool.js'
Vue.prototype.$isLoginCourse = isLoginCourse
Vue.prototype.$isLoginCourseqw = isLoginCourseqw
Vue.prototype.$isLoginCourseAuto = isLoginCourseAuto

Vue.use(uView)
// uni.$u.config.unit = 'rpx'
  
import utils from './utils/common.js'
Vue.prototype.utils = utils;
 
import {setData} from './utils/common.js'
Vue.prototype.setData = setData;
 
 
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()


 
 