祁阳图书馆智慧大屏
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.0 KiB

1 year ago
1 year ago
1 year ago
1 year ago
  1. import Vue from 'vue'
  2. import App from './App.vue'
  3. import router from './router'
  4. import store from './store'
  5. import ElementUI from 'element-ui'
  6. import 'element-ui/lib/theme-chalk/index.css'
  7. Vue.use(ElementUI)
  8. // 适配flex
  9. import '@/common/flexible.js'
  10. import './assets/js/rollSlide.js'
  11. import './assets/js/tagcloud-2.2.js'
  12. // 引入全局css
  13. import './assets/fonts/fonts.css'
  14. import './assets/iconfont/iconfont.js'
  15. import './assets/styles/style.scss'
  16. import './icons'
  17. // 按需引入然后注册在vue原型上
  18. import { Message } from 'element-ui'
  19. Vue.prototype.$message = Message
  20. // 馆代码 1201为东西湖馆代码 / 本地测试用FTZN
  21. // Vue.prototype.libcode = 'FTZN'
  22. Vue.prototype.libcode = '1201'
  23. import axios from 'axios'
  24. Vue.prototype.$axios = axios
  25. // 引入echart
  26. import echarts from 'echarts'
  27. Vue.prototype.$echarts = echarts
  28. import scroll from 'vue-seamless-scroll'
  29. Vue.use(scroll)
  30. Vue.config.productionTip = false
  31. Vue.component(Message.name, Message)
  32. new Vue({
  33. router,
  34. store,
  35. render: (h) => h(App)
  36. }).$mount('#app')