123456789101112131415161718192021222324252627282930313233 |
- import Vue from 'vue'
- import App from './App'
- // 引入color-ui自定义导航栏
- import cuCustom from './colorui/components/cu-custom.vue'
- Vue.component('cu-custom',cuCustom)
- Vue.config.productionTip = false
- Vue.mixin({
- data(){
- return {}
- },
- methods: {
- jumpTo(pathname) {
- uni.navigateTo({
- url: `/pages/${pathname}`
- })
- },
- },
- onLoad() {
-
- },
-
- onShow() {}
- })
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- app.$mount()
|