时空网前端
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.

43 lines
913 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. import Vue from 'vue'
  2. import App from './App'
  3. Vue.config.productionTip = false
  4. App.mpType = 'app'
  5. // 引入全局uView
  6. import uView from 'uview-ui'
  7. Vue.use(uView);
  8. //color-ui-标题组件
  9. import cuCustom from './colorui/components/cu-custom.vue'
  10. Vue.component('cu-custom', cuCustom)
  11. // 上拉加载、下拉刷新
  12. import MescrollBody from './components/mescroll-uni/mescroll-body.vue'
  13. Vue.component('mescroll-body', MescrollBody)
  14. //骨架屏
  15. import Skeleton from './components/my-uni-skeleton/index.vue'
  16. Vue.component('skeleton', Skeleton);
  17. // 无数据
  18. import myNocontent from './components/my-nocontent/my-nocontent.vue';
  19. Vue.component('my-nocontent', myNocontent);
  20. //金融数字
  21. import aMount from './components/amount/index.vue'
  22. Vue.component('amount', aMount)
  23. //路由跳转
  24. Vue.prototype.$routerGo = (obj) => {
  25. uni.navigateTo({
  26. url: obj
  27. })
  28. }
  29. const app = new Vue({
  30. ...App
  31. })
  32. app.$mount()