liuxiaolong
2019-05-06 acc45d2ece02563964d7b8a22ff0c40bd8358889
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
import MyhttpImg from '../common/httpImg.vue'
import MyhttpLazyImg from '../common/httpLazyImg.vue'
import MynoData from '../common/noData.vue'
import MYfButton from '../common/fButton.vue'
import MYvLoading from '../common/vLoading.vue'
 
// 图片组件
const httpImg = {
  install (Vue) {
    Vue.component('httpImg', MyhttpImg)
  }
}
const httpLazyImg = {
  install(Vue) {
    Vue.component('MyhttpLazyImg', MyhttpLazyImg)
  }
}
const noData = {
  install (Vue) {
    Vue.component('noData', MynoData)
  }
}
const fButton = {
  install (Vue) {
    Vue.component('fButton', MYfButton)
  }
}
const vLoading = {
  install (Vue) {
    Vue.component('vLoading', MYvLoading)
  }
}
// export default httpImg
export {
  httpImg,
  httpLazyImg,
  noData,
  fButton,
  vLoading
}