您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839
  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();