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
43 lines
913 B
import Vue from 'vue'
|
|
import App from './App'
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
App.mpType = 'app'
|
|
|
|
// 引入全局uView
|
|
import uView from 'uview-ui'
|
|
Vue.use(uView);
|
|
|
|
//color-ui-标题组件
|
|
import cuCustom from './colorui/components/cu-custom.vue'
|
|
Vue.component('cu-custom', cuCustom)
|
|
|
|
|
|
// 上拉加载、下拉刷新
|
|
import MescrollBody from './components/mescroll-uni/mescroll-body.vue'
|
|
Vue.component('mescroll-body', MescrollBody)
|
|
|
|
//骨架屏
|
|
import Skeleton from './components/my-uni-skeleton/index.vue'
|
|
Vue.component('skeleton', Skeleton);
|
|
|
|
// 无数据
|
|
import myNocontent from './components/my-nocontent/my-nocontent.vue';
|
|
Vue.component('my-nocontent', myNocontent);
|
|
|
|
//金融数字
|
|
import aMount from './components/amount/index.vue'
|
|
Vue.component('amount', aMount)
|
|
|
|
//路由跳转
|
|
Vue.prototype.$routerGo = (obj) => {
|
|
uni.navigateTo({
|
|
url: obj
|
|
})
|
|
}
|
|
|
|
const app = new Vue({
|
|
...App
|
|
})
|
|
app.$mount()
|