| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- import App from './App';
- import Vue from 'vue';
- import VHtmlPlugin from '@megalo/vhtml-plugin';
- import Vuex from 'vuex';
- import http from './plugins/http';
- import Dialog from './vant/dialog/dialog';
- import common from './mixins/common';
- import './styles/font.less';
- import './styles/vanIndex.less';
- // Vue.prototype.$math = math;
- Vue.prototype.$colors = {
- prim: '#FF7F1F',
- red: '#F42202'
- };
- Vue.use(VHtmlPlugin);
- Vue.use(Vuex);
- // Vue.use(math);
- const store = require('./store').default;
- Vue.prototype.$store = store;
- Vue.use(http);
- Vue.prototype.$dialog = Dialog;
- Vue.mixin(common);
- const app = new Vue(App);
- app.$mount();
- export default {
- config: {
- // pages 的首个页面会被编译成首页
- pages: [
- 'pages/Home',
- 'pages/confirmorder',
- 'pages/mine',
- 'pages/receiving',
- 'pages/address',
- 'pages/details',
- 'pages/unpacking',
- 'pages/news',
- 'pages/orderdetails',
- 'pages/chat',
- 'pages/allorder',
- 'pages/allsellout',
- 'pages/allselldetails',
- 'pages/follow',
- 'pages/setting',
- 'pages/wallet',
- 'pages/walletdetails',
- 'pages/walletreview',
- 'pages/authorized',
- 'pages/questions',
- 'pages/rule',
- 'pages/minePublish',
- 'pages/mineFollow',
- 'pages/changeText',
- 'pages/addBlessing',
- 'pages/Apply',
- 'pages/Applydetails',
- 'pages/chooseAddress',
- 'pages/store/apply',
- 'pages/store/review',
- 'pages/store/homePage',
- 'pages/store/productEdit',
- 'pages/store/setting',
- 'pages/store/liveProduct'
- ],
- tabBar: {
- color: '#7E7E80',
- selectedColor: '#FF6C00',
- borderStyle: 'white',
- list: [
- {
- pagePath: 'pages/Home',
- text: '拼箱',
- iconPath: 'native/imgs/tabbar_icon_01.png',
- selectedIconPath: 'native/imgs/tabbar_icon_01_pre.png'
- },
- {
- pagePath: 'pages/news',
- text: '消息',
- iconPath: 'native/imgs/tabbar_icon_02.png',
- selectedIconPath: 'native/imgs/tabbar_icon_02_pre.png'
- },
- {
- pagePath: 'pages/mine',
- text: '我的',
- iconPath: 'native/imgs/tabbar_icon_03.png',
- selectedIconPath: 'native/imgs/tabbar_icon_03_pre.png'
- }
- ]
- },
- window: {
- backgroundTextStyle: 'light',
- navigationBarBackgroundColor: '#fff',
- navigationBarTextStyle: 'black'
- // navigationStyle: 'custom'
- },
- usingComponents: {
- 'van-image': '/vant/image/index',
- 'van-button': '/vant/button/index',
- 'van-tabs': '/vant/tabs/index',
- 'van-tab': '/vant/tab/index',
- 'van-notice-bar': '/vant/notice-bar/index',
- 'van-icon': '/vant/icon/index',
- 'van-grid-item ': '/vant/grid-item/index',
- 'van-count-down': '/vant/count-down/index',
- 'van-dialog': '/vant/dialog/index',
- 'van-search': '/vant/search/index',
- 'van-empty': '/vant/empty/index',
- 'van-sticky': '/vant/sticky/index',
- 'van-loading': '/vant/loading/index',
- 'van-action-sheet': '/vant/action-sheet/index',
- 'van-picker': '/vant/picker/index',
- 'van-datetime-picker': '/vant/datetime-picker/index',
- 'van-cell-group': '/vant/cell-group/index',
- 'van-cell': '/vant/cell/index',
- 'van-field': '/vant/field/index',
- 'van-uploader': '/vant/uploader/index',
- 'van-checkbox': '/vant/checkbox/index',
- 'van-panel': '/vant/panel/index',
- 'van-overlay': '/vant/overlay/index',
- 'van-stepper': '/vant/stepper/index',
- 'van-steps': '/vant/steps/index',
- 'van-rate': '/vant/rate/index',
- 'van-popup': '/vant/popup/index',
- 'van-area': '/vant/area/index',
- 'van-goods-action': 'vant/goods-action/index',
- 'van-goods-action-icon': 'vant/goods-action-icon/index',
- 'van-goods-action-button': 'vant/goods-action-button/index',
- 'van-calendar': 'vant/calendar/index',
- 'van-dropdown-menu': 'vant/dropdown-menu/index',
- 'van-dropdown-item': 'vant/dropdown-item/index'
- },
- plugins: {
- 'live-player-plugin': {
- version: '1.3.0', // 注意填写该直播组件最新版本号,微信开发者工具调试时可获取最新版本号(复制时请去掉注释)
- provider: 'wx2b03c6e691cd7370' // 必须填该直播组件appid,该示例值即为直播组件appid(复制时请去掉注释)
- }
- }
- }
- };
|