main.js
1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import Vue from 'vue'
import { Popup, Toast, Picker, Tag, Tab, Tabs, Area, Search, Swipe,Col, Row , SwipeItem, Cell, List, Collapse, CollapseItem, Button, Field, Icon, Sticky, DropdownMenu, DropdownItem, Rate, Calendar, Checkbox, Empty, Lazyload, Radio, RadioGroup, CellGroup, Dialog, CheckboxGroup, NavBar, PullRefresh, Cascader , ImagePreview } from 'vant';
import App from './App.vue'
import router from './router'
import store from './store'
import Moment from 'moment'
Vue.prototype.Moment = Moment;
Vue.prototype.proxyUrl = 'https://proxy.shunzhi.net/prod';
Vue.prototype.yanxueUrl = 'https://yanxue.myjxt.com';
// Vue.prototype.dataUrl = 'http://47.110.50.251:9010'
Vue.prototype.dataUrl = 'https://proxy.shunzhi.net/consulte'
// Vue.prototype.kqUrl = 'http://47.110.50.251:9092/'
Vue.prototype.kqUrl = 'https://proxy.shunzhi.net/achieve'
import yxAxios from '@/https/yxAxios'
Vue.prototype.yxAxios = yxAxios;
Vue.prototype.dialog = Dialog;
import {zwlogPvGlobal} from './common/zwUtil.js'
Vue.prototype.$zwlogPvGlobal = zwlogPvGlobal;
import common from './common/index'
Vue.prototype.common = common;
Vue
.use(Popup)
.use(Picker)
.use(Tag)
.use(Tab)
.use(Tabs)
.use(Area)
.use(Search)
.use(Swipe)
.use(SwipeItem)
.use(Cell)
.use(CellGroup)
.use(List)
.use(Collapse)
.use(CollapseItem)
.use(Button)
.use(Field)
.use(Icon)
.use(Sticky)
.use(DropdownMenu)
.use(DropdownItem)
.use(Rate)
.use(Calendar)
.use(Checkbox)
.use(CheckboxGroup)
.use(Empty)
.use(Lazyload)
.use(Toast)
.use(Dialog)
.use(NavBar)
.use(PullRefresh)
.use(RadioGroup)
.use(Cascader)
.use(ImagePreview)
.use(Radio)
.use(Col)
.use(Row);
Vue.config.productionTip = false;
Vue.config.ignoredElements = ['wx-open-launch-app'];
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')