main.js 415 B

12345678910111213141516171819202122232425
  1. import Vue from 'vue'
  2. import App from './App'
  3. import store from './store'
  4. import uView from "uview-ui"
  5. Vue.use(uView)
  6. Vue.config.productionTip = false
  7. let vuexStore = require("@/store/$u.mixin.js")
  8. Vue.mixin(vuexStore)
  9. App.mpType = 'app'
  10. /*
  11. * 打电话
  12. */
  13. Vue.prototype.callPhone = function (phone) {
  14. uni.makePhoneCall({
  15. phoneNumber: phone
  16. });
  17. }
  18. const app = new Vue({
  19. store,
  20. ...App
  21. })
  22. app.$mount()