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

39 lines
793 B

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 aMount from './components/amount/index.vue'
  19. // Vue.component('amount', aMount)
  20. //路由跳转
  21. Vue.prototype.$routerGo = (obj) => {
  22. uni.navigateTo({
  23. url: obj
  24. })
  25. }
  26. const app = new Vue({
  27. ...App
  28. })
  29. app.$mount()