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.
 
 
 

40 lines
736 B

  1. import Vue from 'vue';
  2. import App from './App';
  3. import dayjs from './utils/dayjs.min.js'
  4. import store from './store/index.js'
  5. import ZAudio from '@/components/uniapp-zaudio/index.js'
  6. Vue.config.productionTip = false;
  7. let zaudio = new ZAudio({
  8. continuePlay: false, //续播
  9. autoPlay: false, // 自动播放 部分浏览器不支持
  10. })
  11. Vue.prototype.$zaudio = zaudio
  12. Vue.prototype.$dayjs = dayjs;
  13. Vue.prototype.$store = store;
  14. import common from 'utils/common.js'
  15. Vue.prototype.$noMultipleClicks = common.noMultipleClicks;
  16. // 引入全局uView
  17. import uView from 'uview-ui'
  18. Vue.use(uView);
  19. import http from '@/utils/http.js'
  20. Vue.use(http, app)
  21. App.mpType = 'app';
  22. const app = new Vue({
  23. ...App,
  24. store
  25. });
  26. app.$mount();