| | |
| | | // #ifndef VUE3 |
| | | |
| | | import Vue from 'vue' |
| | | import App from './App' |
| | | import store from './store' |
| | |
| | | Vue.prototype.$storage = storage |
| | | import util from './plugins/util' |
| | | Vue.prototype.$util = util |
| | | import self_base from './common/self_base.js' |
| | | Vue.use(self_base); |
| | | // import self_base from './common/self_base.js' |
| | | // Vue.use(self_base); |
| | | import mixinsCommon from './mixin/mixin.js' |
| | | |
| | | Vue.mixin(mixinsCommon) |
| | | |
| | | import hasPermission from './common/authorize.js' |
| | | Vue.prototype.$hasPermission = hasPermission; |
| | | |
| | | // main.js |
| | | import uView from 'uview-ui' |
| | |
| | | }, |
| | | picker:{ |
| | | confirmColor:'#20613D' |
| | | }, |
| | | steps:{ |
| | | size:32, |
| | | fontSize:32 |
| | | } |
| | | // 其他组件属性配置 |
| | | // ...... |
| | |
| | | Vue.component('footer-msg', footerMsg) |
| | | |
| | | |
| | | |
| | | // #ifdef PUB_CUSTOMER |
| | | import selectItems from '@/components/common-select-items' |
| | | Vue.component('common-select-items', selectItems) |
| | | |
| | | import addressSelect from '@/components/common-address-select/common-address-select' |
| | | Vue.component('common-address-select', addressSelect) |
| | | // #endif |
| | | |
| | | import topTabs from '@/components/top-tabs.vue' |
| | | Vue.component('top-tabs', topTabs) |
| | |
| | | ...App |
| | | }) |
| | | app.$mount() |
| | | // #endif |
| | | |
| | | // #ifdef VUE3 |
| | | import { |
| | | createSSRApp |
| | | } from 'vue' |
| | | import App from './App.vue' |
| | | export function createApp() { |
| | | const app = createSSRApp(App) |
| | | return { |
| | | app |
| | | } |
| | | } |
| | | // #endif |